1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_NOINCLUDE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
39 ************************************************************************/
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
52 /***********************************************************************
53 * common.swg for wxPython
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
60 ************************************************************************/
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
90 # define SWIGRUNTIME(a) static a
97 typedef void *(*swig_converter_func
)(void *);
98 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
100 typedef struct swig_type_info
{
102 swig_converter_func converter
;
105 swig_dycast_func dcast
;
106 struct swig_type_info
*next
;
107 struct swig_type_info
*prev
;
111 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
112 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
114 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
116 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
128 /***********************************************************************
129 * pyrun.swg for wxPython
131 * Include only the function prototypes and such from SWIG's pyrun.swg,
132 * but not the runtime functions themselves. This helps keep the
133 * wrapper files clean of unnecessary stuff that is in the libpy.c file
136 ************************************************************************/
144 #define SWIG_PY_INT 1
145 #define SWIG_PY_FLOAT 2
146 #define SWIG_PY_STRING 3
147 #define SWIG_PY_POINTER 4
148 #define SWIG_PY_BINARY 5
150 /* Flags for pointer conversion */
152 #define SWIG_POINTER_EXCEPTION 0x1
153 #define SWIG_POINTER_DISOWN 0x2
155 /* Exception handling in wrappers */
156 #define SWIG_fail goto fail
158 /* Constant information structure */
159 typedef struct swig_const_info
{
165 swig_type_info
**ptype
;
168 /* Common SWIG API */
169 #define SWIG_ConvertPtr(obj, pp, type, flags) \
170 SWIG_Python_ConvertPtr(obj, pp, type, flags)
171 #define SWIG_NewPointerObj(p, type, flags) \
172 SWIG_Python_NewPointerObj(p, type, flags)
173 #define SWIG_MustGetPtr(p, type, argnum, flags) \
174 SWIG_Python_MustGetPtr(p, type, argnum, flags)
176 /* Python-specific SWIG API */
177 #define SWIG_newvarlink() \
178 SWIG_Python_newvarlink()
179 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
180 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
181 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
182 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
183 #define SWIG_NewPackedObj(ptr, sz, type) \
184 SWIG_Python_NewPackedObj(ptr, sz, type)
185 #define SWIG_InstallConstants(d, constants) \
186 SWIG_Python_InstallConstants(d, constants)
189 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
190 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
191 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
192 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
193 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
194 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
195 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
196 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
200 /* Contract support */
202 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
210 /* -------- TYPES TABLE (BEGIN) -------- */
212 #define SWIGTYPE_p_wxOGLConstraint swig_types[0]
213 #define SWIGTYPE_p_wxBrush swig_types[1]
214 #define SWIGTYPE_p_wxColour swig_types[2]
215 #define SWIGTYPE_p_wxShapeRegion swig_types[3]
216 #define SWIGTYPE_p_wxDC swig_types[4]
217 #define SWIGTYPE_p_wxRealPoint swig_types[5]
218 #define SWIGTYPE_p_wxPyControlPoint swig_types[6]
219 #define SWIGTYPE_p_wxArrowHead swig_types[7]
220 #define SWIGTYPE_p_wxStringList swig_types[8]
221 #define SWIGTYPE_p_wxPanel swig_types[9]
222 #define SWIGTYPE_p_bool swig_types[10]
223 #define SWIGTYPE_p_wxList swig_types[11]
224 #define SWIGTYPE_p_wxFont swig_types[12]
225 #define SWIGTYPE_p_wxScrolledWindow swig_types[13]
226 #define SWIGTYPE_p_wxWindow swig_types[14]
227 #define SWIGTYPE_p_double swig_types[15]
228 #define SWIGTYPE_p_wxPyDivisionShape swig_types[16]
229 #define SWIGTYPE_p_wxPyDrawnShape swig_types[17]
230 #define SWIGTYPE_p_wxPyPolygonShape swig_types[18]
231 #define SWIGTYPE_p_wxBitmap swig_types[19]
232 #define SWIGTYPE_p_wxObject swig_types[20]
233 #define SWIGTYPE_p_wxPyBitmapShape swig_types[21]
234 #define SWIGTYPE_p_wxString swig_types[22]
235 #define SWIGTYPE_p_wxPyShapeEvtHandler swig_types[23]
236 #define SWIGTYPE_p_wxEvtHandler swig_types[24]
237 #define SWIGTYPE_p_wxPyEllipseShape swig_types[25]
238 #define SWIGTYPE_p_wxPyShapeCanvas swig_types[26]
239 #define SWIGTYPE_p_wxPoint swig_types[27]
240 #define SWIGTYPE_p_wxDiagram swig_types[28]
241 #define SWIGTYPE_p_wxPyShape swig_types[29]
242 #define SWIGTYPE_p_wxClassInfo swig_types[30]
243 #define SWIGTYPE_p_wxPyLineShape swig_types[31]
244 #define SWIGTYPE_p_wxPyRectangleShape swig_types[32]
245 #define SWIGTYPE_p_wxPyCompositeShape swig_types[33]
246 #define SWIGTYPE_p_wxPyCircleShape swig_types[34]
247 #define SWIGTYPE_p_wxPen swig_types[35]
248 #define SWIGTYPE_p_int swig_types[36]
249 #define SWIGTYPE_p_wxPseudoMetaFile swig_types[37]
250 #define SWIGTYPE_p_wxPyTextShape swig_types[38]
251 #define SWIGTYPE_p_wxPyDividedShape swig_types[39]
252 static swig_type_info
*swig_types
[41];
254 /* -------- TYPES TABLE (END) -------- */
257 /*-----------------------------------------------
259 ------------------------------------------------*/
260 #define SWIG_init init_ogl
262 #define SWIG_name "_ogl"
264 #include "wx/wxPython/wxPython.h"
265 #include "wx/wxPython/pyclasses.h"
266 #include "oglhelpers.h"
269 static const wxString
wxPyEmptyString(wxEmptyString
);
271 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
277 } else if (target
== Py_None
) {
281 if (!PyTuple_Check(target
)) {
283 target
= PyTuple_New(1);
284 PyTuple_SetItem(target
, 0, o2
);
287 PyTuple_SetItem(o3
, 0, o
);
290 target
= PySequence_Concat(o2
, o3
);
298 WXSHAPE_IMP_CALLBACKS(wxPyShapeEvtHandler
,wxShapeEvtHandler
);
300 void wxPyShapeEvtHandler__setOORInfo(wxPyShapeEvtHandler
*self
,PyObject
*_self
){
301 self
->SetClientObject(new wxPyOORClientData(_self
));
304 WXSHAPE_IMP_CALLBACKS(wxPyShape
, wxShape
);
306 PyObject
*wxPyShape_GetChildren(wxPyShape
*self
){
307 wxList
& list
= self
->GetChildren();
308 return wxPy_ConvertShapeList(&list
);
310 PyObject
*wxPyShape_GetLines(wxPyShape
*self
){
311 wxList
& list
= self
->GetLines();
312 return wxPy_ConvertShapeList(&list
);
314 PyObject
*wxPyShape_GetRegions(wxPyShape
*self
){
315 wxList
& list
= self
->GetRegions();
316 return wxPy_ConvertList(&list
);
318 void wxPyShape_ApplyAttachmentOrdering(wxPyShape
*self
,PyObject
*linesToSort
){
319 wxList
* list
= wxPy_wxListHelper(linesToSort
, wxT("wxPyLineShape"));
320 self
->ApplyAttachmentOrdering(*list
);
324 // Using this macro can sometimes provoke an Internal Compiler Error in MSVC
325 // 6, so instead I'l just expand it out by hand...
326 // WXSHAPE_IMP_CALLBACKS(wxPyRectangleShape, wxRectangleShape);
328 IMP_PYCALLBACK__ (wxPyRectangleShape
, wxRectangleShape
, OnDelete
);
329 IMP_PYCALLBACK__DC (wxPyRectangleShape
, wxRectangleShape
, OnDraw
);
330 IMP_PYCALLBACK__DC (wxPyRectangleShape
, wxRectangleShape
, OnDrawContents
);
331 IMP_PYCALLBACK__DCBOOL (wxPyRectangleShape
, wxRectangleShape
, OnDrawBranches
);
332 IMP_PYCALLBACK__DC (wxPyRectangleShape
, wxRectangleShape
, OnMoveLinks
);
333 IMP_PYCALLBACK__DC (wxPyRectangleShape
, wxRectangleShape
, OnErase
);
334 IMP_PYCALLBACK__DC (wxPyRectangleShape
, wxRectangleShape
, OnEraseContents
);
335 IMP_PYCALLBACK__DC (wxPyRectangleShape
, wxRectangleShape
, OnHighlight
);
336 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape
, wxRectangleShape
, OnLeftClick
);
337 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape
, wxRectangleShape
, OnLeftDoubleClick
);
338 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape
, wxRectangleShape
, OnRightClick
);
339 IMP_PYCALLBACK__2DBL (wxPyRectangleShape
, wxRectangleShape
, OnSize
);
340 IMP_PYCALLBACK_BOOL_DC4DBLBOOL (wxPyRectangleShape
, wxRectangleShape
, OnMovePre
);
341 IMP_PYCALLBACK__DC4DBLBOOL (wxPyRectangleShape
, wxRectangleShape
, OnMovePost
);
342 IMP_PYCALLBACK__BOOL2DBL2INT (wxPyRectangleShape
, wxRectangleShape
, OnDragLeft
);
343 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape
, wxRectangleShape
, OnBeginDragLeft
);
344 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape
, wxRectangleShape
, OnEndDragLeft
);
345 IMP_PYCALLBACK__BOOL2DBL2INT (wxPyRectangleShape
, wxRectangleShape
, OnDragRight
);
346 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape
, wxRectangleShape
, OnBeginDragRight
);
347 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape
, wxRectangleShape
, OnEndDragRight
);
348 IMP_PYCALLBACK__DC4DBL (wxPyRectangleShape
, wxRectangleShape
, OnDrawOutline
);
349 IMP_PYCALLBACK__DC (wxPyRectangleShape
, wxRectangleShape
, OnDrawControlPoints
);
350 IMP_PYCALLBACK__DC (wxPyRectangleShape
, wxRectangleShape
, OnEraseControlPoints
);
351 IMP_PYCALLBACK__DCBOOL (wxPyRectangleShape
, wxRectangleShape
, OnMoveLink
);
352 IMP_PYCALLBACK__WXCPBOOL2DBL2INT(wxPyRectangleShape
, wxRectangleShape
, OnSizingDragLeft
);
353 IMP_PYCALLBACK__WXCP2DBL2INT (wxPyRectangleShape
, wxRectangleShape
, OnSizingBeginDragLeft
);
354 IMP_PYCALLBACK__WXCP2DBL2INT (wxPyRectangleShape
, wxRectangleShape
, OnSizingEndDragLeft
);
355 IMP_PYCALLBACK__2DBL (wxPyRectangleShape
, wxRectangleShape
, OnBeginSize
);
356 IMP_PYCALLBACK__2DBL (wxPyRectangleShape
, wxRectangleShape
, OnEndSize
)
360 WXSHAPE_IMP_CALLBACKS(wxPyControlPoint
, wxControlPoint
);
363 WXSHAPE_IMP_CALLBACKS(wxPyBitmapShape
, wxBitmapShape
);
366 WXSHAPE_IMP_CALLBACKS(wxPyDrawnShape
, wxDrawnShape
);
368 wxOGLConstraint
*new_wxOGLConstraint(int type
,wxPyShape
*constraining
,PyObject
*constrained
){
369 wxList
* list
= wxPy_wxListHelper(constrained
, wxT("wxPyShape"));
370 wxOGLConstraint
* rv
= new wxOGLConstraint(type
, constraining
, *list
);
375 WXSHAPE_IMP_CALLBACKS(wxPyCompositeShape
, wxCompositeShape
);
377 wxOGLConstraint
*wxPyCompositeShape_AddConstrainedShapes(wxPyCompositeShape
*self
,int type
,wxPyShape
*constraining
,PyObject
*constrained
){
378 wxList
* list
= wxPy_wxListHelper(constrained
, wxT("wxPyShape"));
379 wxOGLConstraint
* rv
= self
->AddConstraint(type
, constraining
, *list
);
383 PyObject
*wxPyCompositeShape_GetConstraints(wxPyCompositeShape
*self
){
384 wxList
& list
= self
->GetConstraints();
385 return wxPy_ConvertList(&list
);
387 PyObject
*wxPyCompositeShape_GetDivisions(wxPyCompositeShape
*self
){
388 wxList
& list
= self
->GetDivisions();
389 return wxPy_ConvertShapeList(&list
);
392 WXSHAPE_IMP_CALLBACKS(wxPyDividedShape
, wxDividedShape
);
395 WXSHAPE_IMP_CALLBACKS(wxPyDivisionShape
, wxDivisionShape
);
398 WXSHAPE_IMP_CALLBACKS(wxPyEllipseShape
, wxEllipseShape
);
401 WXSHAPE_IMP_CALLBACKS(wxPyCircleShape
, wxCircleShape
);
404 WXSHAPE_IMP_CALLBACKS(wxPyLineShape
, wxLineShape
);
406 void wxPyLineShape_AddArrowOrdered(wxPyLineShape
*self
,wxArrowHead
*arrow
,PyObject
*referenceList
,int end
){
407 wxList
* list
= wxPy_wxListHelper(referenceList
, wxT("wxArrowHead"));
408 self
->AddArrowOrdered(arrow
, *list
, end
);
411 PyObject
*wxPyLineShape_GetLineControlPoints(wxPyLineShape
*self
){
412 wxList
* list
= self
->GetLineControlPoints();
413 return wxPy_ConvertShapeList(list
);
416 WXSHAPE_IMP_CALLBACKS(wxPyPolygonShape
, wxPolygonShape
);
418 PyObject
*wxPyPolygonShape_Create(wxPyPolygonShape
*self
,PyObject
*points
){
419 wxList
* list
= wxPy_wxRealPoint_ListHelper(points
);
427 PyObject
*wxPyPolygonShape_GetPoints(wxPyPolygonShape
*self
){
428 wxList
* list
= self
->GetPoints();
432 wxNode
* node
= list
->GetFirst();
434 wxPyBeginBlockThreads();
435 pyList
= PyList_New(0);
437 wxObj
= node
->GetData();
438 pyObj
= wxPyConstructObject(wxObj
, wxT("wxRealPoint"), 0);
439 PyList_Append(pyList
, pyObj
);
440 node
= node
->GetNext();
442 wxPyEndBlockThreads();
446 WXSHAPE_IMP_CALLBACKS(wxPyTextShape
, wxTextShape
);
449 // Put some wx default wxChar* values into wxStrings.
450 DECLARE_DEF_STRING(ShapeCanvasNameStr
);
452 PyObject
*wxDiagram_GetShapeList(wxDiagram
*self
){
453 wxList
* list
= self
->GetShapeList();
454 return wxPy_ConvertShapeList(list
);
457 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas
, wxShapeCanvas
, OnBeginDragLeft
);
458 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas
, wxShapeCanvas
, OnBeginDragRight
);
459 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas
, wxShapeCanvas
, OnEndDragLeft
);
460 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas
, wxShapeCanvas
, OnEndDragRight
);
461 IMP_PYCALLBACK__BOOL2DBLINT(wxPyShapeCanvas
, wxShapeCanvas
, OnDragLeft
);
462 IMP_PYCALLBACK__BOOL2DBLINT(wxPyShapeCanvas
, wxShapeCanvas
, OnDragRight
);
463 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas
, wxShapeCanvas
, OnLeftClick
);
464 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas
, wxShapeCanvas
, OnRightClick
);
467 //---------------------------------------------------------------------------
469 // Convert from a Python list to a list of className objects. This one will
470 // work for any class for the VERY generic cases, but beyond that the helper
471 // needs to know more about the type.
472 wxList
* wxPy_wxListHelper(PyObject
* pyList
, const wxChar
* className
) {
473 wxPyBeginBlockThreads();
474 if (!PyList_Check(pyList
)) {
475 PyErr_SetString(PyExc_TypeError
, "Expected a list object.");
476 wxPyEndBlockThreads();
479 int count
= PyList_Size(pyList
);
480 wxList
* list
= new wxList
;
482 PyErr_SetString(PyExc_MemoryError
, "Unable to allocate wxList object");
483 wxPyEndBlockThreads();
486 for (int x
=0; x
<count
; x
++) {
487 PyObject
* pyo
= PyList_GetItem(pyList
, x
);
488 wxObject
* wxo
= NULL
;
490 if ( !wxPyConvertSwigPtr(pyo
, (void **)&wxo
, className
) ) {
492 errmsg
.Printf(wxT("Type error, expected list of %s objects"), className
);
493 PyErr_SetString(PyExc_TypeError
, errmsg
.mb_str());
494 wxPyEndBlockThreads();
499 wxPyEndBlockThreads();
503 //---------------------------------------------------------------------------
505 wxList
* wxPy_wxRealPoint_ListHelper(PyObject
* pyList
) {
506 wxPyBeginBlockThreads();
507 if (!PyList_Check(pyList
)) {
508 PyErr_SetString(PyExc_TypeError
, "Expected a list object.");
509 wxPyEndBlockThreads();
512 int count
= PyList_Size(pyList
);
513 wxList
* list
= new wxList
;
515 PyErr_SetString(PyExc_MemoryError
, "Unable to allocate wxList object");
516 wxPyEndBlockThreads();
519 for (int x
=0; x
<count
; x
++) {
520 PyObject
* pyo
= PyList_GetItem(pyList
, x
);
522 if (PyTuple_Check(pyo
)) {
523 PyObject
* o1
= PyNumber_Float(PyTuple_GetItem(pyo
, 0));
524 PyObject
* o2
= PyNumber_Float(PyTuple_GetItem(pyo
, 1));
526 double val1
= (o1
? PyFloat_AsDouble(o1
) : 0.0);
527 double val2
= (o2
? PyFloat_AsDouble(o2
) : 0.0);
529 list
->Append((wxObject
*) new wxRealPoint(val1
, val2
));
532 wxRealPoint
* wxo
= NULL
;
533 if (wxPyConvertSwigPtr(pyo
, (void **)&wxo
, wxT("wxRealPoint"))) {
534 PyErr_SetString(PyExc_TypeError
, "Type error, expected list of wxRealPoint objects or 2-tuples");
535 wxPyEndBlockThreads();
538 list
->Append((wxObject
*) new wxRealPoint(*wxo
));
541 wxPyEndBlockThreads();
545 //---------------------------------------------------------------------------
547 PyObject
* wxPyMake_wxShapeEvtHandler(wxShapeEvtHandler
* source
) {
548 PyObject
* target
= NULL
;
550 if (source
&& wxIsKindOf(source
, wxShapeEvtHandler
)) {
551 // If it's derived from wxShapeEvtHandler then there may
552 // already be a pointer to a Python object that we can use
554 wxShapeEvtHandler
* seh
= (wxShapeEvtHandler
*)source
;
555 wxPyOORClientData
* data
= (wxPyOORClientData
*)seh
->GetClientObject();
557 target
= data
->m_obj
;
562 target
= wxPyMake_wxObject2(source
, FALSE
);
563 if (target
!= Py_None
)
564 ((wxShapeEvtHandler
*)source
)->SetClientObject(new wxPyOORClientData(target
));
569 //---------------------------------------------------------------------------
571 PyObject
* wxPy_ConvertShapeList(wxListBase
* listbase
) {
572 wxList
* list
= (wxList
*)listbase
;
576 wxNode
* node
= list
->GetFirst();
578 wxPyBeginBlockThreads();
579 pyList
= PyList_New(0);
581 wxObj
= node
->GetData();
582 pyObj
= wxPyMake_wxShapeEvtHandler((wxShapeEvtHandler
*)wxObj
);
583 PyList_Append(pyList
, pyObj
);
584 node
= node
->GetNext();
586 wxPyEndBlockThreads();
591 //---------------------------------------------------------------------------
593 IMPLEMENT_DYNAMIC_CLASS(wxPyShapeCanvas
, wxShapeCanvas
);
594 IMPLEMENT_DYNAMIC_CLASS(wxPyShapeEvtHandler
, wxShapeEvtHandler
);
595 IMPLEMENT_ABSTRACT_CLASS(wxPyShape
, wxShape
);
596 IMPLEMENT_DYNAMIC_CLASS(wxPyRectangleShape
, wxRectangleShape
);
597 IMPLEMENT_DYNAMIC_CLASS(wxPyControlPoint
, wxControlPoint
);
598 IMPLEMENT_DYNAMIC_CLASS(wxPyBitmapShape
, wxBitmapShape
);
599 IMPLEMENT_DYNAMIC_CLASS(wxPyDrawnShape
, wxDrawnShape
);
600 IMPLEMENT_DYNAMIC_CLASS(wxPyCompositeShape
, wxCompositeShape
);
601 IMPLEMENT_DYNAMIC_CLASS(wxPyDividedShape
, wxDividedShape
);
602 IMPLEMENT_DYNAMIC_CLASS(wxPyDivisionShape
, wxDivisionShape
);
603 IMPLEMENT_DYNAMIC_CLASS(wxPyEllipseShape
, wxEllipseShape
);
604 IMPLEMENT_DYNAMIC_CLASS(wxPyCircleShape
, wxCircleShape
);
605 IMPLEMENT_DYNAMIC_CLASS(wxPyLineShape
, wxLineShape
);
606 IMPLEMENT_DYNAMIC_CLASS(wxPyPolygonShape
, wxPolygonShape
);
607 IMPLEMENT_DYNAMIC_CLASS(wxPyTextShape
, wxTextShape
);
609 //---------------------------------------------------------------------------
611 // extern "C" SWIGEXPORT(void) initoglbasicc();
612 // extern "C" SWIGEXPORT(void) initoglshapesc();
613 // extern "C" SWIGEXPORT(void) initoglshapes2c();
614 // extern "C" SWIGEXPORT(void) initoglcanvasc();
619 static PyObject
*_wrap_new_ShapeRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
621 wxShapeRegion
*result
;
626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ShapeRegion",kwnames
)) goto fail
;
628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
629 result
= (wxShapeRegion
*)new wxShapeRegion();
631 wxPyEndAllowThreads(__tstate
);
632 if (PyErr_Occurred()) SWIG_fail
;
634 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxShapeRegion
, 1);
641 static PyObject
*_wrap_ShapeRegion_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
643 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
646 PyObject
* obj0
= 0 ;
647 PyObject
* obj1
= 0 ;
649 (char *) "self",(char *) "s", NULL
652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShapeRegion_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
653 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
655 arg2
= wxString_in_helper(obj1
);
656 if (arg2
== NULL
) SWIG_fail
;
660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
661 (arg1
)->SetText((wxString
const &)*arg2
);
663 wxPyEndAllowThreads(__tstate
);
664 if (PyErr_Occurred()) SWIG_fail
;
666 Py_INCREF(Py_None
); resultobj
= Py_None
;
681 static PyObject
*_wrap_ShapeRegion_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
683 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
684 wxFont
*arg2
= (wxFont
*) 0 ;
685 PyObject
* obj0
= 0 ;
686 PyObject
* obj1
= 0 ;
688 (char *) "self",(char *) "f", NULL
691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShapeRegion_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
692 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
696 if (obj1
== Py_None
) {
699 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxFont"))) {
700 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxFont.");
705 arg2
= wxTheFontList
->FindOrCreateFont(temp
->GetPointSize(),
709 temp
->GetUnderlined(),
711 temp
->GetEncoding());
716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
717 (arg1
)->SetFont(arg2
);
719 wxPyEndAllowThreads(__tstate
);
720 if (PyErr_Occurred()) SWIG_fail
;
722 Py_INCREF(Py_None
); resultobj
= Py_None
;
729 static PyObject
*_wrap_ShapeRegion_SetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
731 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
734 PyObject
* obj0
= 0 ;
736 (char *) "self",(char *) "w",(char *) "h", NULL
739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:ShapeRegion_SetMinSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
740 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
743 (arg1
)->SetMinSize(arg2
,arg3
);
745 wxPyEndAllowThreads(__tstate
);
746 if (PyErr_Occurred()) SWIG_fail
;
748 Py_INCREF(Py_None
); resultobj
= Py_None
;
755 static PyObject
*_wrap_ShapeRegion_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
757 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
760 PyObject
* obj0
= 0 ;
762 (char *) "self",(char *) "w",(char *) "h", NULL
765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:ShapeRegion_SetSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
766 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
769 (arg1
)->SetSize(arg2
,arg3
);
771 wxPyEndAllowThreads(__tstate
);
772 if (PyErr_Occurred()) SWIG_fail
;
774 Py_INCREF(Py_None
); resultobj
= Py_None
;
781 static PyObject
*_wrap_ShapeRegion_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
783 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
786 PyObject
* obj0
= 0 ;
788 (char *) "self",(char *) "x",(char *) "y", NULL
791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:ShapeRegion_SetPosition",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
792 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
795 (arg1
)->SetPosition(arg2
,arg3
);
797 wxPyEndAllowThreads(__tstate
);
798 if (PyErr_Occurred()) SWIG_fail
;
800 Py_INCREF(Py_None
); resultobj
= Py_None
;
807 static PyObject
*_wrap_ShapeRegion_SetProportions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
809 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
812 PyObject
* obj0
= 0 ;
814 (char *) "self",(char *) "x",(char *) "y", NULL
817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:ShapeRegion_SetProportions",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
818 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
821 (arg1
)->SetProportions(arg2
,arg3
);
823 wxPyEndAllowThreads(__tstate
);
824 if (PyErr_Occurred()) SWIG_fail
;
826 Py_INCREF(Py_None
); resultobj
= Py_None
;
833 static PyObject
*_wrap_ShapeRegion_SetFormatMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
835 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
837 PyObject
* obj0
= 0 ;
839 (char *) "self",(char *) "mode", NULL
842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ShapeRegion_SetFormatMode",kwnames
,&obj0
,&arg2
)) goto fail
;
843 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
846 (arg1
)->SetFormatMode(arg2
);
848 wxPyEndAllowThreads(__tstate
);
849 if (PyErr_Occurred()) SWIG_fail
;
851 Py_INCREF(Py_None
); resultobj
= Py_None
;
858 static PyObject
*_wrap_ShapeRegion_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
860 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
863 PyObject
* obj0
= 0 ;
864 PyObject
* obj1
= 0 ;
866 (char *) "self",(char *) "s", NULL
869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShapeRegion_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
870 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
872 arg2
= wxString_in_helper(obj1
);
873 if (arg2
== NULL
) SWIG_fail
;
877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
878 (arg1
)->SetName((wxString
const &)*arg2
);
880 wxPyEndAllowThreads(__tstate
);
881 if (PyErr_Occurred()) SWIG_fail
;
883 Py_INCREF(Py_None
); resultobj
= Py_None
;
898 static PyObject
*_wrap_ShapeRegion_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
900 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
903 PyObject
* obj0
= 0 ;
904 PyObject
* obj1
= 0 ;
906 (char *) "self",(char *) "col", NULL
909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShapeRegion_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
910 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
912 arg2
= wxString_in_helper(obj1
);
913 if (arg2
== NULL
) SWIG_fail
;
917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
918 (arg1
)->SetColour((wxString
const &)*arg2
);
920 wxPyEndAllowThreads(__tstate
);
921 if (PyErr_Occurred()) SWIG_fail
;
923 Py_INCREF(Py_None
); resultobj
= Py_None
;
938 static PyObject
*_wrap_ShapeRegion_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
940 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
942 PyObject
* obj0
= 0 ;
944 (char *) "self", NULL
947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetText",kwnames
,&obj0
)) goto fail
;
948 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
951 result
= (arg1
)->GetText();
953 wxPyEndAllowThreads(__tstate
);
954 if (PyErr_Occurred()) SWIG_fail
;
958 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
960 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
969 static PyObject
*_wrap_ShapeRegion_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
971 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
973 PyObject
* obj0
= 0 ;
975 (char *) "self", NULL
978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetFont",kwnames
,&obj0
)) goto fail
;
979 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
982 result
= (wxFont
*)(arg1
)->GetFont();
984 wxPyEndAllowThreads(__tstate
);
985 if (PyErr_Occurred()) SWIG_fail
;
987 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFont
, 0);
994 static PyObject
*_wrap_ShapeRegion_GetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
996 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
997 double *arg2
= (double *) 0 ;
998 double *arg3
= (double *) 0 ;
1001 PyObject
* obj0
= 0 ;
1003 (char *) "self", NULL
1008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetMinSize",kwnames
,&obj0
)) goto fail
;
1009 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1012 (arg1
)->GetMinSize(arg2
,arg3
);
1014 wxPyEndAllowThreads(__tstate
);
1015 if (PyErr_Occurred()) SWIG_fail
;
1017 Py_INCREF(Py_None
); resultobj
= Py_None
;
1019 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
1020 resultobj
= t_output_helper(resultobj
,o
);
1023 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
1024 resultobj
= t_output_helper(resultobj
,o
);
1032 static PyObject
*_wrap_ShapeRegion_GetProportion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1033 PyObject
*resultobj
;
1034 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1035 double *arg2
= (double *) 0 ;
1036 double *arg3
= (double *) 0 ;
1039 PyObject
* obj0
= 0 ;
1041 (char *) "self", NULL
1046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetProportion",kwnames
,&obj0
)) goto fail
;
1047 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1050 (arg1
)->GetProportion(arg2
,arg3
);
1052 wxPyEndAllowThreads(__tstate
);
1053 if (PyErr_Occurred()) SWIG_fail
;
1055 Py_INCREF(Py_None
); resultobj
= Py_None
;
1057 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
1058 resultobj
= t_output_helper(resultobj
,o
);
1061 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
1062 resultobj
= t_output_helper(resultobj
,o
);
1070 static PyObject
*_wrap_ShapeRegion_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1071 PyObject
*resultobj
;
1072 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1073 double *arg2
= (double *) 0 ;
1074 double *arg3
= (double *) 0 ;
1077 PyObject
* obj0
= 0 ;
1079 (char *) "self", NULL
1084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetSize",kwnames
,&obj0
)) goto fail
;
1085 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1088 (arg1
)->GetSize(arg2
,arg3
);
1090 wxPyEndAllowThreads(__tstate
);
1091 if (PyErr_Occurred()) SWIG_fail
;
1093 Py_INCREF(Py_None
); resultobj
= Py_None
;
1095 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
1096 resultobj
= t_output_helper(resultobj
,o
);
1099 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
1100 resultobj
= t_output_helper(resultobj
,o
);
1108 static PyObject
*_wrap_ShapeRegion_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1109 PyObject
*resultobj
;
1110 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1111 double *arg2
= (double *) 0 ;
1112 double *arg3
= (double *) 0 ;
1115 PyObject
* obj0
= 0 ;
1117 (char *) "self", NULL
1122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetPosition",kwnames
,&obj0
)) goto fail
;
1123 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1126 (arg1
)->GetPosition(arg2
,arg3
);
1128 wxPyEndAllowThreads(__tstate
);
1129 if (PyErr_Occurred()) SWIG_fail
;
1131 Py_INCREF(Py_None
); resultobj
= Py_None
;
1133 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
1134 resultobj
= t_output_helper(resultobj
,o
);
1137 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
1138 resultobj
= t_output_helper(resultobj
,o
);
1146 static PyObject
*_wrap_ShapeRegion_GetFormatMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1147 PyObject
*resultobj
;
1148 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1150 PyObject
* obj0
= 0 ;
1152 (char *) "self", NULL
1155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetFormatMode",kwnames
,&obj0
)) goto fail
;
1156 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1159 result
= (int)(arg1
)->GetFormatMode();
1161 wxPyEndAllowThreads(__tstate
);
1162 if (PyErr_Occurred()) SWIG_fail
;
1164 resultobj
= PyInt_FromLong((long)result
);
1171 static PyObject
*_wrap_ShapeRegion_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1172 PyObject
*resultobj
;
1173 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1175 PyObject
* obj0
= 0 ;
1177 (char *) "self", NULL
1180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetName",kwnames
,&obj0
)) goto fail
;
1181 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1184 result
= (arg1
)->GetName();
1186 wxPyEndAllowThreads(__tstate
);
1187 if (PyErr_Occurred()) SWIG_fail
;
1191 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1193 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1202 static PyObject
*_wrap_ShapeRegion_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1203 PyObject
*resultobj
;
1204 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1206 PyObject
* obj0
= 0 ;
1208 (char *) "self", NULL
1211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetColour",kwnames
,&obj0
)) goto fail
;
1212 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1215 result
= (arg1
)->GetColour();
1217 wxPyEndAllowThreads(__tstate
);
1218 if (PyErr_Occurred()) SWIG_fail
;
1222 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1224 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1233 static PyObject
*_wrap_ShapeRegion_GetActualColourObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1234 PyObject
*resultobj
;
1235 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1237 PyObject
* obj0
= 0 ;
1239 (char *) "self", NULL
1242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetActualColourObject",kwnames
,&obj0
)) goto fail
;
1243 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1246 result
= (wxColour
*)(arg1
)->GetActualColourObject();
1248 wxPyEndAllowThreads(__tstate
);
1249 if (PyErr_Occurred()) SWIG_fail
;
1251 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColour
, 0);
1258 static PyObject
*_wrap_ShapeRegion_GetFormattedText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1259 PyObject
*resultobj
;
1260 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1262 PyObject
* obj0
= 0 ;
1264 (char *) "self", NULL
1267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetFormattedText",kwnames
,&obj0
)) goto fail
;
1268 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1272 wxList
&_result_ref
= (arg1
)->GetFormattedText();
1273 result
= (wxList
*) &_result_ref
;
1276 wxPyEndAllowThreads(__tstate
);
1277 if (PyErr_Occurred()) SWIG_fail
;
1279 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxList
, 0);
1286 static PyObject
*_wrap_ShapeRegion_GetPenColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1287 PyObject
*resultobj
;
1288 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1290 PyObject
* obj0
= 0 ;
1292 (char *) "self", NULL
1295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetPenColour",kwnames
,&obj0
)) goto fail
;
1296 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1299 result
= (arg1
)->GetPenColour();
1301 wxPyEndAllowThreads(__tstate
);
1302 if (PyErr_Occurred()) SWIG_fail
;
1306 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1308 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1317 static PyObject
*_wrap_ShapeRegion_GetPenStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1318 PyObject
*resultobj
;
1319 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1321 PyObject
* obj0
= 0 ;
1323 (char *) "self", NULL
1326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetPenStyle",kwnames
,&obj0
)) goto fail
;
1327 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1330 result
= (int)(arg1
)->GetPenStyle();
1332 wxPyEndAllowThreads(__tstate
);
1333 if (PyErr_Occurred()) SWIG_fail
;
1335 resultobj
= PyInt_FromLong((long)result
);
1342 static PyObject
*_wrap_ShapeRegion_SetPenStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1343 PyObject
*resultobj
;
1344 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1346 PyObject
* obj0
= 0 ;
1348 (char *) "self",(char *) "style", NULL
1351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ShapeRegion_SetPenStyle",kwnames
,&obj0
,&arg2
)) goto fail
;
1352 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1355 (arg1
)->SetPenStyle(arg2
);
1357 wxPyEndAllowThreads(__tstate
);
1358 if (PyErr_Occurred()) SWIG_fail
;
1360 Py_INCREF(Py_None
); resultobj
= Py_None
;
1367 static PyObject
*_wrap_ShapeRegion_SetPenColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1368 PyObject
*resultobj
;
1369 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1370 wxString
*arg2
= 0 ;
1371 bool temp2
= False
;
1372 PyObject
* obj0
= 0 ;
1373 PyObject
* obj1
= 0 ;
1375 (char *) "self",(char *) "col", NULL
1378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShapeRegion_SetPenColour",kwnames
,&obj0
,&obj1
)) goto fail
;
1379 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1381 arg2
= wxString_in_helper(obj1
);
1382 if (arg2
== NULL
) SWIG_fail
;
1386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1387 (arg1
)->SetPenColour((wxString
const &)*arg2
);
1389 wxPyEndAllowThreads(__tstate
);
1390 if (PyErr_Occurred()) SWIG_fail
;
1392 Py_INCREF(Py_None
); resultobj
= Py_None
;
1407 static PyObject
*_wrap_ShapeRegion_GetActualPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1408 PyObject
*resultobj
;
1409 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1411 PyObject
* obj0
= 0 ;
1413 (char *) "self", NULL
1416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetActualPen",kwnames
,&obj0
)) goto fail
;
1417 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1420 result
= (wxPen
*)(arg1
)->GetActualPen();
1422 wxPyEndAllowThreads(__tstate
);
1423 if (PyErr_Occurred()) SWIG_fail
;
1425 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPen
, 0);
1432 static PyObject
*_wrap_ShapeRegion_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1433 PyObject
*resultobj
;
1434 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1436 PyObject
* obj0
= 0 ;
1438 (char *) "self", NULL
1441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetWidth",kwnames
,&obj0
)) goto fail
;
1442 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1445 result
= (double)(arg1
)->GetWidth();
1447 wxPyEndAllowThreads(__tstate
);
1448 if (PyErr_Occurred()) SWIG_fail
;
1450 resultobj
= PyFloat_FromDouble(result
);
1457 static PyObject
*_wrap_ShapeRegion_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1458 PyObject
*resultobj
;
1459 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1461 PyObject
* obj0
= 0 ;
1463 (char *) "self", NULL
1466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetHeight",kwnames
,&obj0
)) goto fail
;
1467 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1470 result
= (double)(arg1
)->GetHeight();
1472 wxPyEndAllowThreads(__tstate
);
1473 if (PyErr_Occurred()) SWIG_fail
;
1475 resultobj
= PyFloat_FromDouble(result
);
1482 static PyObject
*_wrap_ShapeRegion_ClearText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1483 PyObject
*resultobj
;
1484 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1485 PyObject
* obj0
= 0 ;
1487 (char *) "self", NULL
1490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_ClearText",kwnames
,&obj0
)) goto fail
;
1491 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1494 (arg1
)->ClearText();
1496 wxPyEndAllowThreads(__tstate
);
1497 if (PyErr_Occurred()) SWIG_fail
;
1499 Py_INCREF(Py_None
); resultobj
= Py_None
;
1506 static PyObject
* ShapeRegion_swigregister(PyObject
*self
, PyObject
*args
) {
1508 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1509 SWIG_TypeClientData(SWIGTYPE_p_wxShapeRegion
, obj
);
1511 return Py_BuildValue((char *)"");
1513 static PyObject
*_wrap_new_PyShapeEvtHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1514 PyObject
*resultobj
;
1515 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) NULL
;
1516 wxPyShape
*arg2
= (wxPyShape
*) NULL
;
1517 wxPyShapeEvtHandler
*result
;
1518 PyObject
* obj0
= 0 ;
1519 PyObject
* obj1
= 0 ;
1521 (char *) "prev",(char *) "shape", NULL
1524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyShapeEvtHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
1526 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1529 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1533 result
= (wxPyShapeEvtHandler
*)new wxPyShapeEvtHandler(arg1
,arg2
);
1535 wxPyEndAllowThreads(__tstate
);
1536 if (PyErr_Occurred()) SWIG_fail
;
1539 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
1547 static PyObject
*_wrap_PyShapeEvtHandler__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1548 PyObject
*resultobj
;
1549 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
1550 PyObject
*arg2
= (PyObject
*) 0 ;
1551 PyObject
*arg3
= (PyObject
*) 0 ;
1552 PyObject
* obj0
= 0 ;
1553 PyObject
* obj1
= 0 ;
1554 PyObject
* obj2
= 0 ;
1556 (char *) "self",(char *) "self",(char *) "_class", NULL
1559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShapeEvtHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1560 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1565 (arg1
)->_setCallbackInfo(arg2
,arg3
);
1567 wxPyEndAllowThreads(__tstate
);
1568 if (PyErr_Occurred()) SWIG_fail
;
1570 Py_INCREF(Py_None
); resultobj
= Py_None
;
1577 static PyObject
*_wrap_PyShapeEvtHandler__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1578 PyObject
*resultobj
;
1579 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
1580 PyObject
*arg2
= (PyObject
*) 0 ;
1581 PyObject
* obj0
= 0 ;
1582 PyObject
* obj1
= 0 ;
1584 (char *) "self",(char *) "_self", NULL
1587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
1588 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1592 wxPyShapeEvtHandler__setOORInfo(arg1
,arg2
);
1594 wxPyEndAllowThreads(__tstate
);
1595 if (PyErr_Occurred()) SWIG_fail
;
1597 Py_INCREF(Py_None
); resultobj
= Py_None
;
1604 static PyObject
*_wrap_PyShapeEvtHandler_SetShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1605 PyObject
*resultobj
;
1606 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
1607 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
1608 PyObject
* obj0
= 0 ;
1609 PyObject
* obj1
= 0 ;
1611 (char *) "self",(char *) "sh", NULL
1614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler_SetShape",kwnames
,&obj0
,&obj1
)) goto fail
;
1615 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1616 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1619 (arg1
)->SetShape(arg2
);
1621 wxPyEndAllowThreads(__tstate
);
1622 if (PyErr_Occurred()) SWIG_fail
;
1624 Py_INCREF(Py_None
); resultobj
= Py_None
;
1631 static PyObject
*_wrap_PyShapeEvtHandler_GetShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1632 PyObject
*resultobj
;
1633 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
1635 PyObject
* obj0
= 0 ;
1637 (char *) "self", NULL
1640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShapeEvtHandler_GetShape",kwnames
,&obj0
)) goto fail
;
1641 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1644 result
= (wxPyShape
*)(arg1
)->GetShape();
1646 wxPyEndAllowThreads(__tstate
);
1647 if (PyErr_Occurred()) SWIG_fail
;
1650 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
1658 static PyObject
*_wrap_PyShapeEvtHandler_SetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1659 PyObject
*resultobj
;
1660 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
1661 wxPyShapeEvtHandler
*arg2
= (wxPyShapeEvtHandler
*) 0 ;
1662 PyObject
* obj0
= 0 ;
1663 PyObject
* obj1
= 0 ;
1665 (char *) "self",(char *) "handler", NULL
1668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler_SetPreviousHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
1669 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1670 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1673 (arg1
)->SetPreviousHandler(arg2
);
1675 wxPyEndAllowThreads(__tstate
);
1676 if (PyErr_Occurred()) SWIG_fail
;
1678 Py_INCREF(Py_None
); resultobj
= Py_None
;
1685 static PyObject
*_wrap_PyShapeEvtHandler_GetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1686 PyObject
*resultobj
;
1687 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
1688 wxPyShapeEvtHandler
*result
;
1689 PyObject
* obj0
= 0 ;
1691 (char *) "self", NULL
1694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShapeEvtHandler_GetPreviousHandler",kwnames
,&obj0
)) goto fail
;
1695 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1698 result
= (wxPyShapeEvtHandler
*)(arg1
)->GetPreviousHandler();
1700 wxPyEndAllowThreads(__tstate
);
1701 if (PyErr_Occurred()) SWIG_fail
;
1704 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
1712 static PyObject
*_wrap_PyShapeEvtHandler_CreateNewCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1713 PyObject
*resultobj
;
1714 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
1715 wxPyShapeEvtHandler
*result
;
1716 PyObject
* obj0
= 0 ;
1718 (char *) "self", NULL
1721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShapeEvtHandler_CreateNewCopy",kwnames
,&obj0
)) goto fail
;
1722 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1725 result
= (wxPyShapeEvtHandler
*)(arg1
)->CreateNewCopy();
1727 wxPyEndAllowThreads(__tstate
);
1728 if (PyErr_Occurred()) SWIG_fail
;
1731 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
1739 static PyObject
*_wrap_PyShapeEvtHandler_base_OnDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1740 PyObject
*resultobj
;
1741 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
1742 PyObject
* obj0
= 0 ;
1744 (char *) "self", NULL
1747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShapeEvtHandler_base_OnDelete",kwnames
,&obj0
)) goto fail
;
1748 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1751 (arg1
)->base_OnDelete();
1753 wxPyEndAllowThreads(__tstate
);
1754 if (PyErr_Occurred()) SWIG_fail
;
1756 Py_INCREF(Py_None
); resultobj
= Py_None
;
1763 static PyObject
*_wrap_PyShapeEvtHandler_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1764 PyObject
*resultobj
;
1765 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
1767 PyObject
* obj0
= 0 ;
1768 PyObject
* obj1
= 0 ;
1770 (char *) "self",(char *) "dc", NULL
1773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
1774 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1775 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1777 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1781 (arg1
)->base_OnDraw(*arg2
);
1783 wxPyEndAllowThreads(__tstate
);
1784 if (PyErr_Occurred()) SWIG_fail
;
1786 Py_INCREF(Py_None
); resultobj
= Py_None
;
1793 static PyObject
*_wrap_PyShapeEvtHandler_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1794 PyObject
*resultobj
;
1795 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
1797 PyObject
* obj0
= 0 ;
1798 PyObject
* obj1
= 0 ;
1800 (char *) "self",(char *) "dc", NULL
1803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
1804 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1805 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1807 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1811 (arg1
)->base_OnDrawContents(*arg2
);
1813 wxPyEndAllowThreads(__tstate
);
1814 if (PyErr_Occurred()) SWIG_fail
;
1816 Py_INCREF(Py_None
); resultobj
= Py_None
;
1823 static PyObject
*_wrap_PyShapeEvtHandler_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1824 PyObject
*resultobj
;
1825 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
1827 bool arg3
= (bool) False
;
1828 PyObject
* obj0
= 0 ;
1829 PyObject
* obj1
= 0 ;
1830 PyObject
* obj2
= 0 ;
1832 (char *) "self",(char *) "dc",(char *) "erase", NULL
1835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShapeEvtHandler_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1836 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1837 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1839 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1842 arg3
= PyInt_AsLong(obj2
) ? true : false;
1843 if (PyErr_Occurred()) SWIG_fail
;
1846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1847 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
1849 wxPyEndAllowThreads(__tstate
);
1850 if (PyErr_Occurred()) SWIG_fail
;
1852 Py_INCREF(Py_None
); resultobj
= Py_None
;
1859 static PyObject
*_wrap_PyShapeEvtHandler_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1860 PyObject
*resultobj
;
1861 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
1863 PyObject
* obj0
= 0 ;
1864 PyObject
* obj1
= 0 ;
1866 (char *) "self",(char *) "dc", NULL
1869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
1870 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1871 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1873 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1877 (arg1
)->base_OnMoveLinks(*arg2
);
1879 wxPyEndAllowThreads(__tstate
);
1880 if (PyErr_Occurred()) SWIG_fail
;
1882 Py_INCREF(Py_None
); resultobj
= Py_None
;
1889 static PyObject
*_wrap_PyShapeEvtHandler_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1890 PyObject
*resultobj
;
1891 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
1893 PyObject
* obj0
= 0 ;
1894 PyObject
* obj1
= 0 ;
1896 (char *) "self",(char *) "dc", NULL
1899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
1900 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1901 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1903 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1907 (arg1
)->base_OnErase(*arg2
);
1909 wxPyEndAllowThreads(__tstate
);
1910 if (PyErr_Occurred()) SWIG_fail
;
1912 Py_INCREF(Py_None
); resultobj
= Py_None
;
1919 static PyObject
*_wrap_PyShapeEvtHandler_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1920 PyObject
*resultobj
;
1921 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
1923 PyObject
* obj0
= 0 ;
1924 PyObject
* obj1
= 0 ;
1926 (char *) "self",(char *) "dc", NULL
1929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
1930 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1931 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1933 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1937 (arg1
)->base_OnEraseContents(*arg2
);
1939 wxPyEndAllowThreads(__tstate
);
1940 if (PyErr_Occurred()) SWIG_fail
;
1942 Py_INCREF(Py_None
); resultobj
= Py_None
;
1949 static PyObject
*_wrap_PyShapeEvtHandler_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1950 PyObject
*resultobj
;
1951 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
1953 PyObject
* obj0
= 0 ;
1954 PyObject
* obj1
= 0 ;
1956 (char *) "self",(char *) "dc", NULL
1959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
1960 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1961 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1963 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1967 (arg1
)->base_OnHighlight(*arg2
);
1969 wxPyEndAllowThreads(__tstate
);
1970 if (PyErr_Occurred()) SWIG_fail
;
1972 Py_INCREF(Py_None
); resultobj
= Py_None
;
1979 static PyObject
*_wrap_PyShapeEvtHandler_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1980 PyObject
*resultobj
;
1981 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
1984 int arg4
= (int) 0 ;
1985 int arg5
= (int) 0 ;
1986 PyObject
* obj0
= 0 ;
1988 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
1991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyShapeEvtHandler_base_OnLeftClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
1992 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1995 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
1997 wxPyEndAllowThreads(__tstate
);
1998 if (PyErr_Occurred()) SWIG_fail
;
2000 Py_INCREF(Py_None
); resultobj
= Py_None
;
2007 static PyObject
*_wrap_PyShapeEvtHandler_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2008 PyObject
*resultobj
;
2009 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2012 int arg4
= (int) 0 ;
2013 int arg5
= (int) 0 ;
2014 PyObject
* obj0
= 0 ;
2016 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyShapeEvtHandler_base_OnLeftDoubleClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
2020 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2023 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
2025 wxPyEndAllowThreads(__tstate
);
2026 if (PyErr_Occurred()) SWIG_fail
;
2028 Py_INCREF(Py_None
); resultobj
= Py_None
;
2035 static PyObject
*_wrap_PyShapeEvtHandler_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2036 PyObject
*resultobj
;
2037 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2040 int arg4
= (int) 0 ;
2041 int arg5
= (int) 0 ;
2042 PyObject
* obj0
= 0 ;
2044 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyShapeEvtHandler_base_OnRightClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
2048 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2051 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
2053 wxPyEndAllowThreads(__tstate
);
2054 if (PyErr_Occurred()) SWIG_fail
;
2056 Py_INCREF(Py_None
); resultobj
= Py_None
;
2063 static PyObject
*_wrap_PyShapeEvtHandler_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2064 PyObject
*resultobj
;
2065 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2068 PyObject
* obj0
= 0 ;
2070 (char *) "self",(char *) "x",(char *) "y", NULL
2073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyShapeEvtHandler_base_OnSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
2074 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2077 (arg1
)->base_OnSize(arg2
,arg3
);
2079 wxPyEndAllowThreads(__tstate
);
2080 if (PyErr_Occurred()) SWIG_fail
;
2082 Py_INCREF(Py_None
); resultobj
= Py_None
;
2089 static PyObject
*_wrap_PyShapeEvtHandler_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2090 PyObject
*resultobj
;
2091 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2097 bool arg7
= (bool) True
;
2099 PyObject
* obj0
= 0 ;
2100 PyObject
* obj1
= 0 ;
2101 PyObject
* obj6
= 0 ;
2103 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
2106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd|O:PyShapeEvtHandler_base_OnMovePre",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
)) goto fail
;
2107 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2108 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2110 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2113 arg7
= PyInt_AsLong(obj6
) ? true : false;
2114 if (PyErr_Occurred()) SWIG_fail
;
2117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2118 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
2120 wxPyEndAllowThreads(__tstate
);
2121 if (PyErr_Occurred()) SWIG_fail
;
2123 resultobj
= PyInt_FromLong((long)result
);
2130 static PyObject
*_wrap_PyShapeEvtHandler_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2131 PyObject
*resultobj
;
2132 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2138 bool arg7
= (bool) True
;
2139 PyObject
* obj0
= 0 ;
2140 PyObject
* obj1
= 0 ;
2141 PyObject
* obj6
= 0 ;
2143 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
2146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd|O:PyShapeEvtHandler_base_OnMovePost",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
)) goto fail
;
2147 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2148 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2150 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2153 arg7
= PyInt_AsLong(obj6
) ? true : false;
2154 if (PyErr_Occurred()) SWIG_fail
;
2157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2158 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
2160 wxPyEndAllowThreads(__tstate
);
2161 if (PyErr_Occurred()) SWIG_fail
;
2163 Py_INCREF(Py_None
); resultobj
= Py_None
;
2170 static PyObject
*_wrap_PyShapeEvtHandler_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2171 PyObject
*resultobj
;
2172 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2176 int arg5
= (int) 0 ;
2177 int arg6
= (int) 0 ;
2178 PyObject
* obj0
= 0 ;
2179 PyObject
* obj1
= 0 ;
2181 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyShapeEvtHandler_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
2185 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2186 arg2
= PyInt_AsLong(obj1
) ? true : false;
2187 if (PyErr_Occurred()) SWIG_fail
;
2189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2190 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
2192 wxPyEndAllowThreads(__tstate
);
2193 if (PyErr_Occurred()) SWIG_fail
;
2195 Py_INCREF(Py_None
); resultobj
= Py_None
;
2202 static PyObject
*_wrap_PyShapeEvtHandler_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2203 PyObject
*resultobj
;
2204 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2207 int arg4
= (int) 0 ;
2208 int arg5
= (int) 0 ;
2209 PyObject
* obj0
= 0 ;
2211 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyShapeEvtHandler_base_OnBeginDragLeft",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
2215 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2218 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
2220 wxPyEndAllowThreads(__tstate
);
2221 if (PyErr_Occurred()) SWIG_fail
;
2223 Py_INCREF(Py_None
); resultobj
= Py_None
;
2230 static PyObject
*_wrap_PyShapeEvtHandler_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2231 PyObject
*resultobj
;
2232 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2235 int arg4
= (int) 0 ;
2236 int arg5
= (int) 0 ;
2237 PyObject
* obj0
= 0 ;
2239 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyShapeEvtHandler_base_OnEndDragLeft",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
2243 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2246 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
2248 wxPyEndAllowThreads(__tstate
);
2249 if (PyErr_Occurred()) SWIG_fail
;
2251 Py_INCREF(Py_None
); resultobj
= Py_None
;
2258 static PyObject
*_wrap_PyShapeEvtHandler_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2259 PyObject
*resultobj
;
2260 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2264 int arg5
= (int) 0 ;
2265 int arg6
= (int) 0 ;
2266 PyObject
* obj0
= 0 ;
2267 PyObject
* obj1
= 0 ;
2269 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyShapeEvtHandler_base_OnDragRight",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
2273 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2274 arg2
= PyInt_AsLong(obj1
) ? true : false;
2275 if (PyErr_Occurred()) SWIG_fail
;
2277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2278 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
2280 wxPyEndAllowThreads(__tstate
);
2281 if (PyErr_Occurred()) SWIG_fail
;
2283 Py_INCREF(Py_None
); resultobj
= Py_None
;
2290 static PyObject
*_wrap_PyShapeEvtHandler_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2291 PyObject
*resultobj
;
2292 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2295 int arg4
= (int) 0 ;
2296 int arg5
= (int) 0 ;
2297 PyObject
* obj0
= 0 ;
2299 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyShapeEvtHandler_base_OnBeginDragRight",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
2303 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2306 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
2308 wxPyEndAllowThreads(__tstate
);
2309 if (PyErr_Occurred()) SWIG_fail
;
2311 Py_INCREF(Py_None
); resultobj
= Py_None
;
2318 static PyObject
*_wrap_PyShapeEvtHandler_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2319 PyObject
*resultobj
;
2320 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2323 int arg4
= (int) 0 ;
2324 int arg5
= (int) 0 ;
2325 PyObject
* obj0
= 0 ;
2327 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyShapeEvtHandler_base_OnEndDragRight",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
2331 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2334 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
2336 wxPyEndAllowThreads(__tstate
);
2337 if (PyErr_Occurred()) SWIG_fail
;
2339 Py_INCREF(Py_None
); resultobj
= Py_None
;
2346 static PyObject
*_wrap_PyShapeEvtHandler_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2347 PyObject
*resultobj
;
2348 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2354 PyObject
* obj0
= 0 ;
2355 PyObject
* obj1
= 0 ;
2357 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
2360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd:PyShapeEvtHandler_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
2361 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2362 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2364 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2368 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
2370 wxPyEndAllowThreads(__tstate
);
2371 if (PyErr_Occurred()) SWIG_fail
;
2373 Py_INCREF(Py_None
); resultobj
= Py_None
;
2380 static PyObject
*_wrap_PyShapeEvtHandler_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2381 PyObject
*resultobj
;
2382 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2384 PyObject
* obj0
= 0 ;
2385 PyObject
* obj1
= 0 ;
2387 (char *) "self",(char *) "dc", NULL
2390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
2391 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2392 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2394 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2398 (arg1
)->base_OnDrawControlPoints(*arg2
);
2400 wxPyEndAllowThreads(__tstate
);
2401 if (PyErr_Occurred()) SWIG_fail
;
2403 Py_INCREF(Py_None
); resultobj
= Py_None
;
2410 static PyObject
*_wrap_PyShapeEvtHandler_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2411 PyObject
*resultobj
;
2412 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2414 PyObject
* obj0
= 0 ;
2415 PyObject
* obj1
= 0 ;
2417 (char *) "self",(char *) "dc", NULL
2420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
2421 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2422 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2424 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2428 (arg1
)->base_OnEraseControlPoints(*arg2
);
2430 wxPyEndAllowThreads(__tstate
);
2431 if (PyErr_Occurred()) SWIG_fail
;
2433 Py_INCREF(Py_None
); resultobj
= Py_None
;
2440 static PyObject
*_wrap_PyShapeEvtHandler_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2441 PyObject
*resultobj
;
2442 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2444 bool arg3
= (bool) True
;
2445 PyObject
* obj0
= 0 ;
2446 PyObject
* obj1
= 0 ;
2447 PyObject
* obj2
= 0 ;
2449 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
2452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShapeEvtHandler_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2453 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2454 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2456 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2459 arg3
= PyInt_AsLong(obj2
) ? true : false;
2460 if (PyErr_Occurred()) SWIG_fail
;
2463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2464 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
2466 wxPyEndAllowThreads(__tstate
);
2467 if (PyErr_Occurred()) SWIG_fail
;
2469 Py_INCREF(Py_None
); resultobj
= Py_None
;
2476 static PyObject
*_wrap_PyShapeEvtHandler_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2477 PyObject
*resultobj
;
2478 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2479 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
2483 int arg6
= (int) 0 ;
2484 int arg7
= (int) 0 ;
2485 PyObject
* obj0
= 0 ;
2486 PyObject
* obj1
= 0 ;
2487 PyObject
* obj2
= 0 ;
2489 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOdd|ii:PyShapeEvtHandler_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
,&arg6
,&arg7
)) goto fail
;
2493 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2494 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2495 arg3
= PyInt_AsLong(obj2
) ? true : false;
2496 if (PyErr_Occurred()) SWIG_fail
;
2498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2499 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
2501 wxPyEndAllowThreads(__tstate
);
2502 if (PyErr_Occurred()) SWIG_fail
;
2504 Py_INCREF(Py_None
); resultobj
= Py_None
;
2511 static PyObject
*_wrap_PyShapeEvtHandler_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2512 PyObject
*resultobj
;
2513 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2514 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
2517 int arg5
= (int) 0 ;
2518 int arg6
= (int) 0 ;
2519 PyObject
* obj0
= 0 ;
2520 PyObject
* obj1
= 0 ;
2522 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyShapeEvtHandler_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
2526 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2527 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2530 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
2532 wxPyEndAllowThreads(__tstate
);
2533 if (PyErr_Occurred()) SWIG_fail
;
2535 Py_INCREF(Py_None
); resultobj
= Py_None
;
2542 static PyObject
*_wrap_PyShapeEvtHandler_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2543 PyObject
*resultobj
;
2544 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2545 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
2548 int arg5
= (int) 0 ;
2549 int arg6
= (int) 0 ;
2550 PyObject
* obj0
= 0 ;
2551 PyObject
* obj1
= 0 ;
2553 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyShapeEvtHandler_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
2557 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2558 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2561 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
2563 wxPyEndAllowThreads(__tstate
);
2564 if (PyErr_Occurred()) SWIG_fail
;
2566 Py_INCREF(Py_None
); resultobj
= Py_None
;
2573 static PyObject
*_wrap_PyShapeEvtHandler_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2574 PyObject
*resultobj
;
2575 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2578 PyObject
* obj0
= 0 ;
2580 (char *) "self",(char *) "w",(char *) "h", NULL
2583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyShapeEvtHandler_base_OnBeginSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
2584 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2587 (arg1
)->base_OnBeginSize(arg2
,arg3
);
2589 wxPyEndAllowThreads(__tstate
);
2590 if (PyErr_Occurred()) SWIG_fail
;
2592 Py_INCREF(Py_None
); resultobj
= Py_None
;
2599 static PyObject
*_wrap_PyShapeEvtHandler_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2600 PyObject
*resultobj
;
2601 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2604 PyObject
* obj0
= 0 ;
2606 (char *) "self",(char *) "w",(char *) "h", NULL
2609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyShapeEvtHandler_base_OnEndSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
2610 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2613 (arg1
)->base_OnEndSize(arg2
,arg3
);
2615 wxPyEndAllowThreads(__tstate
);
2616 if (PyErr_Occurred()) SWIG_fail
;
2618 Py_INCREF(Py_None
); resultobj
= Py_None
;
2625 static PyObject
* PyShapeEvtHandler_swigregister(PyObject
*self
, PyObject
*args
) {
2627 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2628 SWIG_TypeClientData(SWIGTYPE_p_wxPyShapeEvtHandler
, obj
);
2630 return Py_BuildValue((char *)"");
2632 static PyObject
*_wrap_new_PyShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2633 PyObject
*resultobj
;
2634 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) NULL
;
2636 PyObject
* obj0
= 0 ;
2638 (char *) "can", NULL
2641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyShape",kwnames
,&obj0
)) goto fail
;
2643 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2647 result
= (wxPyShape
*)new wxPyShape(arg1
);
2649 wxPyEndAllowThreads(__tstate
);
2650 if (PyErr_Occurred()) SWIG_fail
;
2653 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
2661 static PyObject
*_wrap_PyShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2662 PyObject
*resultobj
;
2663 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
2664 PyObject
*arg2
= (PyObject
*) 0 ;
2665 PyObject
*arg3
= (PyObject
*) 0 ;
2666 PyObject
* obj0
= 0 ;
2667 PyObject
* obj1
= 0 ;
2668 PyObject
* obj2
= 0 ;
2670 (char *) "self",(char *) "self",(char *) "_class", NULL
2673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2674 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2679 (arg1
)->_setCallbackInfo(arg2
,arg3
);
2681 wxPyEndAllowThreads(__tstate
);
2682 if (PyErr_Occurred()) SWIG_fail
;
2684 Py_INCREF(Py_None
); resultobj
= Py_None
;
2691 static PyObject
*_wrap_PyShape_GetBoundingBoxMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2692 PyObject
*resultobj
;
2693 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
2694 double *arg2
= (double *) 0 ;
2695 double *arg3
= (double *) 0 ;
2698 PyObject
* obj0
= 0 ;
2700 (char *) "self", NULL
2705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetBoundingBoxMax",kwnames
,&obj0
)) goto fail
;
2706 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2709 (arg1
)->GetBoundingBoxMax(arg2
,arg3
);
2711 wxPyEndAllowThreads(__tstate
);
2712 if (PyErr_Occurred()) SWIG_fail
;
2714 Py_INCREF(Py_None
); resultobj
= Py_None
;
2716 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
2717 resultobj
= t_output_helper(resultobj
,o
);
2720 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
2721 resultobj
= t_output_helper(resultobj
,o
);
2729 static PyObject
*_wrap_PyShape_GetBoundingBoxMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2730 PyObject
*resultobj
;
2731 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
2732 double *arg2
= (double *) 0 ;
2733 double *arg3
= (double *) 0 ;
2736 PyObject
* obj0
= 0 ;
2738 (char *) "self", NULL
2743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetBoundingBoxMin",kwnames
,&obj0
)) goto fail
;
2744 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2747 (arg1
)->GetBoundingBoxMin(arg2
,arg3
);
2749 wxPyEndAllowThreads(__tstate
);
2750 if (PyErr_Occurred()) SWIG_fail
;
2752 Py_INCREF(Py_None
); resultobj
= Py_None
;
2754 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
2755 resultobj
= t_output_helper(resultobj
,o
);
2758 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
2759 resultobj
= t_output_helper(resultobj
,o
);
2767 static PyObject
*_wrap_PyShape_GetPerimeterPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2768 PyObject
*resultobj
;
2769 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
2774 double *arg6
= (double *) 0 ;
2775 double *arg7
= (double *) 0 ;
2779 PyObject
* obj0
= 0 ;
2781 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
2786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odddd:PyShape_GetPerimeterPoint",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
2787 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2790 result
= (bool)(arg1
)->GetPerimeterPoint(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
2792 wxPyEndAllowThreads(__tstate
);
2793 if (PyErr_Occurred()) SWIG_fail
;
2795 resultobj
= PyInt_FromLong((long)result
);
2797 PyObject
*o
= PyFloat_FromDouble((double) (*arg6
));
2798 resultobj
= t_output_helper(resultobj
,o
);
2801 PyObject
*o
= PyFloat_FromDouble((double) (*arg7
));
2802 resultobj
= t_output_helper(resultobj
,o
);
2810 static PyObject
*_wrap_PyShape_GetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2811 PyObject
*resultobj
;
2812 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
2813 wxPyShapeCanvas
*result
;
2814 PyObject
* obj0
= 0 ;
2816 (char *) "self", NULL
2819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetCanvas",kwnames
,&obj0
)) goto fail
;
2820 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2823 result
= (wxPyShapeCanvas
*)(arg1
)->GetCanvas();
2825 wxPyEndAllowThreads(__tstate
);
2826 if (PyErr_Occurred()) SWIG_fail
;
2829 resultobj
= wxPyMake_wxObject(result
);
2837 static PyObject
*_wrap_PyShape_SetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2838 PyObject
*resultobj
;
2839 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
2840 wxPyShapeCanvas
*arg2
= (wxPyShapeCanvas
*) 0 ;
2841 PyObject
* obj0
= 0 ;
2842 PyObject
* obj1
= 0 ;
2844 (char *) "self",(char *) "the_canvas", NULL
2847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
2848 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2849 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2852 (arg1
)->SetCanvas(arg2
);
2854 wxPyEndAllowThreads(__tstate
);
2855 if (PyErr_Occurred()) SWIG_fail
;
2857 Py_INCREF(Py_None
); resultobj
= Py_None
;
2864 static PyObject
*_wrap_PyShape_AddToCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2865 PyObject
*resultobj
;
2866 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
2867 wxPyShapeCanvas
*arg2
= (wxPyShapeCanvas
*) 0 ;
2868 wxPyShape
*arg3
= (wxPyShape
*) NULL
;
2869 PyObject
* obj0
= 0 ;
2870 PyObject
* obj1
= 0 ;
2871 PyObject
* obj2
= 0 ;
2873 (char *) "self",(char *) "the_canvas",(char *) "addAfter", NULL
2876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShape_AddToCanvas",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2877 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2878 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2880 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2884 (arg1
)->AddToCanvas(arg2
,arg3
);
2886 wxPyEndAllowThreads(__tstate
);
2887 if (PyErr_Occurred()) SWIG_fail
;
2889 Py_INCREF(Py_None
); resultobj
= Py_None
;
2896 static PyObject
*_wrap_PyShape_InsertInCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2897 PyObject
*resultobj
;
2898 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
2899 wxPyShapeCanvas
*arg2
= (wxPyShapeCanvas
*) 0 ;
2900 PyObject
* obj0
= 0 ;
2901 PyObject
* obj1
= 0 ;
2903 (char *) "self",(char *) "the_canvas", NULL
2906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_InsertInCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
2907 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2908 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2911 (arg1
)->InsertInCanvas(arg2
);
2913 wxPyEndAllowThreads(__tstate
);
2914 if (PyErr_Occurred()) SWIG_fail
;
2916 Py_INCREF(Py_None
); resultobj
= Py_None
;
2923 static PyObject
*_wrap_PyShape_RemoveFromCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2924 PyObject
*resultobj
;
2925 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
2926 wxPyShapeCanvas
*arg2
= (wxPyShapeCanvas
*) 0 ;
2927 PyObject
* obj0
= 0 ;
2928 PyObject
* obj1
= 0 ;
2930 (char *) "self",(char *) "the_canvas", NULL
2933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_RemoveFromCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
2934 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2935 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2938 (arg1
)->RemoveFromCanvas(arg2
);
2940 wxPyEndAllowThreads(__tstate
);
2941 if (PyErr_Occurred()) SWIG_fail
;
2943 Py_INCREF(Py_None
); resultobj
= Py_None
;
2950 static PyObject
*_wrap_PyShape_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2951 PyObject
*resultobj
;
2952 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
2954 PyObject
* obj0
= 0 ;
2956 (char *) "self", NULL
2959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetX",kwnames
,&obj0
)) goto fail
;
2960 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2963 result
= (double)(arg1
)->GetX();
2965 wxPyEndAllowThreads(__tstate
);
2966 if (PyErr_Occurred()) SWIG_fail
;
2968 resultobj
= PyFloat_FromDouble(result
);
2975 static PyObject
*_wrap_PyShape_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2976 PyObject
*resultobj
;
2977 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
2979 PyObject
* obj0
= 0 ;
2981 (char *) "self", NULL
2984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetY",kwnames
,&obj0
)) goto fail
;
2985 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2988 result
= (double)(arg1
)->GetY();
2990 wxPyEndAllowThreads(__tstate
);
2991 if (PyErr_Occurred()) SWIG_fail
;
2993 resultobj
= PyFloat_FromDouble(result
);
3000 static PyObject
*_wrap_PyShape_SetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3001 PyObject
*resultobj
;
3002 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3004 PyObject
* obj0
= 0 ;
3006 (char *) "self",(char *) "x", NULL
3009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Od:PyShape_SetX",kwnames
,&obj0
,&arg2
)) goto fail
;
3010 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3015 wxPyEndAllowThreads(__tstate
);
3016 if (PyErr_Occurred()) SWIG_fail
;
3018 Py_INCREF(Py_None
); resultobj
= Py_None
;
3025 static PyObject
*_wrap_PyShape_SetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3026 PyObject
*resultobj
;
3027 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3029 PyObject
* obj0
= 0 ;
3031 (char *) "self",(char *) "y", NULL
3034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Od:PyShape_SetY",kwnames
,&obj0
,&arg2
)) goto fail
;
3035 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3040 wxPyEndAllowThreads(__tstate
);
3041 if (PyErr_Occurred()) SWIG_fail
;
3043 Py_INCREF(Py_None
); resultobj
= Py_None
;
3050 static PyObject
*_wrap_PyShape_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3051 PyObject
*resultobj
;
3052 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3054 PyObject
* obj0
= 0 ;
3056 (char *) "self", NULL
3059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetParent",kwnames
,&obj0
)) goto fail
;
3060 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3063 result
= (wxPyShape
*)(arg1
)->GetParent();
3065 wxPyEndAllowThreads(__tstate
);
3066 if (PyErr_Occurred()) SWIG_fail
;
3069 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
3077 static PyObject
*_wrap_PyShape_SetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3078 PyObject
*resultobj
;
3079 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3080 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
3081 PyObject
* obj0
= 0 ;
3082 PyObject
* obj1
= 0 ;
3084 (char *) "self",(char *) "p", NULL
3087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetParent",kwnames
,&obj0
,&obj1
)) goto fail
;
3088 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3089 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3092 (arg1
)->SetParent(arg2
);
3094 wxPyEndAllowThreads(__tstate
);
3095 if (PyErr_Occurred()) SWIG_fail
;
3097 Py_INCREF(Py_None
); resultobj
= Py_None
;
3104 static PyObject
*_wrap_PyShape_GetTopAncestor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3105 PyObject
*resultobj
;
3106 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3108 PyObject
* obj0
= 0 ;
3110 (char *) "self", NULL
3113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetTopAncestor",kwnames
,&obj0
)) goto fail
;
3114 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3117 result
= (wxPyShape
*)(arg1
)->GetTopAncestor();
3119 wxPyEndAllowThreads(__tstate
);
3120 if (PyErr_Occurred()) SWIG_fail
;
3123 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
3131 static PyObject
*_wrap_PyShape_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3132 PyObject
*resultobj
;
3133 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3135 PyObject
* obj0
= 0 ;
3137 (char *) "self", NULL
3140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetChildren",kwnames
,&obj0
)) goto fail
;
3141 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3144 result
= (PyObject
*)wxPyShape_GetChildren(arg1
);
3146 wxPyEndAllowThreads(__tstate
);
3147 if (PyErr_Occurred()) SWIG_fail
;
3156 static PyObject
*_wrap_PyShape_Unlink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3157 PyObject
*resultobj
;
3158 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3159 PyObject
* obj0
= 0 ;
3161 (char *) "self", NULL
3164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_Unlink",kwnames
,&obj0
)) goto fail
;
3165 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3170 wxPyEndAllowThreads(__tstate
);
3171 if (PyErr_Occurred()) SWIG_fail
;
3173 Py_INCREF(Py_None
); resultobj
= Py_None
;
3180 static PyObject
*_wrap_PyShape_SetDrawHandles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3181 PyObject
*resultobj
;
3182 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3184 PyObject
* obj0
= 0 ;
3185 PyObject
* obj1
= 0 ;
3187 (char *) "self",(char *) "drawH", NULL
3190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetDrawHandles",kwnames
,&obj0
,&obj1
)) goto fail
;
3191 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3192 arg2
= PyInt_AsLong(obj1
) ? true : false;
3193 if (PyErr_Occurred()) SWIG_fail
;
3195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3196 (arg1
)->SetDrawHandles(arg2
);
3198 wxPyEndAllowThreads(__tstate
);
3199 if (PyErr_Occurred()) SWIG_fail
;
3201 Py_INCREF(Py_None
); resultobj
= Py_None
;
3208 static PyObject
*_wrap_PyShape_GetDrawHandles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3209 PyObject
*resultobj
;
3210 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3212 PyObject
* obj0
= 0 ;
3214 (char *) "self", NULL
3217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetDrawHandles",kwnames
,&obj0
)) goto fail
;
3218 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3221 result
= (bool)(arg1
)->GetDrawHandles();
3223 wxPyEndAllowThreads(__tstate
);
3224 if (PyErr_Occurred()) SWIG_fail
;
3226 resultobj
= PyInt_FromLong((long)result
);
3233 static PyObject
*_wrap_PyShape_MakeControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3234 PyObject
*resultobj
;
3235 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3236 PyObject
* obj0
= 0 ;
3238 (char *) "self", NULL
3241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_MakeControlPoints",kwnames
,&obj0
)) goto fail
;
3242 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3245 (arg1
)->MakeControlPoints();
3247 wxPyEndAllowThreads(__tstate
);
3248 if (PyErr_Occurred()) SWIG_fail
;
3250 Py_INCREF(Py_None
); resultobj
= Py_None
;
3257 static PyObject
*_wrap_PyShape_DeleteControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3258 PyObject
*resultobj
;
3259 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3260 wxDC
*arg2
= (wxDC
*) NULL
;
3261 PyObject
* obj0
= 0 ;
3262 PyObject
* obj1
= 0 ;
3264 (char *) "self",(char *) "dc", NULL
3267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyShape_DeleteControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
3268 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3270 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3274 (arg1
)->DeleteControlPoints(arg2
);
3276 wxPyEndAllowThreads(__tstate
);
3277 if (PyErr_Occurred()) SWIG_fail
;
3279 Py_INCREF(Py_None
); resultobj
= Py_None
;
3286 static PyObject
*_wrap_PyShape_ResetControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3287 PyObject
*resultobj
;
3288 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3289 PyObject
* obj0
= 0 ;
3291 (char *) "self", NULL
3294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_ResetControlPoints",kwnames
,&obj0
)) goto fail
;
3295 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3298 (arg1
)->ResetControlPoints();
3300 wxPyEndAllowThreads(__tstate
);
3301 if (PyErr_Occurred()) SWIG_fail
;
3303 Py_INCREF(Py_None
); resultobj
= Py_None
;
3310 static PyObject
*_wrap_PyShape_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3311 PyObject
*resultobj
;
3312 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3313 wxPyShapeEvtHandler
*result
;
3314 PyObject
* obj0
= 0 ;
3316 (char *) "self", NULL
3319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetEventHandler",kwnames
,&obj0
)) goto fail
;
3320 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3323 result
= (wxPyShapeEvtHandler
*)(arg1
)->GetEventHandler();
3325 wxPyEndAllowThreads(__tstate
);
3326 if (PyErr_Occurred()) SWIG_fail
;
3329 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
3337 static PyObject
*_wrap_PyShape_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3338 PyObject
*resultobj
;
3339 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3340 wxPyShapeEvtHandler
*arg2
= (wxPyShapeEvtHandler
*) 0 ;
3341 PyObject
* obj0
= 0 ;
3342 PyObject
* obj1
= 0 ;
3344 (char *) "self",(char *) "handler", NULL
3347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
3348 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3349 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3352 (arg1
)->SetEventHandler(arg2
);
3354 wxPyEndAllowThreads(__tstate
);
3355 if (PyErr_Occurred()) SWIG_fail
;
3357 Py_INCREF(Py_None
); resultobj
= Py_None
;
3364 static PyObject
*_wrap_PyShape_MakeMandatoryControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3365 PyObject
*resultobj
;
3366 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3367 PyObject
* obj0
= 0 ;
3369 (char *) "self", NULL
3372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_MakeMandatoryControlPoints",kwnames
,&obj0
)) goto fail
;
3373 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3376 (arg1
)->MakeMandatoryControlPoints();
3378 wxPyEndAllowThreads(__tstate
);
3379 if (PyErr_Occurred()) SWIG_fail
;
3381 Py_INCREF(Py_None
); resultobj
= Py_None
;
3388 static PyObject
*_wrap_PyShape_ResetMandatoryControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3389 PyObject
*resultobj
;
3390 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3391 PyObject
* obj0
= 0 ;
3393 (char *) "self", NULL
3396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_ResetMandatoryControlPoints",kwnames
,&obj0
)) goto fail
;
3397 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3400 (arg1
)->ResetMandatoryControlPoints();
3402 wxPyEndAllowThreads(__tstate
);
3403 if (PyErr_Occurred()) SWIG_fail
;
3405 Py_INCREF(Py_None
); resultobj
= Py_None
;
3412 static PyObject
*_wrap_PyShape_Recompute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3413 PyObject
*resultobj
;
3414 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3416 PyObject
* obj0
= 0 ;
3418 (char *) "self", NULL
3421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_Recompute",kwnames
,&obj0
)) goto fail
;
3422 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3425 result
= (bool)(arg1
)->Recompute();
3427 wxPyEndAllowThreads(__tstate
);
3428 if (PyErr_Occurred()) SWIG_fail
;
3430 resultobj
= PyInt_FromLong((long)result
);
3437 static PyObject
*_wrap_PyShape_CalculateSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3438 PyObject
*resultobj
;
3439 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3440 PyObject
* obj0
= 0 ;
3442 (char *) "self", NULL
3445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_CalculateSize",kwnames
,&obj0
)) goto fail
;
3446 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3449 (arg1
)->CalculateSize();
3451 wxPyEndAllowThreads(__tstate
);
3452 if (PyErr_Occurred()) SWIG_fail
;
3454 Py_INCREF(Py_None
); resultobj
= Py_None
;
3461 static PyObject
*_wrap_PyShape_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3462 PyObject
*resultobj
;
3463 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3464 bool arg2
= (bool) True
;
3465 wxDC
*arg3
= (wxDC
*) NULL
;
3466 PyObject
* obj0
= 0 ;
3467 PyObject
* obj1
= 0 ;
3468 PyObject
* obj2
= 0 ;
3470 (char *) "self",(char *) "select",(char *) "dc", NULL
3473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyShape_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3474 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3476 arg2
= PyInt_AsLong(obj1
) ? true : false;
3477 if (PyErr_Occurred()) SWIG_fail
;
3480 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3484 (arg1
)->Select(arg2
,arg3
);
3486 wxPyEndAllowThreads(__tstate
);
3487 if (PyErr_Occurred()) SWIG_fail
;
3489 Py_INCREF(Py_None
); resultobj
= Py_None
;
3496 static PyObject
*_wrap_PyShape_SetHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3497 PyObject
*resultobj
;
3498 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3499 bool arg2
= (bool) True
;
3500 bool arg3
= (bool) False
;
3501 PyObject
* obj0
= 0 ;
3502 PyObject
* obj1
= 0 ;
3503 PyObject
* obj2
= 0 ;
3505 (char *) "self",(char *) "hi",(char *) "recurse", NULL
3508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyShape_SetHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3509 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3511 arg2
= PyInt_AsLong(obj1
) ? true : false;
3512 if (PyErr_Occurred()) SWIG_fail
;
3515 arg3
= PyInt_AsLong(obj2
) ? true : false;
3516 if (PyErr_Occurred()) SWIG_fail
;
3519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3520 (arg1
)->SetHighlight(arg2
,arg3
);
3522 wxPyEndAllowThreads(__tstate
);
3523 if (PyErr_Occurred()) SWIG_fail
;
3525 Py_INCREF(Py_None
); resultobj
= Py_None
;
3532 static PyObject
*_wrap_PyShape_IsHighlighted(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3533 PyObject
*resultobj
;
3534 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3536 PyObject
* obj0
= 0 ;
3538 (char *) "self", NULL
3541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_IsHighlighted",kwnames
,&obj0
)) goto fail
;
3542 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3545 result
= (bool)(arg1
)->IsHighlighted();
3547 wxPyEndAllowThreads(__tstate
);
3548 if (PyErr_Occurred()) SWIG_fail
;
3550 resultobj
= PyInt_FromLong((long)result
);
3557 static PyObject
*_wrap_PyShape_Selected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3558 PyObject
*resultobj
;
3559 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3561 PyObject
* obj0
= 0 ;
3563 (char *) "self", NULL
3566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_Selected",kwnames
,&obj0
)) goto fail
;
3567 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3570 result
= (bool)(arg1
)->Selected();
3572 wxPyEndAllowThreads(__tstate
);
3573 if (PyErr_Occurred()) SWIG_fail
;
3575 resultobj
= PyInt_FromLong((long)result
);
3582 static PyObject
*_wrap_PyShape_AncestorSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3583 PyObject
*resultobj
;
3584 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3586 PyObject
* obj0
= 0 ;
3588 (char *) "self", NULL
3591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_AncestorSelected",kwnames
,&obj0
)) goto fail
;
3592 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3595 result
= (bool)(arg1
)->AncestorSelected();
3597 wxPyEndAllowThreads(__tstate
);
3598 if (PyErr_Occurred()) SWIG_fail
;
3600 resultobj
= PyInt_FromLong((long)result
);
3607 static PyObject
*_wrap_PyShape_SetSensitivityFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3608 PyObject
*resultobj
;
3609 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3610 int arg2
= (int) OP_ALL
;
3611 bool arg3
= (bool) False
;
3612 PyObject
* obj0
= 0 ;
3613 PyObject
* obj2
= 0 ;
3615 (char *) "self",(char *) "sens",(char *) "recursive", NULL
3618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iO:PyShape_SetSensitivityFilter",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
3619 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3621 arg3
= PyInt_AsLong(obj2
) ? true : false;
3622 if (PyErr_Occurred()) SWIG_fail
;
3625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3626 (arg1
)->SetSensitivityFilter(arg2
,arg3
);
3628 wxPyEndAllowThreads(__tstate
);
3629 if (PyErr_Occurred()) SWIG_fail
;
3631 Py_INCREF(Py_None
); resultobj
= Py_None
;
3638 static PyObject
*_wrap_PyShape_GetSensitivityFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3639 PyObject
*resultobj
;
3640 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3642 PyObject
* obj0
= 0 ;
3644 (char *) "self", NULL
3647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetSensitivityFilter",kwnames
,&obj0
)) goto fail
;
3648 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3651 result
= (int)(arg1
)->GetSensitivityFilter();
3653 wxPyEndAllowThreads(__tstate
);
3654 if (PyErr_Occurred()) SWIG_fail
;
3656 resultobj
= PyInt_FromLong((long)result
);
3663 static PyObject
*_wrap_PyShape_SetDraggable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3664 PyObject
*resultobj
;
3665 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3667 bool arg3
= (bool) False
;
3668 PyObject
* obj0
= 0 ;
3669 PyObject
* obj1
= 0 ;
3670 PyObject
* obj2
= 0 ;
3672 (char *) "self",(char *) "drag",(char *) "recursive", NULL
3675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShape_SetDraggable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3676 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3677 arg2
= PyInt_AsLong(obj1
) ? true : false;
3678 if (PyErr_Occurred()) SWIG_fail
;
3680 arg3
= PyInt_AsLong(obj2
) ? true : false;
3681 if (PyErr_Occurred()) SWIG_fail
;
3684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3685 (arg1
)->SetDraggable(arg2
,arg3
);
3687 wxPyEndAllowThreads(__tstate
);
3688 if (PyErr_Occurred()) SWIG_fail
;
3690 Py_INCREF(Py_None
); resultobj
= Py_None
;
3697 static PyObject
*_wrap_PyShape_SetFixedSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3698 PyObject
*resultobj
;
3699 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3702 PyObject
* obj0
= 0 ;
3703 PyObject
* obj1
= 0 ;
3704 PyObject
* obj2
= 0 ;
3706 (char *) "self",(char *) "x",(char *) "y", NULL
3709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShape_SetFixedSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3710 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3711 arg2
= PyInt_AsLong(obj1
) ? true : false;
3712 if (PyErr_Occurred()) SWIG_fail
;
3713 arg3
= PyInt_AsLong(obj2
) ? true : false;
3714 if (PyErr_Occurred()) SWIG_fail
;
3716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3717 (arg1
)->SetFixedSize(arg2
,arg3
);
3719 wxPyEndAllowThreads(__tstate
);
3720 if (PyErr_Occurred()) SWIG_fail
;
3722 Py_INCREF(Py_None
); resultobj
= Py_None
;
3729 static PyObject
*_wrap_PyShape_GetFixedSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3730 PyObject
*resultobj
;
3731 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3732 bool *arg2
= (bool *) 0 ;
3733 bool *arg3
= (bool *) 0 ;
3736 PyObject
* obj0
= 0 ;
3738 (char *) "self", NULL
3743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetFixedSize",kwnames
,&obj0
)) goto fail
;
3744 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3747 (arg1
)->GetFixedSize(arg2
,arg3
);
3749 wxPyEndAllowThreads(__tstate
);
3750 if (PyErr_Occurred()) SWIG_fail
;
3752 Py_INCREF(Py_None
); resultobj
= Py_None
;
3754 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
3755 resultobj
= t_output_helper(resultobj
,o
);
3758 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
3759 resultobj
= t_output_helper(resultobj
,o
);
3767 static PyObject
*_wrap_PyShape_GetFixedWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3768 PyObject
*resultobj
;
3769 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3771 PyObject
* obj0
= 0 ;
3773 (char *) "self", NULL
3776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetFixedWidth",kwnames
,&obj0
)) goto fail
;
3777 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3780 result
= (bool)(arg1
)->GetFixedWidth();
3782 wxPyEndAllowThreads(__tstate
);
3783 if (PyErr_Occurred()) SWIG_fail
;
3785 resultobj
= PyInt_FromLong((long)result
);
3792 static PyObject
*_wrap_PyShape_GetFixedHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3793 PyObject
*resultobj
;
3794 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3796 PyObject
* obj0
= 0 ;
3798 (char *) "self", NULL
3801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetFixedHeight",kwnames
,&obj0
)) goto fail
;
3802 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3805 result
= (bool)(arg1
)->GetFixedHeight();
3807 wxPyEndAllowThreads(__tstate
);
3808 if (PyErr_Occurred()) SWIG_fail
;
3810 resultobj
= PyInt_FromLong((long)result
);
3817 static PyObject
*_wrap_PyShape_SetSpaceAttachments(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3818 PyObject
*resultobj
;
3819 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3821 PyObject
* obj0
= 0 ;
3822 PyObject
* obj1
= 0 ;
3824 (char *) "self",(char *) "sp", NULL
3827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetSpaceAttachments",kwnames
,&obj0
,&obj1
)) goto fail
;
3828 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3829 arg2
= PyInt_AsLong(obj1
) ? true : false;
3830 if (PyErr_Occurred()) SWIG_fail
;
3832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3833 (arg1
)->SetSpaceAttachments(arg2
);
3835 wxPyEndAllowThreads(__tstate
);
3836 if (PyErr_Occurred()) SWIG_fail
;
3838 Py_INCREF(Py_None
); resultobj
= Py_None
;
3845 static PyObject
*_wrap_PyShape_GetSpaceAttachments(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3846 PyObject
*resultobj
;
3847 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3849 PyObject
* obj0
= 0 ;
3851 (char *) "self", NULL
3854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetSpaceAttachments",kwnames
,&obj0
)) goto fail
;
3855 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3858 result
= (bool)(arg1
)->GetSpaceAttachments();
3860 wxPyEndAllowThreads(__tstate
);
3861 if (PyErr_Occurred()) SWIG_fail
;
3863 resultobj
= PyInt_FromLong((long)result
);
3870 static PyObject
*_wrap_PyShape_SetShadowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3871 PyObject
*resultobj
;
3872 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3874 bool arg3
= (bool) False
;
3875 PyObject
* obj0
= 0 ;
3876 PyObject
* obj2
= 0 ;
3878 (char *) "self",(char *) "mode",(char *) "redraw", NULL
3881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|O:PyShape_SetShadowMode",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
3882 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3884 arg3
= PyInt_AsLong(obj2
) ? true : false;
3885 if (PyErr_Occurred()) SWIG_fail
;
3888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3889 (arg1
)->SetShadowMode(arg2
,arg3
);
3891 wxPyEndAllowThreads(__tstate
);
3892 if (PyErr_Occurred()) SWIG_fail
;
3894 Py_INCREF(Py_None
); resultobj
= Py_None
;
3901 static PyObject
*_wrap_PyShape_GetShadowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3902 PyObject
*resultobj
;
3903 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3905 PyObject
* obj0
= 0 ;
3907 (char *) "self", NULL
3910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetShadowMode",kwnames
,&obj0
)) goto fail
;
3911 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3914 result
= (int)(arg1
)->GetShadowMode();
3916 wxPyEndAllowThreads(__tstate
);
3917 if (PyErr_Occurred()) SWIG_fail
;
3919 resultobj
= PyInt_FromLong((long)result
);
3926 static PyObject
*_wrap_PyShape_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3927 PyObject
*resultobj
;
3928 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3931 int *arg4
= (int *) 0 ;
3932 double *arg5
= (double *) 0 ;
3936 PyObject
* obj0
= 0 ;
3938 (char *) "self",(char *) "x",(char *) "y", NULL
3943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyShape_HitTest",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
3944 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3947 result
= (bool)(arg1
)->HitTest(arg2
,arg3
,arg4
,arg5
);
3949 wxPyEndAllowThreads(__tstate
);
3950 if (PyErr_Occurred()) SWIG_fail
;
3952 resultobj
= PyInt_FromLong((long)result
);
3954 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
3955 resultobj
= t_output_helper(resultobj
,o
);
3958 PyObject
*o
= PyFloat_FromDouble((double) (*arg5
));
3959 resultobj
= t_output_helper(resultobj
,o
);
3967 static PyObject
*_wrap_PyShape_SetCentreResize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3968 PyObject
*resultobj
;
3969 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3971 PyObject
* obj0
= 0 ;
3972 PyObject
* obj1
= 0 ;
3974 (char *) "self",(char *) "cr", NULL
3977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetCentreResize",kwnames
,&obj0
,&obj1
)) goto fail
;
3978 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3979 arg2
= PyInt_AsLong(obj1
) ? true : false;
3980 if (PyErr_Occurred()) SWIG_fail
;
3982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3983 (arg1
)->SetCentreResize(arg2
);
3985 wxPyEndAllowThreads(__tstate
);
3986 if (PyErr_Occurred()) SWIG_fail
;
3988 Py_INCREF(Py_None
); resultobj
= Py_None
;
3995 static PyObject
*_wrap_PyShape_GetCentreResize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3996 PyObject
*resultobj
;
3997 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3999 PyObject
* obj0
= 0 ;
4001 (char *) "self", NULL
4004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetCentreResize",kwnames
,&obj0
)) goto fail
;
4005 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4008 result
= (bool)(arg1
)->GetCentreResize();
4010 wxPyEndAllowThreads(__tstate
);
4011 if (PyErr_Occurred()) SWIG_fail
;
4013 resultobj
= PyInt_FromLong((long)result
);
4020 static PyObject
*_wrap_PyShape_SetMaintainAspectRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4021 PyObject
*resultobj
;
4022 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4024 PyObject
* obj0
= 0 ;
4025 PyObject
* obj1
= 0 ;
4027 (char *) "self",(char *) "ar", NULL
4030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetMaintainAspectRatio",kwnames
,&obj0
,&obj1
)) goto fail
;
4031 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4032 arg2
= PyInt_AsLong(obj1
) ? true : false;
4033 if (PyErr_Occurred()) SWIG_fail
;
4035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4036 (arg1
)->SetMaintainAspectRatio(arg2
);
4038 wxPyEndAllowThreads(__tstate
);
4039 if (PyErr_Occurred()) SWIG_fail
;
4041 Py_INCREF(Py_None
); resultobj
= Py_None
;
4048 static PyObject
*_wrap_PyShape_GetMaintainAspectRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4049 PyObject
*resultobj
;
4050 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4052 PyObject
* obj0
= 0 ;
4054 (char *) "self", NULL
4057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetMaintainAspectRatio",kwnames
,&obj0
)) goto fail
;
4058 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4061 result
= (bool)(arg1
)->GetMaintainAspectRatio();
4063 wxPyEndAllowThreads(__tstate
);
4064 if (PyErr_Occurred()) SWIG_fail
;
4066 resultobj
= PyInt_FromLong((long)result
);
4073 static PyObject
*_wrap_PyShape_GetLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4074 PyObject
*resultobj
;
4075 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4077 PyObject
* obj0
= 0 ;
4079 (char *) "self", NULL
4082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetLines",kwnames
,&obj0
)) goto fail
;
4083 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4086 result
= (PyObject
*)wxPyShape_GetLines(arg1
);
4088 wxPyEndAllowThreads(__tstate
);
4089 if (PyErr_Occurred()) SWIG_fail
;
4098 static PyObject
*_wrap_PyShape_SetDisableLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4099 PyObject
*resultobj
;
4100 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4102 PyObject
* obj0
= 0 ;
4103 PyObject
* obj1
= 0 ;
4105 (char *) "self",(char *) "flag", NULL
4108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetDisableLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
4109 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4110 arg2
= PyInt_AsLong(obj1
) ? true : false;
4111 if (PyErr_Occurred()) SWIG_fail
;
4113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4114 (arg1
)->SetDisableLabel(arg2
);
4116 wxPyEndAllowThreads(__tstate
);
4117 if (PyErr_Occurred()) SWIG_fail
;
4119 Py_INCREF(Py_None
); resultobj
= Py_None
;
4126 static PyObject
*_wrap_PyShape_GetDisableLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4127 PyObject
*resultobj
;
4128 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4130 PyObject
* obj0
= 0 ;
4132 (char *) "self", NULL
4135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetDisableLabel",kwnames
,&obj0
)) goto fail
;
4136 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4139 result
= (bool)(arg1
)->GetDisableLabel();
4141 wxPyEndAllowThreads(__tstate
);
4142 if (PyErr_Occurred()) SWIG_fail
;
4144 resultobj
= PyInt_FromLong((long)result
);
4151 static PyObject
*_wrap_PyShape_SetAttachmentMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4152 PyObject
*resultobj
;
4153 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4155 PyObject
* obj0
= 0 ;
4157 (char *) "self",(char *) "mode", NULL
4160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyShape_SetAttachmentMode",kwnames
,&obj0
,&arg2
)) goto fail
;
4161 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4164 (arg1
)->SetAttachmentMode(arg2
);
4166 wxPyEndAllowThreads(__tstate
);
4167 if (PyErr_Occurred()) SWIG_fail
;
4169 Py_INCREF(Py_None
); resultobj
= Py_None
;
4176 static PyObject
*_wrap_PyShape_GetAttachmentMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4177 PyObject
*resultobj
;
4178 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4180 PyObject
* obj0
= 0 ;
4182 (char *) "self", NULL
4185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetAttachmentMode",kwnames
,&obj0
)) goto fail
;
4186 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4189 result
= (int)(arg1
)->GetAttachmentMode();
4191 wxPyEndAllowThreads(__tstate
);
4192 if (PyErr_Occurred()) SWIG_fail
;
4194 resultobj
= PyInt_FromLong((long)result
);
4201 static PyObject
*_wrap_PyShape_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4202 PyObject
*resultobj
;
4203 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4205 PyObject
* obj0
= 0 ;
4207 (char *) "self",(char *) "i", NULL
4210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:PyShape_SetId",kwnames
,&obj0
,&arg2
)) goto fail
;
4211 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4214 (arg1
)->SetId(arg2
);
4216 wxPyEndAllowThreads(__tstate
);
4217 if (PyErr_Occurred()) SWIG_fail
;
4219 Py_INCREF(Py_None
); resultobj
= Py_None
;
4226 static PyObject
*_wrap_PyShape_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4227 PyObject
*resultobj
;
4228 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4230 PyObject
* obj0
= 0 ;
4232 (char *) "self", NULL
4235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetId",kwnames
,&obj0
)) goto fail
;
4236 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4239 result
= (long)(arg1
)->GetId();
4241 wxPyEndAllowThreads(__tstate
);
4242 if (PyErr_Occurred()) SWIG_fail
;
4244 resultobj
= PyInt_FromLong((long)result
);
4251 static PyObject
*_wrap_PyShape_SetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4252 PyObject
*resultobj
;
4253 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4254 wxPen
*arg2
= (wxPen
*) 0 ;
4255 PyObject
* obj0
= 0 ;
4256 PyObject
* obj1
= 0 ;
4258 (char *) "self",(char *) "pen", NULL
4261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetPen",kwnames
,&obj0
,&obj1
)) goto fail
;
4262 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4266 if (obj1
== Py_None
) {
4269 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxPen"))) {
4270 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxPen.");
4275 arg2
= wxThePenList
->FindOrCreatePen(temp
->GetColour(),
4282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4283 (arg1
)->SetPen(arg2
);
4285 wxPyEndAllowThreads(__tstate
);
4286 if (PyErr_Occurred()) SWIG_fail
;
4288 Py_INCREF(Py_None
); resultobj
= Py_None
;
4295 static PyObject
*_wrap_PyShape_SetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4296 PyObject
*resultobj
;
4297 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4298 wxBrush
*arg2
= (wxBrush
*) 0 ;
4299 PyObject
* obj0
= 0 ;
4300 PyObject
* obj1
= 0 ;
4302 (char *) "self",(char *) "brush", NULL
4305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
4306 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4310 if (obj1
== Py_None
) {
4313 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxBrush"))) {
4314 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxBrush.");
4319 arg2
= wxTheBrushList
->FindOrCreateBrush(temp
->GetColour(), temp
->GetStyle());
4324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4325 (arg1
)->SetBrush(arg2
);
4327 wxPyEndAllowThreads(__tstate
);
4328 if (PyErr_Occurred()) SWIG_fail
;
4330 Py_INCREF(Py_None
); resultobj
= Py_None
;
4337 static PyObject
*_wrap_PyShape_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4338 PyObject
*resultobj
;
4339 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4341 PyObject
* obj0
= 0 ;
4342 PyObject
* obj1
= 0 ;
4344 (char *) "self",(char *) "show", NULL
4347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
4348 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4349 arg2
= PyInt_AsLong(obj1
) ? true : false;
4350 if (PyErr_Occurred()) SWIG_fail
;
4352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4355 wxPyEndAllowThreads(__tstate
);
4356 if (PyErr_Occurred()) SWIG_fail
;
4358 Py_INCREF(Py_None
); resultobj
= Py_None
;
4365 static PyObject
*_wrap_PyShape_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4366 PyObject
*resultobj
;
4367 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4369 PyObject
* obj0
= 0 ;
4371 (char *) "self", NULL
4374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_IsShown",kwnames
,&obj0
)) goto fail
;
4375 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4378 result
= (bool)(arg1
)->IsShown();
4380 wxPyEndAllowThreads(__tstate
);
4381 if (PyErr_Occurred()) SWIG_fail
;
4383 resultobj
= PyInt_FromLong((long)result
);
4390 static PyObject
*_wrap_PyShape_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4391 PyObject
*resultobj
;
4392 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4396 bool arg5
= (bool) True
;
4397 PyObject
* obj0
= 0 ;
4398 PyObject
* obj1
= 0 ;
4399 PyObject
* obj4
= 0 ;
4401 (char *) "self",(char *) "dc",(char *) "x1",(char *) "y1",(char *) "display", NULL
4404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|O:PyShape_Move",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&obj4
)) goto fail
;
4405 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4406 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4408 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4411 arg5
= PyInt_AsLong(obj4
) ? true : false;
4412 if (PyErr_Occurred()) SWIG_fail
;
4415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4416 (arg1
)->Move(*arg2
,arg3
,arg4
,arg5
);
4418 wxPyEndAllowThreads(__tstate
);
4419 if (PyErr_Occurred()) SWIG_fail
;
4421 Py_INCREF(Py_None
); resultobj
= Py_None
;
4428 static PyObject
*_wrap_PyShape_Erase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4429 PyObject
*resultobj
;
4430 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4432 PyObject
* obj0
= 0 ;
4433 PyObject
* obj1
= 0 ;
4435 (char *) "self",(char *) "dc", NULL
4438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_Erase",kwnames
,&obj0
,&obj1
)) goto fail
;
4439 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4440 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4442 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4446 (arg1
)->Erase(*arg2
);
4448 wxPyEndAllowThreads(__tstate
);
4449 if (PyErr_Occurred()) SWIG_fail
;
4451 Py_INCREF(Py_None
); resultobj
= Py_None
;
4458 static PyObject
*_wrap_PyShape_EraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4459 PyObject
*resultobj
;
4460 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4462 PyObject
* obj0
= 0 ;
4463 PyObject
* obj1
= 0 ;
4465 (char *) "self",(char *) "dc", NULL
4468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_EraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
4469 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4470 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4472 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4476 (arg1
)->EraseContents(*arg2
);
4478 wxPyEndAllowThreads(__tstate
);
4479 if (PyErr_Occurred()) SWIG_fail
;
4481 Py_INCREF(Py_None
); resultobj
= Py_None
;
4488 static PyObject
*_wrap_PyShape_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4489 PyObject
*resultobj
;
4490 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4492 PyObject
* obj0
= 0 ;
4493 PyObject
* obj1
= 0 ;
4495 (char *) "self",(char *) "dc", NULL
4498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_Draw",kwnames
,&obj0
,&obj1
)) goto fail
;
4499 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4500 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4502 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4506 (arg1
)->Draw(*arg2
);
4508 wxPyEndAllowThreads(__tstate
);
4509 if (PyErr_Occurred()) SWIG_fail
;
4511 Py_INCREF(Py_None
); resultobj
= Py_None
;
4518 static PyObject
*_wrap_PyShape_Flash(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4519 PyObject
*resultobj
;
4520 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4521 PyObject
* obj0
= 0 ;
4523 (char *) "self", NULL
4526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_Flash",kwnames
,&obj0
)) goto fail
;
4527 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4532 wxPyEndAllowThreads(__tstate
);
4533 if (PyErr_Occurred()) SWIG_fail
;
4535 Py_INCREF(Py_None
); resultobj
= Py_None
;
4542 static PyObject
*_wrap_PyShape_MoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4543 PyObject
*resultobj
;
4544 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4546 PyObject
* obj0
= 0 ;
4547 PyObject
* obj1
= 0 ;
4549 (char *) "self",(char *) "dc", NULL
4552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_MoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
4553 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4554 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4556 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4560 (arg1
)->MoveLinks(*arg2
);
4562 wxPyEndAllowThreads(__tstate
);
4563 if (PyErr_Occurred()) SWIG_fail
;
4565 Py_INCREF(Py_None
); resultobj
= Py_None
;
4572 static PyObject
*_wrap_PyShape_DrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4573 PyObject
*resultobj
;
4574 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4576 PyObject
* obj0
= 0 ;
4577 PyObject
* obj1
= 0 ;
4579 (char *) "self",(char *) "dc", NULL
4582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_DrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
4583 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4584 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4586 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4590 (arg1
)->DrawContents(*arg2
);
4592 wxPyEndAllowThreads(__tstate
);
4593 if (PyErr_Occurred()) SWIG_fail
;
4595 Py_INCREF(Py_None
); resultobj
= Py_None
;
4602 static PyObject
*_wrap_PyShape_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4603 PyObject
*resultobj
;
4604 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4607 bool arg4
= (bool) True
;
4608 PyObject
* obj0
= 0 ;
4609 PyObject
* obj3
= 0 ;
4611 (char *) "self",(char *) "x",(char *) "y",(char *) "recursive", NULL
4614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|O:PyShape_SetSize",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
4615 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4617 arg4
= PyInt_AsLong(obj3
) ? true : false;
4618 if (PyErr_Occurred()) SWIG_fail
;
4621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4622 (arg1
)->SetSize(arg2
,arg3
,arg4
);
4624 wxPyEndAllowThreads(__tstate
);
4625 if (PyErr_Occurred()) SWIG_fail
;
4627 Py_INCREF(Py_None
); resultobj
= Py_None
;
4634 static PyObject
*_wrap_PyShape_SetAttachmentSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4635 PyObject
*resultobj
;
4636 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4639 PyObject
* obj0
= 0 ;
4641 (char *) "self",(char *) "x",(char *) "y", NULL
4644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyShape_SetAttachmentSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
4645 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4648 (arg1
)->SetAttachmentSize(arg2
,arg3
);
4650 wxPyEndAllowThreads(__tstate
);
4651 if (PyErr_Occurred()) SWIG_fail
;
4653 Py_INCREF(Py_None
); resultobj
= Py_None
;
4660 static PyObject
*_wrap_PyShape_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4661 PyObject
*resultobj
;
4662 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4663 wxPyShapeCanvas
*arg2
= (wxPyShapeCanvas
*) 0 ;
4664 PyObject
* obj0
= 0 ;
4665 PyObject
* obj1
= 0 ;
4667 (char *) "self",(char *) "can", NULL
4670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
4671 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4672 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4675 (arg1
)->Attach(arg2
);
4677 wxPyEndAllowThreads(__tstate
);
4678 if (PyErr_Occurred()) SWIG_fail
;
4680 Py_INCREF(Py_None
); resultobj
= Py_None
;
4687 static PyObject
*_wrap_PyShape_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4688 PyObject
*resultobj
;
4689 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4690 PyObject
* obj0
= 0 ;
4692 (char *) "self", NULL
4695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_Detach",kwnames
,&obj0
)) goto fail
;
4696 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4701 wxPyEndAllowThreads(__tstate
);
4702 if (PyErr_Occurred()) SWIG_fail
;
4704 Py_INCREF(Py_None
); resultobj
= Py_None
;
4711 static PyObject
*_wrap_PyShape_Constrain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4712 PyObject
*resultobj
;
4713 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4715 PyObject
* obj0
= 0 ;
4717 (char *) "self", NULL
4720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_Constrain",kwnames
,&obj0
)) goto fail
;
4721 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4724 result
= (bool)(arg1
)->Constrain();
4726 wxPyEndAllowThreads(__tstate
);
4727 if (PyErr_Occurred()) SWIG_fail
;
4729 resultobj
= PyInt_FromLong((long)result
);
4736 static PyObject
*_wrap_PyShape_AddLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4737 PyObject
*resultobj
;
4738 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4739 wxPyLineShape
*arg2
= (wxPyLineShape
*) 0 ;
4740 wxPyShape
*arg3
= (wxPyShape
*) 0 ;
4741 int arg4
= (int) 0 ;
4742 int arg5
= (int) 0 ;
4743 int arg6
= (int) -1 ;
4744 int arg7
= (int) -1 ;
4745 PyObject
* obj0
= 0 ;
4746 PyObject
* obj1
= 0 ;
4747 PyObject
* obj2
= 0 ;
4749 (char *) "self",(char *) "line",(char *) "other",(char *) "attachFrom",(char *) "attachTo",(char *) "positionFrom",(char *) "positionTo", NULL
4752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|iiii:PyShape_AddLine",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
,&arg6
,&arg7
)) goto fail
;
4753 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4754 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4755 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4758 (arg1
)->AddLine(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
4760 wxPyEndAllowThreads(__tstate
);
4761 if (PyErr_Occurred()) SWIG_fail
;
4763 Py_INCREF(Py_None
); resultobj
= Py_None
;
4770 static PyObject
*_wrap_PyShape_GetLinePosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4771 PyObject
*resultobj
;
4772 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4773 wxPyLineShape
*arg2
= (wxPyLineShape
*) 0 ;
4775 PyObject
* obj0
= 0 ;
4776 PyObject
* obj1
= 0 ;
4778 (char *) "self",(char *) "line", NULL
4781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_GetLinePosition",kwnames
,&obj0
,&obj1
)) goto fail
;
4782 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4783 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4786 result
= (int)(arg1
)->GetLinePosition(arg2
);
4788 wxPyEndAllowThreads(__tstate
);
4789 if (PyErr_Occurred()) SWIG_fail
;
4791 resultobj
= PyInt_FromLong((long)result
);
4798 static PyObject
*_wrap_PyShape_AddText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4799 PyObject
*resultobj
;
4800 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4801 wxString
*arg2
= 0 ;
4802 bool temp2
= False
;
4803 PyObject
* obj0
= 0 ;
4804 PyObject
* obj1
= 0 ;
4806 (char *) "self",(char *) "string", NULL
4809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_AddText",kwnames
,&obj0
,&obj1
)) goto fail
;
4810 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4812 arg2
= wxString_in_helper(obj1
);
4813 if (arg2
== NULL
) SWIG_fail
;
4817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4818 (arg1
)->AddText((wxString
const &)*arg2
);
4820 wxPyEndAllowThreads(__tstate
);
4821 if (PyErr_Occurred()) SWIG_fail
;
4823 Py_INCREF(Py_None
); resultobj
= Py_None
;
4838 static PyObject
*_wrap_PyShape_GetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4839 PyObject
*resultobj
;
4840 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4842 PyObject
* obj0
= 0 ;
4844 (char *) "self", NULL
4847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetPen",kwnames
,&obj0
)) goto fail
;
4848 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4851 result
= (wxPen
*)(arg1
)->GetPen();
4853 wxPyEndAllowThreads(__tstate
);
4854 if (PyErr_Occurred()) SWIG_fail
;
4856 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPen
, 0);
4863 static PyObject
*_wrap_PyShape_GetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4864 PyObject
*resultobj
;
4865 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4867 PyObject
* obj0
= 0 ;
4869 (char *) "self", NULL
4872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetBrush",kwnames
,&obj0
)) goto fail
;
4873 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4876 result
= (wxBrush
*)(arg1
)->GetBrush();
4878 wxPyEndAllowThreads(__tstate
);
4879 if (PyErr_Occurred()) SWIG_fail
;
4881 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBrush
, 0);
4888 static PyObject
*_wrap_PyShape_SetDefaultRegionSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4889 PyObject
*resultobj
;
4890 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4891 PyObject
* obj0
= 0 ;
4893 (char *) "self", NULL
4896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_SetDefaultRegionSize",kwnames
,&obj0
)) goto fail
;
4897 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4900 (arg1
)->SetDefaultRegionSize();
4902 wxPyEndAllowThreads(__tstate
);
4903 if (PyErr_Occurred()) SWIG_fail
;
4905 Py_INCREF(Py_None
); resultobj
= Py_None
;
4912 static PyObject
*_wrap_PyShape_FormatText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4913 PyObject
*resultobj
;
4914 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4916 wxString
*arg3
= 0 ;
4917 int arg4
= (int) 0 ;
4918 bool temp3
= False
;
4919 PyObject
* obj0
= 0 ;
4920 PyObject
* obj1
= 0 ;
4921 PyObject
* obj2
= 0 ;
4923 (char *) "self",(char *) "dc",(char *) "s",(char *) "regionId", NULL
4926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|i:PyShape_FormatText",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
)) goto fail
;
4927 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4928 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4930 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4933 arg3
= wxString_in_helper(obj2
);
4934 if (arg3
== NULL
) SWIG_fail
;
4938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4939 (arg1
)->FormatText(*arg2
,(wxString
const &)*arg3
,arg4
);
4941 wxPyEndAllowThreads(__tstate
);
4942 if (PyErr_Occurred()) SWIG_fail
;
4944 Py_INCREF(Py_None
); resultobj
= Py_None
;
4959 static PyObject
*_wrap_PyShape_SetFormatMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4960 PyObject
*resultobj
;
4961 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4963 int arg3
= (int) 0 ;
4964 PyObject
* obj0
= 0 ;
4966 (char *) "self",(char *) "mode",(char *) "regionId", NULL
4969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|i:PyShape_SetFormatMode",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
4970 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4973 (arg1
)->SetFormatMode(arg2
,arg3
);
4975 wxPyEndAllowThreads(__tstate
);
4976 if (PyErr_Occurred()) SWIG_fail
;
4978 Py_INCREF(Py_None
); resultobj
= Py_None
;
4985 static PyObject
*_wrap_PyShape_GetFormatMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4986 PyObject
*resultobj
;
4987 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4988 int arg2
= (int) 0 ;
4990 PyObject
* obj0
= 0 ;
4992 (char *) "self",(char *) "regionId", NULL
4995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:PyShape_GetFormatMode",kwnames
,&obj0
,&arg2
)) goto fail
;
4996 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4999 result
= (int)(arg1
)->GetFormatMode(arg2
);
5001 wxPyEndAllowThreads(__tstate
);
5002 if (PyErr_Occurred()) SWIG_fail
;
5004 resultobj
= PyInt_FromLong((long)result
);
5011 static PyObject
*_wrap_PyShape_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5012 PyObject
*resultobj
;
5013 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5014 wxFont
*arg2
= (wxFont
*) 0 ;
5015 int arg3
= (int) 0 ;
5016 PyObject
* obj0
= 0 ;
5017 PyObject
* obj1
= 0 ;
5019 (char *) "self",(char *) "font",(char *) "regionId", NULL
5022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:PyShape_SetFont",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
5023 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5027 if (obj1
== Py_None
) {
5030 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxFont"))) {
5031 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxFont.");
5036 arg2
= wxTheFontList
->FindOrCreateFont(temp
->GetPointSize(),
5040 temp
->GetUnderlined(),
5041 temp
->GetFaceName(),
5042 temp
->GetEncoding());
5047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5048 (arg1
)->SetFont(arg2
,arg3
);
5050 wxPyEndAllowThreads(__tstate
);
5051 if (PyErr_Occurred()) SWIG_fail
;
5053 Py_INCREF(Py_None
); resultobj
= Py_None
;
5060 static PyObject
*_wrap_PyShape_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5061 PyObject
*resultobj
;
5062 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5063 int arg2
= (int) 0 ;
5065 PyObject
* obj0
= 0 ;
5067 (char *) "self",(char *) "regionId", NULL
5070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:PyShape_GetFont",kwnames
,&obj0
,&arg2
)) goto fail
;
5071 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5074 result
= (wxFont
*)(arg1
)->GetFont(arg2
);
5076 wxPyEndAllowThreads(__tstate
);
5077 if (PyErr_Occurred()) SWIG_fail
;
5079 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFont
, 0);
5086 static PyObject
*_wrap_PyShape_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5087 PyObject
*resultobj
;
5088 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5089 wxString
*arg2
= 0 ;
5090 int arg3
= (int) 0 ;
5091 bool temp2
= False
;
5092 PyObject
* obj0
= 0 ;
5093 PyObject
* obj1
= 0 ;
5095 (char *) "self",(char *) "colour",(char *) "regionId", NULL
5098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:PyShape_SetTextColour",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
5099 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5101 arg2
= wxString_in_helper(obj1
);
5102 if (arg2
== NULL
) SWIG_fail
;
5106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5107 (arg1
)->SetTextColour((wxString
const &)*arg2
,arg3
);
5109 wxPyEndAllowThreads(__tstate
);
5110 if (PyErr_Occurred()) SWIG_fail
;
5112 Py_INCREF(Py_None
); resultobj
= Py_None
;
5127 static PyObject
*_wrap_PyShape_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5128 PyObject
*resultobj
;
5129 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5130 int arg2
= (int) 0 ;
5132 PyObject
* obj0
= 0 ;
5134 (char *) "self",(char *) "regionId", NULL
5137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:PyShape_GetTextColour",kwnames
,&obj0
,&arg2
)) goto fail
;
5138 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5141 result
= (arg1
)->GetTextColour(arg2
);
5143 wxPyEndAllowThreads(__tstate
);
5144 if (PyErr_Occurred()) SWIG_fail
;
5148 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5150 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5159 static PyObject
*_wrap_PyShape_GetNumberOfTextRegions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5160 PyObject
*resultobj
;
5161 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5163 PyObject
* obj0
= 0 ;
5165 (char *) "self", NULL
5168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetNumberOfTextRegions",kwnames
,&obj0
)) goto fail
;
5169 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5172 result
= (int)(arg1
)->GetNumberOfTextRegions();
5174 wxPyEndAllowThreads(__tstate
);
5175 if (PyErr_Occurred()) SWIG_fail
;
5177 resultobj
= PyInt_FromLong((long)result
);
5184 static PyObject
*_wrap_PyShape_SetRegionName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5185 PyObject
*resultobj
;
5186 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5187 wxString
*arg2
= 0 ;
5188 int arg3
= (int) 0 ;
5189 bool temp2
= False
;
5190 PyObject
* obj0
= 0 ;
5191 PyObject
* obj1
= 0 ;
5193 (char *) "self",(char *) "name",(char *) "regionId", NULL
5196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:PyShape_SetRegionName",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
5197 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5199 arg2
= wxString_in_helper(obj1
);
5200 if (arg2
== NULL
) SWIG_fail
;
5204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5205 (arg1
)->SetRegionName((wxString
const &)*arg2
,arg3
);
5207 wxPyEndAllowThreads(__tstate
);
5208 if (PyErr_Occurred()) SWIG_fail
;
5210 Py_INCREF(Py_None
); resultobj
= Py_None
;
5225 static PyObject
*_wrap_PyShape_GetRegionName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5226 PyObject
*resultobj
;
5227 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5230 PyObject
* obj0
= 0 ;
5232 (char *) "self",(char *) "regionId", NULL
5235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyShape_GetRegionName",kwnames
,&obj0
,&arg2
)) goto fail
;
5236 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5239 result
= (arg1
)->GetRegionName(arg2
);
5241 wxPyEndAllowThreads(__tstate
);
5242 if (PyErr_Occurred()) SWIG_fail
;
5246 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5248 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5257 static PyObject
*_wrap_PyShape_GetRegionId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5258 PyObject
*resultobj
;
5259 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5260 wxString
*arg2
= 0 ;
5262 bool temp2
= False
;
5263 PyObject
* obj0
= 0 ;
5264 PyObject
* obj1
= 0 ;
5266 (char *) "self",(char *) "name", NULL
5269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_GetRegionId",kwnames
,&obj0
,&obj1
)) goto fail
;
5270 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5272 arg2
= wxString_in_helper(obj1
);
5273 if (arg2
== NULL
) SWIG_fail
;
5277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5278 result
= (int)(arg1
)->GetRegionId((wxString
const &)*arg2
);
5280 wxPyEndAllowThreads(__tstate
);
5281 if (PyErr_Occurred()) SWIG_fail
;
5283 resultobj
= PyInt_FromLong((long)result
);
5298 static PyObject
*_wrap_PyShape_NameRegions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5299 PyObject
*resultobj
;
5300 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5301 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5302 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5303 bool temp2
= False
;
5304 PyObject
* obj0
= 0 ;
5305 PyObject
* obj1
= 0 ;
5307 (char *) "self",(char *) "parentName", NULL
5310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyShape_NameRegions",kwnames
,&obj0
,&obj1
)) goto fail
;
5311 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5314 arg2
= wxString_in_helper(obj1
);
5315 if (arg2
== NULL
) SWIG_fail
;
5320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5321 (arg1
)->NameRegions((wxString
const &)*arg2
);
5323 wxPyEndAllowThreads(__tstate
);
5324 if (PyErr_Occurred()) SWIG_fail
;
5326 Py_INCREF(Py_None
); resultobj
= Py_None
;
5341 static PyObject
*_wrap_PyShape_GetRegions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5342 PyObject
*resultobj
;
5343 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5345 PyObject
* obj0
= 0 ;
5347 (char *) "self", NULL
5350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetRegions",kwnames
,&obj0
)) goto fail
;
5351 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5354 result
= (PyObject
*)wxPyShape_GetRegions(arg1
);
5356 wxPyEndAllowThreads(__tstate
);
5357 if (PyErr_Occurred()) SWIG_fail
;
5366 static PyObject
*_wrap_PyShape_AddRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5367 PyObject
*resultobj
;
5368 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5369 wxShapeRegion
*arg2
= (wxShapeRegion
*) 0 ;
5370 PyObject
* obj0
= 0 ;
5371 PyObject
* obj1
= 0 ;
5373 (char *) "self",(char *) "region", NULL
5376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_AddRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5377 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5378 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5381 (arg1
)->AddRegion(arg2
);
5383 wxPyEndAllowThreads(__tstate
);
5384 if (PyErr_Occurred()) SWIG_fail
;
5386 Py_INCREF(Py_None
); resultobj
= Py_None
;
5393 static PyObject
*_wrap_PyShape_ClearRegions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5394 PyObject
*resultobj
;
5395 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5396 PyObject
* obj0
= 0 ;
5398 (char *) "self", NULL
5401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_ClearRegions",kwnames
,&obj0
)) goto fail
;
5402 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5405 (arg1
)->ClearRegions();
5407 wxPyEndAllowThreads(__tstate
);
5408 if (PyErr_Occurred()) SWIG_fail
;
5410 Py_INCREF(Py_None
); resultobj
= Py_None
;
5417 static PyObject
*_wrap_PyShape_AssignNewIds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5418 PyObject
*resultobj
;
5419 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5420 PyObject
* obj0
= 0 ;
5422 (char *) "self", NULL
5425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_AssignNewIds",kwnames
,&obj0
)) goto fail
;
5426 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5429 (arg1
)->AssignNewIds();
5431 wxPyEndAllowThreads(__tstate
);
5432 if (PyErr_Occurred()) SWIG_fail
;
5434 Py_INCREF(Py_None
); resultobj
= Py_None
;
5441 static PyObject
*_wrap_PyShape_FindRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5442 PyObject
*resultobj
;
5443 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5444 wxString
*arg2
= 0 ;
5445 int *arg3
= (int *) 0 ;
5447 bool temp2
= False
;
5449 PyObject
* obj0
= 0 ;
5450 PyObject
* obj1
= 0 ;
5452 (char *) "self",(char *) "regionName", NULL
5456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_FindRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5457 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5459 arg2
= wxString_in_helper(obj1
);
5460 if (arg2
== NULL
) SWIG_fail
;
5464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5465 result
= (wxPyShape
*)(arg1
)->FindRegion((wxString
const &)*arg2
,arg3
);
5467 wxPyEndAllowThreads(__tstate
);
5468 if (PyErr_Occurred()) SWIG_fail
;
5471 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
5474 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
5475 resultobj
= t_output_helper(resultobj
,o
);
5491 static PyObject
*_wrap_PyShape_FindRegionNames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5492 PyObject
*resultobj
;
5493 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5494 wxStringList
*arg2
= 0 ;
5495 PyObject
* obj0
= 0 ;
5496 PyObject
* obj1
= 0 ;
5498 (char *) "self",(char *) "list", NULL
5501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_FindRegionNames",kwnames
,&obj0
,&obj1
)) goto fail
;
5502 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5503 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxStringList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5505 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5509 (arg1
)->FindRegionNames(*arg2
);
5511 wxPyEndAllowThreads(__tstate
);
5512 if (PyErr_Occurred()) SWIG_fail
;
5514 Py_INCREF(Py_None
); resultobj
= Py_None
;
5521 static PyObject
*_wrap_PyShape_ClearText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5522 PyObject
*resultobj
;
5523 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5524 int arg2
= (int) 0 ;
5525 PyObject
* obj0
= 0 ;
5527 (char *) "self",(char *) "regionId", NULL
5530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:PyShape_ClearText",kwnames
,&obj0
,&arg2
)) goto fail
;
5531 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5534 (arg1
)->ClearText(arg2
);
5536 wxPyEndAllowThreads(__tstate
);
5537 if (PyErr_Occurred()) SWIG_fail
;
5539 Py_INCREF(Py_None
); resultobj
= Py_None
;
5546 static PyObject
*_wrap_PyShape_RemoveLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5547 PyObject
*resultobj
;
5548 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5549 wxPyLineShape
*arg2
= (wxPyLineShape
*) 0 ;
5550 PyObject
* obj0
= 0 ;
5551 PyObject
* obj1
= 0 ;
5553 (char *) "self",(char *) "line", NULL
5556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_RemoveLine",kwnames
,&obj0
,&obj1
)) goto fail
;
5557 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5558 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5561 (arg1
)->RemoveLine(arg2
);
5563 wxPyEndAllowThreads(__tstate
);
5564 if (PyErr_Occurred()) SWIG_fail
;
5566 Py_INCREF(Py_None
); resultobj
= Py_None
;
5573 static PyObject
*_wrap_PyShape_GetAttachmentPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5574 PyObject
*resultobj
;
5575 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5577 double *arg3
= (double *) 0 ;
5578 double *arg4
= (double *) 0 ;
5579 int arg5
= (int) 0 ;
5580 int arg6
= (int) 1 ;
5581 wxPyLineShape
*arg7
= (wxPyLineShape
*) NULL
;
5585 PyObject
* obj0
= 0 ;
5586 PyObject
* obj4
= 0 ;
5588 (char *) "self",(char *) "attachment",(char *) "nth",(char *) "no_arcs",(char *) "line", NULL
5593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|iiO:PyShape_GetAttachmentPosition",kwnames
,&obj0
,&arg2
,&arg5
,&arg6
,&obj4
)) goto fail
;
5594 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5596 if ((SWIG_ConvertPtr(obj4
,(void **) &arg7
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5600 result
= (bool)(arg1
)->GetAttachmentPosition(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
5602 wxPyEndAllowThreads(__tstate
);
5603 if (PyErr_Occurred()) SWIG_fail
;
5605 resultobj
= PyInt_FromLong((long)result
);
5607 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
5608 resultobj
= t_output_helper(resultobj
,o
);
5611 PyObject
*o
= PyFloat_FromDouble((double) (*arg4
));
5612 resultobj
= t_output_helper(resultobj
,o
);
5620 static PyObject
*_wrap_PyShape_GetNumberOfAttachments(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5621 PyObject
*resultobj
;
5622 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5624 PyObject
* obj0
= 0 ;
5626 (char *) "self", NULL
5629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetNumberOfAttachments",kwnames
,&obj0
)) goto fail
;
5630 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5633 result
= (int)(arg1
)->GetNumberOfAttachments();
5635 wxPyEndAllowThreads(__tstate
);
5636 if (PyErr_Occurred()) SWIG_fail
;
5638 resultobj
= PyInt_FromLong((long)result
);
5645 static PyObject
*_wrap_PyShape_AttachmentIsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5646 PyObject
*resultobj
;
5647 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5650 PyObject
* obj0
= 0 ;
5652 (char *) "self",(char *) "attachment", NULL
5655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyShape_AttachmentIsValid",kwnames
,&obj0
,&arg2
)) goto fail
;
5656 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5659 result
= (bool)(arg1
)->AttachmentIsValid(arg2
);
5661 wxPyEndAllowThreads(__tstate
);
5662 if (PyErr_Occurred()) SWIG_fail
;
5664 resultobj
= PyInt_FromLong((long)result
);
5671 static PyObject
*_wrap_PyShape_GetAttachmentPositionEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5672 PyObject
*resultobj
;
5673 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5675 double *arg3
= (double *) 0 ;
5676 double *arg4
= (double *) 0 ;
5677 int arg5
= (int) 0 ;
5678 int arg6
= (int) 1 ;
5679 wxPyLineShape
*arg7
= (wxPyLineShape
*) NULL
;
5683 PyObject
* obj0
= 0 ;
5684 PyObject
* obj4
= 0 ;
5686 (char *) "self",(char *) "attachment",(char *) "nth",(char *) "no_arcs",(char *) "line", NULL
5691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|iiO:PyShape_GetAttachmentPositionEdge",kwnames
,&obj0
,&arg2
,&arg5
,&arg6
,&obj4
)) goto fail
;
5692 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5694 if ((SWIG_ConvertPtr(obj4
,(void **) &arg7
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5698 result
= (bool)(arg1
)->GetAttachmentPositionEdge(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
5700 wxPyEndAllowThreads(__tstate
);
5701 if (PyErr_Occurred()) SWIG_fail
;
5703 resultobj
= PyInt_FromLong((long)result
);
5705 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
5706 resultobj
= t_output_helper(resultobj
,o
);
5709 PyObject
*o
= PyFloat_FromDouble((double) (*arg4
));
5710 resultobj
= t_output_helper(resultobj
,o
);
5718 static PyObject
*_wrap_PyShape_CalcSimpleAttachment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5719 PyObject
*resultobj
;
5720 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5721 wxRealPoint
*arg2
= 0 ;
5722 wxRealPoint
*arg3
= 0 ;
5725 wxPyLineShape
*arg6
= (wxPyLineShape
*) 0 ;
5729 PyObject
* obj0
= 0 ;
5730 PyObject
* obj1
= 0 ;
5731 PyObject
* obj2
= 0 ;
5732 PyObject
* obj5
= 0 ;
5734 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "nth",(char *) "noArcs",(char *) "line", NULL
5737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOiiO:PyShape_CalcSimpleAttachment",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
,&obj5
)) goto fail
;
5738 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5741 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5745 if ( ! wxRealPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5747 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5750 result
= (arg1
)->CalcSimpleAttachment((wxRealPoint
const &)*arg2
,(wxRealPoint
const &)*arg3
,arg4
,arg5
,arg6
);
5752 wxPyEndAllowThreads(__tstate
);
5753 if (PyErr_Occurred()) SWIG_fail
;
5756 wxRealPoint
* resultptr
;
5757 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
5758 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRealPoint
, 1);
5766 static PyObject
*_wrap_PyShape_AttachmentSortTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5767 PyObject
*resultobj
;
5768 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5770 wxRealPoint
*arg3
= 0 ;
5771 wxRealPoint
*arg4
= 0 ;
5775 PyObject
* obj0
= 0 ;
5776 PyObject
* obj2
= 0 ;
5777 PyObject
* obj3
= 0 ;
5779 (char *) "self",(char *) "attachmentPoint",(char *) "pt1",(char *) "pt2", NULL
5782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiOO:PyShape_AttachmentSortTest",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
)) goto fail
;
5783 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5786 if ( ! wxRealPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5790 if ( ! wxRealPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5794 result
= (bool)(arg1
)->AttachmentSortTest(arg2
,(wxRealPoint
const &)*arg3
,(wxRealPoint
const &)*arg4
);
5796 wxPyEndAllowThreads(__tstate
);
5797 if (PyErr_Occurred()) SWIG_fail
;
5799 resultobj
= PyInt_FromLong((long)result
);
5806 static PyObject
*_wrap_PyShape_EraseLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5807 PyObject
*resultobj
;
5808 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5810 int arg3
= (int) -1 ;
5811 bool arg4
= (bool) False
;
5812 PyObject
* obj0
= 0 ;
5813 PyObject
* obj1
= 0 ;
5814 PyObject
* obj3
= 0 ;
5816 (char *) "self",(char *) "dc",(char *) "attachment",(char *) "recurse", NULL
5819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iO:PyShape_EraseLinks",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
)) goto fail
;
5820 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5821 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5823 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5826 arg4
= PyInt_AsLong(obj3
) ? true : false;
5827 if (PyErr_Occurred()) SWIG_fail
;
5830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5831 (arg1
)->EraseLinks(*arg2
,arg3
,arg4
);
5833 wxPyEndAllowThreads(__tstate
);
5834 if (PyErr_Occurred()) SWIG_fail
;
5836 Py_INCREF(Py_None
); resultobj
= Py_None
;
5843 static PyObject
*_wrap_PyShape_DrawLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5844 PyObject
*resultobj
;
5845 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5847 int arg3
= (int) -1 ;
5848 bool arg4
= (bool) False
;
5849 PyObject
* obj0
= 0 ;
5850 PyObject
* obj1
= 0 ;
5851 PyObject
* obj3
= 0 ;
5853 (char *) "self",(char *) "dc",(char *) "attachment",(char *) "recurse", NULL
5856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iO:PyShape_DrawLinks",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
)) goto fail
;
5857 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5858 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5860 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5863 arg4
= PyInt_AsLong(obj3
) ? true : false;
5864 if (PyErr_Occurred()) SWIG_fail
;
5867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5868 (arg1
)->DrawLinks(*arg2
,arg3
,arg4
);
5870 wxPyEndAllowThreads(__tstate
);
5871 if (PyErr_Occurred()) SWIG_fail
;
5873 Py_INCREF(Py_None
); resultobj
= Py_None
;
5880 static PyObject
*_wrap_PyShape_MoveLineToNewAttachment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5881 PyObject
*resultobj
;
5882 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5884 wxPyLineShape
*arg3
= (wxPyLineShape
*) 0 ;
5888 PyObject
* obj0
= 0 ;
5889 PyObject
* obj1
= 0 ;
5890 PyObject
* obj2
= 0 ;
5892 (char *) "self",(char *) "dc",(char *) "to_move",(char *) "x",(char *) "y", NULL
5895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOdd:PyShape_MoveLineToNewAttachment",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
)) goto fail
;
5896 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5897 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5899 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5901 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5904 result
= (bool)(arg1
)->MoveLineToNewAttachment(*arg2
,arg3
,arg4
,arg5
);
5906 wxPyEndAllowThreads(__tstate
);
5907 if (PyErr_Occurred()) SWIG_fail
;
5909 resultobj
= PyInt_FromLong((long)result
);
5916 static PyObject
*_wrap_PyShape_ApplyAttachmentOrdering(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5917 PyObject
*resultobj
;
5918 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5919 PyObject
*arg2
= (PyObject
*) 0 ;
5920 PyObject
* obj0
= 0 ;
5921 PyObject
* obj1
= 0 ;
5923 (char *) "self",(char *) "linesToSort", NULL
5926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_ApplyAttachmentOrdering",kwnames
,&obj0
,&obj1
)) goto fail
;
5927 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5931 wxPyShape_ApplyAttachmentOrdering(arg1
,arg2
);
5933 wxPyEndAllowThreads(__tstate
);
5934 if (PyErr_Occurred()) SWIG_fail
;
5936 Py_INCREF(Py_None
); resultobj
= Py_None
;
5943 static PyObject
*_wrap_PyShape_GetBranchingAttachmentRoot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5944 PyObject
*resultobj
;
5945 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5948 PyObject
* obj0
= 0 ;
5950 (char *) "self",(char *) "attachment", NULL
5953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyShape_GetBranchingAttachmentRoot",kwnames
,&obj0
,&arg2
)) goto fail
;
5954 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5957 result
= (arg1
)->GetBranchingAttachmentRoot(arg2
);
5959 wxPyEndAllowThreads(__tstate
);
5960 if (PyErr_Occurred()) SWIG_fail
;
5963 wxRealPoint
* resultptr
;
5964 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
5965 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRealPoint
, 1);
5973 static PyObject
*_wrap_PyShape_GetBranchingAttachmentInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5974 PyObject
*resultobj
;
5975 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5977 wxRealPoint
*arg3
= 0 ;
5978 wxRealPoint
*arg4
= 0 ;
5979 wxRealPoint
*arg5
= 0 ;
5980 wxRealPoint
*arg6
= 0 ;
5986 PyObject
* obj0
= 0 ;
5987 PyObject
* obj2
= 0 ;
5988 PyObject
* obj3
= 0 ;
5989 PyObject
* obj4
= 0 ;
5990 PyObject
* obj5
= 0 ;
5992 (char *) "self",(char *) "attachment",(char *) "root",(char *) "neck",(char *) "shoulder1",(char *) "shoulder2", NULL
5995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiOOOO:PyShape_GetBranchingAttachmentInfo",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
5996 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5999 if ( ! wxRealPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6003 if ( ! wxRealPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6007 if ( ! wxRealPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6011 if ( ! wxRealPoint_helper(obj5
, &arg6
)) SWIG_fail
;
6014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6015 result
= (bool)(arg1
)->GetBranchingAttachmentInfo(arg2
,*arg3
,*arg4
,*arg5
,*arg6
);
6017 wxPyEndAllowThreads(__tstate
);
6018 if (PyErr_Occurred()) SWIG_fail
;
6020 resultobj
= PyInt_FromLong((long)result
);
6027 static PyObject
*_wrap_PyShape_GetBranchingAttachmentPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6028 PyObject
*resultobj
;
6029 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6032 wxRealPoint
*arg4
= 0 ;
6033 wxRealPoint
*arg5
= 0 ;
6037 PyObject
* obj0
= 0 ;
6038 PyObject
* obj3
= 0 ;
6039 PyObject
* obj4
= 0 ;
6041 (char *) "self",(char *) "attachment",(char *) "n",(char *) "attachmentPoint",(char *) "stemPoint", NULL
6044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiiOO:PyShape_GetBranchingAttachmentPoint",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
,&obj4
)) goto fail
;
6045 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6048 if ( ! wxRealPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6052 if ( ! wxRealPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6056 result
= (bool)(arg1
)->GetBranchingAttachmentPoint(arg2
,arg3
,*arg4
,*arg5
);
6058 wxPyEndAllowThreads(__tstate
);
6059 if (PyErr_Occurred()) SWIG_fail
;
6061 resultobj
= PyInt_FromLong((long)result
);
6068 static PyObject
*_wrap_PyShape_GetAttachmentLineCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6069 PyObject
*resultobj
;
6070 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6073 PyObject
* obj0
= 0 ;
6075 (char *) "self",(char *) "attachment", NULL
6078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyShape_GetAttachmentLineCount",kwnames
,&obj0
,&arg2
)) goto fail
;
6079 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6082 result
= (int)(arg1
)->GetAttachmentLineCount(arg2
);
6084 wxPyEndAllowThreads(__tstate
);
6085 if (PyErr_Occurred()) SWIG_fail
;
6087 resultobj
= PyInt_FromLong((long)result
);
6094 static PyObject
*_wrap_PyShape_SetBranchNeckLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6095 PyObject
*resultobj
;
6096 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6098 PyObject
* obj0
= 0 ;
6100 (char *) "self",(char *) "len", NULL
6103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyShape_SetBranchNeckLength",kwnames
,&obj0
,&arg2
)) goto fail
;
6104 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6107 (arg1
)->SetBranchNeckLength(arg2
);
6109 wxPyEndAllowThreads(__tstate
);
6110 if (PyErr_Occurred()) SWIG_fail
;
6112 Py_INCREF(Py_None
); resultobj
= Py_None
;
6119 static PyObject
*_wrap_PyShape_GetBranchNeckLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6120 PyObject
*resultobj
;
6121 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6123 PyObject
* obj0
= 0 ;
6125 (char *) "self", NULL
6128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetBranchNeckLength",kwnames
,&obj0
)) goto fail
;
6129 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6132 result
= (int)(arg1
)->GetBranchNeckLength();
6134 wxPyEndAllowThreads(__tstate
);
6135 if (PyErr_Occurred()) SWIG_fail
;
6137 resultobj
= PyInt_FromLong((long)result
);
6144 static PyObject
*_wrap_PyShape_SetBranchStemLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6145 PyObject
*resultobj
;
6146 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6148 PyObject
* obj0
= 0 ;
6150 (char *) "self",(char *) "len", NULL
6153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyShape_SetBranchStemLength",kwnames
,&obj0
,&arg2
)) goto fail
;
6154 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6157 (arg1
)->SetBranchStemLength(arg2
);
6159 wxPyEndAllowThreads(__tstate
);
6160 if (PyErr_Occurred()) SWIG_fail
;
6162 Py_INCREF(Py_None
); resultobj
= Py_None
;
6169 static PyObject
*_wrap_PyShape_GetBranchStemLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6170 PyObject
*resultobj
;
6171 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6173 PyObject
* obj0
= 0 ;
6175 (char *) "self", NULL
6178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetBranchStemLength",kwnames
,&obj0
)) goto fail
;
6179 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6182 result
= (int)(arg1
)->GetBranchStemLength();
6184 wxPyEndAllowThreads(__tstate
);
6185 if (PyErr_Occurred()) SWIG_fail
;
6187 resultobj
= PyInt_FromLong((long)result
);
6194 static PyObject
*_wrap_PyShape_SetBranchSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6195 PyObject
*resultobj
;
6196 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6198 PyObject
* obj0
= 0 ;
6200 (char *) "self",(char *) "len", NULL
6203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyShape_SetBranchSpacing",kwnames
,&obj0
,&arg2
)) goto fail
;
6204 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6207 (arg1
)->SetBranchSpacing(arg2
);
6209 wxPyEndAllowThreads(__tstate
);
6210 if (PyErr_Occurred()) SWIG_fail
;
6212 Py_INCREF(Py_None
); resultobj
= Py_None
;
6219 static PyObject
*_wrap_PyShape_GetBranchSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6220 PyObject
*resultobj
;
6221 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6223 PyObject
* obj0
= 0 ;
6225 (char *) "self", NULL
6228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetBranchSpacing",kwnames
,&obj0
)) goto fail
;
6229 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6232 result
= (int)(arg1
)->GetBranchSpacing();
6234 wxPyEndAllowThreads(__tstate
);
6235 if (PyErr_Occurred()) SWIG_fail
;
6237 resultobj
= PyInt_FromLong((long)result
);
6244 static PyObject
*_wrap_PyShape_SetBranchStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6245 PyObject
*resultobj
;
6246 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6248 PyObject
* obj0
= 0 ;
6250 (char *) "self",(char *) "style", NULL
6253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:PyShape_SetBranchStyle",kwnames
,&obj0
,&arg2
)) goto fail
;
6254 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6257 (arg1
)->SetBranchStyle(arg2
);
6259 wxPyEndAllowThreads(__tstate
);
6260 if (PyErr_Occurred()) SWIG_fail
;
6262 Py_INCREF(Py_None
); resultobj
= Py_None
;
6269 static PyObject
*_wrap_PyShape_GetBranchStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6270 PyObject
*resultobj
;
6271 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6273 PyObject
* obj0
= 0 ;
6275 (char *) "self", NULL
6278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetBranchStyle",kwnames
,&obj0
)) goto fail
;
6279 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6282 result
= (long)(arg1
)->GetBranchStyle();
6284 wxPyEndAllowThreads(__tstate
);
6285 if (PyErr_Occurred()) SWIG_fail
;
6287 resultobj
= PyInt_FromLong((long)result
);
6294 static PyObject
*_wrap_PyShape_PhysicalToLogicalAttachment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6295 PyObject
*resultobj
;
6296 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6299 PyObject
* obj0
= 0 ;
6301 (char *) "self",(char *) "physicalAttachment", NULL
6304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyShape_PhysicalToLogicalAttachment",kwnames
,&obj0
,&arg2
)) goto fail
;
6305 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6308 result
= (int)(arg1
)->PhysicalToLogicalAttachment(arg2
);
6310 wxPyEndAllowThreads(__tstate
);
6311 if (PyErr_Occurred()) SWIG_fail
;
6313 resultobj
= PyInt_FromLong((long)result
);
6320 static PyObject
*_wrap_PyShape_LogicalToPhysicalAttachment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6321 PyObject
*resultobj
;
6322 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6325 PyObject
* obj0
= 0 ;
6327 (char *) "self",(char *) "logicalAttachment", NULL
6330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyShape_LogicalToPhysicalAttachment",kwnames
,&obj0
,&arg2
)) goto fail
;
6331 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6334 result
= (int)(arg1
)->LogicalToPhysicalAttachment(arg2
);
6336 wxPyEndAllowThreads(__tstate
);
6337 if (PyErr_Occurred()) SWIG_fail
;
6339 resultobj
= PyInt_FromLong((long)result
);
6346 static PyObject
*_wrap_PyShape_Draggable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6347 PyObject
*resultobj
;
6348 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6350 PyObject
* obj0
= 0 ;
6352 (char *) "self", NULL
6355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_Draggable",kwnames
,&obj0
)) goto fail
;
6356 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6359 result
= (bool)(arg1
)->Draggable();
6361 wxPyEndAllowThreads(__tstate
);
6362 if (PyErr_Occurred()) SWIG_fail
;
6364 resultobj
= PyInt_FromLong((long)result
);
6371 static PyObject
*_wrap_PyShape_HasDescendant(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6372 PyObject
*resultobj
;
6373 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6374 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
6376 PyObject
* obj0
= 0 ;
6377 PyObject
* obj1
= 0 ;
6379 (char *) "self",(char *) "image", NULL
6382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_HasDescendant",kwnames
,&obj0
,&obj1
)) goto fail
;
6383 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6384 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6387 result
= (bool)(arg1
)->HasDescendant(arg2
);
6389 wxPyEndAllowThreads(__tstate
);
6390 if (PyErr_Occurred()) SWIG_fail
;
6392 resultobj
= PyInt_FromLong((long)result
);
6399 static PyObject
*_wrap_PyShape_CreateNewCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6400 PyObject
*resultobj
;
6401 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6402 bool arg2
= (bool) True
;
6403 bool arg3
= (bool) True
;
6405 PyObject
* obj0
= 0 ;
6406 PyObject
* obj1
= 0 ;
6407 PyObject
* obj2
= 0 ;
6409 (char *) "self",(char *) "resetMapping",(char *) "recompute", NULL
6412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyShape_CreateNewCopy",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6413 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6415 arg2
= PyInt_AsLong(obj1
) ? true : false;
6416 if (PyErr_Occurred()) SWIG_fail
;
6419 arg3
= PyInt_AsLong(obj2
) ? true : false;
6420 if (PyErr_Occurred()) SWIG_fail
;
6423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6424 result
= (wxPyShape
*)(arg1
)->CreateNewCopy(arg2
,arg3
);
6426 wxPyEndAllowThreads(__tstate
);
6427 if (PyErr_Occurred()) SWIG_fail
;
6430 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
6438 static PyObject
*_wrap_PyShape_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6439 PyObject
*resultobj
;
6440 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6441 wxPyShape
*arg2
= 0 ;
6442 PyObject
* obj0
= 0 ;
6443 PyObject
* obj1
= 0 ;
6445 (char *) "self",(char *) "copy", NULL
6448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_Copy",kwnames
,&obj0
,&obj1
)) goto fail
;
6449 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6450 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6452 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6456 (arg1
)->Copy(*arg2
);
6458 wxPyEndAllowThreads(__tstate
);
6459 if (PyErr_Occurred()) SWIG_fail
;
6461 Py_INCREF(Py_None
); resultobj
= Py_None
;
6468 static PyObject
*_wrap_PyShape_CopyWithHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6469 PyObject
*resultobj
;
6470 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6471 wxPyShape
*arg2
= 0 ;
6472 PyObject
* obj0
= 0 ;
6473 PyObject
* obj1
= 0 ;
6475 (char *) "self",(char *) "copy", NULL
6478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_CopyWithHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
6479 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6480 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6482 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6486 (arg1
)->CopyWithHandler(*arg2
);
6488 wxPyEndAllowThreads(__tstate
);
6489 if (PyErr_Occurred()) SWIG_fail
;
6491 Py_INCREF(Py_None
); resultobj
= Py_None
;
6498 static PyObject
*_wrap_PyShape_Rotate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6499 PyObject
*resultobj
;
6500 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6504 PyObject
* obj0
= 0 ;
6506 (char *) "self",(char *) "x",(char *) "y",(char *) "theta", NULL
6509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oddd:PyShape_Rotate",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
6510 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6513 (arg1
)->Rotate(arg2
,arg3
,arg4
);
6515 wxPyEndAllowThreads(__tstate
);
6516 if (PyErr_Occurred()) SWIG_fail
;
6518 Py_INCREF(Py_None
); resultobj
= Py_None
;
6525 static PyObject
*_wrap_PyShape_GetRotation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6526 PyObject
*resultobj
;
6527 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6529 PyObject
* obj0
= 0 ;
6531 (char *) "self", NULL
6534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetRotation",kwnames
,&obj0
)) goto fail
;
6535 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6538 result
= (double)(arg1
)->GetRotation();
6540 wxPyEndAllowThreads(__tstate
);
6541 if (PyErr_Occurred()) SWIG_fail
;
6543 resultobj
= PyFloat_FromDouble(result
);
6550 static PyObject
*_wrap_PyShape_ClearAttachments(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6551 PyObject
*resultobj
;
6552 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6553 PyObject
* obj0
= 0 ;
6555 (char *) "self", NULL
6558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_ClearAttachments",kwnames
,&obj0
)) goto fail
;
6559 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6562 (arg1
)->ClearAttachments();
6564 wxPyEndAllowThreads(__tstate
);
6565 if (PyErr_Occurred()) SWIG_fail
;
6567 Py_INCREF(Py_None
); resultobj
= Py_None
;
6574 static PyObject
*_wrap_PyShape_Recentre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6575 PyObject
*resultobj
;
6576 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6578 PyObject
* obj0
= 0 ;
6579 PyObject
* obj1
= 0 ;
6581 (char *) "self",(char *) "dc", NULL
6584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_Recentre",kwnames
,&obj0
,&obj1
)) goto fail
;
6585 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6586 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6588 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6592 (arg1
)->Recentre(*arg2
);
6594 wxPyEndAllowThreads(__tstate
);
6595 if (PyErr_Occurred()) SWIG_fail
;
6597 Py_INCREF(Py_None
); resultobj
= Py_None
;
6604 static PyObject
*_wrap_PyShape_ClearPointList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6605 PyObject
*resultobj
;
6606 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6608 PyObject
* obj0
= 0 ;
6609 PyObject
* obj1
= 0 ;
6611 (char *) "self",(char *) "list", NULL
6614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_ClearPointList",kwnames
,&obj0
,&obj1
)) goto fail
;
6615 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6616 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6618 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6622 (arg1
)->ClearPointList(*arg2
);
6624 wxPyEndAllowThreads(__tstate
);
6625 if (PyErr_Occurred()) SWIG_fail
;
6627 Py_INCREF(Py_None
); resultobj
= Py_None
;
6634 static PyObject
*_wrap_PyShape_GetBackgroundPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6635 PyObject
*resultobj
;
6636 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6638 PyObject
* obj0
= 0 ;
6640 (char *) "self", NULL
6643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetBackgroundPen",kwnames
,&obj0
)) goto fail
;
6644 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6647 result
= (arg1
)->GetBackgroundPen();
6649 wxPyEndAllowThreads(__tstate
);
6650 if (PyErr_Occurred()) SWIG_fail
;
6654 resultptr
= new wxPen((wxPen
&) result
);
6655 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPen
, 1);
6663 static PyObject
*_wrap_PyShape_GetBackgroundBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6664 PyObject
*resultobj
;
6665 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6667 PyObject
* obj0
= 0 ;
6669 (char *) "self", NULL
6672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetBackgroundBrush",kwnames
,&obj0
)) goto fail
;
6673 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6676 result
= (arg1
)->GetBackgroundBrush();
6678 wxPyEndAllowThreads(__tstate
);
6679 if (PyErr_Occurred()) SWIG_fail
;
6682 wxBrush
* resultptr
;
6683 resultptr
= new wxBrush((wxBrush
&) result
);
6684 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBrush
, 1);
6692 static PyObject
*_wrap_PyShape_base_OnDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6693 PyObject
*resultobj
;
6694 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6695 PyObject
* obj0
= 0 ;
6697 (char *) "self", NULL
6700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_base_OnDelete",kwnames
,&obj0
)) goto fail
;
6701 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6704 (arg1
)->base_OnDelete();
6706 wxPyEndAllowThreads(__tstate
);
6707 if (PyErr_Occurred()) SWIG_fail
;
6709 Py_INCREF(Py_None
); resultobj
= Py_None
;
6716 static PyObject
*_wrap_PyShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6717 PyObject
*resultobj
;
6718 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6720 PyObject
* obj0
= 0 ;
6721 PyObject
* obj1
= 0 ;
6723 (char *) "self",(char *) "dc", NULL
6726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
6727 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6728 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6730 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6734 (arg1
)->base_OnDraw(*arg2
);
6736 wxPyEndAllowThreads(__tstate
);
6737 if (PyErr_Occurred()) SWIG_fail
;
6739 Py_INCREF(Py_None
); resultobj
= Py_None
;
6746 static PyObject
*_wrap_PyShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6747 PyObject
*resultobj
;
6748 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6750 PyObject
* obj0
= 0 ;
6751 PyObject
* obj1
= 0 ;
6753 (char *) "self",(char *) "dc", NULL
6756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
6757 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6758 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6760 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6764 (arg1
)->base_OnDrawContents(*arg2
);
6766 wxPyEndAllowThreads(__tstate
);
6767 if (PyErr_Occurred()) SWIG_fail
;
6769 Py_INCREF(Py_None
); resultobj
= Py_None
;
6776 static PyObject
*_wrap_PyShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6777 PyObject
*resultobj
;
6778 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6780 bool arg3
= (bool) False
;
6781 PyObject
* obj0
= 0 ;
6782 PyObject
* obj1
= 0 ;
6783 PyObject
* obj2
= 0 ;
6785 (char *) "self",(char *) "dc",(char *) "erase", NULL
6788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6789 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6790 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6792 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6795 arg3
= PyInt_AsLong(obj2
) ? true : false;
6796 if (PyErr_Occurred()) SWIG_fail
;
6799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6800 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
6802 wxPyEndAllowThreads(__tstate
);
6803 if (PyErr_Occurred()) SWIG_fail
;
6805 Py_INCREF(Py_None
); resultobj
= Py_None
;
6812 static PyObject
*_wrap_PyShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6813 PyObject
*resultobj
;
6814 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6816 PyObject
* obj0
= 0 ;
6817 PyObject
* obj1
= 0 ;
6819 (char *) "self",(char *) "dc", NULL
6822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
6823 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6824 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6826 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6830 (arg1
)->base_OnMoveLinks(*arg2
);
6832 wxPyEndAllowThreads(__tstate
);
6833 if (PyErr_Occurred()) SWIG_fail
;
6835 Py_INCREF(Py_None
); resultobj
= Py_None
;
6842 static PyObject
*_wrap_PyShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6843 PyObject
*resultobj
;
6844 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6846 PyObject
* obj0
= 0 ;
6847 PyObject
* obj1
= 0 ;
6849 (char *) "self",(char *) "dc", NULL
6852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
6853 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6854 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6856 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6860 (arg1
)->base_OnErase(*arg2
);
6862 wxPyEndAllowThreads(__tstate
);
6863 if (PyErr_Occurred()) SWIG_fail
;
6865 Py_INCREF(Py_None
); resultobj
= Py_None
;
6872 static PyObject
*_wrap_PyShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6873 PyObject
*resultobj
;
6874 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6876 PyObject
* obj0
= 0 ;
6877 PyObject
* obj1
= 0 ;
6879 (char *) "self",(char *) "dc", NULL
6882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
6883 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6884 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6886 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6890 (arg1
)->base_OnEraseContents(*arg2
);
6892 wxPyEndAllowThreads(__tstate
);
6893 if (PyErr_Occurred()) SWIG_fail
;
6895 Py_INCREF(Py_None
); resultobj
= Py_None
;
6902 static PyObject
*_wrap_PyShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6903 PyObject
*resultobj
;
6904 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6906 PyObject
* obj0
= 0 ;
6907 PyObject
* obj1
= 0 ;
6909 (char *) "self",(char *) "dc", NULL
6912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
6913 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6914 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6916 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6920 (arg1
)->base_OnHighlight(*arg2
);
6922 wxPyEndAllowThreads(__tstate
);
6923 if (PyErr_Occurred()) SWIG_fail
;
6925 Py_INCREF(Py_None
); resultobj
= Py_None
;
6932 static PyObject
*_wrap_PyShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6933 PyObject
*resultobj
;
6934 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6937 int arg4
= (int) 0 ;
6938 int arg5
= (int) 0 ;
6939 PyObject
* obj0
= 0 ;
6941 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
6944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyShape_base_OnLeftClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
6945 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6948 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
6950 wxPyEndAllowThreads(__tstate
);
6951 if (PyErr_Occurred()) SWIG_fail
;
6953 Py_INCREF(Py_None
); resultobj
= Py_None
;
6960 static PyObject
*_wrap_PyShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6961 PyObject
*resultobj
;
6962 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6965 int arg4
= (int) 0 ;
6966 int arg5
= (int) 0 ;
6967 PyObject
* obj0
= 0 ;
6969 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
6972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
6973 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6976 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
6978 wxPyEndAllowThreads(__tstate
);
6979 if (PyErr_Occurred()) SWIG_fail
;
6981 Py_INCREF(Py_None
); resultobj
= Py_None
;
6988 static PyObject
*_wrap_PyShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6989 PyObject
*resultobj
;
6990 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6993 int arg4
= (int) 0 ;
6994 int arg5
= (int) 0 ;
6995 PyObject
* obj0
= 0 ;
6997 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
7000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyShape_base_OnRightClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
7001 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7004 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
7006 wxPyEndAllowThreads(__tstate
);
7007 if (PyErr_Occurred()) SWIG_fail
;
7009 Py_INCREF(Py_None
); resultobj
= Py_None
;
7016 static PyObject
*_wrap_PyShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7017 PyObject
*resultobj
;
7018 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7021 PyObject
* obj0
= 0 ;
7023 (char *) "self",(char *) "x",(char *) "y", NULL
7026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyShape_base_OnSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
7027 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7030 (arg1
)->base_OnSize(arg2
,arg3
);
7032 wxPyEndAllowThreads(__tstate
);
7033 if (PyErr_Occurred()) SWIG_fail
;
7035 Py_INCREF(Py_None
); resultobj
= Py_None
;
7042 static PyObject
*_wrap_PyShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7043 PyObject
*resultobj
;
7044 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7050 bool arg7
= (bool) True
;
7052 PyObject
* obj0
= 0 ;
7053 PyObject
* obj1
= 0 ;
7054 PyObject
* obj6
= 0 ;
7056 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
7059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd|O:PyShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
)) goto fail
;
7060 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7061 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7063 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7066 arg7
= PyInt_AsLong(obj6
) ? true : false;
7067 if (PyErr_Occurred()) SWIG_fail
;
7070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7071 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
7073 wxPyEndAllowThreads(__tstate
);
7074 if (PyErr_Occurred()) SWIG_fail
;
7076 resultobj
= PyInt_FromLong((long)result
);
7083 static PyObject
*_wrap_PyShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7084 PyObject
*resultobj
;
7085 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7091 bool arg7
= (bool) True
;
7092 PyObject
* obj0
= 0 ;
7093 PyObject
* obj1
= 0 ;
7094 PyObject
* obj6
= 0 ;
7096 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
7099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd|O:PyShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
)) goto fail
;
7100 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7101 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7103 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7106 arg7
= PyInt_AsLong(obj6
) ? true : false;
7107 if (PyErr_Occurred()) SWIG_fail
;
7110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7111 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
7113 wxPyEndAllowThreads(__tstate
);
7114 if (PyErr_Occurred()) SWIG_fail
;
7116 Py_INCREF(Py_None
); resultobj
= Py_None
;
7123 static PyObject
*_wrap_PyShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7124 PyObject
*resultobj
;
7125 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7129 int arg5
= (int) 0 ;
7130 int arg6
= (int) 0 ;
7131 PyObject
* obj0
= 0 ;
7132 PyObject
* obj1
= 0 ;
7134 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
7137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
7138 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7139 arg2
= PyInt_AsLong(obj1
) ? true : false;
7140 if (PyErr_Occurred()) SWIG_fail
;
7142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7143 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
7145 wxPyEndAllowThreads(__tstate
);
7146 if (PyErr_Occurred()) SWIG_fail
;
7148 Py_INCREF(Py_None
); resultobj
= Py_None
;
7155 static PyObject
*_wrap_PyShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7156 PyObject
*resultobj
;
7157 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7160 int arg4
= (int) 0 ;
7161 int arg5
= (int) 0 ;
7162 PyObject
* obj0
= 0 ;
7164 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
7167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyShape_base_OnBeginDragLeft",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
7168 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7171 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
7173 wxPyEndAllowThreads(__tstate
);
7174 if (PyErr_Occurred()) SWIG_fail
;
7176 Py_INCREF(Py_None
); resultobj
= Py_None
;
7183 static PyObject
*_wrap_PyShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7184 PyObject
*resultobj
;
7185 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7188 int arg4
= (int) 0 ;
7189 int arg5
= (int) 0 ;
7190 PyObject
* obj0
= 0 ;
7192 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
7195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyShape_base_OnEndDragLeft",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
7196 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7199 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
7201 wxPyEndAllowThreads(__tstate
);
7202 if (PyErr_Occurred()) SWIG_fail
;
7204 Py_INCREF(Py_None
); resultobj
= Py_None
;
7211 static PyObject
*_wrap_PyShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7212 PyObject
*resultobj
;
7213 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7217 int arg5
= (int) 0 ;
7218 int arg6
= (int) 0 ;
7219 PyObject
* obj0
= 0 ;
7220 PyObject
* obj1
= 0 ;
7222 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
7225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
7226 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7227 arg2
= PyInt_AsLong(obj1
) ? true : false;
7228 if (PyErr_Occurred()) SWIG_fail
;
7230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7231 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
7233 wxPyEndAllowThreads(__tstate
);
7234 if (PyErr_Occurred()) SWIG_fail
;
7236 Py_INCREF(Py_None
); resultobj
= Py_None
;
7243 static PyObject
*_wrap_PyShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7244 PyObject
*resultobj
;
7245 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7248 int arg4
= (int) 0 ;
7249 int arg5
= (int) 0 ;
7250 PyObject
* obj0
= 0 ;
7252 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
7255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyShape_base_OnBeginDragRight",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
7256 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7259 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
7261 wxPyEndAllowThreads(__tstate
);
7262 if (PyErr_Occurred()) SWIG_fail
;
7264 Py_INCREF(Py_None
); resultobj
= Py_None
;
7271 static PyObject
*_wrap_PyShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7272 PyObject
*resultobj
;
7273 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7276 int arg4
= (int) 0 ;
7277 int arg5
= (int) 0 ;
7278 PyObject
* obj0
= 0 ;
7280 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
7283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyShape_base_OnEndDragRight",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
7284 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7287 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
7289 wxPyEndAllowThreads(__tstate
);
7290 if (PyErr_Occurred()) SWIG_fail
;
7292 Py_INCREF(Py_None
); resultobj
= Py_None
;
7299 static PyObject
*_wrap_PyShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7300 PyObject
*resultobj
;
7301 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7307 PyObject
* obj0
= 0 ;
7308 PyObject
* obj1
= 0 ;
7310 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
7313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd:PyShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
7314 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7315 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7317 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7321 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
7323 wxPyEndAllowThreads(__tstate
);
7324 if (PyErr_Occurred()) SWIG_fail
;
7326 Py_INCREF(Py_None
); resultobj
= Py_None
;
7333 static PyObject
*_wrap_PyShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7334 PyObject
*resultobj
;
7335 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7337 PyObject
* obj0
= 0 ;
7338 PyObject
* obj1
= 0 ;
7340 (char *) "self",(char *) "dc", NULL
7343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
7344 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7345 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7347 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7351 (arg1
)->base_OnDrawControlPoints(*arg2
);
7353 wxPyEndAllowThreads(__tstate
);
7354 if (PyErr_Occurred()) SWIG_fail
;
7356 Py_INCREF(Py_None
); resultobj
= Py_None
;
7363 static PyObject
*_wrap_PyShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7364 PyObject
*resultobj
;
7365 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7367 PyObject
* obj0
= 0 ;
7368 PyObject
* obj1
= 0 ;
7370 (char *) "self",(char *) "dc", NULL
7373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
7374 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7375 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7377 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7381 (arg1
)->base_OnEraseControlPoints(*arg2
);
7383 wxPyEndAllowThreads(__tstate
);
7384 if (PyErr_Occurred()) SWIG_fail
;
7386 Py_INCREF(Py_None
); resultobj
= Py_None
;
7393 static PyObject
*_wrap_PyShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7394 PyObject
*resultobj
;
7395 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7397 bool arg3
= (bool) True
;
7398 PyObject
* obj0
= 0 ;
7399 PyObject
* obj1
= 0 ;
7400 PyObject
* obj2
= 0 ;
7402 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
7405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7406 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7407 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7409 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7412 arg3
= PyInt_AsLong(obj2
) ? true : false;
7413 if (PyErr_Occurred()) SWIG_fail
;
7416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7417 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
7419 wxPyEndAllowThreads(__tstate
);
7420 if (PyErr_Occurred()) SWIG_fail
;
7422 Py_INCREF(Py_None
); resultobj
= Py_None
;
7429 static PyObject
*_wrap_PyShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7430 PyObject
*resultobj
;
7431 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7432 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
7436 int arg6
= (int) 0 ;
7437 int arg7
= (int) 0 ;
7438 PyObject
* obj0
= 0 ;
7439 PyObject
* obj1
= 0 ;
7440 PyObject
* obj2
= 0 ;
7442 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
7445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOdd|ii:PyShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
,&arg6
,&arg7
)) goto fail
;
7446 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7447 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7448 arg3
= PyInt_AsLong(obj2
) ? true : false;
7449 if (PyErr_Occurred()) SWIG_fail
;
7451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7452 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
7454 wxPyEndAllowThreads(__tstate
);
7455 if (PyErr_Occurred()) SWIG_fail
;
7457 Py_INCREF(Py_None
); resultobj
= Py_None
;
7464 static PyObject
*_wrap_PyShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7465 PyObject
*resultobj
;
7466 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7467 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
7470 int arg5
= (int) 0 ;
7471 int arg6
= (int) 0 ;
7472 PyObject
* obj0
= 0 ;
7473 PyObject
* obj1
= 0 ;
7475 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
7478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
7479 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7480 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7483 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
7485 wxPyEndAllowThreads(__tstate
);
7486 if (PyErr_Occurred()) SWIG_fail
;
7488 Py_INCREF(Py_None
); resultobj
= Py_None
;
7495 static PyObject
*_wrap_PyShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7496 PyObject
*resultobj
;
7497 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7498 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
7501 int arg5
= (int) 0 ;
7502 int arg6
= (int) 0 ;
7503 PyObject
* obj0
= 0 ;
7504 PyObject
* obj1
= 0 ;
7506 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
7509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
7510 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7511 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7514 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
7516 wxPyEndAllowThreads(__tstate
);
7517 if (PyErr_Occurred()) SWIG_fail
;
7519 Py_INCREF(Py_None
); resultobj
= Py_None
;
7526 static PyObject
*_wrap_PyShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7527 PyObject
*resultobj
;
7528 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7531 PyObject
* obj0
= 0 ;
7533 (char *) "self",(char *) "w",(char *) "h", NULL
7536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyShape_base_OnBeginSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
7537 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7540 (arg1
)->base_OnBeginSize(arg2
,arg3
);
7542 wxPyEndAllowThreads(__tstate
);
7543 if (PyErr_Occurred()) SWIG_fail
;
7545 Py_INCREF(Py_None
); resultobj
= Py_None
;
7552 static PyObject
*_wrap_PyShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7553 PyObject
*resultobj
;
7554 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7557 PyObject
* obj0
= 0 ;
7559 (char *) "self",(char *) "w",(char *) "h", NULL
7562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyShape_base_OnEndSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
7563 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7566 (arg1
)->base_OnEndSize(arg2
,arg3
);
7568 wxPyEndAllowThreads(__tstate
);
7569 if (PyErr_Occurred()) SWIG_fail
;
7571 Py_INCREF(Py_None
); resultobj
= Py_None
;
7578 static PyObject
* PyShape_swigregister(PyObject
*self
, PyObject
*args
) {
7580 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7581 SWIG_TypeClientData(SWIGTYPE_p_wxPyShape
, obj
);
7583 return Py_BuildValue((char *)"");
7585 static PyObject
*_wrap_new_PseudoMetaFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7586 PyObject
*resultobj
;
7587 wxPseudoMetaFile
*result
;
7592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PseudoMetaFile",kwnames
)) goto fail
;
7594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7595 result
= (wxPseudoMetaFile
*)new wxPseudoMetaFile();
7597 wxPyEndAllowThreads(__tstate
);
7598 if (PyErr_Occurred()) SWIG_fail
;
7601 resultobj
= wxPyMake_wxObject(result
);
7609 static PyObject
*_wrap_delete_PseudoMetaFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7610 PyObject
*resultobj
;
7611 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
7612 PyObject
* obj0
= 0 ;
7614 (char *) "self", NULL
7617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PseudoMetaFile",kwnames
,&obj0
)) goto fail
;
7618 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7623 wxPyEndAllowThreads(__tstate
);
7624 if (PyErr_Occurred()) SWIG_fail
;
7626 Py_INCREF(Py_None
); resultobj
= Py_None
;
7633 static PyObject
*_wrap_PseudoMetaFile_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7634 PyObject
*resultobj
;
7635 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
7639 PyObject
* obj0
= 0 ;
7640 PyObject
* obj1
= 0 ;
7642 (char *) "self",(char *) "dc",(char *) "xoffset",(char *) "yoffset", NULL
7645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd:PseudoMetaFile_Draw",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
)) goto fail
;
7646 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7647 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7649 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7653 (arg1
)->Draw(*arg2
,arg3
,arg4
);
7655 wxPyEndAllowThreads(__tstate
);
7656 if (PyErr_Occurred()) SWIG_fail
;
7658 Py_INCREF(Py_None
); resultobj
= Py_None
;
7665 static PyObject
*_wrap_PseudoMetaFile_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7666 PyObject
*resultobj
;
7667 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
7668 PyObject
* obj0
= 0 ;
7670 (char *) "self", NULL
7673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PseudoMetaFile_Clear",kwnames
,&obj0
)) goto fail
;
7674 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7679 wxPyEndAllowThreads(__tstate
);
7680 if (PyErr_Occurred()) SWIG_fail
;
7682 Py_INCREF(Py_None
); resultobj
= Py_None
;
7689 static PyObject
*_wrap_PseudoMetaFile_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7690 PyObject
*resultobj
;
7691 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
7692 wxPseudoMetaFile
*arg2
= 0 ;
7693 PyObject
* obj0
= 0 ;
7694 PyObject
* obj1
= 0 ;
7696 (char *) "self",(char *) "copy", NULL
7699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_Copy",kwnames
,&obj0
,&obj1
)) goto fail
;
7700 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7701 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7703 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7707 (arg1
)->Copy(*arg2
);
7709 wxPyEndAllowThreads(__tstate
);
7710 if (PyErr_Occurred()) SWIG_fail
;
7712 Py_INCREF(Py_None
); resultobj
= Py_None
;
7719 static PyObject
*_wrap_PseudoMetaFile_Scale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7720 PyObject
*resultobj
;
7721 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
7724 PyObject
* obj0
= 0 ;
7726 (char *) "self",(char *) "sx",(char *) "sy", NULL
7729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PseudoMetaFile_Scale",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
7730 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7733 (arg1
)->Scale(arg2
,arg3
);
7735 wxPyEndAllowThreads(__tstate
);
7736 if (PyErr_Occurred()) SWIG_fail
;
7738 Py_INCREF(Py_None
); resultobj
= Py_None
;
7745 static PyObject
*_wrap_PseudoMetaFile_ScaleTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7746 PyObject
*resultobj
;
7747 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
7750 PyObject
* obj0
= 0 ;
7752 (char *) "self",(char *) "w",(char *) "h", NULL
7755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PseudoMetaFile_ScaleTo",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
7756 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7759 (arg1
)->ScaleTo(arg2
,arg3
);
7761 wxPyEndAllowThreads(__tstate
);
7762 if (PyErr_Occurred()) SWIG_fail
;
7764 Py_INCREF(Py_None
); resultobj
= Py_None
;
7771 static PyObject
*_wrap_PseudoMetaFile_Translate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7772 PyObject
*resultobj
;
7773 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
7776 PyObject
* obj0
= 0 ;
7778 (char *) "self",(char *) "x",(char *) "y", NULL
7781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PseudoMetaFile_Translate",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
7782 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7785 (arg1
)->Translate(arg2
,arg3
);
7787 wxPyEndAllowThreads(__tstate
);
7788 if (PyErr_Occurred()) SWIG_fail
;
7790 Py_INCREF(Py_None
); resultobj
= Py_None
;
7797 static PyObject
*_wrap_PseudoMetaFile_Rotate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7798 PyObject
*resultobj
;
7799 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
7803 PyObject
* obj0
= 0 ;
7805 (char *) "self",(char *) "x",(char *) "y",(char *) "theta", NULL
7808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oddd:PseudoMetaFile_Rotate",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
7809 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7812 (arg1
)->Rotate(arg2
,arg3
,arg4
);
7814 wxPyEndAllowThreads(__tstate
);
7815 if (PyErr_Occurred()) SWIG_fail
;
7817 Py_INCREF(Py_None
); resultobj
= Py_None
;
7824 static PyObject
*_wrap_PseudoMetaFile_LoadFromMetaFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7825 PyObject
*resultobj
;
7826 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
7827 wxString
*arg2
= 0 ;
7828 double *arg3
= (double *) 0 ;
7829 double *arg4
= (double *) 0 ;
7831 bool temp2
= False
;
7832 PyObject
* obj0
= 0 ;
7833 PyObject
* obj1
= 0 ;
7834 PyObject
* obj2
= 0 ;
7835 PyObject
* obj3
= 0 ;
7837 (char *) "self",(char *) "filename",(char *) "width",(char *) "height", NULL
7840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoMetaFile_LoadFromMetaFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7841 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7843 arg2
= wxString_in_helper(obj1
);
7844 if (arg2
== NULL
) SWIG_fail
;
7847 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_double
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7848 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_double
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7851 result
= (bool)(arg1
)->LoadFromMetaFile((wxString
const &)*arg2
,arg3
,arg4
);
7853 wxPyEndAllowThreads(__tstate
);
7854 if (PyErr_Occurred()) SWIG_fail
;
7856 resultobj
= PyInt_FromLong((long)result
);
7871 static PyObject
*_wrap_PseudoMetaFile_GetBounds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7872 PyObject
*resultobj
;
7873 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
7874 double *arg2
= (double *) 0 ;
7875 double *arg3
= (double *) 0 ;
7876 double *arg4
= (double *) 0 ;
7877 double *arg5
= (double *) 0 ;
7878 PyObject
* obj0
= 0 ;
7879 PyObject
* obj1
= 0 ;
7880 PyObject
* obj2
= 0 ;
7881 PyObject
* obj3
= 0 ;
7882 PyObject
* obj4
= 0 ;
7884 (char *) "self",(char *) "minX",(char *) "minY",(char *) "maxX",(char *) "maxY", NULL
7887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoMetaFile_GetBounds",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
7888 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7889 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_double
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7890 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_double
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7891 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_double
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7892 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_double
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7895 (arg1
)->GetBounds(arg2
,arg3
,arg4
,arg5
);
7897 wxPyEndAllowThreads(__tstate
);
7898 if (PyErr_Occurred()) SWIG_fail
;
7900 Py_INCREF(Py_None
); resultobj
= Py_None
;
7907 static PyObject
*_wrap_PseudoMetaFile_CalculateSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7908 PyObject
*resultobj
;
7909 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
7910 wxPyDrawnShape
*arg2
= (wxPyDrawnShape
*) 0 ;
7911 PyObject
* obj0
= 0 ;
7912 PyObject
* obj1
= 0 ;
7914 (char *) "self",(char *) "shape", NULL
7917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_CalculateSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7918 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7919 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7922 (arg1
)->CalculateSize(arg2
);
7924 wxPyEndAllowThreads(__tstate
);
7925 if (PyErr_Occurred()) SWIG_fail
;
7927 Py_INCREF(Py_None
); resultobj
= Py_None
;
7934 static PyObject
*_wrap_PseudoMetaFile_SetRotateable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7935 PyObject
*resultobj
;
7936 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
7938 PyObject
* obj0
= 0 ;
7939 PyObject
* obj1
= 0 ;
7941 (char *) "self",(char *) "rot", NULL
7944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_SetRotateable",kwnames
,&obj0
,&obj1
)) goto fail
;
7945 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7946 arg2
= PyInt_AsLong(obj1
) ? true : false;
7947 if (PyErr_Occurred()) SWIG_fail
;
7949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7950 (arg1
)->SetRotateable(arg2
);
7952 wxPyEndAllowThreads(__tstate
);
7953 if (PyErr_Occurred()) SWIG_fail
;
7955 Py_INCREF(Py_None
); resultobj
= Py_None
;
7962 static PyObject
*_wrap_PseudoMetaFile_GetRotateable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7963 PyObject
*resultobj
;
7964 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
7966 PyObject
* obj0
= 0 ;
7968 (char *) "self", NULL
7971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PseudoMetaFile_GetRotateable",kwnames
,&obj0
)) goto fail
;
7972 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7975 result
= (bool)(arg1
)->GetRotateable();
7977 wxPyEndAllowThreads(__tstate
);
7978 if (PyErr_Occurred()) SWIG_fail
;
7980 resultobj
= PyInt_FromLong((long)result
);
7987 static PyObject
*_wrap_PseudoMetaFile_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7988 PyObject
*resultobj
;
7989 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
7992 PyObject
* obj0
= 0 ;
7994 (char *) "self",(char *) "w",(char *) "h", NULL
7997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PseudoMetaFile_SetSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
7998 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8001 (arg1
)->SetSize(arg2
,arg3
);
8003 wxPyEndAllowThreads(__tstate
);
8004 if (PyErr_Occurred()) SWIG_fail
;
8006 Py_INCREF(Py_None
); resultobj
= Py_None
;
8013 static PyObject
*_wrap_PseudoMetaFile_SetFillBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8014 PyObject
*resultobj
;
8015 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
8016 wxBrush
*arg2
= (wxBrush
*) 0 ;
8017 PyObject
* obj0
= 0 ;
8018 PyObject
* obj1
= 0 ;
8020 (char *) "self",(char *) "brush", NULL
8023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_SetFillBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
8024 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8028 if (obj1
== Py_None
) {
8031 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxBrush"))) {
8032 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxBrush.");
8037 arg2
= wxTheBrushList
->FindOrCreateBrush(temp
->GetColour(), temp
->GetStyle());
8042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8043 (arg1
)->SetFillBrush(arg2
);
8045 wxPyEndAllowThreads(__tstate
);
8046 if (PyErr_Occurred()) SWIG_fail
;
8048 Py_INCREF(Py_None
); resultobj
= Py_None
;
8055 static PyObject
*_wrap_PseudoMetaFile_GetFillBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8056 PyObject
*resultobj
;
8057 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
8059 PyObject
* obj0
= 0 ;
8061 (char *) "self", NULL
8064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PseudoMetaFile_GetFillBrush",kwnames
,&obj0
)) goto fail
;
8065 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8068 result
= (wxBrush
*)(arg1
)->GetFillBrush();
8070 wxPyEndAllowThreads(__tstate
);
8071 if (PyErr_Occurred()) SWIG_fail
;
8073 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBrush
, 0);
8080 static PyObject
*_wrap_PseudoMetaFile_SetOutlinePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8081 PyObject
*resultobj
;
8082 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
8083 wxPen
*arg2
= (wxPen
*) 0 ;
8084 PyObject
* obj0
= 0 ;
8085 PyObject
* obj1
= 0 ;
8087 (char *) "self",(char *) "pen", NULL
8090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_SetOutlinePen",kwnames
,&obj0
,&obj1
)) goto fail
;
8091 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8095 if (obj1
== Py_None
) {
8098 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxPen"))) {
8099 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxPen.");
8104 arg2
= wxThePenList
->FindOrCreatePen(temp
->GetColour(),
8111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8112 (arg1
)->SetOutlinePen(arg2
);
8114 wxPyEndAllowThreads(__tstate
);
8115 if (PyErr_Occurred()) SWIG_fail
;
8117 Py_INCREF(Py_None
); resultobj
= Py_None
;
8124 static PyObject
*_wrap_PseudoMetaFile_GetOutlinePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8125 PyObject
*resultobj
;
8126 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
8128 PyObject
* obj0
= 0 ;
8130 (char *) "self", NULL
8133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PseudoMetaFile_GetOutlinePen",kwnames
,&obj0
)) goto fail
;
8134 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8137 result
= (wxPen
*)(arg1
)->GetOutlinePen();
8139 wxPyEndAllowThreads(__tstate
);
8140 if (PyErr_Occurred()) SWIG_fail
;
8142 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPen
, 0);
8149 static PyObject
*_wrap_PseudoMetaFile_SetOutlineOp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8150 PyObject
*resultobj
;
8151 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
8153 PyObject
* obj0
= 0 ;
8155 (char *) "self",(char *) "op", NULL
8158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PseudoMetaFile_SetOutlineOp",kwnames
,&obj0
,&arg2
)) goto fail
;
8159 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8162 (arg1
)->SetOutlineOp(arg2
);
8164 wxPyEndAllowThreads(__tstate
);
8165 if (PyErr_Occurred()) SWIG_fail
;
8167 Py_INCREF(Py_None
); resultobj
= Py_None
;
8174 static PyObject
*_wrap_PseudoMetaFile_GetOutlineOp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8175 PyObject
*resultobj
;
8176 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
8178 PyObject
* obj0
= 0 ;
8180 (char *) "self", NULL
8183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PseudoMetaFile_GetOutlineOp",kwnames
,&obj0
)) goto fail
;
8184 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8187 result
= (int)(arg1
)->GetOutlineOp();
8189 wxPyEndAllowThreads(__tstate
);
8190 if (PyErr_Occurred()) SWIG_fail
;
8192 resultobj
= PyInt_FromLong((long)result
);
8199 static PyObject
*_wrap_PseudoMetaFile_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8200 PyObject
*resultobj
;
8201 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
8203 PyObject
* obj0
= 0 ;
8205 (char *) "self", NULL
8208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PseudoMetaFile_IsValid",kwnames
,&obj0
)) goto fail
;
8209 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8212 result
= (bool)(arg1
)->IsValid();
8214 wxPyEndAllowThreads(__tstate
);
8215 if (PyErr_Occurred()) SWIG_fail
;
8217 resultobj
= PyInt_FromLong((long)result
);
8224 static PyObject
*_wrap_PseudoMetaFile_DrawLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8225 PyObject
*resultobj
;
8226 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
8231 PyObject
* obj0
= 0 ;
8232 PyObject
* obj1
= 0 ;
8233 PyObject
* obj2
= 0 ;
8235 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
8238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoMetaFile_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8239 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8242 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8246 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8250 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
8252 wxPyEndAllowThreads(__tstate
);
8253 if (PyErr_Occurred()) SWIG_fail
;
8255 Py_INCREF(Py_None
); resultobj
= Py_None
;
8262 static PyObject
*_wrap_PseudoMetaFile_DrawRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8263 PyObject
*resultobj
;
8264 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
8267 PyObject
* obj0
= 0 ;
8268 PyObject
* obj1
= 0 ;
8270 (char *) "self",(char *) "rect", NULL
8273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_DrawRectangle",kwnames
,&obj0
,&obj1
)) goto fail
;
8274 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8277 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8281 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
8283 wxPyEndAllowThreads(__tstate
);
8284 if (PyErr_Occurred()) SWIG_fail
;
8286 Py_INCREF(Py_None
); resultobj
= Py_None
;
8293 static PyObject
*_wrap_PseudoMetaFile_DrawRoundedRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8294 PyObject
*resultobj
;
8295 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
8299 PyObject
* obj0
= 0 ;
8300 PyObject
* obj1
= 0 ;
8302 (char *) "self",(char *) "rect",(char *) "radius", NULL
8305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOd:PseudoMetaFile_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
8306 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8309 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8313 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
8315 wxPyEndAllowThreads(__tstate
);
8316 if (PyErr_Occurred()) SWIG_fail
;
8318 Py_INCREF(Py_None
); resultobj
= Py_None
;
8325 static PyObject
*_wrap_PseudoMetaFile_DrawArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8326 PyObject
*resultobj
;
8327 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
8334 PyObject
* obj0
= 0 ;
8335 PyObject
* obj1
= 0 ;
8336 PyObject
* obj2
= 0 ;
8337 PyObject
* obj3
= 0 ;
8339 (char *) "self",(char *) "centrePt",(char *) "startPt",(char *) "endPt", NULL
8342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoMetaFile_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8343 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8346 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8350 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8354 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8358 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
8360 wxPyEndAllowThreads(__tstate
);
8361 if (PyErr_Occurred()) SWIG_fail
;
8363 Py_INCREF(Py_None
); resultobj
= Py_None
;
8370 static PyObject
*_wrap_PseudoMetaFile_DrawEllipticArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8371 PyObject
*resultobj
;
8372 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
8377 PyObject
* obj0
= 0 ;
8378 PyObject
* obj1
= 0 ;
8380 (char *) "self",(char *) "rect",(char *) "startAngle",(char *) "endAngle", NULL
8383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd:PseudoMetaFile_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
)) goto fail
;
8384 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8387 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8391 (arg1
)->DrawEllipticArc((wxRect
const &)*arg2
,arg3
,arg4
);
8393 wxPyEndAllowThreads(__tstate
);
8394 if (PyErr_Occurred()) SWIG_fail
;
8396 Py_INCREF(Py_None
); resultobj
= Py_None
;
8403 static PyObject
*_wrap_PseudoMetaFile_DrawEllipse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8404 PyObject
*resultobj
;
8405 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
8408 PyObject
* obj0
= 0 ;
8409 PyObject
* obj1
= 0 ;
8411 (char *) "self",(char *) "rect", NULL
8414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_DrawEllipse",kwnames
,&obj0
,&obj1
)) goto fail
;
8415 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8418 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8422 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
8424 wxPyEndAllowThreads(__tstate
);
8425 if (PyErr_Occurred()) SWIG_fail
;
8427 Py_INCREF(Py_None
); resultobj
= Py_None
;
8434 static PyObject
*_wrap_PseudoMetaFile_DrawPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8435 PyObject
*resultobj
;
8436 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
8439 PyObject
* obj0
= 0 ;
8440 PyObject
* obj1
= 0 ;
8442 (char *) "self",(char *) "pt", NULL
8445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_DrawPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
8446 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8449 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8453 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
8455 wxPyEndAllowThreads(__tstate
);
8456 if (PyErr_Occurred()) SWIG_fail
;
8458 Py_INCREF(Py_None
); resultobj
= Py_None
;
8465 static PyObject
*_wrap_PseudoMetaFile_DrawText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8466 PyObject
*resultobj
;
8467 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
8468 wxString
*arg2
= 0 ;
8470 bool temp2
= False
;
8472 PyObject
* obj0
= 0 ;
8473 PyObject
* obj1
= 0 ;
8474 PyObject
* obj2
= 0 ;
8476 (char *) "self",(char *) "text",(char *) "pt", NULL
8479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoMetaFile_DrawText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8480 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8482 arg2
= wxString_in_helper(obj1
);
8483 if (arg2
== NULL
) SWIG_fail
;
8488 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8492 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
8494 wxPyEndAllowThreads(__tstate
);
8495 if (PyErr_Occurred()) SWIG_fail
;
8497 Py_INCREF(Py_None
); resultobj
= Py_None
;
8512 static PyObject
*_wrap_PseudoMetaFile_DrawLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8513 PyObject
*resultobj
;
8514 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
8516 wxPoint
*arg3
= (wxPoint
*) 0 ;
8517 PyObject
* obj0
= 0 ;
8518 PyObject
* obj2
= 0 ;
8520 (char *) "self",(char *) "PCOUNT",(char *) "points", NULL
8523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:PseudoMetaFile_DrawLines",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
8524 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8525 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8528 (arg1
)->DrawLines(arg2
,arg3
);
8530 wxPyEndAllowThreads(__tstate
);
8531 if (PyErr_Occurred()) SWIG_fail
;
8533 Py_INCREF(Py_None
); resultobj
= Py_None
;
8540 static PyObject
*_wrap_PseudoMetaFile_DrawPolygon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8541 PyObject
*resultobj
;
8542 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
8544 wxPoint
*arg3
= (wxPoint
*) 0 ;
8545 int arg4
= (int) 0 ;
8546 PyObject
* obj0
= 0 ;
8547 PyObject
* obj2
= 0 ;
8549 (char *) "self",(char *) "PCOUNT",(char *) "points",(char *) "flags", NULL
8552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|i:PseudoMetaFile_DrawPolygon",kwnames
,&obj0
,&arg2
,&obj2
,&arg4
)) goto fail
;
8553 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8554 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8557 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
);
8559 wxPyEndAllowThreads(__tstate
);
8560 if (PyErr_Occurred()) SWIG_fail
;
8562 Py_INCREF(Py_None
); resultobj
= Py_None
;
8569 static PyObject
*_wrap_PseudoMetaFile_DrawSpline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8570 PyObject
*resultobj
;
8571 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
8573 wxPoint
*arg3
= (wxPoint
*) 0 ;
8574 PyObject
* obj0
= 0 ;
8575 PyObject
* obj2
= 0 ;
8577 (char *) "self",(char *) "PCOUNT",(char *) "points", NULL
8580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:PseudoMetaFile_DrawSpline",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
8581 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8582 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8585 (arg1
)->DrawSpline(arg2
,arg3
);
8587 wxPyEndAllowThreads(__tstate
);
8588 if (PyErr_Occurred()) SWIG_fail
;
8590 Py_INCREF(Py_None
); resultobj
= Py_None
;
8597 static PyObject
*_wrap_PseudoMetaFile_SetClippingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8598 PyObject
*resultobj
;
8599 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
8602 PyObject
* obj0
= 0 ;
8603 PyObject
* obj1
= 0 ;
8605 (char *) "self",(char *) "rect", NULL
8608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_SetClippingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
8609 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8612 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8616 (arg1
)->SetClippingRect((wxRect
const &)*arg2
);
8618 wxPyEndAllowThreads(__tstate
);
8619 if (PyErr_Occurred()) SWIG_fail
;
8621 Py_INCREF(Py_None
); resultobj
= Py_None
;
8628 static PyObject
*_wrap_PseudoMetaFile_DestroyClippingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8629 PyObject
*resultobj
;
8630 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
8631 PyObject
* obj0
= 0 ;
8633 (char *) "self", NULL
8636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PseudoMetaFile_DestroyClippingRect",kwnames
,&obj0
)) goto fail
;
8637 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8640 (arg1
)->DestroyClippingRect();
8642 wxPyEndAllowThreads(__tstate
);
8643 if (PyErr_Occurred()) SWIG_fail
;
8645 Py_INCREF(Py_None
); resultobj
= Py_None
;
8652 static PyObject
*_wrap_PseudoMetaFile_SetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8653 PyObject
*resultobj
;
8654 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
8655 wxPen
*arg2
= (wxPen
*) 0 ;
8656 bool arg3
= (bool) FALSE
;
8657 PyObject
* obj0
= 0 ;
8658 PyObject
* obj1
= 0 ;
8659 PyObject
* obj2
= 0 ;
8661 (char *) "self",(char *) "pen",(char *) "isOutline", NULL
8664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PseudoMetaFile_SetPen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8665 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8669 if (obj1
== Py_None
) {
8672 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxPen"))) {
8673 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxPen.");
8678 arg2
= wxThePenList
->FindOrCreatePen(temp
->GetColour(),
8685 arg3
= PyInt_AsLong(obj2
) ? true : false;
8686 if (PyErr_Occurred()) SWIG_fail
;
8689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8690 (arg1
)->SetPen(arg2
,arg3
);
8692 wxPyEndAllowThreads(__tstate
);
8693 if (PyErr_Occurred()) SWIG_fail
;
8695 Py_INCREF(Py_None
); resultobj
= Py_None
;
8702 static PyObject
*_wrap_PseudoMetaFile_SetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8703 PyObject
*resultobj
;
8704 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
8705 wxBrush
*arg2
= (wxBrush
*) 0 ;
8706 bool arg3
= (bool) FALSE
;
8707 PyObject
* obj0
= 0 ;
8708 PyObject
* obj1
= 0 ;
8709 PyObject
* obj2
= 0 ;
8711 (char *) "self",(char *) "brush",(char *) "isFill", NULL
8714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PseudoMetaFile_SetBrush",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8715 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8719 if (obj1
== Py_None
) {
8722 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxBrush"))) {
8723 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxBrush.");
8728 arg2
= wxTheBrushList
->FindOrCreateBrush(temp
->GetColour(), temp
->GetStyle());
8733 arg3
= PyInt_AsLong(obj2
) ? true : false;
8734 if (PyErr_Occurred()) SWIG_fail
;
8737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8738 (arg1
)->SetBrush(arg2
,arg3
);
8740 wxPyEndAllowThreads(__tstate
);
8741 if (PyErr_Occurred()) SWIG_fail
;
8743 Py_INCREF(Py_None
); resultobj
= Py_None
;
8750 static PyObject
*_wrap_PseudoMetaFile_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8751 PyObject
*resultobj
;
8752 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
8753 wxFont
*arg2
= (wxFont
*) 0 ;
8754 PyObject
* obj0
= 0 ;
8755 PyObject
* obj1
= 0 ;
8757 (char *) "self",(char *) "font", NULL
8760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
8761 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8765 if (obj1
== Py_None
) {
8768 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxFont"))) {
8769 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxFont.");
8774 arg2
= wxTheFontList
->FindOrCreateFont(temp
->GetPointSize(),
8778 temp
->GetUnderlined(),
8779 temp
->GetFaceName(),
8780 temp
->GetEncoding());
8785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8786 (arg1
)->SetFont(arg2
);
8788 wxPyEndAllowThreads(__tstate
);
8789 if (PyErr_Occurred()) SWIG_fail
;
8791 Py_INCREF(Py_None
); resultobj
= Py_None
;
8798 static PyObject
*_wrap_PseudoMetaFile_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8799 PyObject
*resultobj
;
8800 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
8801 wxColour
*arg2
= 0 ;
8803 PyObject
* obj0
= 0 ;
8804 PyObject
* obj1
= 0 ;
8806 (char *) "self",(char *) "colour", NULL
8809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
8810 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8813 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8817 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
8819 wxPyEndAllowThreads(__tstate
);
8820 if (PyErr_Occurred()) SWIG_fail
;
8822 Py_INCREF(Py_None
); resultobj
= Py_None
;
8829 static PyObject
*_wrap_PseudoMetaFile_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8830 PyObject
*resultobj
;
8831 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
8832 wxColour
*arg2
= 0 ;
8834 PyObject
* obj0
= 0 ;
8835 PyObject
* obj1
= 0 ;
8837 (char *) "self",(char *) "colour", NULL
8840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
8841 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8844 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8848 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
8850 wxPyEndAllowThreads(__tstate
);
8851 if (PyErr_Occurred()) SWIG_fail
;
8853 Py_INCREF(Py_None
); resultobj
= Py_None
;
8860 static PyObject
*_wrap_PseudoMetaFile_SetBackgroundMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8861 PyObject
*resultobj
;
8862 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
8864 PyObject
* obj0
= 0 ;
8866 (char *) "self",(char *) "mode", NULL
8869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PseudoMetaFile_SetBackgroundMode",kwnames
,&obj0
,&arg2
)) goto fail
;
8870 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8873 (arg1
)->SetBackgroundMode(arg2
);
8875 wxPyEndAllowThreads(__tstate
);
8876 if (PyErr_Occurred()) SWIG_fail
;
8878 Py_INCREF(Py_None
); resultobj
= Py_None
;
8885 static PyObject
* PseudoMetaFile_swigregister(PyObject
*self
, PyObject
*args
) {
8887 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8888 SWIG_TypeClientData(SWIGTYPE_p_wxPseudoMetaFile
, obj
);
8890 return Py_BuildValue((char *)"");
8892 static PyObject
*_wrap_new_PyRectangleShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8893 PyObject
*resultobj
;
8894 double arg1
= (double) 0.0 ;
8895 double arg2
= (double) 0.0 ;
8896 wxPyRectangleShape
*result
;
8898 (char *) "width",(char *) "height", NULL
8901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|dd:new_PyRectangleShape",kwnames
,&arg1
,&arg2
)) goto fail
;
8903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8904 result
= (wxPyRectangleShape
*)new wxPyRectangleShape(arg1
,arg2
);
8906 wxPyEndAllowThreads(__tstate
);
8907 if (PyErr_Occurred()) SWIG_fail
;
8909 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyRectangleShape
, 1);
8916 static PyObject
*_wrap_PyRectangleShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8917 PyObject
*resultobj
;
8918 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
8919 PyObject
*arg2
= (PyObject
*) 0 ;
8920 PyObject
*arg3
= (PyObject
*) 0 ;
8921 PyObject
* obj0
= 0 ;
8922 PyObject
* obj1
= 0 ;
8923 PyObject
* obj2
= 0 ;
8925 (char *) "self",(char *) "self",(char *) "_class", NULL
8928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyRectangleShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8929 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8934 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8936 wxPyEndAllowThreads(__tstate
);
8937 if (PyErr_Occurred()) SWIG_fail
;
8939 Py_INCREF(Py_None
); resultobj
= Py_None
;
8946 static PyObject
*_wrap_PyRectangleShape_SetCornerRadius(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8947 PyObject
*resultobj
;
8948 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
8950 PyObject
* obj0
= 0 ;
8952 (char *) "self",(char *) "radius", NULL
8955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Od:PyRectangleShape_SetCornerRadius",kwnames
,&obj0
,&arg2
)) goto fail
;
8956 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8959 (arg1
)->SetCornerRadius(arg2
);
8961 wxPyEndAllowThreads(__tstate
);
8962 if (PyErr_Occurred()) SWIG_fail
;
8964 Py_INCREF(Py_None
); resultobj
= Py_None
;
8971 static PyObject
*_wrap_PyRectangleShape_base_OnDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8972 PyObject
*resultobj
;
8973 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
8974 PyObject
* obj0
= 0 ;
8976 (char *) "self", NULL
8979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyRectangleShape_base_OnDelete",kwnames
,&obj0
)) goto fail
;
8980 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8983 (arg1
)->base_OnDelete();
8985 wxPyEndAllowThreads(__tstate
);
8986 if (PyErr_Occurred()) SWIG_fail
;
8988 Py_INCREF(Py_None
); resultobj
= Py_None
;
8995 static PyObject
*_wrap_PyRectangleShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8996 PyObject
*resultobj
;
8997 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
8999 PyObject
* obj0
= 0 ;
9000 PyObject
* obj1
= 0 ;
9002 (char *) "self",(char *) "dc", NULL
9005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyRectangleShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
9006 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9007 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9009 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9013 (arg1
)->base_OnDraw(*arg2
);
9015 wxPyEndAllowThreads(__tstate
);
9016 if (PyErr_Occurred()) SWIG_fail
;
9018 Py_INCREF(Py_None
); resultobj
= Py_None
;
9025 static PyObject
*_wrap_PyRectangleShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9026 PyObject
*resultobj
;
9027 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
9029 PyObject
* obj0
= 0 ;
9030 PyObject
* obj1
= 0 ;
9032 (char *) "self",(char *) "dc", NULL
9035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyRectangleShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
9036 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9037 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9039 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9043 (arg1
)->base_OnDrawContents(*arg2
);
9045 wxPyEndAllowThreads(__tstate
);
9046 if (PyErr_Occurred()) SWIG_fail
;
9048 Py_INCREF(Py_None
); resultobj
= Py_None
;
9055 static PyObject
*_wrap_PyRectangleShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9056 PyObject
*resultobj
;
9057 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
9059 bool arg3
= (bool) FALSE
;
9060 PyObject
* obj0
= 0 ;
9061 PyObject
* obj1
= 0 ;
9062 PyObject
* obj2
= 0 ;
9064 (char *) "self",(char *) "dc",(char *) "erase", NULL
9067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyRectangleShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9068 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9069 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9071 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9074 arg3
= PyInt_AsLong(obj2
) ? true : false;
9075 if (PyErr_Occurred()) SWIG_fail
;
9078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9079 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
9081 wxPyEndAllowThreads(__tstate
);
9082 if (PyErr_Occurred()) SWIG_fail
;
9084 Py_INCREF(Py_None
); resultobj
= Py_None
;
9091 static PyObject
*_wrap_PyRectangleShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9092 PyObject
*resultobj
;
9093 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
9095 PyObject
* obj0
= 0 ;
9096 PyObject
* obj1
= 0 ;
9098 (char *) "self",(char *) "dc", NULL
9101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyRectangleShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
9102 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9103 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9105 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9109 (arg1
)->base_OnMoveLinks(*arg2
);
9111 wxPyEndAllowThreads(__tstate
);
9112 if (PyErr_Occurred()) SWIG_fail
;
9114 Py_INCREF(Py_None
); resultobj
= Py_None
;
9121 static PyObject
*_wrap_PyRectangleShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9122 PyObject
*resultobj
;
9123 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
9125 PyObject
* obj0
= 0 ;
9126 PyObject
* obj1
= 0 ;
9128 (char *) "self",(char *) "dc", NULL
9131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyRectangleShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
9132 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9133 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9135 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9139 (arg1
)->base_OnErase(*arg2
);
9141 wxPyEndAllowThreads(__tstate
);
9142 if (PyErr_Occurred()) SWIG_fail
;
9144 Py_INCREF(Py_None
); resultobj
= Py_None
;
9151 static PyObject
*_wrap_PyRectangleShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9152 PyObject
*resultobj
;
9153 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
9155 PyObject
* obj0
= 0 ;
9156 PyObject
* obj1
= 0 ;
9158 (char *) "self",(char *) "dc", NULL
9161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyRectangleShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
9162 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9163 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9165 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9169 (arg1
)->base_OnEraseContents(*arg2
);
9171 wxPyEndAllowThreads(__tstate
);
9172 if (PyErr_Occurred()) SWIG_fail
;
9174 Py_INCREF(Py_None
); resultobj
= Py_None
;
9181 static PyObject
*_wrap_PyRectangleShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9182 PyObject
*resultobj
;
9183 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
9185 PyObject
* obj0
= 0 ;
9186 PyObject
* obj1
= 0 ;
9188 (char *) "self",(char *) "dc", NULL
9191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyRectangleShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
9192 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9193 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9195 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9199 (arg1
)->base_OnHighlight(*arg2
);
9201 wxPyEndAllowThreads(__tstate
);
9202 if (PyErr_Occurred()) SWIG_fail
;
9204 Py_INCREF(Py_None
); resultobj
= Py_None
;
9211 static PyObject
*_wrap_PyRectangleShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9212 PyObject
*resultobj
;
9213 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
9216 int arg4
= (int) 0 ;
9217 int arg5
= (int) 0 ;
9218 PyObject
* obj0
= 0 ;
9220 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
9223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyRectangleShape_base_OnLeftClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
9224 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9227 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
9229 wxPyEndAllowThreads(__tstate
);
9230 if (PyErr_Occurred()) SWIG_fail
;
9232 Py_INCREF(Py_None
); resultobj
= Py_None
;
9239 static PyObject
*_wrap_PyRectangleShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9240 PyObject
*resultobj
;
9241 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
9244 int arg4
= (int) 0 ;
9245 int arg5
= (int) 0 ;
9246 PyObject
* obj0
= 0 ;
9248 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
9251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyRectangleShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
9252 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9255 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
9257 wxPyEndAllowThreads(__tstate
);
9258 if (PyErr_Occurred()) SWIG_fail
;
9260 Py_INCREF(Py_None
); resultobj
= Py_None
;
9267 static PyObject
*_wrap_PyRectangleShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9268 PyObject
*resultobj
;
9269 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
9272 int arg4
= (int) 0 ;
9273 int arg5
= (int) 0 ;
9274 PyObject
* obj0
= 0 ;
9276 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
9279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyRectangleShape_base_OnRightClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
9280 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9283 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
9285 wxPyEndAllowThreads(__tstate
);
9286 if (PyErr_Occurred()) SWIG_fail
;
9288 Py_INCREF(Py_None
); resultobj
= Py_None
;
9295 static PyObject
*_wrap_PyRectangleShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9296 PyObject
*resultobj
;
9297 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
9300 PyObject
* obj0
= 0 ;
9302 (char *) "self",(char *) "x",(char *) "y", NULL
9305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyRectangleShape_base_OnSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
9306 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9309 (arg1
)->base_OnSize(arg2
,arg3
);
9311 wxPyEndAllowThreads(__tstate
);
9312 if (PyErr_Occurred()) SWIG_fail
;
9314 Py_INCREF(Py_None
); resultobj
= Py_None
;
9321 static PyObject
*_wrap_PyRectangleShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9322 PyObject
*resultobj
;
9323 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
9329 bool arg7
= (bool) True
;
9331 PyObject
* obj0
= 0 ;
9332 PyObject
* obj1
= 0 ;
9333 PyObject
* obj6
= 0 ;
9335 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
9338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd|O:PyRectangleShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
)) goto fail
;
9339 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9340 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9342 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9345 arg7
= PyInt_AsLong(obj6
) ? true : false;
9346 if (PyErr_Occurred()) SWIG_fail
;
9349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9350 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
9352 wxPyEndAllowThreads(__tstate
);
9353 if (PyErr_Occurred()) SWIG_fail
;
9355 resultobj
= PyInt_FromLong((long)result
);
9362 static PyObject
*_wrap_PyRectangleShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9363 PyObject
*resultobj
;
9364 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
9370 bool arg7
= (bool) True
;
9371 PyObject
* obj0
= 0 ;
9372 PyObject
* obj1
= 0 ;
9373 PyObject
* obj6
= 0 ;
9375 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
9378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd|O:PyRectangleShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
)) goto fail
;
9379 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9380 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9382 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9385 arg7
= PyInt_AsLong(obj6
) ? true : false;
9386 if (PyErr_Occurred()) SWIG_fail
;
9389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9390 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
9392 wxPyEndAllowThreads(__tstate
);
9393 if (PyErr_Occurred()) SWIG_fail
;
9395 Py_INCREF(Py_None
); resultobj
= Py_None
;
9402 static PyObject
*_wrap_PyRectangleShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9403 PyObject
*resultobj
;
9404 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
9408 int arg5
= (int) 0 ;
9409 int arg6
= (int) 0 ;
9410 PyObject
* obj0
= 0 ;
9411 PyObject
* obj1
= 0 ;
9413 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
9416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyRectangleShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
9417 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9418 arg2
= PyInt_AsLong(obj1
) ? true : false;
9419 if (PyErr_Occurred()) SWIG_fail
;
9421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9422 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
9424 wxPyEndAllowThreads(__tstate
);
9425 if (PyErr_Occurred()) SWIG_fail
;
9427 Py_INCREF(Py_None
); resultobj
= Py_None
;
9434 static PyObject
*_wrap_PyRectangleShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9435 PyObject
*resultobj
;
9436 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
9439 int arg4
= (int) 0 ;
9440 int arg5
= (int) 0 ;
9441 PyObject
* obj0
= 0 ;
9443 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
9446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyRectangleShape_base_OnBeginDragLeft",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
9447 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9450 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
9452 wxPyEndAllowThreads(__tstate
);
9453 if (PyErr_Occurred()) SWIG_fail
;
9455 Py_INCREF(Py_None
); resultobj
= Py_None
;
9462 static PyObject
*_wrap_PyRectangleShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9463 PyObject
*resultobj
;
9464 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
9467 int arg4
= (int) 0 ;
9468 int arg5
= (int) 0 ;
9469 PyObject
* obj0
= 0 ;
9471 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
9474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyRectangleShape_base_OnEndDragLeft",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
9475 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9478 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
9480 wxPyEndAllowThreads(__tstate
);
9481 if (PyErr_Occurred()) SWIG_fail
;
9483 Py_INCREF(Py_None
); resultobj
= Py_None
;
9490 static PyObject
*_wrap_PyRectangleShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9491 PyObject
*resultobj
;
9492 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
9496 int arg5
= (int) 0 ;
9497 int arg6
= (int) 0 ;
9498 PyObject
* obj0
= 0 ;
9499 PyObject
* obj1
= 0 ;
9501 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
9504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyRectangleShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
9505 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9506 arg2
= PyInt_AsLong(obj1
) ? true : false;
9507 if (PyErr_Occurred()) SWIG_fail
;
9509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9510 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
9512 wxPyEndAllowThreads(__tstate
);
9513 if (PyErr_Occurred()) SWIG_fail
;
9515 Py_INCREF(Py_None
); resultobj
= Py_None
;
9522 static PyObject
*_wrap_PyRectangleShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9523 PyObject
*resultobj
;
9524 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
9527 int arg4
= (int) 0 ;
9528 int arg5
= (int) 0 ;
9529 PyObject
* obj0
= 0 ;
9531 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
9534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyRectangleShape_base_OnBeginDragRight",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
9535 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9538 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
9540 wxPyEndAllowThreads(__tstate
);
9541 if (PyErr_Occurred()) SWIG_fail
;
9543 Py_INCREF(Py_None
); resultobj
= Py_None
;
9550 static PyObject
*_wrap_PyRectangleShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9551 PyObject
*resultobj
;
9552 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
9555 int arg4
= (int) 0 ;
9556 int arg5
= (int) 0 ;
9557 PyObject
* obj0
= 0 ;
9559 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
9562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyRectangleShape_base_OnEndDragRight",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
9563 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9566 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
9568 wxPyEndAllowThreads(__tstate
);
9569 if (PyErr_Occurred()) SWIG_fail
;
9571 Py_INCREF(Py_None
); resultobj
= Py_None
;
9578 static PyObject
*_wrap_PyRectangleShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9579 PyObject
*resultobj
;
9580 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
9586 PyObject
* obj0
= 0 ;
9587 PyObject
* obj1
= 0 ;
9589 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
9592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd:PyRectangleShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
9593 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9594 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9596 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9600 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
9602 wxPyEndAllowThreads(__tstate
);
9603 if (PyErr_Occurred()) SWIG_fail
;
9605 Py_INCREF(Py_None
); resultobj
= Py_None
;
9612 static PyObject
*_wrap_PyRectangleShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9613 PyObject
*resultobj
;
9614 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
9616 PyObject
* obj0
= 0 ;
9617 PyObject
* obj1
= 0 ;
9619 (char *) "self",(char *) "dc", NULL
9622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyRectangleShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
9623 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9624 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9626 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9630 (arg1
)->base_OnDrawControlPoints(*arg2
);
9632 wxPyEndAllowThreads(__tstate
);
9633 if (PyErr_Occurred()) SWIG_fail
;
9635 Py_INCREF(Py_None
); resultobj
= Py_None
;
9642 static PyObject
*_wrap_PyRectangleShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9643 PyObject
*resultobj
;
9644 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
9646 PyObject
* obj0
= 0 ;
9647 PyObject
* obj1
= 0 ;
9649 (char *) "self",(char *) "dc", NULL
9652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyRectangleShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
9653 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9654 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9656 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9660 (arg1
)->base_OnEraseControlPoints(*arg2
);
9662 wxPyEndAllowThreads(__tstate
);
9663 if (PyErr_Occurred()) SWIG_fail
;
9665 Py_INCREF(Py_None
); resultobj
= Py_None
;
9672 static PyObject
*_wrap_PyRectangleShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9673 PyObject
*resultobj
;
9674 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
9676 bool arg3
= (bool) True
;
9677 PyObject
* obj0
= 0 ;
9678 PyObject
* obj1
= 0 ;
9679 PyObject
* obj2
= 0 ;
9681 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
9684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyRectangleShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9685 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9686 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9688 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9691 arg3
= PyInt_AsLong(obj2
) ? true : false;
9692 if (PyErr_Occurred()) SWIG_fail
;
9695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9696 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
9698 wxPyEndAllowThreads(__tstate
);
9699 if (PyErr_Occurred()) SWIG_fail
;
9701 Py_INCREF(Py_None
); resultobj
= Py_None
;
9708 static PyObject
*_wrap_PyRectangleShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9709 PyObject
*resultobj
;
9710 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
9711 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
9715 int arg6
= (int) 0 ;
9716 int arg7
= (int) 0 ;
9717 PyObject
* obj0
= 0 ;
9718 PyObject
* obj1
= 0 ;
9719 PyObject
* obj2
= 0 ;
9721 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
9724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOdd|ii:PyRectangleShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
,&arg6
,&arg7
)) goto fail
;
9725 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9726 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9727 arg3
= PyInt_AsLong(obj2
) ? true : false;
9728 if (PyErr_Occurred()) SWIG_fail
;
9730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9731 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
9733 wxPyEndAllowThreads(__tstate
);
9734 if (PyErr_Occurred()) SWIG_fail
;
9736 Py_INCREF(Py_None
); resultobj
= Py_None
;
9743 static PyObject
*_wrap_PyRectangleShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9744 PyObject
*resultobj
;
9745 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
9746 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
9749 int arg5
= (int) 0 ;
9750 int arg6
= (int) 0 ;
9751 PyObject
* obj0
= 0 ;
9752 PyObject
* obj1
= 0 ;
9754 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
9757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyRectangleShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
9758 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9759 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9762 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
9764 wxPyEndAllowThreads(__tstate
);
9765 if (PyErr_Occurred()) SWIG_fail
;
9767 Py_INCREF(Py_None
); resultobj
= Py_None
;
9774 static PyObject
*_wrap_PyRectangleShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9775 PyObject
*resultobj
;
9776 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
9777 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
9780 int arg5
= (int) 0 ;
9781 int arg6
= (int) 0 ;
9782 PyObject
* obj0
= 0 ;
9783 PyObject
* obj1
= 0 ;
9785 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
9788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyRectangleShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
9789 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9790 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9793 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
9795 wxPyEndAllowThreads(__tstate
);
9796 if (PyErr_Occurred()) SWIG_fail
;
9798 Py_INCREF(Py_None
); resultobj
= Py_None
;
9805 static PyObject
*_wrap_PyRectangleShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9806 PyObject
*resultobj
;
9807 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
9810 PyObject
* obj0
= 0 ;
9812 (char *) "self",(char *) "w",(char *) "h", NULL
9815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyRectangleShape_base_OnBeginSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
9816 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9819 (arg1
)->base_OnBeginSize(arg2
,arg3
);
9821 wxPyEndAllowThreads(__tstate
);
9822 if (PyErr_Occurred()) SWIG_fail
;
9824 Py_INCREF(Py_None
); resultobj
= Py_None
;
9831 static PyObject
*_wrap_PyRectangleShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9832 PyObject
*resultobj
;
9833 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
9836 PyObject
* obj0
= 0 ;
9838 (char *) "self",(char *) "w",(char *) "h", NULL
9841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyRectangleShape_base_OnEndSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
9842 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9845 (arg1
)->base_OnEndSize(arg2
,arg3
);
9847 wxPyEndAllowThreads(__tstate
);
9848 if (PyErr_Occurred()) SWIG_fail
;
9850 Py_INCREF(Py_None
); resultobj
= Py_None
;
9857 static PyObject
* PyRectangleShape_swigregister(PyObject
*self
, PyObject
*args
) {
9859 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9860 SWIG_TypeClientData(SWIGTYPE_p_wxPyRectangleShape
, obj
);
9862 return Py_BuildValue((char *)"");
9864 static PyObject
*_wrap_new_PyControlPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9865 PyObject
*resultobj
;
9866 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) NULL
;
9867 wxPyShape
*arg2
= (wxPyShape
*) NULL
;
9868 double arg3
= (double) 0.0 ;
9869 double arg4
= (double) 0.0 ;
9870 double arg5
= (double) 0.0 ;
9871 int arg6
= (int) 0 ;
9872 wxPyControlPoint
*result
;
9873 PyObject
* obj0
= 0 ;
9874 PyObject
* obj1
= 0 ;
9876 (char *) "the_canvas",(char *) "object",(char *) "size",(char *) "the_xoffset",(char *) "the_yoffset",(char *) "the_type", NULL
9879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOdddi:new_PyControlPoint",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
9881 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9884 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9888 result
= (wxPyControlPoint
*)new wxPyControlPoint(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
9890 wxPyEndAllowThreads(__tstate
);
9891 if (PyErr_Occurred()) SWIG_fail
;
9893 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyControlPoint
, 1);
9900 static PyObject
*_wrap_PyControlPoint__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9901 PyObject
*resultobj
;
9902 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
9903 PyObject
*arg2
= (PyObject
*) 0 ;
9904 PyObject
*arg3
= (PyObject
*) 0 ;
9905 PyObject
* obj0
= 0 ;
9906 PyObject
* obj1
= 0 ;
9907 PyObject
* obj2
= 0 ;
9909 (char *) "self",(char *) "self",(char *) "_class", NULL
9912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControlPoint__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9913 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9918 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9920 wxPyEndAllowThreads(__tstate
);
9921 if (PyErr_Occurred()) SWIG_fail
;
9923 Py_INCREF(Py_None
); resultobj
= Py_None
;
9930 static PyObject
*_wrap_PyControlPoint_SetCornerRadius(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9931 PyObject
*resultobj
;
9932 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
9934 PyObject
* obj0
= 0 ;
9936 (char *) "self",(char *) "radius", NULL
9939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Od:PyControlPoint_SetCornerRadius",kwnames
,&obj0
,&arg2
)) goto fail
;
9940 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9943 (arg1
)->SetCornerRadius(arg2
);
9945 wxPyEndAllowThreads(__tstate
);
9946 if (PyErr_Occurred()) SWIG_fail
;
9948 Py_INCREF(Py_None
); resultobj
= Py_None
;
9955 static PyObject
*_wrap_PyControlPoint_base_OnDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9956 PyObject
*resultobj
;
9957 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
9958 PyObject
* obj0
= 0 ;
9960 (char *) "self", NULL
9963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControlPoint_base_OnDelete",kwnames
,&obj0
)) goto fail
;
9964 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9967 (arg1
)->base_OnDelete();
9969 wxPyEndAllowThreads(__tstate
);
9970 if (PyErr_Occurred()) SWIG_fail
;
9972 Py_INCREF(Py_None
); resultobj
= Py_None
;
9979 static PyObject
*_wrap_PyControlPoint_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9980 PyObject
*resultobj
;
9981 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
9983 PyObject
* obj0
= 0 ;
9984 PyObject
* obj1
= 0 ;
9986 (char *) "self",(char *) "dc", NULL
9989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControlPoint_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
9990 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9991 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9993 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9997 (arg1
)->base_OnDraw(*arg2
);
9999 wxPyEndAllowThreads(__tstate
);
10000 if (PyErr_Occurred()) SWIG_fail
;
10002 Py_INCREF(Py_None
); resultobj
= Py_None
;
10009 static PyObject
*_wrap_PyControlPoint_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10010 PyObject
*resultobj
;
10011 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
10013 PyObject
* obj0
= 0 ;
10014 PyObject
* obj1
= 0 ;
10015 char *kwnames
[] = {
10016 (char *) "self",(char *) "dc", NULL
10019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControlPoint_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
10020 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10021 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10022 if (arg2
== NULL
) {
10023 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10027 (arg1
)->base_OnDrawContents(*arg2
);
10029 wxPyEndAllowThreads(__tstate
);
10030 if (PyErr_Occurred()) SWIG_fail
;
10032 Py_INCREF(Py_None
); resultobj
= Py_None
;
10039 static PyObject
*_wrap_PyControlPoint_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10040 PyObject
*resultobj
;
10041 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
10043 bool arg3
= (bool) FALSE
;
10044 PyObject
* obj0
= 0 ;
10045 PyObject
* obj1
= 0 ;
10046 PyObject
* obj2
= 0 ;
10047 char *kwnames
[] = {
10048 (char *) "self",(char *) "dc",(char *) "erase", NULL
10051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyControlPoint_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10052 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10053 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10054 if (arg2
== NULL
) {
10055 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10058 arg3
= PyInt_AsLong(obj2
) ? true : false;
10059 if (PyErr_Occurred()) SWIG_fail
;
10062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10063 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
10065 wxPyEndAllowThreads(__tstate
);
10066 if (PyErr_Occurred()) SWIG_fail
;
10068 Py_INCREF(Py_None
); resultobj
= Py_None
;
10075 static PyObject
*_wrap_PyControlPoint_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10076 PyObject
*resultobj
;
10077 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
10079 PyObject
* obj0
= 0 ;
10080 PyObject
* obj1
= 0 ;
10081 char *kwnames
[] = {
10082 (char *) "self",(char *) "dc", NULL
10085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControlPoint_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
10086 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10087 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10088 if (arg2
== NULL
) {
10089 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10093 (arg1
)->base_OnMoveLinks(*arg2
);
10095 wxPyEndAllowThreads(__tstate
);
10096 if (PyErr_Occurred()) SWIG_fail
;
10098 Py_INCREF(Py_None
); resultobj
= Py_None
;
10105 static PyObject
*_wrap_PyControlPoint_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10106 PyObject
*resultobj
;
10107 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
10109 PyObject
* obj0
= 0 ;
10110 PyObject
* obj1
= 0 ;
10111 char *kwnames
[] = {
10112 (char *) "self",(char *) "dc", NULL
10115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControlPoint_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
10116 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10117 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10118 if (arg2
== NULL
) {
10119 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10123 (arg1
)->base_OnErase(*arg2
);
10125 wxPyEndAllowThreads(__tstate
);
10126 if (PyErr_Occurred()) SWIG_fail
;
10128 Py_INCREF(Py_None
); resultobj
= Py_None
;
10135 static PyObject
*_wrap_PyControlPoint_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10136 PyObject
*resultobj
;
10137 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
10139 PyObject
* obj0
= 0 ;
10140 PyObject
* obj1
= 0 ;
10141 char *kwnames
[] = {
10142 (char *) "self",(char *) "dc", NULL
10145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControlPoint_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
10146 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10147 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10148 if (arg2
== NULL
) {
10149 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10153 (arg1
)->base_OnEraseContents(*arg2
);
10155 wxPyEndAllowThreads(__tstate
);
10156 if (PyErr_Occurred()) SWIG_fail
;
10158 Py_INCREF(Py_None
); resultobj
= Py_None
;
10165 static PyObject
*_wrap_PyControlPoint_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10166 PyObject
*resultobj
;
10167 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
10169 PyObject
* obj0
= 0 ;
10170 PyObject
* obj1
= 0 ;
10171 char *kwnames
[] = {
10172 (char *) "self",(char *) "dc", NULL
10175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControlPoint_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
10176 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10177 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10178 if (arg2
== NULL
) {
10179 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10183 (arg1
)->base_OnHighlight(*arg2
);
10185 wxPyEndAllowThreads(__tstate
);
10186 if (PyErr_Occurred()) SWIG_fail
;
10188 Py_INCREF(Py_None
); resultobj
= Py_None
;
10195 static PyObject
*_wrap_PyControlPoint_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10196 PyObject
*resultobj
;
10197 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
10200 int arg4
= (int) 0 ;
10201 int arg5
= (int) 0 ;
10202 PyObject
* obj0
= 0 ;
10203 char *kwnames
[] = {
10204 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
10207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyControlPoint_base_OnLeftClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
10208 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10211 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
10213 wxPyEndAllowThreads(__tstate
);
10214 if (PyErr_Occurred()) SWIG_fail
;
10216 Py_INCREF(Py_None
); resultobj
= Py_None
;
10223 static PyObject
*_wrap_PyControlPoint_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10224 PyObject
*resultobj
;
10225 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
10228 int arg4
= (int) 0 ;
10229 int arg5
= (int) 0 ;
10230 PyObject
* obj0
= 0 ;
10231 char *kwnames
[] = {
10232 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
10235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyControlPoint_base_OnLeftDoubleClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
10236 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10239 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
10241 wxPyEndAllowThreads(__tstate
);
10242 if (PyErr_Occurred()) SWIG_fail
;
10244 Py_INCREF(Py_None
); resultobj
= Py_None
;
10251 static PyObject
*_wrap_PyControlPoint_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10252 PyObject
*resultobj
;
10253 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
10256 int arg4
= (int) 0 ;
10257 int arg5
= (int) 0 ;
10258 PyObject
* obj0
= 0 ;
10259 char *kwnames
[] = {
10260 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
10263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyControlPoint_base_OnRightClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
10264 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10267 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
10269 wxPyEndAllowThreads(__tstate
);
10270 if (PyErr_Occurred()) SWIG_fail
;
10272 Py_INCREF(Py_None
); resultobj
= Py_None
;
10279 static PyObject
*_wrap_PyControlPoint_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10280 PyObject
*resultobj
;
10281 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
10284 PyObject
* obj0
= 0 ;
10285 char *kwnames
[] = {
10286 (char *) "self",(char *) "x",(char *) "y", NULL
10289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyControlPoint_base_OnSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
10290 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10293 (arg1
)->base_OnSize(arg2
,arg3
);
10295 wxPyEndAllowThreads(__tstate
);
10296 if (PyErr_Occurred()) SWIG_fail
;
10298 Py_INCREF(Py_None
); resultobj
= Py_None
;
10305 static PyObject
*_wrap_PyControlPoint_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10306 PyObject
*resultobj
;
10307 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
10313 bool arg7
= (bool) True
;
10315 PyObject
* obj0
= 0 ;
10316 PyObject
* obj1
= 0 ;
10317 PyObject
* obj6
= 0 ;
10318 char *kwnames
[] = {
10319 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
10322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd|O:PyControlPoint_base_OnMovePre",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
)) goto fail
;
10323 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10324 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10325 if (arg2
== NULL
) {
10326 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10329 arg7
= PyInt_AsLong(obj6
) ? true : false;
10330 if (PyErr_Occurred()) SWIG_fail
;
10333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10334 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10336 wxPyEndAllowThreads(__tstate
);
10337 if (PyErr_Occurred()) SWIG_fail
;
10339 resultobj
= PyInt_FromLong((long)result
);
10346 static PyObject
*_wrap_PyControlPoint_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10347 PyObject
*resultobj
;
10348 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
10354 bool arg7
= (bool) True
;
10355 PyObject
* obj0
= 0 ;
10356 PyObject
* obj1
= 0 ;
10357 PyObject
* obj6
= 0 ;
10358 char *kwnames
[] = {
10359 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
10362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd|O:PyControlPoint_base_OnMovePost",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
)) goto fail
;
10363 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10364 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10365 if (arg2
== NULL
) {
10366 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10369 arg7
= PyInt_AsLong(obj6
) ? true : false;
10370 if (PyErr_Occurred()) SWIG_fail
;
10373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10374 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10376 wxPyEndAllowThreads(__tstate
);
10377 if (PyErr_Occurred()) SWIG_fail
;
10379 Py_INCREF(Py_None
); resultobj
= Py_None
;
10386 static PyObject
*_wrap_PyControlPoint_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10387 PyObject
*resultobj
;
10388 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
10392 int arg5
= (int) 0 ;
10393 int arg6
= (int) 0 ;
10394 PyObject
* obj0
= 0 ;
10395 PyObject
* obj1
= 0 ;
10396 char *kwnames
[] = {
10397 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
10400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyControlPoint_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
10401 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10402 arg2
= PyInt_AsLong(obj1
) ? true : false;
10403 if (PyErr_Occurred()) SWIG_fail
;
10405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10406 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
10408 wxPyEndAllowThreads(__tstate
);
10409 if (PyErr_Occurred()) SWIG_fail
;
10411 Py_INCREF(Py_None
); resultobj
= Py_None
;
10418 static PyObject
*_wrap_PyControlPoint_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10419 PyObject
*resultobj
;
10420 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
10423 int arg4
= (int) 0 ;
10424 int arg5
= (int) 0 ;
10425 PyObject
* obj0
= 0 ;
10426 char *kwnames
[] = {
10427 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
10430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyControlPoint_base_OnBeginDragLeft",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
10431 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10434 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
10436 wxPyEndAllowThreads(__tstate
);
10437 if (PyErr_Occurred()) SWIG_fail
;
10439 Py_INCREF(Py_None
); resultobj
= Py_None
;
10446 static PyObject
*_wrap_PyControlPoint_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10447 PyObject
*resultobj
;
10448 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
10451 int arg4
= (int) 0 ;
10452 int arg5
= (int) 0 ;
10453 PyObject
* obj0
= 0 ;
10454 char *kwnames
[] = {
10455 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
10458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyControlPoint_base_OnEndDragLeft",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
10459 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10462 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
10464 wxPyEndAllowThreads(__tstate
);
10465 if (PyErr_Occurred()) SWIG_fail
;
10467 Py_INCREF(Py_None
); resultobj
= Py_None
;
10474 static PyObject
*_wrap_PyControlPoint_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10475 PyObject
*resultobj
;
10476 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
10480 int arg5
= (int) 0 ;
10481 int arg6
= (int) 0 ;
10482 PyObject
* obj0
= 0 ;
10483 PyObject
* obj1
= 0 ;
10484 char *kwnames
[] = {
10485 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
10488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyControlPoint_base_OnDragRight",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
10489 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10490 arg2
= PyInt_AsLong(obj1
) ? true : false;
10491 if (PyErr_Occurred()) SWIG_fail
;
10493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10494 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
10496 wxPyEndAllowThreads(__tstate
);
10497 if (PyErr_Occurred()) SWIG_fail
;
10499 Py_INCREF(Py_None
); resultobj
= Py_None
;
10506 static PyObject
*_wrap_PyControlPoint_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10507 PyObject
*resultobj
;
10508 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
10511 int arg4
= (int) 0 ;
10512 int arg5
= (int) 0 ;
10513 PyObject
* obj0
= 0 ;
10514 char *kwnames
[] = {
10515 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
10518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyControlPoint_base_OnBeginDragRight",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
10519 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10522 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
10524 wxPyEndAllowThreads(__tstate
);
10525 if (PyErr_Occurred()) SWIG_fail
;
10527 Py_INCREF(Py_None
); resultobj
= Py_None
;
10534 static PyObject
*_wrap_PyControlPoint_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10535 PyObject
*resultobj
;
10536 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
10539 int arg4
= (int) 0 ;
10540 int arg5
= (int) 0 ;
10541 PyObject
* obj0
= 0 ;
10542 char *kwnames
[] = {
10543 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
10546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyControlPoint_base_OnEndDragRight",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
10547 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10550 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
10552 wxPyEndAllowThreads(__tstate
);
10553 if (PyErr_Occurred()) SWIG_fail
;
10555 Py_INCREF(Py_None
); resultobj
= Py_None
;
10562 static PyObject
*_wrap_PyControlPoint_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10563 PyObject
*resultobj
;
10564 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
10570 PyObject
* obj0
= 0 ;
10571 PyObject
* obj1
= 0 ;
10572 char *kwnames
[] = {
10573 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
10576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd:PyControlPoint_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
10577 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10578 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10579 if (arg2
== NULL
) {
10580 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10584 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
10586 wxPyEndAllowThreads(__tstate
);
10587 if (PyErr_Occurred()) SWIG_fail
;
10589 Py_INCREF(Py_None
); resultobj
= Py_None
;
10596 static PyObject
*_wrap_PyControlPoint_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10597 PyObject
*resultobj
;
10598 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
10600 PyObject
* obj0
= 0 ;
10601 PyObject
* obj1
= 0 ;
10602 char *kwnames
[] = {
10603 (char *) "self",(char *) "dc", NULL
10606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControlPoint_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
10607 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10608 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10609 if (arg2
== NULL
) {
10610 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10614 (arg1
)->base_OnDrawControlPoints(*arg2
);
10616 wxPyEndAllowThreads(__tstate
);
10617 if (PyErr_Occurred()) SWIG_fail
;
10619 Py_INCREF(Py_None
); resultobj
= Py_None
;
10626 static PyObject
*_wrap_PyControlPoint_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10627 PyObject
*resultobj
;
10628 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
10630 PyObject
* obj0
= 0 ;
10631 PyObject
* obj1
= 0 ;
10632 char *kwnames
[] = {
10633 (char *) "self",(char *) "dc", NULL
10636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControlPoint_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
10637 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10638 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10639 if (arg2
== NULL
) {
10640 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10644 (arg1
)->base_OnEraseControlPoints(*arg2
);
10646 wxPyEndAllowThreads(__tstate
);
10647 if (PyErr_Occurred()) SWIG_fail
;
10649 Py_INCREF(Py_None
); resultobj
= Py_None
;
10656 static PyObject
*_wrap_PyControlPoint_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10657 PyObject
*resultobj
;
10658 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
10660 bool arg3
= (bool) True
;
10661 PyObject
* obj0
= 0 ;
10662 PyObject
* obj1
= 0 ;
10663 PyObject
* obj2
= 0 ;
10664 char *kwnames
[] = {
10665 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
10668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyControlPoint_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10669 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10670 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10671 if (arg2
== NULL
) {
10672 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10675 arg3
= PyInt_AsLong(obj2
) ? true : false;
10676 if (PyErr_Occurred()) SWIG_fail
;
10679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10680 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
10682 wxPyEndAllowThreads(__tstate
);
10683 if (PyErr_Occurred()) SWIG_fail
;
10685 Py_INCREF(Py_None
); resultobj
= Py_None
;
10692 static PyObject
*_wrap_PyControlPoint_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10693 PyObject
*resultobj
;
10694 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
10695 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
10699 int arg6
= (int) 0 ;
10700 int arg7
= (int) 0 ;
10701 PyObject
* obj0
= 0 ;
10702 PyObject
* obj1
= 0 ;
10703 PyObject
* obj2
= 0 ;
10704 char *kwnames
[] = {
10705 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
10708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOdd|ii:PyControlPoint_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
,&arg6
,&arg7
)) goto fail
;
10709 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10710 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10711 arg3
= PyInt_AsLong(obj2
) ? true : false;
10712 if (PyErr_Occurred()) SWIG_fail
;
10714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10715 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10717 wxPyEndAllowThreads(__tstate
);
10718 if (PyErr_Occurred()) SWIG_fail
;
10720 Py_INCREF(Py_None
); resultobj
= Py_None
;
10727 static PyObject
*_wrap_PyControlPoint_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10728 PyObject
*resultobj
;
10729 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
10730 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
10733 int arg5
= (int) 0 ;
10734 int arg6
= (int) 0 ;
10735 PyObject
* obj0
= 0 ;
10736 PyObject
* obj1
= 0 ;
10737 char *kwnames
[] = {
10738 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
10741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyControlPoint_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
10742 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10743 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10746 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
10748 wxPyEndAllowThreads(__tstate
);
10749 if (PyErr_Occurred()) SWIG_fail
;
10751 Py_INCREF(Py_None
); resultobj
= Py_None
;
10758 static PyObject
*_wrap_PyControlPoint_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10759 PyObject
*resultobj
;
10760 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
10761 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
10764 int arg5
= (int) 0 ;
10765 int arg6
= (int) 0 ;
10766 PyObject
* obj0
= 0 ;
10767 PyObject
* obj1
= 0 ;
10768 char *kwnames
[] = {
10769 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
10772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyControlPoint_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
10773 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10774 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10777 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
10779 wxPyEndAllowThreads(__tstate
);
10780 if (PyErr_Occurred()) SWIG_fail
;
10782 Py_INCREF(Py_None
); resultobj
= Py_None
;
10789 static PyObject
*_wrap_PyControlPoint_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10790 PyObject
*resultobj
;
10791 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
10794 PyObject
* obj0
= 0 ;
10795 char *kwnames
[] = {
10796 (char *) "self",(char *) "w",(char *) "h", NULL
10799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyControlPoint_base_OnBeginSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
10800 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10803 (arg1
)->base_OnBeginSize(arg2
,arg3
);
10805 wxPyEndAllowThreads(__tstate
);
10806 if (PyErr_Occurred()) SWIG_fail
;
10808 Py_INCREF(Py_None
); resultobj
= Py_None
;
10815 static PyObject
*_wrap_PyControlPoint_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10816 PyObject
*resultobj
;
10817 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
10820 PyObject
* obj0
= 0 ;
10821 char *kwnames
[] = {
10822 (char *) "self",(char *) "w",(char *) "h", NULL
10825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyControlPoint_base_OnEndSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
10826 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10829 (arg1
)->base_OnEndSize(arg2
,arg3
);
10831 wxPyEndAllowThreads(__tstate
);
10832 if (PyErr_Occurred()) SWIG_fail
;
10834 Py_INCREF(Py_None
); resultobj
= Py_None
;
10841 static PyObject
* PyControlPoint_swigregister(PyObject
*self
, PyObject
*args
) {
10843 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10844 SWIG_TypeClientData(SWIGTYPE_p_wxPyControlPoint
, obj
);
10846 return Py_BuildValue((char *)"");
10848 static PyObject
*_wrap_new_PyBitmapShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10849 PyObject
*resultobj
;
10850 wxPyBitmapShape
*result
;
10851 char *kwnames
[] = {
10855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyBitmapShape",kwnames
)) goto fail
;
10857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10858 result
= (wxPyBitmapShape
*)new wxPyBitmapShape();
10860 wxPyEndAllowThreads(__tstate
);
10861 if (PyErr_Occurred()) SWIG_fail
;
10863 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyBitmapShape
, 1);
10870 static PyObject
*_wrap_PyBitmapShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10871 PyObject
*resultobj
;
10872 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
10873 PyObject
*arg2
= (PyObject
*) 0 ;
10874 PyObject
*arg3
= (PyObject
*) 0 ;
10875 PyObject
* obj0
= 0 ;
10876 PyObject
* obj1
= 0 ;
10877 PyObject
* obj2
= 0 ;
10878 char *kwnames
[] = {
10879 (char *) "self",(char *) "self",(char *) "_class", NULL
10882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10883 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10888 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10890 wxPyEndAllowThreads(__tstate
);
10891 if (PyErr_Occurred()) SWIG_fail
;
10893 Py_INCREF(Py_None
); resultobj
= Py_None
;
10900 static PyObject
*_wrap_PyBitmapShape_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10901 PyObject
*resultobj
;
10902 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
10904 PyObject
* obj0
= 0 ;
10905 char *kwnames
[] = {
10906 (char *) "self", NULL
10909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyBitmapShape_GetBitmap",kwnames
,&obj0
)) goto fail
;
10910 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10914 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
10915 result
= (wxBitmap
*) &_result_ref
;
10918 wxPyEndAllowThreads(__tstate
);
10919 if (PyErr_Occurred()) SWIG_fail
;
10921 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 0);
10928 static PyObject
*_wrap_PyBitmapShape_GetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10929 PyObject
*resultobj
;
10930 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
10932 PyObject
* obj0
= 0 ;
10933 char *kwnames
[] = {
10934 (char *) "self", NULL
10937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyBitmapShape_GetFilename",kwnames
,&obj0
)) goto fail
;
10938 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10941 result
= (arg1
)->GetFilename();
10943 wxPyEndAllowThreads(__tstate
);
10944 if (PyErr_Occurred()) SWIG_fail
;
10948 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10950 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10959 static PyObject
*_wrap_PyBitmapShape_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10960 PyObject
*resultobj
;
10961 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
10962 wxBitmap
*arg2
= 0 ;
10963 PyObject
* obj0
= 0 ;
10964 PyObject
* obj1
= 0 ;
10965 char *kwnames
[] = {
10966 (char *) "self",(char *) "bitmap", NULL
10969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
10970 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10971 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10972 if (arg2
== NULL
) {
10973 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10977 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
10979 wxPyEndAllowThreads(__tstate
);
10980 if (PyErr_Occurred()) SWIG_fail
;
10982 Py_INCREF(Py_None
); resultobj
= Py_None
;
10989 static PyObject
*_wrap_PyBitmapShape_SetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10990 PyObject
*resultobj
;
10991 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
10992 wxString
*arg2
= 0 ;
10993 bool temp2
= False
;
10994 PyObject
* obj0
= 0 ;
10995 PyObject
* obj1
= 0 ;
10996 char *kwnames
[] = {
10997 (char *) "self",(char *) "filename", NULL
11000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
11001 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11003 arg2
= wxString_in_helper(obj1
);
11004 if (arg2
== NULL
) SWIG_fail
;
11008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11009 (arg1
)->SetFilename((wxString
const &)*arg2
);
11011 wxPyEndAllowThreads(__tstate
);
11012 if (PyErr_Occurred()) SWIG_fail
;
11014 Py_INCREF(Py_None
); resultobj
= Py_None
;
11029 static PyObject
*_wrap_PyBitmapShape_base_OnDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11030 PyObject
*resultobj
;
11031 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
11032 PyObject
* obj0
= 0 ;
11033 char *kwnames
[] = {
11034 (char *) "self", NULL
11037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyBitmapShape_base_OnDelete",kwnames
,&obj0
)) goto fail
;
11038 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11041 (arg1
)->base_OnDelete();
11043 wxPyEndAllowThreads(__tstate
);
11044 if (PyErr_Occurred()) SWIG_fail
;
11046 Py_INCREF(Py_None
); resultobj
= Py_None
;
11053 static PyObject
*_wrap_PyBitmapShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11054 PyObject
*resultobj
;
11055 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
11057 PyObject
* obj0
= 0 ;
11058 PyObject
* obj1
= 0 ;
11059 char *kwnames
[] = {
11060 (char *) "self",(char *) "dc", NULL
11063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
11064 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11065 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11066 if (arg2
== NULL
) {
11067 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11071 (arg1
)->base_OnDraw(*arg2
);
11073 wxPyEndAllowThreads(__tstate
);
11074 if (PyErr_Occurred()) SWIG_fail
;
11076 Py_INCREF(Py_None
); resultobj
= Py_None
;
11083 static PyObject
*_wrap_PyBitmapShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11084 PyObject
*resultobj
;
11085 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
11087 PyObject
* obj0
= 0 ;
11088 PyObject
* obj1
= 0 ;
11089 char *kwnames
[] = {
11090 (char *) "self",(char *) "dc", NULL
11093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
11094 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11095 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11096 if (arg2
== NULL
) {
11097 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11101 (arg1
)->base_OnDrawContents(*arg2
);
11103 wxPyEndAllowThreads(__tstate
);
11104 if (PyErr_Occurred()) SWIG_fail
;
11106 Py_INCREF(Py_None
); resultobj
= Py_None
;
11113 static PyObject
*_wrap_PyBitmapShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11114 PyObject
*resultobj
;
11115 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
11117 bool arg3
= (bool) FALSE
;
11118 PyObject
* obj0
= 0 ;
11119 PyObject
* obj1
= 0 ;
11120 PyObject
* obj2
= 0 ;
11121 char *kwnames
[] = {
11122 (char *) "self",(char *) "dc",(char *) "erase", NULL
11125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyBitmapShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11126 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11127 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11128 if (arg2
== NULL
) {
11129 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11132 arg3
= PyInt_AsLong(obj2
) ? true : false;
11133 if (PyErr_Occurred()) SWIG_fail
;
11136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11137 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
11139 wxPyEndAllowThreads(__tstate
);
11140 if (PyErr_Occurred()) SWIG_fail
;
11142 Py_INCREF(Py_None
); resultobj
= Py_None
;
11149 static PyObject
*_wrap_PyBitmapShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11150 PyObject
*resultobj
;
11151 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
11153 PyObject
* obj0
= 0 ;
11154 PyObject
* obj1
= 0 ;
11155 char *kwnames
[] = {
11156 (char *) "self",(char *) "dc", NULL
11159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
11160 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11161 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11162 if (arg2
== NULL
) {
11163 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11167 (arg1
)->base_OnMoveLinks(*arg2
);
11169 wxPyEndAllowThreads(__tstate
);
11170 if (PyErr_Occurred()) SWIG_fail
;
11172 Py_INCREF(Py_None
); resultobj
= Py_None
;
11179 static PyObject
*_wrap_PyBitmapShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11180 PyObject
*resultobj
;
11181 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
11183 PyObject
* obj0
= 0 ;
11184 PyObject
* obj1
= 0 ;
11185 char *kwnames
[] = {
11186 (char *) "self",(char *) "dc", NULL
11189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
11190 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11191 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11192 if (arg2
== NULL
) {
11193 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11197 (arg1
)->base_OnErase(*arg2
);
11199 wxPyEndAllowThreads(__tstate
);
11200 if (PyErr_Occurred()) SWIG_fail
;
11202 Py_INCREF(Py_None
); resultobj
= Py_None
;
11209 static PyObject
*_wrap_PyBitmapShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11210 PyObject
*resultobj
;
11211 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
11213 PyObject
* obj0
= 0 ;
11214 PyObject
* obj1
= 0 ;
11215 char *kwnames
[] = {
11216 (char *) "self",(char *) "dc", NULL
11219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
11220 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11221 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11222 if (arg2
== NULL
) {
11223 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11227 (arg1
)->base_OnEraseContents(*arg2
);
11229 wxPyEndAllowThreads(__tstate
);
11230 if (PyErr_Occurred()) SWIG_fail
;
11232 Py_INCREF(Py_None
); resultobj
= Py_None
;
11239 static PyObject
*_wrap_PyBitmapShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11240 PyObject
*resultobj
;
11241 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
11243 PyObject
* obj0
= 0 ;
11244 PyObject
* obj1
= 0 ;
11245 char *kwnames
[] = {
11246 (char *) "self",(char *) "dc", NULL
11249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
11250 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11251 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11252 if (arg2
== NULL
) {
11253 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11257 (arg1
)->base_OnHighlight(*arg2
);
11259 wxPyEndAllowThreads(__tstate
);
11260 if (PyErr_Occurred()) SWIG_fail
;
11262 Py_INCREF(Py_None
); resultobj
= Py_None
;
11269 static PyObject
*_wrap_PyBitmapShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11270 PyObject
*resultobj
;
11271 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
11274 int arg4
= (int) 0 ;
11275 int arg5
= (int) 0 ;
11276 PyObject
* obj0
= 0 ;
11277 char *kwnames
[] = {
11278 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyBitmapShape_base_OnLeftClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
11282 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11285 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
11287 wxPyEndAllowThreads(__tstate
);
11288 if (PyErr_Occurred()) SWIG_fail
;
11290 Py_INCREF(Py_None
); resultobj
= Py_None
;
11297 static PyObject
*_wrap_PyBitmapShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11298 PyObject
*resultobj
;
11299 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
11302 int arg4
= (int) 0 ;
11303 int arg5
= (int) 0 ;
11304 PyObject
* obj0
= 0 ;
11305 char *kwnames
[] = {
11306 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyBitmapShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
11310 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11313 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
11315 wxPyEndAllowThreads(__tstate
);
11316 if (PyErr_Occurred()) SWIG_fail
;
11318 Py_INCREF(Py_None
); resultobj
= Py_None
;
11325 static PyObject
*_wrap_PyBitmapShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11326 PyObject
*resultobj
;
11327 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
11330 int arg4
= (int) 0 ;
11331 int arg5
= (int) 0 ;
11332 PyObject
* obj0
= 0 ;
11333 char *kwnames
[] = {
11334 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyBitmapShape_base_OnRightClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
11338 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11341 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
11343 wxPyEndAllowThreads(__tstate
);
11344 if (PyErr_Occurred()) SWIG_fail
;
11346 Py_INCREF(Py_None
); resultobj
= Py_None
;
11353 static PyObject
*_wrap_PyBitmapShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11354 PyObject
*resultobj
;
11355 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
11358 PyObject
* obj0
= 0 ;
11359 char *kwnames
[] = {
11360 (char *) "self",(char *) "x",(char *) "y", NULL
11363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyBitmapShape_base_OnSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
11364 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11367 (arg1
)->base_OnSize(arg2
,arg3
);
11369 wxPyEndAllowThreads(__tstate
);
11370 if (PyErr_Occurred()) SWIG_fail
;
11372 Py_INCREF(Py_None
); resultobj
= Py_None
;
11379 static PyObject
*_wrap_PyBitmapShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11380 PyObject
*resultobj
;
11381 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
11387 bool arg7
= (bool) True
;
11389 PyObject
* obj0
= 0 ;
11390 PyObject
* obj1
= 0 ;
11391 PyObject
* obj6
= 0 ;
11392 char *kwnames
[] = {
11393 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
11396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd|O:PyBitmapShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
)) goto fail
;
11397 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11398 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11399 if (arg2
== NULL
) {
11400 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11403 arg7
= PyInt_AsLong(obj6
) ? true : false;
11404 if (PyErr_Occurred()) SWIG_fail
;
11407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11408 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
11410 wxPyEndAllowThreads(__tstate
);
11411 if (PyErr_Occurred()) SWIG_fail
;
11413 resultobj
= PyInt_FromLong((long)result
);
11420 static PyObject
*_wrap_PyBitmapShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11421 PyObject
*resultobj
;
11422 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
11428 bool arg7
= (bool) True
;
11429 PyObject
* obj0
= 0 ;
11430 PyObject
* obj1
= 0 ;
11431 PyObject
* obj6
= 0 ;
11432 char *kwnames
[] = {
11433 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
11436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd|O:PyBitmapShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
)) goto fail
;
11437 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11438 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11439 if (arg2
== NULL
) {
11440 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11443 arg7
= PyInt_AsLong(obj6
) ? true : false;
11444 if (PyErr_Occurred()) SWIG_fail
;
11447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11448 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
11450 wxPyEndAllowThreads(__tstate
);
11451 if (PyErr_Occurred()) SWIG_fail
;
11453 Py_INCREF(Py_None
); resultobj
= Py_None
;
11460 static PyObject
*_wrap_PyBitmapShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11461 PyObject
*resultobj
;
11462 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
11466 int arg5
= (int) 0 ;
11467 int arg6
= (int) 0 ;
11468 PyObject
* obj0
= 0 ;
11469 PyObject
* obj1
= 0 ;
11470 char *kwnames
[] = {
11471 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyBitmapShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
11475 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11476 arg2
= PyInt_AsLong(obj1
) ? true : false;
11477 if (PyErr_Occurred()) SWIG_fail
;
11479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11480 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
11482 wxPyEndAllowThreads(__tstate
);
11483 if (PyErr_Occurred()) SWIG_fail
;
11485 Py_INCREF(Py_None
); resultobj
= Py_None
;
11492 static PyObject
*_wrap_PyBitmapShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11493 PyObject
*resultobj
;
11494 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
11497 int arg4
= (int) 0 ;
11498 int arg5
= (int) 0 ;
11499 PyObject
* obj0
= 0 ;
11500 char *kwnames
[] = {
11501 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyBitmapShape_base_OnBeginDragLeft",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
11505 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11508 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
11510 wxPyEndAllowThreads(__tstate
);
11511 if (PyErr_Occurred()) SWIG_fail
;
11513 Py_INCREF(Py_None
); resultobj
= Py_None
;
11520 static PyObject
*_wrap_PyBitmapShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11521 PyObject
*resultobj
;
11522 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
11525 int arg4
= (int) 0 ;
11526 int arg5
= (int) 0 ;
11527 PyObject
* obj0
= 0 ;
11528 char *kwnames
[] = {
11529 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyBitmapShape_base_OnEndDragLeft",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
11533 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11536 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
11538 wxPyEndAllowThreads(__tstate
);
11539 if (PyErr_Occurred()) SWIG_fail
;
11541 Py_INCREF(Py_None
); resultobj
= Py_None
;
11548 static PyObject
*_wrap_PyBitmapShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11549 PyObject
*resultobj
;
11550 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
11554 int arg5
= (int) 0 ;
11555 int arg6
= (int) 0 ;
11556 PyObject
* obj0
= 0 ;
11557 PyObject
* obj1
= 0 ;
11558 char *kwnames
[] = {
11559 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyBitmapShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
11563 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11564 arg2
= PyInt_AsLong(obj1
) ? true : false;
11565 if (PyErr_Occurred()) SWIG_fail
;
11567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11568 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
11570 wxPyEndAllowThreads(__tstate
);
11571 if (PyErr_Occurred()) SWIG_fail
;
11573 Py_INCREF(Py_None
); resultobj
= Py_None
;
11580 static PyObject
*_wrap_PyBitmapShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11581 PyObject
*resultobj
;
11582 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
11585 int arg4
= (int) 0 ;
11586 int arg5
= (int) 0 ;
11587 PyObject
* obj0
= 0 ;
11588 char *kwnames
[] = {
11589 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyBitmapShape_base_OnBeginDragRight",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
11593 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11596 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
11598 wxPyEndAllowThreads(__tstate
);
11599 if (PyErr_Occurred()) SWIG_fail
;
11601 Py_INCREF(Py_None
); resultobj
= Py_None
;
11608 static PyObject
*_wrap_PyBitmapShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11609 PyObject
*resultobj
;
11610 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
11613 int arg4
= (int) 0 ;
11614 int arg5
= (int) 0 ;
11615 PyObject
* obj0
= 0 ;
11616 char *kwnames
[] = {
11617 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyBitmapShape_base_OnEndDragRight",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
11621 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11624 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
11626 wxPyEndAllowThreads(__tstate
);
11627 if (PyErr_Occurred()) SWIG_fail
;
11629 Py_INCREF(Py_None
); resultobj
= Py_None
;
11636 static PyObject
*_wrap_PyBitmapShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11637 PyObject
*resultobj
;
11638 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
11644 PyObject
* obj0
= 0 ;
11645 PyObject
* obj1
= 0 ;
11646 char *kwnames
[] = {
11647 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
11650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd:PyBitmapShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
11651 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11652 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11653 if (arg2
== NULL
) {
11654 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11658 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
11660 wxPyEndAllowThreads(__tstate
);
11661 if (PyErr_Occurred()) SWIG_fail
;
11663 Py_INCREF(Py_None
); resultobj
= Py_None
;
11670 static PyObject
*_wrap_PyBitmapShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11671 PyObject
*resultobj
;
11672 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
11674 PyObject
* obj0
= 0 ;
11675 PyObject
* obj1
= 0 ;
11676 char *kwnames
[] = {
11677 (char *) "self",(char *) "dc", NULL
11680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
11681 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11682 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11683 if (arg2
== NULL
) {
11684 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11688 (arg1
)->base_OnDrawControlPoints(*arg2
);
11690 wxPyEndAllowThreads(__tstate
);
11691 if (PyErr_Occurred()) SWIG_fail
;
11693 Py_INCREF(Py_None
); resultobj
= Py_None
;
11700 static PyObject
*_wrap_PyBitmapShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11701 PyObject
*resultobj
;
11702 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
11704 PyObject
* obj0
= 0 ;
11705 PyObject
* obj1
= 0 ;
11706 char *kwnames
[] = {
11707 (char *) "self",(char *) "dc", NULL
11710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
11711 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11712 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11713 if (arg2
== NULL
) {
11714 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11718 (arg1
)->base_OnEraseControlPoints(*arg2
);
11720 wxPyEndAllowThreads(__tstate
);
11721 if (PyErr_Occurred()) SWIG_fail
;
11723 Py_INCREF(Py_None
); resultobj
= Py_None
;
11730 static PyObject
*_wrap_PyBitmapShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11731 PyObject
*resultobj
;
11732 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
11734 bool arg3
= (bool) True
;
11735 PyObject
* obj0
= 0 ;
11736 PyObject
* obj1
= 0 ;
11737 PyObject
* obj2
= 0 ;
11738 char *kwnames
[] = {
11739 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
11742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyBitmapShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11743 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11744 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11745 if (arg2
== NULL
) {
11746 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11749 arg3
= PyInt_AsLong(obj2
) ? true : false;
11750 if (PyErr_Occurred()) SWIG_fail
;
11753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11754 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
11756 wxPyEndAllowThreads(__tstate
);
11757 if (PyErr_Occurred()) SWIG_fail
;
11759 Py_INCREF(Py_None
); resultobj
= Py_None
;
11766 static PyObject
*_wrap_PyBitmapShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11767 PyObject
*resultobj
;
11768 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
11769 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
11773 int arg6
= (int) 0 ;
11774 int arg7
= (int) 0 ;
11775 PyObject
* obj0
= 0 ;
11776 PyObject
* obj1
= 0 ;
11777 PyObject
* obj2
= 0 ;
11778 char *kwnames
[] = {
11779 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOdd|ii:PyBitmapShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
,&arg6
,&arg7
)) goto fail
;
11783 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11784 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11785 arg3
= PyInt_AsLong(obj2
) ? true : false;
11786 if (PyErr_Occurred()) SWIG_fail
;
11788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11789 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
11791 wxPyEndAllowThreads(__tstate
);
11792 if (PyErr_Occurred()) SWIG_fail
;
11794 Py_INCREF(Py_None
); resultobj
= Py_None
;
11801 static PyObject
*_wrap_PyBitmapShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11802 PyObject
*resultobj
;
11803 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
11804 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
11807 int arg5
= (int) 0 ;
11808 int arg6
= (int) 0 ;
11809 PyObject
* obj0
= 0 ;
11810 PyObject
* obj1
= 0 ;
11811 char *kwnames
[] = {
11812 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyBitmapShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
11816 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11817 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11820 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
11822 wxPyEndAllowThreads(__tstate
);
11823 if (PyErr_Occurred()) SWIG_fail
;
11825 Py_INCREF(Py_None
); resultobj
= Py_None
;
11832 static PyObject
*_wrap_PyBitmapShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11833 PyObject
*resultobj
;
11834 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
11835 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
11838 int arg5
= (int) 0 ;
11839 int arg6
= (int) 0 ;
11840 PyObject
* obj0
= 0 ;
11841 PyObject
* obj1
= 0 ;
11842 char *kwnames
[] = {
11843 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyBitmapShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
11847 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11848 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11851 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
11853 wxPyEndAllowThreads(__tstate
);
11854 if (PyErr_Occurred()) SWIG_fail
;
11856 Py_INCREF(Py_None
); resultobj
= Py_None
;
11863 static PyObject
*_wrap_PyBitmapShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11864 PyObject
*resultobj
;
11865 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
11868 PyObject
* obj0
= 0 ;
11869 char *kwnames
[] = {
11870 (char *) "self",(char *) "w",(char *) "h", NULL
11873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyBitmapShape_base_OnBeginSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
11874 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11877 (arg1
)->base_OnBeginSize(arg2
,arg3
);
11879 wxPyEndAllowThreads(__tstate
);
11880 if (PyErr_Occurred()) SWIG_fail
;
11882 Py_INCREF(Py_None
); resultobj
= Py_None
;
11889 static PyObject
*_wrap_PyBitmapShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11890 PyObject
*resultobj
;
11891 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
11894 PyObject
* obj0
= 0 ;
11895 char *kwnames
[] = {
11896 (char *) "self",(char *) "w",(char *) "h", NULL
11899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyBitmapShape_base_OnEndSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
11900 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11903 (arg1
)->base_OnEndSize(arg2
,arg3
);
11905 wxPyEndAllowThreads(__tstate
);
11906 if (PyErr_Occurred()) SWIG_fail
;
11908 Py_INCREF(Py_None
); resultobj
= Py_None
;
11915 static PyObject
* PyBitmapShape_swigregister(PyObject
*self
, PyObject
*args
) {
11917 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11918 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapShape
, obj
);
11920 return Py_BuildValue((char *)"");
11922 static PyObject
*_wrap_new_PyDrawnShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11923 PyObject
*resultobj
;
11924 wxPyDrawnShape
*result
;
11925 char *kwnames
[] = {
11929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyDrawnShape",kwnames
)) goto fail
;
11931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11932 result
= (wxPyDrawnShape
*)new wxPyDrawnShape();
11934 wxPyEndAllowThreads(__tstate
);
11935 if (PyErr_Occurred()) SWIG_fail
;
11937 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyDrawnShape
, 1);
11944 static PyObject
*_wrap_PyDrawnShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11945 PyObject
*resultobj
;
11946 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
11947 PyObject
*arg2
= (PyObject
*) 0 ;
11948 PyObject
*arg3
= (PyObject
*) 0 ;
11949 PyObject
* obj0
= 0 ;
11950 PyObject
* obj1
= 0 ;
11951 PyObject
* obj2
= 0 ;
11952 char *kwnames
[] = {
11953 (char *) "self",(char *) "self",(char *) "_class", NULL
11956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDrawnShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11957 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11962 (arg1
)->_setCallbackInfo(arg2
,arg3
);
11964 wxPyEndAllowThreads(__tstate
);
11965 if (PyErr_Occurred()) SWIG_fail
;
11967 Py_INCREF(Py_None
); resultobj
= Py_None
;
11974 static PyObject
*_wrap_PyDrawnShape_CalculateSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11975 PyObject
*resultobj
;
11976 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
11977 PyObject
* obj0
= 0 ;
11978 char *kwnames
[] = {
11979 (char *) "self", NULL
11982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDrawnShape_CalculateSize",kwnames
,&obj0
)) goto fail
;
11983 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11986 (arg1
)->CalculateSize();
11988 wxPyEndAllowThreads(__tstate
);
11989 if (PyErr_Occurred()) SWIG_fail
;
11991 Py_INCREF(Py_None
); resultobj
= Py_None
;
11998 static PyObject
*_wrap_PyDrawnShape_DestroyClippingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11999 PyObject
*resultobj
;
12000 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
12001 PyObject
* obj0
= 0 ;
12002 char *kwnames
[] = {
12003 (char *) "self", NULL
12006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDrawnShape_DestroyClippingRect",kwnames
,&obj0
)) goto fail
;
12007 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12010 (arg1
)->DestroyClippingRect();
12012 wxPyEndAllowThreads(__tstate
);
12013 if (PyErr_Occurred()) SWIG_fail
;
12015 Py_INCREF(Py_None
); resultobj
= Py_None
;
12022 static PyObject
*_wrap_PyDrawnShape_DrawArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12023 PyObject
*resultobj
;
12024 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
12025 wxPoint
*arg2
= 0 ;
12026 wxPoint
*arg3
= 0 ;
12027 wxPoint
*arg4
= 0 ;
12031 PyObject
* obj0
= 0 ;
12032 PyObject
* obj1
= 0 ;
12033 PyObject
* obj2
= 0 ;
12034 PyObject
* obj3
= 0 ;
12035 char *kwnames
[] = {
12036 (char *) "self",(char *) "centrePoint",(char *) "startPoint",(char *) "endPoint", NULL
12039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyDrawnShape_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12040 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12043 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12047 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12051 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12055 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
12057 wxPyEndAllowThreads(__tstate
);
12058 if (PyErr_Occurred()) SWIG_fail
;
12060 Py_INCREF(Py_None
); resultobj
= Py_None
;
12067 static PyObject
*_wrap_PyDrawnShape_DrawAtAngle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12068 PyObject
*resultobj
;
12069 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
12071 PyObject
* obj0
= 0 ;
12072 char *kwnames
[] = {
12073 (char *) "self",(char *) "angle", NULL
12076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyDrawnShape_DrawAtAngle",kwnames
,&obj0
,&arg2
)) goto fail
;
12077 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12080 (arg1
)->DrawAtAngle(arg2
);
12082 wxPyEndAllowThreads(__tstate
);
12083 if (PyErr_Occurred()) SWIG_fail
;
12085 Py_INCREF(Py_None
); resultobj
= Py_None
;
12092 static PyObject
*_wrap_PyDrawnShape_DrawEllipticArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12093 PyObject
*resultobj
;
12094 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
12099 PyObject
* obj0
= 0 ;
12100 PyObject
* obj1
= 0 ;
12101 char *kwnames
[] = {
12102 (char *) "self",(char *) "rect",(char *) "startAngle",(char *) "endAngle", NULL
12105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd:PyDrawnShape_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
)) goto fail
;
12106 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12109 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12113 (arg1
)->DrawEllipticArc((wxRect
const &)*arg2
,arg3
,arg4
);
12115 wxPyEndAllowThreads(__tstate
);
12116 if (PyErr_Occurred()) SWIG_fail
;
12118 Py_INCREF(Py_None
); resultobj
= Py_None
;
12125 static PyObject
*_wrap_PyDrawnShape_DrawLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12126 PyObject
*resultobj
;
12127 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
12128 wxPoint
*arg2
= 0 ;
12129 wxPoint
*arg3
= 0 ;
12132 PyObject
* obj0
= 0 ;
12133 PyObject
* obj1
= 0 ;
12134 PyObject
* obj2
= 0 ;
12135 char *kwnames
[] = {
12136 (char *) "self",(char *) "point1",(char *) "point2", NULL
12139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDrawnShape_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12140 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12143 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12147 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12151 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
12153 wxPyEndAllowThreads(__tstate
);
12154 if (PyErr_Occurred()) SWIG_fail
;
12156 Py_INCREF(Py_None
); resultobj
= Py_None
;
12163 static PyObject
*_wrap_PyDrawnShape_DrawLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12164 PyObject
*resultobj
;
12165 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
12167 wxPoint
*arg3
= (wxPoint
*) 0 ;
12168 PyObject
* obj0
= 0 ;
12169 PyObject
* obj2
= 0 ;
12170 char *kwnames
[] = {
12171 (char *) "self",(char *) "PCOUNT",(char *) "points", NULL
12174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:PyDrawnShape_DrawLines",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
12175 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12176 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12179 (arg1
)->DrawLines(arg2
,arg3
);
12181 wxPyEndAllowThreads(__tstate
);
12182 if (PyErr_Occurred()) SWIG_fail
;
12184 Py_INCREF(Py_None
); resultobj
= Py_None
;
12191 static PyObject
*_wrap_PyDrawnShape_DrawPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12192 PyObject
*resultobj
;
12193 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
12194 wxPoint
*arg2
= 0 ;
12196 PyObject
* obj0
= 0 ;
12197 PyObject
* obj1
= 0 ;
12198 char *kwnames
[] = {
12199 (char *) "self",(char *) "point", NULL
12202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_DrawPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
12203 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12206 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12210 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
12212 wxPyEndAllowThreads(__tstate
);
12213 if (PyErr_Occurred()) SWIG_fail
;
12215 Py_INCREF(Py_None
); resultobj
= Py_None
;
12222 static PyObject
*_wrap_PyDrawnShape_DrawPolygon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12223 PyObject
*resultobj
;
12224 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
12226 wxPoint
*arg3
= (wxPoint
*) 0 ;
12227 int arg4
= (int) 0 ;
12228 PyObject
* obj0
= 0 ;
12229 PyObject
* obj2
= 0 ;
12230 char *kwnames
[] = {
12231 (char *) "self",(char *) "PCOUNT",(char *) "points",(char *) "flags", NULL
12234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|i:PyDrawnShape_DrawPolygon",kwnames
,&obj0
,&arg2
,&obj2
,&arg4
)) goto fail
;
12235 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12236 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12239 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
);
12241 wxPyEndAllowThreads(__tstate
);
12242 if (PyErr_Occurred()) SWIG_fail
;
12244 Py_INCREF(Py_None
); resultobj
= Py_None
;
12251 static PyObject
*_wrap_PyDrawnShape_DrawRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12252 PyObject
*resultobj
;
12253 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
12256 PyObject
* obj0
= 0 ;
12257 PyObject
* obj1
= 0 ;
12258 char *kwnames
[] = {
12259 (char *) "self",(char *) "rect", NULL
12262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_DrawRectangle",kwnames
,&obj0
,&obj1
)) goto fail
;
12263 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12266 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12270 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
12272 wxPyEndAllowThreads(__tstate
);
12273 if (PyErr_Occurred()) SWIG_fail
;
12275 Py_INCREF(Py_None
); resultobj
= Py_None
;
12282 static PyObject
*_wrap_PyDrawnShape_DrawRoundedRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12283 PyObject
*resultobj
;
12284 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
12288 PyObject
* obj0
= 0 ;
12289 PyObject
* obj1
= 0 ;
12290 char *kwnames
[] = {
12291 (char *) "self",(char *) "rect",(char *) "radius", NULL
12294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOd:PyDrawnShape_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
12295 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12298 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12302 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
12304 wxPyEndAllowThreads(__tstate
);
12305 if (PyErr_Occurred()) SWIG_fail
;
12307 Py_INCREF(Py_None
); resultobj
= Py_None
;
12314 static PyObject
*_wrap_PyDrawnShape_DrawSpline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12315 PyObject
*resultobj
;
12316 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
12318 wxPoint
*arg3
= (wxPoint
*) 0 ;
12319 PyObject
* obj0
= 0 ;
12320 PyObject
* obj2
= 0 ;
12321 char *kwnames
[] = {
12322 (char *) "self",(char *) "PCOUNT",(char *) "points", NULL
12325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:PyDrawnShape_DrawSpline",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
12326 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12327 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12330 (arg1
)->DrawSpline(arg2
,arg3
);
12332 wxPyEndAllowThreads(__tstate
);
12333 if (PyErr_Occurred()) SWIG_fail
;
12335 Py_INCREF(Py_None
); resultobj
= Py_None
;
12342 static PyObject
*_wrap_PyDrawnShape_DrawText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12343 PyObject
*resultobj
;
12344 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
12345 wxString
*arg2
= 0 ;
12346 wxPoint
*arg3
= 0 ;
12347 bool temp2
= False
;
12349 PyObject
* obj0
= 0 ;
12350 PyObject
* obj1
= 0 ;
12351 PyObject
* obj2
= 0 ;
12352 char *kwnames
[] = {
12353 (char *) "self",(char *) "text",(char *) "point", NULL
12356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDrawnShape_DrawText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12357 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12359 arg2
= wxString_in_helper(obj1
);
12360 if (arg2
== NULL
) SWIG_fail
;
12365 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12369 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
12371 wxPyEndAllowThreads(__tstate
);
12372 if (PyErr_Occurred()) SWIG_fail
;
12374 Py_INCREF(Py_None
); resultobj
= Py_None
;
12389 static PyObject
*_wrap_PyDrawnShape_GetAngle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12390 PyObject
*resultobj
;
12391 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
12393 PyObject
* obj0
= 0 ;
12394 char *kwnames
[] = {
12395 (char *) "self", NULL
12398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDrawnShape_GetAngle",kwnames
,&obj0
)) goto fail
;
12399 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12402 result
= (int)(arg1
)->GetAngle();
12404 wxPyEndAllowThreads(__tstate
);
12405 if (PyErr_Occurred()) SWIG_fail
;
12407 resultobj
= PyInt_FromLong((long)result
);
12414 static PyObject
*_wrap_PyDrawnShape_GetMetaFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12415 PyObject
*resultobj
;
12416 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
12417 wxPseudoMetaFile
*result
;
12418 PyObject
* obj0
= 0 ;
12419 char *kwnames
[] = {
12420 (char *) "self", NULL
12423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDrawnShape_GetMetaFile",kwnames
,&obj0
)) goto fail
;
12424 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12428 wxPseudoMetaFile
&_result_ref
= (arg1
)->GetMetaFile();
12429 result
= (wxPseudoMetaFile
*) &_result_ref
;
12432 wxPyEndAllowThreads(__tstate
);
12433 if (PyErr_Occurred()) SWIG_fail
;
12435 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPseudoMetaFile
, 0);
12442 static PyObject
*_wrap_PyDrawnShape_GetRotation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12443 PyObject
*resultobj
;
12444 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
12446 PyObject
* obj0
= 0 ;
12447 char *kwnames
[] = {
12448 (char *) "self", NULL
12451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDrawnShape_GetRotation",kwnames
,&obj0
)) goto fail
;
12452 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12455 result
= (double)(arg1
)->GetRotation();
12457 wxPyEndAllowThreads(__tstate
);
12458 if (PyErr_Occurred()) SWIG_fail
;
12460 resultobj
= PyFloat_FromDouble(result
);
12467 static PyObject
*_wrap_PyDrawnShape_LoadFromMetaFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12468 PyObject
*resultobj
;
12469 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
12470 wxString
*arg2
= 0 ;
12472 bool temp2
= False
;
12473 PyObject
* obj0
= 0 ;
12474 PyObject
* obj1
= 0 ;
12475 char *kwnames
[] = {
12476 (char *) "self",(char *) "filename", NULL
12479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_LoadFromMetaFile",kwnames
,&obj0
,&obj1
)) goto fail
;
12480 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12482 arg2
= wxString_in_helper(obj1
);
12483 if (arg2
== NULL
) SWIG_fail
;
12487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12488 result
= (bool)(arg1
)->LoadFromMetaFile((wxString
const &)*arg2
);
12490 wxPyEndAllowThreads(__tstate
);
12491 if (PyErr_Occurred()) SWIG_fail
;
12493 resultobj
= PyInt_FromLong((long)result
);
12508 static PyObject
*_wrap_PyDrawnShape_Rotate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12509 PyObject
*resultobj
;
12510 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
12514 PyObject
* obj0
= 0 ;
12515 char *kwnames
[] = {
12516 (char *) "self",(char *) "x",(char *) "y",(char *) "theta", NULL
12519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oddd:PyDrawnShape_Rotate",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
12520 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12523 (arg1
)->Rotate(arg2
,arg3
,arg4
);
12525 wxPyEndAllowThreads(__tstate
);
12526 if (PyErr_Occurred()) SWIG_fail
;
12528 Py_INCREF(Py_None
); resultobj
= Py_None
;
12535 static PyObject
*_wrap_PyDrawnShape_SetClippingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12536 PyObject
*resultobj
;
12537 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
12540 PyObject
* obj0
= 0 ;
12541 PyObject
* obj1
= 0 ;
12542 char *kwnames
[] = {
12543 (char *) "self",(char *) "rect", NULL
12546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_SetClippingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
12547 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12550 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12554 (arg1
)->SetClippingRect((wxRect
const &)*arg2
);
12556 wxPyEndAllowThreads(__tstate
);
12557 if (PyErr_Occurred()) SWIG_fail
;
12559 Py_INCREF(Py_None
); resultobj
= Py_None
;
12566 static PyObject
*_wrap_PyDrawnShape_SetDrawnBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12567 PyObject
*resultobj
;
12568 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
12569 wxColour
*arg2
= 0 ;
12571 PyObject
* obj0
= 0 ;
12572 PyObject
* obj1
= 0 ;
12573 char *kwnames
[] = {
12574 (char *) "self",(char *) "colour", NULL
12577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_SetDrawnBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
12578 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12581 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
12584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12585 (arg1
)->SetDrawnBackgroundColour((wxColour
const &)*arg2
);
12587 wxPyEndAllowThreads(__tstate
);
12588 if (PyErr_Occurred()) SWIG_fail
;
12590 Py_INCREF(Py_None
); resultobj
= Py_None
;
12597 static PyObject
*_wrap_PyDrawnShape_SetDrawnBackgroundMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12598 PyObject
*resultobj
;
12599 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
12601 PyObject
* obj0
= 0 ;
12602 char *kwnames
[] = {
12603 (char *) "self",(char *) "mode", NULL
12606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyDrawnShape_SetDrawnBackgroundMode",kwnames
,&obj0
,&arg2
)) goto fail
;
12607 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12610 (arg1
)->SetDrawnBackgroundMode(arg2
);
12612 wxPyEndAllowThreads(__tstate
);
12613 if (PyErr_Occurred()) SWIG_fail
;
12615 Py_INCREF(Py_None
); resultobj
= Py_None
;
12622 static PyObject
*_wrap_PyDrawnShape_SetDrawnBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12623 PyObject
*resultobj
;
12624 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
12625 wxBrush
*arg2
= (wxBrush
*) 0 ;
12626 bool arg3
= (bool) FALSE
;
12627 PyObject
* obj0
= 0 ;
12628 PyObject
* obj1
= 0 ;
12629 PyObject
* obj2
= 0 ;
12630 char *kwnames
[] = {
12631 (char *) "self",(char *) "pen",(char *) "isOutline", NULL
12634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyDrawnShape_SetDrawnBrush",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12635 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12639 if (obj1
== Py_None
) {
12642 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxBrush"))) {
12643 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxBrush.");
12648 arg2
= wxTheBrushList
->FindOrCreateBrush(temp
->GetColour(), temp
->GetStyle());
12653 arg3
= PyInt_AsLong(obj2
) ? true : false;
12654 if (PyErr_Occurred()) SWIG_fail
;
12657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12658 (arg1
)->SetDrawnBrush(arg2
,arg3
);
12660 wxPyEndAllowThreads(__tstate
);
12661 if (PyErr_Occurred()) SWIG_fail
;
12663 Py_INCREF(Py_None
); resultobj
= Py_None
;
12670 static PyObject
*_wrap_PyDrawnShape_SetDrawnFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12671 PyObject
*resultobj
;
12672 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
12673 wxFont
*arg2
= (wxFont
*) 0 ;
12674 PyObject
* obj0
= 0 ;
12675 PyObject
* obj1
= 0 ;
12676 char *kwnames
[] = {
12677 (char *) "self",(char *) "font", NULL
12680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_SetDrawnFont",kwnames
,&obj0
,&obj1
)) goto fail
;
12681 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12685 if (obj1
== Py_None
) {
12688 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxFont"))) {
12689 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxFont.");
12694 arg2
= wxTheFontList
->FindOrCreateFont(temp
->GetPointSize(),
12698 temp
->GetUnderlined(),
12699 temp
->GetFaceName(),
12700 temp
->GetEncoding());
12705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12706 (arg1
)->SetDrawnFont(arg2
);
12708 wxPyEndAllowThreads(__tstate
);
12709 if (PyErr_Occurred()) SWIG_fail
;
12711 Py_INCREF(Py_None
); resultobj
= Py_None
;
12718 static PyObject
*_wrap_PyDrawnShape_SetDrawnPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12719 PyObject
*resultobj
;
12720 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
12721 wxPen
*arg2
= (wxPen
*) 0 ;
12722 bool arg3
= (bool) FALSE
;
12723 PyObject
* obj0
= 0 ;
12724 PyObject
* obj1
= 0 ;
12725 PyObject
* obj2
= 0 ;
12726 char *kwnames
[] = {
12727 (char *) "self",(char *) "pen",(char *) "isOutline", NULL
12730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyDrawnShape_SetDrawnPen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12731 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12735 if (obj1
== Py_None
) {
12738 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxPen"))) {
12739 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxPen.");
12744 arg2
= wxThePenList
->FindOrCreatePen(temp
->GetColour(),
12751 arg3
= PyInt_AsLong(obj2
) ? true : false;
12752 if (PyErr_Occurred()) SWIG_fail
;
12755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12756 (arg1
)->SetDrawnPen(arg2
,arg3
);
12758 wxPyEndAllowThreads(__tstate
);
12759 if (PyErr_Occurred()) SWIG_fail
;
12761 Py_INCREF(Py_None
); resultobj
= Py_None
;
12768 static PyObject
*_wrap_PyDrawnShape_SetDrawnTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12769 PyObject
*resultobj
;
12770 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
12771 wxColour
*arg2
= 0 ;
12773 PyObject
* obj0
= 0 ;
12774 PyObject
* obj1
= 0 ;
12775 char *kwnames
[] = {
12776 (char *) "self",(char *) "colour", NULL
12779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_SetDrawnTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
12780 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12783 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
12786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12787 (arg1
)->SetDrawnTextColour((wxColour
const &)*arg2
);
12789 wxPyEndAllowThreads(__tstate
);
12790 if (PyErr_Occurred()) SWIG_fail
;
12792 Py_INCREF(Py_None
); resultobj
= Py_None
;
12799 static PyObject
*_wrap_PyDrawnShape_Scale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12800 PyObject
*resultobj
;
12801 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
12804 PyObject
* obj0
= 0 ;
12805 char *kwnames
[] = {
12806 (char *) "self",(char *) "sx",(char *) "sy", NULL
12809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyDrawnShape_Scale",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
12810 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12813 (arg1
)->Scale(arg2
,arg3
);
12815 wxPyEndAllowThreads(__tstate
);
12816 if (PyErr_Occurred()) SWIG_fail
;
12818 Py_INCREF(Py_None
); resultobj
= Py_None
;
12825 static PyObject
*_wrap_PyDrawnShape_SetSaveToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12826 PyObject
*resultobj
;
12827 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
12829 PyObject
* obj0
= 0 ;
12830 PyObject
* obj1
= 0 ;
12831 char *kwnames
[] = {
12832 (char *) "self",(char *) "save", NULL
12835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_SetSaveToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
12836 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12837 arg2
= PyInt_AsLong(obj1
) ? true : false;
12838 if (PyErr_Occurred()) SWIG_fail
;
12840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12841 (arg1
)->SetSaveToFile(arg2
);
12843 wxPyEndAllowThreads(__tstate
);
12844 if (PyErr_Occurred()) SWIG_fail
;
12846 Py_INCREF(Py_None
); resultobj
= Py_None
;
12853 static PyObject
*_wrap_PyDrawnShape_Translate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12854 PyObject
*resultobj
;
12855 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
12858 PyObject
* obj0
= 0 ;
12859 char *kwnames
[] = {
12860 (char *) "self",(char *) "x",(char *) "y", NULL
12863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyDrawnShape_Translate",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
12864 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12867 (arg1
)->Translate(arg2
,arg3
);
12869 wxPyEndAllowThreads(__tstate
);
12870 if (PyErr_Occurred()) SWIG_fail
;
12872 Py_INCREF(Py_None
); resultobj
= Py_None
;
12879 static PyObject
*_wrap_PyDrawnShape_base_OnDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12880 PyObject
*resultobj
;
12881 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
12882 PyObject
* obj0
= 0 ;
12883 char *kwnames
[] = {
12884 (char *) "self", NULL
12887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDrawnShape_base_OnDelete",kwnames
,&obj0
)) goto fail
;
12888 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12891 (arg1
)->base_OnDelete();
12893 wxPyEndAllowThreads(__tstate
);
12894 if (PyErr_Occurred()) SWIG_fail
;
12896 Py_INCREF(Py_None
); resultobj
= Py_None
;
12903 static PyObject
*_wrap_PyDrawnShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12904 PyObject
*resultobj
;
12905 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
12907 PyObject
* obj0
= 0 ;
12908 PyObject
* obj1
= 0 ;
12909 char *kwnames
[] = {
12910 (char *) "self",(char *) "dc", NULL
12913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
12914 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12915 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12916 if (arg2
== NULL
) {
12917 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12921 (arg1
)->base_OnDraw(*arg2
);
12923 wxPyEndAllowThreads(__tstate
);
12924 if (PyErr_Occurred()) SWIG_fail
;
12926 Py_INCREF(Py_None
); resultobj
= Py_None
;
12933 static PyObject
*_wrap_PyDrawnShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12934 PyObject
*resultobj
;
12935 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
12937 PyObject
* obj0
= 0 ;
12938 PyObject
* obj1
= 0 ;
12939 char *kwnames
[] = {
12940 (char *) "self",(char *) "dc", NULL
12943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
12944 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12945 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12946 if (arg2
== NULL
) {
12947 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12951 (arg1
)->base_OnDrawContents(*arg2
);
12953 wxPyEndAllowThreads(__tstate
);
12954 if (PyErr_Occurred()) SWIG_fail
;
12956 Py_INCREF(Py_None
); resultobj
= Py_None
;
12963 static PyObject
*_wrap_PyDrawnShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12964 PyObject
*resultobj
;
12965 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
12967 bool arg3
= (bool) FALSE
;
12968 PyObject
* obj0
= 0 ;
12969 PyObject
* obj1
= 0 ;
12970 PyObject
* obj2
= 0 ;
12971 char *kwnames
[] = {
12972 (char *) "self",(char *) "dc",(char *) "erase", NULL
12975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyDrawnShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12976 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12977 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12978 if (arg2
== NULL
) {
12979 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12982 arg3
= PyInt_AsLong(obj2
) ? true : false;
12983 if (PyErr_Occurred()) SWIG_fail
;
12986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12987 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
12989 wxPyEndAllowThreads(__tstate
);
12990 if (PyErr_Occurred()) SWIG_fail
;
12992 Py_INCREF(Py_None
); resultobj
= Py_None
;
12999 static PyObject
*_wrap_PyDrawnShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13000 PyObject
*resultobj
;
13001 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
13003 PyObject
* obj0
= 0 ;
13004 PyObject
* obj1
= 0 ;
13005 char *kwnames
[] = {
13006 (char *) "self",(char *) "dc", NULL
13009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
13010 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13011 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13012 if (arg2
== NULL
) {
13013 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13017 (arg1
)->base_OnMoveLinks(*arg2
);
13019 wxPyEndAllowThreads(__tstate
);
13020 if (PyErr_Occurred()) SWIG_fail
;
13022 Py_INCREF(Py_None
); resultobj
= Py_None
;
13029 static PyObject
*_wrap_PyDrawnShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13030 PyObject
*resultobj
;
13031 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
13033 PyObject
* obj0
= 0 ;
13034 PyObject
* obj1
= 0 ;
13035 char *kwnames
[] = {
13036 (char *) "self",(char *) "dc", NULL
13039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
13040 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13041 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13042 if (arg2
== NULL
) {
13043 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13047 (arg1
)->base_OnErase(*arg2
);
13049 wxPyEndAllowThreads(__tstate
);
13050 if (PyErr_Occurred()) SWIG_fail
;
13052 Py_INCREF(Py_None
); resultobj
= Py_None
;
13059 static PyObject
*_wrap_PyDrawnShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13060 PyObject
*resultobj
;
13061 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
13063 PyObject
* obj0
= 0 ;
13064 PyObject
* obj1
= 0 ;
13065 char *kwnames
[] = {
13066 (char *) "self",(char *) "dc", NULL
13069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
13070 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13071 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13072 if (arg2
== NULL
) {
13073 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13077 (arg1
)->base_OnEraseContents(*arg2
);
13079 wxPyEndAllowThreads(__tstate
);
13080 if (PyErr_Occurred()) SWIG_fail
;
13082 Py_INCREF(Py_None
); resultobj
= Py_None
;
13089 static PyObject
*_wrap_PyDrawnShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13090 PyObject
*resultobj
;
13091 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
13093 PyObject
* obj0
= 0 ;
13094 PyObject
* obj1
= 0 ;
13095 char *kwnames
[] = {
13096 (char *) "self",(char *) "dc", NULL
13099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
13100 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13101 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13102 if (arg2
== NULL
) {
13103 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13107 (arg1
)->base_OnHighlight(*arg2
);
13109 wxPyEndAllowThreads(__tstate
);
13110 if (PyErr_Occurred()) SWIG_fail
;
13112 Py_INCREF(Py_None
); resultobj
= Py_None
;
13119 static PyObject
*_wrap_PyDrawnShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13120 PyObject
*resultobj
;
13121 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
13124 int arg4
= (int) 0 ;
13125 int arg5
= (int) 0 ;
13126 PyObject
* obj0
= 0 ;
13127 char *kwnames
[] = {
13128 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyDrawnShape_base_OnLeftClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
13132 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13135 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
13137 wxPyEndAllowThreads(__tstate
);
13138 if (PyErr_Occurred()) SWIG_fail
;
13140 Py_INCREF(Py_None
); resultobj
= Py_None
;
13147 static PyObject
*_wrap_PyDrawnShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13148 PyObject
*resultobj
;
13149 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
13152 int arg4
= (int) 0 ;
13153 int arg5
= (int) 0 ;
13154 PyObject
* obj0
= 0 ;
13155 char *kwnames
[] = {
13156 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyDrawnShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
13160 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13163 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
13165 wxPyEndAllowThreads(__tstate
);
13166 if (PyErr_Occurred()) SWIG_fail
;
13168 Py_INCREF(Py_None
); resultobj
= Py_None
;
13175 static PyObject
*_wrap_PyDrawnShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13176 PyObject
*resultobj
;
13177 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
13180 int arg4
= (int) 0 ;
13181 int arg5
= (int) 0 ;
13182 PyObject
* obj0
= 0 ;
13183 char *kwnames
[] = {
13184 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyDrawnShape_base_OnRightClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
13188 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13191 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
13193 wxPyEndAllowThreads(__tstate
);
13194 if (PyErr_Occurred()) SWIG_fail
;
13196 Py_INCREF(Py_None
); resultobj
= Py_None
;
13203 static PyObject
*_wrap_PyDrawnShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13204 PyObject
*resultobj
;
13205 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
13208 PyObject
* obj0
= 0 ;
13209 char *kwnames
[] = {
13210 (char *) "self",(char *) "x",(char *) "y", NULL
13213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyDrawnShape_base_OnSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
13214 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13217 (arg1
)->base_OnSize(arg2
,arg3
);
13219 wxPyEndAllowThreads(__tstate
);
13220 if (PyErr_Occurred()) SWIG_fail
;
13222 Py_INCREF(Py_None
); resultobj
= Py_None
;
13229 static PyObject
*_wrap_PyDrawnShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13230 PyObject
*resultobj
;
13231 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
13237 bool arg7
= (bool) True
;
13239 PyObject
* obj0
= 0 ;
13240 PyObject
* obj1
= 0 ;
13241 PyObject
* obj6
= 0 ;
13242 char *kwnames
[] = {
13243 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
13246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd|O:PyDrawnShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
)) goto fail
;
13247 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13248 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13249 if (arg2
== NULL
) {
13250 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13253 arg7
= PyInt_AsLong(obj6
) ? true : false;
13254 if (PyErr_Occurred()) SWIG_fail
;
13257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13258 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
13260 wxPyEndAllowThreads(__tstate
);
13261 if (PyErr_Occurred()) SWIG_fail
;
13263 resultobj
= PyInt_FromLong((long)result
);
13270 static PyObject
*_wrap_PyDrawnShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13271 PyObject
*resultobj
;
13272 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
13278 bool arg7
= (bool) True
;
13279 PyObject
* obj0
= 0 ;
13280 PyObject
* obj1
= 0 ;
13281 PyObject
* obj6
= 0 ;
13282 char *kwnames
[] = {
13283 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
13286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd|O:PyDrawnShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
)) goto fail
;
13287 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13288 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13289 if (arg2
== NULL
) {
13290 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13293 arg7
= PyInt_AsLong(obj6
) ? true : false;
13294 if (PyErr_Occurred()) SWIG_fail
;
13297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13298 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
13300 wxPyEndAllowThreads(__tstate
);
13301 if (PyErr_Occurred()) SWIG_fail
;
13303 Py_INCREF(Py_None
); resultobj
= Py_None
;
13310 static PyObject
*_wrap_PyDrawnShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13311 PyObject
*resultobj
;
13312 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
13316 int arg5
= (int) 0 ;
13317 int arg6
= (int) 0 ;
13318 PyObject
* obj0
= 0 ;
13319 PyObject
* obj1
= 0 ;
13320 char *kwnames
[] = {
13321 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyDrawnShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
13325 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13326 arg2
= PyInt_AsLong(obj1
) ? true : false;
13327 if (PyErr_Occurred()) SWIG_fail
;
13329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13330 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
13332 wxPyEndAllowThreads(__tstate
);
13333 if (PyErr_Occurred()) SWIG_fail
;
13335 Py_INCREF(Py_None
); resultobj
= Py_None
;
13342 static PyObject
*_wrap_PyDrawnShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13343 PyObject
*resultobj
;
13344 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
13347 int arg4
= (int) 0 ;
13348 int arg5
= (int) 0 ;
13349 PyObject
* obj0
= 0 ;
13350 char *kwnames
[] = {
13351 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyDrawnShape_base_OnBeginDragLeft",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
13355 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13358 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
13360 wxPyEndAllowThreads(__tstate
);
13361 if (PyErr_Occurred()) SWIG_fail
;
13363 Py_INCREF(Py_None
); resultobj
= Py_None
;
13370 static PyObject
*_wrap_PyDrawnShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13371 PyObject
*resultobj
;
13372 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
13375 int arg4
= (int) 0 ;
13376 int arg5
= (int) 0 ;
13377 PyObject
* obj0
= 0 ;
13378 char *kwnames
[] = {
13379 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyDrawnShape_base_OnEndDragLeft",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
13383 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13386 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
13388 wxPyEndAllowThreads(__tstate
);
13389 if (PyErr_Occurred()) SWIG_fail
;
13391 Py_INCREF(Py_None
); resultobj
= Py_None
;
13398 static PyObject
*_wrap_PyDrawnShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13399 PyObject
*resultobj
;
13400 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
13404 int arg5
= (int) 0 ;
13405 int arg6
= (int) 0 ;
13406 PyObject
* obj0
= 0 ;
13407 PyObject
* obj1
= 0 ;
13408 char *kwnames
[] = {
13409 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyDrawnShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
13413 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13414 arg2
= PyInt_AsLong(obj1
) ? true : false;
13415 if (PyErr_Occurred()) SWIG_fail
;
13417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13418 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
13420 wxPyEndAllowThreads(__tstate
);
13421 if (PyErr_Occurred()) SWIG_fail
;
13423 Py_INCREF(Py_None
); resultobj
= Py_None
;
13430 static PyObject
*_wrap_PyDrawnShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13431 PyObject
*resultobj
;
13432 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
13435 int arg4
= (int) 0 ;
13436 int arg5
= (int) 0 ;
13437 PyObject
* obj0
= 0 ;
13438 char *kwnames
[] = {
13439 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyDrawnShape_base_OnBeginDragRight",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
13443 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13446 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
13448 wxPyEndAllowThreads(__tstate
);
13449 if (PyErr_Occurred()) SWIG_fail
;
13451 Py_INCREF(Py_None
); resultobj
= Py_None
;
13458 static PyObject
*_wrap_PyDrawnShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13459 PyObject
*resultobj
;
13460 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
13463 int arg4
= (int) 0 ;
13464 int arg5
= (int) 0 ;
13465 PyObject
* obj0
= 0 ;
13466 char *kwnames
[] = {
13467 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyDrawnShape_base_OnEndDragRight",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
13471 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13474 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
13476 wxPyEndAllowThreads(__tstate
);
13477 if (PyErr_Occurred()) SWIG_fail
;
13479 Py_INCREF(Py_None
); resultobj
= Py_None
;
13486 static PyObject
*_wrap_PyDrawnShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13487 PyObject
*resultobj
;
13488 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
13494 PyObject
* obj0
= 0 ;
13495 PyObject
* obj1
= 0 ;
13496 char *kwnames
[] = {
13497 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
13500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd:PyDrawnShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
13501 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13502 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13503 if (arg2
== NULL
) {
13504 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13508 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
13510 wxPyEndAllowThreads(__tstate
);
13511 if (PyErr_Occurred()) SWIG_fail
;
13513 Py_INCREF(Py_None
); resultobj
= Py_None
;
13520 static PyObject
*_wrap_PyDrawnShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13521 PyObject
*resultobj
;
13522 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
13524 PyObject
* obj0
= 0 ;
13525 PyObject
* obj1
= 0 ;
13526 char *kwnames
[] = {
13527 (char *) "self",(char *) "dc", NULL
13530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
13531 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13532 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13533 if (arg2
== NULL
) {
13534 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13538 (arg1
)->base_OnDrawControlPoints(*arg2
);
13540 wxPyEndAllowThreads(__tstate
);
13541 if (PyErr_Occurred()) SWIG_fail
;
13543 Py_INCREF(Py_None
); resultobj
= Py_None
;
13550 static PyObject
*_wrap_PyDrawnShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13551 PyObject
*resultobj
;
13552 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
13554 PyObject
* obj0
= 0 ;
13555 PyObject
* obj1
= 0 ;
13556 char *kwnames
[] = {
13557 (char *) "self",(char *) "dc", NULL
13560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
13561 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13562 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13563 if (arg2
== NULL
) {
13564 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13568 (arg1
)->base_OnEraseControlPoints(*arg2
);
13570 wxPyEndAllowThreads(__tstate
);
13571 if (PyErr_Occurred()) SWIG_fail
;
13573 Py_INCREF(Py_None
); resultobj
= Py_None
;
13580 static PyObject
*_wrap_PyDrawnShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13581 PyObject
*resultobj
;
13582 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
13584 bool arg3
= (bool) True
;
13585 PyObject
* obj0
= 0 ;
13586 PyObject
* obj1
= 0 ;
13587 PyObject
* obj2
= 0 ;
13588 char *kwnames
[] = {
13589 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
13592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyDrawnShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13593 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13594 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13595 if (arg2
== NULL
) {
13596 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13599 arg3
= PyInt_AsLong(obj2
) ? true : false;
13600 if (PyErr_Occurred()) SWIG_fail
;
13603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13604 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
13606 wxPyEndAllowThreads(__tstate
);
13607 if (PyErr_Occurred()) SWIG_fail
;
13609 Py_INCREF(Py_None
); resultobj
= Py_None
;
13616 static PyObject
*_wrap_PyDrawnShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13617 PyObject
*resultobj
;
13618 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
13619 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
13623 int arg6
= (int) 0 ;
13624 int arg7
= (int) 0 ;
13625 PyObject
* obj0
= 0 ;
13626 PyObject
* obj1
= 0 ;
13627 PyObject
* obj2
= 0 ;
13628 char *kwnames
[] = {
13629 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOdd|ii:PyDrawnShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
,&arg6
,&arg7
)) goto fail
;
13633 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13634 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13635 arg3
= PyInt_AsLong(obj2
) ? true : false;
13636 if (PyErr_Occurred()) SWIG_fail
;
13638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13639 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
13641 wxPyEndAllowThreads(__tstate
);
13642 if (PyErr_Occurred()) SWIG_fail
;
13644 Py_INCREF(Py_None
); resultobj
= Py_None
;
13651 static PyObject
*_wrap_PyDrawnShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13652 PyObject
*resultobj
;
13653 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
13654 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
13657 int arg5
= (int) 0 ;
13658 int arg6
= (int) 0 ;
13659 PyObject
* obj0
= 0 ;
13660 PyObject
* obj1
= 0 ;
13661 char *kwnames
[] = {
13662 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyDrawnShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
13666 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13667 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13670 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
13672 wxPyEndAllowThreads(__tstate
);
13673 if (PyErr_Occurred()) SWIG_fail
;
13675 Py_INCREF(Py_None
); resultobj
= Py_None
;
13682 static PyObject
*_wrap_PyDrawnShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13683 PyObject
*resultobj
;
13684 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
13685 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
13688 int arg5
= (int) 0 ;
13689 int arg6
= (int) 0 ;
13690 PyObject
* obj0
= 0 ;
13691 PyObject
* obj1
= 0 ;
13692 char *kwnames
[] = {
13693 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyDrawnShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
13697 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13698 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13701 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
13703 wxPyEndAllowThreads(__tstate
);
13704 if (PyErr_Occurred()) SWIG_fail
;
13706 Py_INCREF(Py_None
); resultobj
= Py_None
;
13713 static PyObject
*_wrap_PyDrawnShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13714 PyObject
*resultobj
;
13715 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
13718 PyObject
* obj0
= 0 ;
13719 char *kwnames
[] = {
13720 (char *) "self",(char *) "w",(char *) "h", NULL
13723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyDrawnShape_base_OnBeginSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
13724 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13727 (arg1
)->base_OnBeginSize(arg2
,arg3
);
13729 wxPyEndAllowThreads(__tstate
);
13730 if (PyErr_Occurred()) SWIG_fail
;
13732 Py_INCREF(Py_None
); resultobj
= Py_None
;
13739 static PyObject
*_wrap_PyDrawnShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13740 PyObject
*resultobj
;
13741 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
13744 PyObject
* obj0
= 0 ;
13745 char *kwnames
[] = {
13746 (char *) "self",(char *) "w",(char *) "h", NULL
13749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyDrawnShape_base_OnEndSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
13750 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13753 (arg1
)->base_OnEndSize(arg2
,arg3
);
13755 wxPyEndAllowThreads(__tstate
);
13756 if (PyErr_Occurred()) SWIG_fail
;
13758 Py_INCREF(Py_None
); resultobj
= Py_None
;
13765 static PyObject
* PyDrawnShape_swigregister(PyObject
*self
, PyObject
*args
) {
13767 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13768 SWIG_TypeClientData(SWIGTYPE_p_wxPyDrawnShape
, obj
);
13770 return Py_BuildValue((char *)"");
13772 static PyObject
*_wrap_new_OGLConstraint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13773 PyObject
*resultobj
;
13775 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
13776 PyObject
*arg3
= (PyObject
*) 0 ;
13777 wxOGLConstraint
*result
;
13778 PyObject
* obj1
= 0 ;
13779 PyObject
* obj2
= 0 ;
13780 char *kwnames
[] = {
13781 (char *) "type",(char *) "constraining",(char *) "constrained", NULL
13784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"iOO:new_OGLConstraint",kwnames
,&arg1
,&obj1
,&obj2
)) goto fail
;
13785 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13789 result
= (wxOGLConstraint
*)new_wxOGLConstraint(arg1
,arg2
,arg3
);
13791 wxPyEndAllowThreads(__tstate
);
13792 if (PyErr_Occurred()) SWIG_fail
;
13795 resultobj
= wxPyMake_wxObject(result
);
13803 static PyObject
*_wrap_OGLConstraint_Evaluate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13804 PyObject
*resultobj
;
13805 wxOGLConstraint
*arg1
= (wxOGLConstraint
*) 0 ;
13807 PyObject
* obj0
= 0 ;
13808 char *kwnames
[] = {
13809 (char *) "self", NULL
13812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:OGLConstraint_Evaluate",kwnames
,&obj0
)) goto fail
;
13813 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxOGLConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13816 result
= (bool)(arg1
)->Evaluate();
13818 wxPyEndAllowThreads(__tstate
);
13819 if (PyErr_Occurred()) SWIG_fail
;
13821 resultobj
= PyInt_FromLong((long)result
);
13828 static PyObject
*_wrap_OGLConstraint_SetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13829 PyObject
*resultobj
;
13830 wxOGLConstraint
*arg1
= (wxOGLConstraint
*) 0 ;
13833 PyObject
* obj0
= 0 ;
13834 char *kwnames
[] = {
13835 (char *) "self",(char *) "x",(char *) "y", NULL
13838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:OGLConstraint_SetSpacing",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
13839 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxOGLConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13842 (arg1
)->SetSpacing(arg2
,arg3
);
13844 wxPyEndAllowThreads(__tstate
);
13845 if (PyErr_Occurred()) SWIG_fail
;
13847 Py_INCREF(Py_None
); resultobj
= Py_None
;
13854 static PyObject
*_wrap_OGLConstraint_Equals(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13855 PyObject
*resultobj
;
13856 wxOGLConstraint
*arg1
= (wxOGLConstraint
*) 0 ;
13860 PyObject
* obj0
= 0 ;
13861 char *kwnames
[] = {
13862 (char *) "self",(char *) "a",(char *) "b", NULL
13865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:OGLConstraint_Equals",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
13866 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxOGLConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13869 result
= (bool)(arg1
)->Equals(arg2
,arg3
);
13871 wxPyEndAllowThreads(__tstate
);
13872 if (PyErr_Occurred()) SWIG_fail
;
13874 resultobj
= PyInt_FromLong((long)result
);
13881 static PyObject
* OGLConstraint_swigregister(PyObject
*self
, PyObject
*args
) {
13883 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13884 SWIG_TypeClientData(SWIGTYPE_p_wxOGLConstraint
, obj
);
13886 return Py_BuildValue((char *)"");
13888 static PyObject
*_wrap_new_PyCompositeShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13889 PyObject
*resultobj
;
13890 wxPyCompositeShape
*result
;
13891 char *kwnames
[] = {
13895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyCompositeShape",kwnames
)) goto fail
;
13897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13898 result
= (wxPyCompositeShape
*)new wxPyCompositeShape();
13900 wxPyEndAllowThreads(__tstate
);
13901 if (PyErr_Occurred()) SWIG_fail
;
13903 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyCompositeShape
, 1);
13910 static PyObject
*_wrap_PyCompositeShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13911 PyObject
*resultobj
;
13912 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
13913 PyObject
*arg2
= (PyObject
*) 0 ;
13914 PyObject
*arg3
= (PyObject
*) 0 ;
13915 PyObject
* obj0
= 0 ;
13916 PyObject
* obj1
= 0 ;
13917 PyObject
* obj2
= 0 ;
13918 char *kwnames
[] = {
13919 (char *) "self",(char *) "self",(char *) "_class", NULL
13922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyCompositeShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13923 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13928 (arg1
)->_setCallbackInfo(arg2
,arg3
);
13930 wxPyEndAllowThreads(__tstate
);
13931 if (PyErr_Occurred()) SWIG_fail
;
13933 Py_INCREF(Py_None
); resultobj
= Py_None
;
13940 static PyObject
*_wrap_PyCompositeShape_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13941 PyObject
*resultobj
;
13942 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
13943 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
13944 wxPyShape
*arg3
= (wxPyShape
*) NULL
;
13945 PyObject
* obj0
= 0 ;
13946 PyObject
* obj1
= 0 ;
13947 PyObject
* obj2
= 0 ;
13948 char *kwnames
[] = {
13949 (char *) "self",(char *) "child",(char *) "addAfter", NULL
13952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyCompositeShape_AddChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13953 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13954 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13956 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13960 (arg1
)->AddChild(arg2
,arg3
);
13962 wxPyEndAllowThreads(__tstate
);
13963 if (PyErr_Occurred()) SWIG_fail
;
13965 Py_INCREF(Py_None
); resultobj
= Py_None
;
13972 static PyObject
*_wrap_PyCompositeShape_AddConstraint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13973 PyObject
*resultobj
;
13974 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
13975 wxOGLConstraint
*arg2
= (wxOGLConstraint
*) 0 ;
13976 wxOGLConstraint
*result
;
13977 PyObject
* obj0
= 0 ;
13978 PyObject
* obj1
= 0 ;
13979 char *kwnames
[] = {
13980 (char *) "self",(char *) "constraint", NULL
13983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_AddConstraint",kwnames
,&obj0
,&obj1
)) goto fail
;
13984 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13985 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxOGLConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13988 result
= (wxOGLConstraint
*)(arg1
)->AddConstraint(arg2
);
13990 wxPyEndAllowThreads(__tstate
);
13991 if (PyErr_Occurred()) SWIG_fail
;
13994 resultobj
= wxPyMake_wxObject(result
);
14002 static PyObject
*_wrap_PyCompositeShape_AddConstrainedShapes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14003 PyObject
*resultobj
;
14004 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
14006 wxPyShape
*arg3
= (wxPyShape
*) 0 ;
14007 PyObject
*arg4
= (PyObject
*) 0 ;
14008 wxOGLConstraint
*result
;
14009 PyObject
* obj0
= 0 ;
14010 PyObject
* obj2
= 0 ;
14011 PyObject
* obj3
= 0 ;
14012 char *kwnames
[] = {
14013 (char *) "self",(char *) "type",(char *) "constraining",(char *) "constrained", NULL
14016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiOO:PyCompositeShape_AddConstrainedShapes",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
)) goto fail
;
14017 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14018 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14022 result
= (wxOGLConstraint
*)wxPyCompositeShape_AddConstrainedShapes(arg1
,arg2
,arg3
,arg4
);
14024 wxPyEndAllowThreads(__tstate
);
14025 if (PyErr_Occurred()) SWIG_fail
;
14028 resultobj
= wxPyMake_wxObject(result
);
14036 static PyObject
*_wrap_PyCompositeShape_AddSimpleConstraint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14037 PyObject
*resultobj
;
14038 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
14040 wxPyShape
*arg3
= (wxPyShape
*) 0 ;
14041 wxPyShape
*arg4
= (wxPyShape
*) 0 ;
14042 wxOGLConstraint
*result
;
14043 PyObject
* obj0
= 0 ;
14044 PyObject
* obj2
= 0 ;
14045 PyObject
* obj3
= 0 ;
14046 char *kwnames
[] = {
14047 (char *) "self",(char *) "type",(char *) "constraining",(char *) "constrained", NULL
14050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiOO:PyCompositeShape_AddSimpleConstraint",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
)) goto fail
;
14051 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14052 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14053 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14056 result
= (wxOGLConstraint
*)(arg1
)->AddConstraint(arg2
,arg3
,arg4
);
14058 wxPyEndAllowThreads(__tstate
);
14059 if (PyErr_Occurred()) SWIG_fail
;
14062 resultobj
= wxPyMake_wxObject(result
);
14070 static PyObject
*_wrap_PyCompositeShape_CalculateSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14071 PyObject
*resultobj
;
14072 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
14073 PyObject
* obj0
= 0 ;
14074 char *kwnames
[] = {
14075 (char *) "self", NULL
14078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCompositeShape_CalculateSize",kwnames
,&obj0
)) goto fail
;
14079 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14082 (arg1
)->CalculateSize();
14084 wxPyEndAllowThreads(__tstate
);
14085 if (PyErr_Occurred()) SWIG_fail
;
14087 Py_INCREF(Py_None
); resultobj
= Py_None
;
14094 static PyObject
*_wrap_PyCompositeShape_ContainsDivision(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14095 PyObject
*resultobj
;
14096 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
14097 wxPyDivisionShape
*arg2
= (wxPyDivisionShape
*) 0 ;
14099 PyObject
* obj0
= 0 ;
14100 PyObject
* obj1
= 0 ;
14101 char *kwnames
[] = {
14102 (char *) "self",(char *) "division", NULL
14105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_ContainsDivision",kwnames
,&obj0
,&obj1
)) goto fail
;
14106 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14107 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14110 result
= (bool)(arg1
)->ContainsDivision(arg2
);
14112 wxPyEndAllowThreads(__tstate
);
14113 if (PyErr_Occurred()) SWIG_fail
;
14115 resultobj
= PyInt_FromLong((long)result
);
14122 static PyObject
*_wrap_PyCompositeShape_DeleteConstraint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14123 PyObject
*resultobj
;
14124 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
14125 wxOGLConstraint
*arg2
= (wxOGLConstraint
*) 0 ;
14126 PyObject
* obj0
= 0 ;
14127 PyObject
* obj1
= 0 ;
14128 char *kwnames
[] = {
14129 (char *) "self",(char *) "constraint", NULL
14132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_DeleteConstraint",kwnames
,&obj0
,&obj1
)) goto fail
;
14133 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14134 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxOGLConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14137 (arg1
)->DeleteConstraint(arg2
);
14139 wxPyEndAllowThreads(__tstate
);
14140 if (PyErr_Occurred()) SWIG_fail
;
14142 Py_INCREF(Py_None
); resultobj
= Py_None
;
14149 static PyObject
*_wrap_PyCompositeShape_DeleteConstraintsInvolvingChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14150 PyObject
*resultobj
;
14151 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
14152 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
14153 PyObject
* obj0
= 0 ;
14154 PyObject
* obj1
= 0 ;
14155 char *kwnames
[] = {
14156 (char *) "self",(char *) "child", NULL
14159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_DeleteConstraintsInvolvingChild",kwnames
,&obj0
,&obj1
)) goto fail
;
14160 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14161 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14164 (arg1
)->DeleteConstraintsInvolvingChild(arg2
);
14166 wxPyEndAllowThreads(__tstate
);
14167 if (PyErr_Occurred()) SWIG_fail
;
14169 Py_INCREF(Py_None
); resultobj
= Py_None
;
14176 static PyObject
*_wrap_PyCompositeShape_FindContainerImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14177 PyObject
*resultobj
;
14178 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
14180 PyObject
* obj0
= 0 ;
14181 char *kwnames
[] = {
14182 (char *) "self", NULL
14185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCompositeShape_FindContainerImage",kwnames
,&obj0
)) goto fail
;
14186 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14189 result
= (wxPyShape
*)(arg1
)->FindContainerImage();
14191 wxPyEndAllowThreads(__tstate
);
14192 if (PyErr_Occurred()) SWIG_fail
;
14195 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
14203 static PyObject
*_wrap_PyCompositeShape_GetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14204 PyObject
*resultobj
;
14205 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
14207 PyObject
* obj0
= 0 ;
14208 char *kwnames
[] = {
14209 (char *) "self", NULL
14212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCompositeShape_GetConstraints",kwnames
,&obj0
)) goto fail
;
14213 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14216 result
= (PyObject
*)wxPyCompositeShape_GetConstraints(arg1
);
14218 wxPyEndAllowThreads(__tstate
);
14219 if (PyErr_Occurred()) SWIG_fail
;
14221 resultobj
= result
;
14228 static PyObject
*_wrap_PyCompositeShape_GetDivisions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14229 PyObject
*resultobj
;
14230 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
14232 PyObject
* obj0
= 0 ;
14233 char *kwnames
[] = {
14234 (char *) "self", NULL
14237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCompositeShape_GetDivisions",kwnames
,&obj0
)) goto fail
;
14238 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14241 result
= (PyObject
*)wxPyCompositeShape_GetDivisions(arg1
);
14243 wxPyEndAllowThreads(__tstate
);
14244 if (PyErr_Occurred()) SWIG_fail
;
14246 resultobj
= result
;
14253 static PyObject
*_wrap_PyCompositeShape_MakeContainer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14254 PyObject
*resultobj
;
14255 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
14256 PyObject
* obj0
= 0 ;
14257 char *kwnames
[] = {
14258 (char *) "self", NULL
14261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCompositeShape_MakeContainer",kwnames
,&obj0
)) goto fail
;
14262 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14265 (arg1
)->MakeContainer();
14267 wxPyEndAllowThreads(__tstate
);
14268 if (PyErr_Occurred()) SWIG_fail
;
14270 Py_INCREF(Py_None
); resultobj
= Py_None
;
14277 static PyObject
*_wrap_PyCompositeShape_Recompute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14278 PyObject
*resultobj
;
14279 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
14281 PyObject
* obj0
= 0 ;
14282 char *kwnames
[] = {
14283 (char *) "self", NULL
14286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCompositeShape_Recompute",kwnames
,&obj0
)) goto fail
;
14287 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14290 result
= (bool)(arg1
)->Recompute();
14292 wxPyEndAllowThreads(__tstate
);
14293 if (PyErr_Occurred()) SWIG_fail
;
14295 resultobj
= PyInt_FromLong((long)result
);
14302 static PyObject
*_wrap_PyCompositeShape_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14303 PyObject
*resultobj
;
14304 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
14305 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
14306 PyObject
* obj0
= 0 ;
14307 PyObject
* obj1
= 0 ;
14308 char *kwnames
[] = {
14309 (char *) "self",(char *) "child", NULL
14312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
14313 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14314 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14317 (arg1
)->RemoveChild(arg2
);
14319 wxPyEndAllowThreads(__tstate
);
14320 if (PyErr_Occurred()) SWIG_fail
;
14322 Py_INCREF(Py_None
); resultobj
= Py_None
;
14329 static PyObject
*_wrap_PyCompositeShape_base_OnDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14330 PyObject
*resultobj
;
14331 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
14332 PyObject
* obj0
= 0 ;
14333 char *kwnames
[] = {
14334 (char *) "self", NULL
14337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCompositeShape_base_OnDelete",kwnames
,&obj0
)) goto fail
;
14338 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14341 (arg1
)->base_OnDelete();
14343 wxPyEndAllowThreads(__tstate
);
14344 if (PyErr_Occurred()) SWIG_fail
;
14346 Py_INCREF(Py_None
); resultobj
= Py_None
;
14353 static PyObject
*_wrap_PyCompositeShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14354 PyObject
*resultobj
;
14355 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
14357 PyObject
* obj0
= 0 ;
14358 PyObject
* obj1
= 0 ;
14359 char *kwnames
[] = {
14360 (char *) "self",(char *) "dc", NULL
14363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
14364 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14365 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14366 if (arg2
== NULL
) {
14367 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
14370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14371 (arg1
)->base_OnDraw(*arg2
);
14373 wxPyEndAllowThreads(__tstate
);
14374 if (PyErr_Occurred()) SWIG_fail
;
14376 Py_INCREF(Py_None
); resultobj
= Py_None
;
14383 static PyObject
*_wrap_PyCompositeShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14384 PyObject
*resultobj
;
14385 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
14387 PyObject
* obj0
= 0 ;
14388 PyObject
* obj1
= 0 ;
14389 char *kwnames
[] = {
14390 (char *) "self",(char *) "dc", NULL
14393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
14394 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14395 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14396 if (arg2
== NULL
) {
14397 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
14400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14401 (arg1
)->base_OnDrawContents(*arg2
);
14403 wxPyEndAllowThreads(__tstate
);
14404 if (PyErr_Occurred()) SWIG_fail
;
14406 Py_INCREF(Py_None
); resultobj
= Py_None
;
14413 static PyObject
*_wrap_PyCompositeShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14414 PyObject
*resultobj
;
14415 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
14417 bool arg3
= (bool) FALSE
;
14418 PyObject
* obj0
= 0 ;
14419 PyObject
* obj1
= 0 ;
14420 PyObject
* obj2
= 0 ;
14421 char *kwnames
[] = {
14422 (char *) "self",(char *) "dc",(char *) "erase", NULL
14425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyCompositeShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14426 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14427 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14428 if (arg2
== NULL
) {
14429 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
14432 arg3
= PyInt_AsLong(obj2
) ? true : false;
14433 if (PyErr_Occurred()) SWIG_fail
;
14436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14437 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
14439 wxPyEndAllowThreads(__tstate
);
14440 if (PyErr_Occurred()) SWIG_fail
;
14442 Py_INCREF(Py_None
); resultobj
= Py_None
;
14449 static PyObject
*_wrap_PyCompositeShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14450 PyObject
*resultobj
;
14451 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
14453 PyObject
* obj0
= 0 ;
14454 PyObject
* obj1
= 0 ;
14455 char *kwnames
[] = {
14456 (char *) "self",(char *) "dc", NULL
14459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
14460 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14461 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14462 if (arg2
== NULL
) {
14463 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
14466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14467 (arg1
)->base_OnMoveLinks(*arg2
);
14469 wxPyEndAllowThreads(__tstate
);
14470 if (PyErr_Occurred()) SWIG_fail
;
14472 Py_INCREF(Py_None
); resultobj
= Py_None
;
14479 static PyObject
*_wrap_PyCompositeShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14480 PyObject
*resultobj
;
14481 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
14483 PyObject
* obj0
= 0 ;
14484 PyObject
* obj1
= 0 ;
14485 char *kwnames
[] = {
14486 (char *) "self",(char *) "dc", NULL
14489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
14490 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14491 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14492 if (arg2
== NULL
) {
14493 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
14496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14497 (arg1
)->base_OnErase(*arg2
);
14499 wxPyEndAllowThreads(__tstate
);
14500 if (PyErr_Occurred()) SWIG_fail
;
14502 Py_INCREF(Py_None
); resultobj
= Py_None
;
14509 static PyObject
*_wrap_PyCompositeShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14510 PyObject
*resultobj
;
14511 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
14513 PyObject
* obj0
= 0 ;
14514 PyObject
* obj1
= 0 ;
14515 char *kwnames
[] = {
14516 (char *) "self",(char *) "dc", NULL
14519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
14520 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14521 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14522 if (arg2
== NULL
) {
14523 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
14526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14527 (arg1
)->base_OnEraseContents(*arg2
);
14529 wxPyEndAllowThreads(__tstate
);
14530 if (PyErr_Occurred()) SWIG_fail
;
14532 Py_INCREF(Py_None
); resultobj
= Py_None
;
14539 static PyObject
*_wrap_PyCompositeShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14540 PyObject
*resultobj
;
14541 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
14543 PyObject
* obj0
= 0 ;
14544 PyObject
* obj1
= 0 ;
14545 char *kwnames
[] = {
14546 (char *) "self",(char *) "dc", NULL
14549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
14550 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14551 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14552 if (arg2
== NULL
) {
14553 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
14556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14557 (arg1
)->base_OnHighlight(*arg2
);
14559 wxPyEndAllowThreads(__tstate
);
14560 if (PyErr_Occurred()) SWIG_fail
;
14562 Py_INCREF(Py_None
); resultobj
= Py_None
;
14569 static PyObject
*_wrap_PyCompositeShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14570 PyObject
*resultobj
;
14571 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
14574 int arg4
= (int) 0 ;
14575 int arg5
= (int) 0 ;
14576 PyObject
* obj0
= 0 ;
14577 char *kwnames
[] = {
14578 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyCompositeShape_base_OnLeftClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
14582 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14585 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
14587 wxPyEndAllowThreads(__tstate
);
14588 if (PyErr_Occurred()) SWIG_fail
;
14590 Py_INCREF(Py_None
); resultobj
= Py_None
;
14597 static PyObject
*_wrap_PyCompositeShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14598 PyObject
*resultobj
;
14599 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
14602 int arg4
= (int) 0 ;
14603 int arg5
= (int) 0 ;
14604 PyObject
* obj0
= 0 ;
14605 char *kwnames
[] = {
14606 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyCompositeShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
14610 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14613 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
14615 wxPyEndAllowThreads(__tstate
);
14616 if (PyErr_Occurred()) SWIG_fail
;
14618 Py_INCREF(Py_None
); resultobj
= Py_None
;
14625 static PyObject
*_wrap_PyCompositeShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14626 PyObject
*resultobj
;
14627 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
14630 int arg4
= (int) 0 ;
14631 int arg5
= (int) 0 ;
14632 PyObject
* obj0
= 0 ;
14633 char *kwnames
[] = {
14634 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyCompositeShape_base_OnRightClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
14638 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14641 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
14643 wxPyEndAllowThreads(__tstate
);
14644 if (PyErr_Occurred()) SWIG_fail
;
14646 Py_INCREF(Py_None
); resultobj
= Py_None
;
14653 static PyObject
*_wrap_PyCompositeShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14654 PyObject
*resultobj
;
14655 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
14658 PyObject
* obj0
= 0 ;
14659 char *kwnames
[] = {
14660 (char *) "self",(char *) "x",(char *) "y", NULL
14663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyCompositeShape_base_OnSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
14664 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14667 (arg1
)->base_OnSize(arg2
,arg3
);
14669 wxPyEndAllowThreads(__tstate
);
14670 if (PyErr_Occurred()) SWIG_fail
;
14672 Py_INCREF(Py_None
); resultobj
= Py_None
;
14679 static PyObject
*_wrap_PyCompositeShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14680 PyObject
*resultobj
;
14681 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
14687 bool arg7
= (bool) True
;
14689 PyObject
* obj0
= 0 ;
14690 PyObject
* obj1
= 0 ;
14691 PyObject
* obj6
= 0 ;
14692 char *kwnames
[] = {
14693 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
14696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd|O:PyCompositeShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
)) goto fail
;
14697 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14698 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14699 if (arg2
== NULL
) {
14700 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
14703 arg7
= PyInt_AsLong(obj6
) ? true : false;
14704 if (PyErr_Occurred()) SWIG_fail
;
14707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14708 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
14710 wxPyEndAllowThreads(__tstate
);
14711 if (PyErr_Occurred()) SWIG_fail
;
14713 resultobj
= PyInt_FromLong((long)result
);
14720 static PyObject
*_wrap_PyCompositeShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14721 PyObject
*resultobj
;
14722 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
14728 bool arg7
= (bool) True
;
14729 PyObject
* obj0
= 0 ;
14730 PyObject
* obj1
= 0 ;
14731 PyObject
* obj6
= 0 ;
14732 char *kwnames
[] = {
14733 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
14736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd|O:PyCompositeShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
)) goto fail
;
14737 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14738 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14739 if (arg2
== NULL
) {
14740 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
14743 arg7
= PyInt_AsLong(obj6
) ? true : false;
14744 if (PyErr_Occurred()) SWIG_fail
;
14747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14748 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
14750 wxPyEndAllowThreads(__tstate
);
14751 if (PyErr_Occurred()) SWIG_fail
;
14753 Py_INCREF(Py_None
); resultobj
= Py_None
;
14760 static PyObject
*_wrap_PyCompositeShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14761 PyObject
*resultobj
;
14762 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
14766 int arg5
= (int) 0 ;
14767 int arg6
= (int) 0 ;
14768 PyObject
* obj0
= 0 ;
14769 PyObject
* obj1
= 0 ;
14770 char *kwnames
[] = {
14771 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyCompositeShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
14775 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14776 arg2
= PyInt_AsLong(obj1
) ? true : false;
14777 if (PyErr_Occurred()) SWIG_fail
;
14779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14780 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
14782 wxPyEndAllowThreads(__tstate
);
14783 if (PyErr_Occurred()) SWIG_fail
;
14785 Py_INCREF(Py_None
); resultobj
= Py_None
;
14792 static PyObject
*_wrap_PyCompositeShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14793 PyObject
*resultobj
;
14794 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
14797 int arg4
= (int) 0 ;
14798 int arg5
= (int) 0 ;
14799 PyObject
* obj0
= 0 ;
14800 char *kwnames
[] = {
14801 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyCompositeShape_base_OnBeginDragLeft",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
14805 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14808 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
14810 wxPyEndAllowThreads(__tstate
);
14811 if (PyErr_Occurred()) SWIG_fail
;
14813 Py_INCREF(Py_None
); resultobj
= Py_None
;
14820 static PyObject
*_wrap_PyCompositeShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14821 PyObject
*resultobj
;
14822 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
14825 int arg4
= (int) 0 ;
14826 int arg5
= (int) 0 ;
14827 PyObject
* obj0
= 0 ;
14828 char *kwnames
[] = {
14829 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyCompositeShape_base_OnEndDragLeft",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
14833 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14836 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
14838 wxPyEndAllowThreads(__tstate
);
14839 if (PyErr_Occurred()) SWIG_fail
;
14841 Py_INCREF(Py_None
); resultobj
= Py_None
;
14848 static PyObject
*_wrap_PyCompositeShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14849 PyObject
*resultobj
;
14850 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
14854 int arg5
= (int) 0 ;
14855 int arg6
= (int) 0 ;
14856 PyObject
* obj0
= 0 ;
14857 PyObject
* obj1
= 0 ;
14858 char *kwnames
[] = {
14859 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyCompositeShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
14863 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14864 arg2
= PyInt_AsLong(obj1
) ? true : false;
14865 if (PyErr_Occurred()) SWIG_fail
;
14867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14868 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
14870 wxPyEndAllowThreads(__tstate
);
14871 if (PyErr_Occurred()) SWIG_fail
;
14873 Py_INCREF(Py_None
); resultobj
= Py_None
;
14880 static PyObject
*_wrap_PyCompositeShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14881 PyObject
*resultobj
;
14882 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
14885 int arg4
= (int) 0 ;
14886 int arg5
= (int) 0 ;
14887 PyObject
* obj0
= 0 ;
14888 char *kwnames
[] = {
14889 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyCompositeShape_base_OnBeginDragRight",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
14893 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14896 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
14898 wxPyEndAllowThreads(__tstate
);
14899 if (PyErr_Occurred()) SWIG_fail
;
14901 Py_INCREF(Py_None
); resultobj
= Py_None
;
14908 static PyObject
*_wrap_PyCompositeShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14909 PyObject
*resultobj
;
14910 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
14913 int arg4
= (int) 0 ;
14914 int arg5
= (int) 0 ;
14915 PyObject
* obj0
= 0 ;
14916 char *kwnames
[] = {
14917 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyCompositeShape_base_OnEndDragRight",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
14921 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14924 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
14926 wxPyEndAllowThreads(__tstate
);
14927 if (PyErr_Occurred()) SWIG_fail
;
14929 Py_INCREF(Py_None
); resultobj
= Py_None
;
14936 static PyObject
*_wrap_PyCompositeShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14937 PyObject
*resultobj
;
14938 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
14944 PyObject
* obj0
= 0 ;
14945 PyObject
* obj1
= 0 ;
14946 char *kwnames
[] = {
14947 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
14950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd:PyCompositeShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
14951 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14952 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14953 if (arg2
== NULL
) {
14954 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
14957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14958 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
14960 wxPyEndAllowThreads(__tstate
);
14961 if (PyErr_Occurred()) SWIG_fail
;
14963 Py_INCREF(Py_None
); resultobj
= Py_None
;
14970 static PyObject
*_wrap_PyCompositeShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14971 PyObject
*resultobj
;
14972 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
14974 PyObject
* obj0
= 0 ;
14975 PyObject
* obj1
= 0 ;
14976 char *kwnames
[] = {
14977 (char *) "self",(char *) "dc", NULL
14980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
14981 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14982 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14983 if (arg2
== NULL
) {
14984 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
14987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14988 (arg1
)->base_OnDrawControlPoints(*arg2
);
14990 wxPyEndAllowThreads(__tstate
);
14991 if (PyErr_Occurred()) SWIG_fail
;
14993 Py_INCREF(Py_None
); resultobj
= Py_None
;
15000 static PyObject
*_wrap_PyCompositeShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15001 PyObject
*resultobj
;
15002 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
15004 PyObject
* obj0
= 0 ;
15005 PyObject
* obj1
= 0 ;
15006 char *kwnames
[] = {
15007 (char *) "self",(char *) "dc", NULL
15010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
15011 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15012 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15013 if (arg2
== NULL
) {
15014 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15018 (arg1
)->base_OnEraseControlPoints(*arg2
);
15020 wxPyEndAllowThreads(__tstate
);
15021 if (PyErr_Occurred()) SWIG_fail
;
15023 Py_INCREF(Py_None
); resultobj
= Py_None
;
15030 static PyObject
*_wrap_PyCompositeShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15031 PyObject
*resultobj
;
15032 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
15034 bool arg3
= (bool) True
;
15035 PyObject
* obj0
= 0 ;
15036 PyObject
* obj1
= 0 ;
15037 PyObject
* obj2
= 0 ;
15038 char *kwnames
[] = {
15039 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
15042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyCompositeShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15043 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15044 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15045 if (arg2
== NULL
) {
15046 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15049 arg3
= PyInt_AsLong(obj2
) ? true : false;
15050 if (PyErr_Occurred()) SWIG_fail
;
15053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15054 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
15056 wxPyEndAllowThreads(__tstate
);
15057 if (PyErr_Occurred()) SWIG_fail
;
15059 Py_INCREF(Py_None
); resultobj
= Py_None
;
15066 static PyObject
*_wrap_PyCompositeShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15067 PyObject
*resultobj
;
15068 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
15069 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
15073 int arg6
= (int) 0 ;
15074 int arg7
= (int) 0 ;
15075 PyObject
* obj0
= 0 ;
15076 PyObject
* obj1
= 0 ;
15077 PyObject
* obj2
= 0 ;
15078 char *kwnames
[] = {
15079 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
15082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOdd|ii:PyCompositeShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
,&arg6
,&arg7
)) goto fail
;
15083 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15084 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15085 arg3
= PyInt_AsLong(obj2
) ? true : false;
15086 if (PyErr_Occurred()) SWIG_fail
;
15088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15089 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
15091 wxPyEndAllowThreads(__tstate
);
15092 if (PyErr_Occurred()) SWIG_fail
;
15094 Py_INCREF(Py_None
); resultobj
= Py_None
;
15101 static PyObject
*_wrap_PyCompositeShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15102 PyObject
*resultobj
;
15103 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
15104 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
15107 int arg5
= (int) 0 ;
15108 int arg6
= (int) 0 ;
15109 PyObject
* obj0
= 0 ;
15110 PyObject
* obj1
= 0 ;
15111 char *kwnames
[] = {
15112 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
15115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyCompositeShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
15116 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15117 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15120 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
15122 wxPyEndAllowThreads(__tstate
);
15123 if (PyErr_Occurred()) SWIG_fail
;
15125 Py_INCREF(Py_None
); resultobj
= Py_None
;
15132 static PyObject
*_wrap_PyCompositeShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15133 PyObject
*resultobj
;
15134 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
15135 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
15138 int arg5
= (int) 0 ;
15139 int arg6
= (int) 0 ;
15140 PyObject
* obj0
= 0 ;
15141 PyObject
* obj1
= 0 ;
15142 char *kwnames
[] = {
15143 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
15146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyCompositeShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
15147 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15148 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15151 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
15153 wxPyEndAllowThreads(__tstate
);
15154 if (PyErr_Occurred()) SWIG_fail
;
15156 Py_INCREF(Py_None
); resultobj
= Py_None
;
15163 static PyObject
*_wrap_PyCompositeShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15164 PyObject
*resultobj
;
15165 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
15168 PyObject
* obj0
= 0 ;
15169 char *kwnames
[] = {
15170 (char *) "self",(char *) "w",(char *) "h", NULL
15173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyCompositeShape_base_OnBeginSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
15174 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15177 (arg1
)->base_OnBeginSize(arg2
,arg3
);
15179 wxPyEndAllowThreads(__tstate
);
15180 if (PyErr_Occurred()) SWIG_fail
;
15182 Py_INCREF(Py_None
); resultobj
= Py_None
;
15189 static PyObject
*_wrap_PyCompositeShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15190 PyObject
*resultobj
;
15191 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
15194 PyObject
* obj0
= 0 ;
15195 char *kwnames
[] = {
15196 (char *) "self",(char *) "w",(char *) "h", NULL
15199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyCompositeShape_base_OnEndSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
15200 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15203 (arg1
)->base_OnEndSize(arg2
,arg3
);
15205 wxPyEndAllowThreads(__tstate
);
15206 if (PyErr_Occurred()) SWIG_fail
;
15208 Py_INCREF(Py_None
); resultobj
= Py_None
;
15215 static PyObject
* PyCompositeShape_swigregister(PyObject
*self
, PyObject
*args
) {
15217 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15218 SWIG_TypeClientData(SWIGTYPE_p_wxPyCompositeShape
, obj
);
15220 return Py_BuildValue((char *)"");
15222 static PyObject
*_wrap_new_PyDividedShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15223 PyObject
*resultobj
;
15224 double arg1
= (double) 0.0 ;
15225 double arg2
= (double) 0.0 ;
15226 wxPyDividedShape
*result
;
15227 char *kwnames
[] = {
15228 (char *) "width",(char *) "height", NULL
15231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|dd:new_PyDividedShape",kwnames
,&arg1
,&arg2
)) goto fail
;
15233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15234 result
= (wxPyDividedShape
*)new wxPyDividedShape(arg1
,arg2
);
15236 wxPyEndAllowThreads(__tstate
);
15237 if (PyErr_Occurred()) SWIG_fail
;
15239 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyDividedShape
, 1);
15246 static PyObject
*_wrap_PyDividedShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15247 PyObject
*resultobj
;
15248 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
15249 PyObject
*arg2
= (PyObject
*) 0 ;
15250 PyObject
*arg3
= (PyObject
*) 0 ;
15251 PyObject
* obj0
= 0 ;
15252 PyObject
* obj1
= 0 ;
15253 PyObject
* obj2
= 0 ;
15254 char *kwnames
[] = {
15255 (char *) "self",(char *) "self",(char *) "_class", NULL
15258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDividedShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15259 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15264 (arg1
)->_setCallbackInfo(arg2
,arg3
);
15266 wxPyEndAllowThreads(__tstate
);
15267 if (PyErr_Occurred()) SWIG_fail
;
15269 Py_INCREF(Py_None
); resultobj
= Py_None
;
15276 static PyObject
*_wrap_PyDividedShape_EditRegions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15277 PyObject
*resultobj
;
15278 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
15279 PyObject
* obj0
= 0 ;
15280 char *kwnames
[] = {
15281 (char *) "self", NULL
15284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDividedShape_EditRegions",kwnames
,&obj0
)) goto fail
;
15285 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15288 (arg1
)->EditRegions();
15290 wxPyEndAllowThreads(__tstate
);
15291 if (PyErr_Occurred()) SWIG_fail
;
15293 Py_INCREF(Py_None
); resultobj
= Py_None
;
15300 static PyObject
*_wrap_PyDividedShape_SetRegionSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15301 PyObject
*resultobj
;
15302 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
15303 PyObject
* obj0
= 0 ;
15304 char *kwnames
[] = {
15305 (char *) "self", NULL
15308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDividedShape_SetRegionSizes",kwnames
,&obj0
)) goto fail
;
15309 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15312 (arg1
)->SetRegionSizes();
15314 wxPyEndAllowThreads(__tstate
);
15315 if (PyErr_Occurred()) SWIG_fail
;
15317 Py_INCREF(Py_None
); resultobj
= Py_None
;
15324 static PyObject
*_wrap_PyDividedShape_base_OnDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15325 PyObject
*resultobj
;
15326 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
15327 PyObject
* obj0
= 0 ;
15328 char *kwnames
[] = {
15329 (char *) "self", NULL
15332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDividedShape_base_OnDelete",kwnames
,&obj0
)) goto fail
;
15333 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15336 (arg1
)->base_OnDelete();
15338 wxPyEndAllowThreads(__tstate
);
15339 if (PyErr_Occurred()) SWIG_fail
;
15341 Py_INCREF(Py_None
); resultobj
= Py_None
;
15348 static PyObject
*_wrap_PyDividedShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15349 PyObject
*resultobj
;
15350 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
15352 PyObject
* obj0
= 0 ;
15353 PyObject
* obj1
= 0 ;
15354 char *kwnames
[] = {
15355 (char *) "self",(char *) "dc", NULL
15358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDividedShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
15359 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15360 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15361 if (arg2
== NULL
) {
15362 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15366 (arg1
)->base_OnDraw(*arg2
);
15368 wxPyEndAllowThreads(__tstate
);
15369 if (PyErr_Occurred()) SWIG_fail
;
15371 Py_INCREF(Py_None
); resultobj
= Py_None
;
15378 static PyObject
*_wrap_PyDividedShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15379 PyObject
*resultobj
;
15380 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
15382 PyObject
* obj0
= 0 ;
15383 PyObject
* obj1
= 0 ;
15384 char *kwnames
[] = {
15385 (char *) "self",(char *) "dc", NULL
15388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDividedShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
15389 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15390 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15391 if (arg2
== NULL
) {
15392 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15396 (arg1
)->base_OnDrawContents(*arg2
);
15398 wxPyEndAllowThreads(__tstate
);
15399 if (PyErr_Occurred()) SWIG_fail
;
15401 Py_INCREF(Py_None
); resultobj
= Py_None
;
15408 static PyObject
*_wrap_PyDividedShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15409 PyObject
*resultobj
;
15410 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
15412 bool arg3
= (bool) FALSE
;
15413 PyObject
* obj0
= 0 ;
15414 PyObject
* obj1
= 0 ;
15415 PyObject
* obj2
= 0 ;
15416 char *kwnames
[] = {
15417 (char *) "self",(char *) "dc",(char *) "erase", NULL
15420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyDividedShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15421 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15422 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15423 if (arg2
== NULL
) {
15424 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15427 arg3
= PyInt_AsLong(obj2
) ? true : false;
15428 if (PyErr_Occurred()) SWIG_fail
;
15431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15432 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
15434 wxPyEndAllowThreads(__tstate
);
15435 if (PyErr_Occurred()) SWIG_fail
;
15437 Py_INCREF(Py_None
); resultobj
= Py_None
;
15444 static PyObject
*_wrap_PyDividedShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15445 PyObject
*resultobj
;
15446 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
15448 PyObject
* obj0
= 0 ;
15449 PyObject
* obj1
= 0 ;
15450 char *kwnames
[] = {
15451 (char *) "self",(char *) "dc", NULL
15454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDividedShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
15455 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15456 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15457 if (arg2
== NULL
) {
15458 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15462 (arg1
)->base_OnMoveLinks(*arg2
);
15464 wxPyEndAllowThreads(__tstate
);
15465 if (PyErr_Occurred()) SWIG_fail
;
15467 Py_INCREF(Py_None
); resultobj
= Py_None
;
15474 static PyObject
*_wrap_PyDividedShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15475 PyObject
*resultobj
;
15476 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
15478 PyObject
* obj0
= 0 ;
15479 PyObject
* obj1
= 0 ;
15480 char *kwnames
[] = {
15481 (char *) "self",(char *) "dc", NULL
15484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDividedShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
15485 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15486 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15487 if (arg2
== NULL
) {
15488 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15492 (arg1
)->base_OnErase(*arg2
);
15494 wxPyEndAllowThreads(__tstate
);
15495 if (PyErr_Occurred()) SWIG_fail
;
15497 Py_INCREF(Py_None
); resultobj
= Py_None
;
15504 static PyObject
*_wrap_PyDividedShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15505 PyObject
*resultobj
;
15506 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
15508 PyObject
* obj0
= 0 ;
15509 PyObject
* obj1
= 0 ;
15510 char *kwnames
[] = {
15511 (char *) "self",(char *) "dc", NULL
15514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDividedShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
15515 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15516 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15517 if (arg2
== NULL
) {
15518 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15522 (arg1
)->base_OnEraseContents(*arg2
);
15524 wxPyEndAllowThreads(__tstate
);
15525 if (PyErr_Occurred()) SWIG_fail
;
15527 Py_INCREF(Py_None
); resultobj
= Py_None
;
15534 static PyObject
*_wrap_PyDividedShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15535 PyObject
*resultobj
;
15536 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
15538 PyObject
* obj0
= 0 ;
15539 PyObject
* obj1
= 0 ;
15540 char *kwnames
[] = {
15541 (char *) "self",(char *) "dc", NULL
15544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDividedShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
15545 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15546 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15547 if (arg2
== NULL
) {
15548 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15552 (arg1
)->base_OnHighlight(*arg2
);
15554 wxPyEndAllowThreads(__tstate
);
15555 if (PyErr_Occurred()) SWIG_fail
;
15557 Py_INCREF(Py_None
); resultobj
= Py_None
;
15564 static PyObject
*_wrap_PyDividedShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15565 PyObject
*resultobj
;
15566 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
15569 int arg4
= (int) 0 ;
15570 int arg5
= (int) 0 ;
15571 PyObject
* obj0
= 0 ;
15572 char *kwnames
[] = {
15573 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
15576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyDividedShape_base_OnLeftClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
15577 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15580 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
15582 wxPyEndAllowThreads(__tstate
);
15583 if (PyErr_Occurred()) SWIG_fail
;
15585 Py_INCREF(Py_None
); resultobj
= Py_None
;
15592 static PyObject
*_wrap_PyDividedShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15593 PyObject
*resultobj
;
15594 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
15597 int arg4
= (int) 0 ;
15598 int arg5
= (int) 0 ;
15599 PyObject
* obj0
= 0 ;
15600 char *kwnames
[] = {
15601 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
15604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyDividedShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
15605 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15608 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
15610 wxPyEndAllowThreads(__tstate
);
15611 if (PyErr_Occurred()) SWIG_fail
;
15613 Py_INCREF(Py_None
); resultobj
= Py_None
;
15620 static PyObject
*_wrap_PyDividedShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15621 PyObject
*resultobj
;
15622 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
15625 int arg4
= (int) 0 ;
15626 int arg5
= (int) 0 ;
15627 PyObject
* obj0
= 0 ;
15628 char *kwnames
[] = {
15629 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
15632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyDividedShape_base_OnRightClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
15633 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15636 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
15638 wxPyEndAllowThreads(__tstate
);
15639 if (PyErr_Occurred()) SWIG_fail
;
15641 Py_INCREF(Py_None
); resultobj
= Py_None
;
15648 static PyObject
*_wrap_PyDividedShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15649 PyObject
*resultobj
;
15650 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
15653 PyObject
* obj0
= 0 ;
15654 char *kwnames
[] = {
15655 (char *) "self",(char *) "x",(char *) "y", NULL
15658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyDividedShape_base_OnSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
15659 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15662 (arg1
)->base_OnSize(arg2
,arg3
);
15664 wxPyEndAllowThreads(__tstate
);
15665 if (PyErr_Occurred()) SWIG_fail
;
15667 Py_INCREF(Py_None
); resultobj
= Py_None
;
15674 static PyObject
*_wrap_PyDividedShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15675 PyObject
*resultobj
;
15676 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
15682 bool arg7
= (bool) True
;
15684 PyObject
* obj0
= 0 ;
15685 PyObject
* obj1
= 0 ;
15686 PyObject
* obj6
= 0 ;
15687 char *kwnames
[] = {
15688 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
15691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd|O:PyDividedShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
)) goto fail
;
15692 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15693 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15694 if (arg2
== NULL
) {
15695 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15698 arg7
= PyInt_AsLong(obj6
) ? true : false;
15699 if (PyErr_Occurred()) SWIG_fail
;
15702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15703 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
15705 wxPyEndAllowThreads(__tstate
);
15706 if (PyErr_Occurred()) SWIG_fail
;
15708 resultobj
= PyInt_FromLong((long)result
);
15715 static PyObject
*_wrap_PyDividedShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15716 PyObject
*resultobj
;
15717 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
15723 bool arg7
= (bool) True
;
15724 PyObject
* obj0
= 0 ;
15725 PyObject
* obj1
= 0 ;
15726 PyObject
* obj6
= 0 ;
15727 char *kwnames
[] = {
15728 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
15731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd|O:PyDividedShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
)) goto fail
;
15732 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15733 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15734 if (arg2
== NULL
) {
15735 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15738 arg7
= PyInt_AsLong(obj6
) ? true : false;
15739 if (PyErr_Occurred()) SWIG_fail
;
15742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15743 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
15745 wxPyEndAllowThreads(__tstate
);
15746 if (PyErr_Occurred()) SWIG_fail
;
15748 Py_INCREF(Py_None
); resultobj
= Py_None
;
15755 static PyObject
*_wrap_PyDividedShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15756 PyObject
*resultobj
;
15757 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
15761 int arg5
= (int) 0 ;
15762 int arg6
= (int) 0 ;
15763 PyObject
* obj0
= 0 ;
15764 PyObject
* obj1
= 0 ;
15765 char *kwnames
[] = {
15766 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
15769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyDividedShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
15770 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15771 arg2
= PyInt_AsLong(obj1
) ? true : false;
15772 if (PyErr_Occurred()) SWIG_fail
;
15774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15775 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
15777 wxPyEndAllowThreads(__tstate
);
15778 if (PyErr_Occurred()) SWIG_fail
;
15780 Py_INCREF(Py_None
); resultobj
= Py_None
;
15787 static PyObject
*_wrap_PyDividedShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15788 PyObject
*resultobj
;
15789 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
15792 int arg4
= (int) 0 ;
15793 int arg5
= (int) 0 ;
15794 PyObject
* obj0
= 0 ;
15795 char *kwnames
[] = {
15796 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
15799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyDividedShape_base_OnBeginDragLeft",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
15800 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15803 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
15805 wxPyEndAllowThreads(__tstate
);
15806 if (PyErr_Occurred()) SWIG_fail
;
15808 Py_INCREF(Py_None
); resultobj
= Py_None
;
15815 static PyObject
*_wrap_PyDividedShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15816 PyObject
*resultobj
;
15817 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
15820 int arg4
= (int) 0 ;
15821 int arg5
= (int) 0 ;
15822 PyObject
* obj0
= 0 ;
15823 char *kwnames
[] = {
15824 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
15827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyDividedShape_base_OnEndDragLeft",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
15828 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15831 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
15833 wxPyEndAllowThreads(__tstate
);
15834 if (PyErr_Occurred()) SWIG_fail
;
15836 Py_INCREF(Py_None
); resultobj
= Py_None
;
15843 static PyObject
*_wrap_PyDividedShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15844 PyObject
*resultobj
;
15845 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
15849 int arg5
= (int) 0 ;
15850 int arg6
= (int) 0 ;
15851 PyObject
* obj0
= 0 ;
15852 PyObject
* obj1
= 0 ;
15853 char *kwnames
[] = {
15854 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
15857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyDividedShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
15858 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15859 arg2
= PyInt_AsLong(obj1
) ? true : false;
15860 if (PyErr_Occurred()) SWIG_fail
;
15862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15863 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
15865 wxPyEndAllowThreads(__tstate
);
15866 if (PyErr_Occurred()) SWIG_fail
;
15868 Py_INCREF(Py_None
); resultobj
= Py_None
;
15875 static PyObject
*_wrap_PyDividedShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15876 PyObject
*resultobj
;
15877 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
15880 int arg4
= (int) 0 ;
15881 int arg5
= (int) 0 ;
15882 PyObject
* obj0
= 0 ;
15883 char *kwnames
[] = {
15884 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
15887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyDividedShape_base_OnBeginDragRight",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
15888 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15891 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
15893 wxPyEndAllowThreads(__tstate
);
15894 if (PyErr_Occurred()) SWIG_fail
;
15896 Py_INCREF(Py_None
); resultobj
= Py_None
;
15903 static PyObject
*_wrap_PyDividedShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15904 PyObject
*resultobj
;
15905 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
15908 int arg4
= (int) 0 ;
15909 int arg5
= (int) 0 ;
15910 PyObject
* obj0
= 0 ;
15911 char *kwnames
[] = {
15912 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
15915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyDividedShape_base_OnEndDragRight",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
15916 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15919 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
15921 wxPyEndAllowThreads(__tstate
);
15922 if (PyErr_Occurred()) SWIG_fail
;
15924 Py_INCREF(Py_None
); resultobj
= Py_None
;
15931 static PyObject
*_wrap_PyDividedShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15932 PyObject
*resultobj
;
15933 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
15939 PyObject
* obj0
= 0 ;
15940 PyObject
* obj1
= 0 ;
15941 char *kwnames
[] = {
15942 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
15945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd:PyDividedShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
15946 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15947 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15948 if (arg2
== NULL
) {
15949 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15953 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
15955 wxPyEndAllowThreads(__tstate
);
15956 if (PyErr_Occurred()) SWIG_fail
;
15958 Py_INCREF(Py_None
); resultobj
= Py_None
;
15965 static PyObject
*_wrap_PyDividedShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15966 PyObject
*resultobj
;
15967 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
15969 PyObject
* obj0
= 0 ;
15970 PyObject
* obj1
= 0 ;
15971 char *kwnames
[] = {
15972 (char *) "self",(char *) "dc", NULL
15975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDividedShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
15976 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15977 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15978 if (arg2
== NULL
) {
15979 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15983 (arg1
)->base_OnDrawControlPoints(*arg2
);
15985 wxPyEndAllowThreads(__tstate
);
15986 if (PyErr_Occurred()) SWIG_fail
;
15988 Py_INCREF(Py_None
); resultobj
= Py_None
;
15995 static PyObject
*_wrap_PyDividedShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15996 PyObject
*resultobj
;
15997 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
15999 PyObject
* obj0
= 0 ;
16000 PyObject
* obj1
= 0 ;
16001 char *kwnames
[] = {
16002 (char *) "self",(char *) "dc", NULL
16005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDividedShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
16006 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16007 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16008 if (arg2
== NULL
) {
16009 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
16012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16013 (arg1
)->base_OnEraseControlPoints(*arg2
);
16015 wxPyEndAllowThreads(__tstate
);
16016 if (PyErr_Occurred()) SWIG_fail
;
16018 Py_INCREF(Py_None
); resultobj
= Py_None
;
16025 static PyObject
*_wrap_PyDividedShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16026 PyObject
*resultobj
;
16027 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
16029 bool arg3
= (bool) True
;
16030 PyObject
* obj0
= 0 ;
16031 PyObject
* obj1
= 0 ;
16032 PyObject
* obj2
= 0 ;
16033 char *kwnames
[] = {
16034 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
16037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyDividedShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16038 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16039 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16040 if (arg2
== NULL
) {
16041 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
16044 arg3
= PyInt_AsLong(obj2
) ? true : false;
16045 if (PyErr_Occurred()) SWIG_fail
;
16048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16049 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
16051 wxPyEndAllowThreads(__tstate
);
16052 if (PyErr_Occurred()) SWIG_fail
;
16054 Py_INCREF(Py_None
); resultobj
= Py_None
;
16061 static PyObject
*_wrap_PyDividedShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16062 PyObject
*resultobj
;
16063 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
16064 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
16068 int arg6
= (int) 0 ;
16069 int arg7
= (int) 0 ;
16070 PyObject
* obj0
= 0 ;
16071 PyObject
* obj1
= 0 ;
16072 PyObject
* obj2
= 0 ;
16073 char *kwnames
[] = {
16074 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOdd|ii:PyDividedShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
,&arg6
,&arg7
)) goto fail
;
16078 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16079 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16080 arg3
= PyInt_AsLong(obj2
) ? true : false;
16081 if (PyErr_Occurred()) SWIG_fail
;
16083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16084 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
16086 wxPyEndAllowThreads(__tstate
);
16087 if (PyErr_Occurred()) SWIG_fail
;
16089 Py_INCREF(Py_None
); resultobj
= Py_None
;
16096 static PyObject
*_wrap_PyDividedShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16097 PyObject
*resultobj
;
16098 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
16099 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
16102 int arg5
= (int) 0 ;
16103 int arg6
= (int) 0 ;
16104 PyObject
* obj0
= 0 ;
16105 PyObject
* obj1
= 0 ;
16106 char *kwnames
[] = {
16107 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyDividedShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
16111 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16112 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16115 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
16117 wxPyEndAllowThreads(__tstate
);
16118 if (PyErr_Occurred()) SWIG_fail
;
16120 Py_INCREF(Py_None
); resultobj
= Py_None
;
16127 static PyObject
*_wrap_PyDividedShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16128 PyObject
*resultobj
;
16129 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
16130 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
16133 int arg5
= (int) 0 ;
16134 int arg6
= (int) 0 ;
16135 PyObject
* obj0
= 0 ;
16136 PyObject
* obj1
= 0 ;
16137 char *kwnames
[] = {
16138 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyDividedShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
16142 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16143 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16146 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
16148 wxPyEndAllowThreads(__tstate
);
16149 if (PyErr_Occurred()) SWIG_fail
;
16151 Py_INCREF(Py_None
); resultobj
= Py_None
;
16158 static PyObject
*_wrap_PyDividedShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16159 PyObject
*resultobj
;
16160 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
16163 PyObject
* obj0
= 0 ;
16164 char *kwnames
[] = {
16165 (char *) "self",(char *) "w",(char *) "h", NULL
16168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyDividedShape_base_OnBeginSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
16169 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16172 (arg1
)->base_OnBeginSize(arg2
,arg3
);
16174 wxPyEndAllowThreads(__tstate
);
16175 if (PyErr_Occurred()) SWIG_fail
;
16177 Py_INCREF(Py_None
); resultobj
= Py_None
;
16184 static PyObject
*_wrap_PyDividedShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16185 PyObject
*resultobj
;
16186 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
16189 PyObject
* obj0
= 0 ;
16190 char *kwnames
[] = {
16191 (char *) "self",(char *) "w",(char *) "h", NULL
16194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyDividedShape_base_OnEndSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
16195 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16198 (arg1
)->base_OnEndSize(arg2
,arg3
);
16200 wxPyEndAllowThreads(__tstate
);
16201 if (PyErr_Occurred()) SWIG_fail
;
16203 Py_INCREF(Py_None
); resultobj
= Py_None
;
16210 static PyObject
* PyDividedShape_swigregister(PyObject
*self
, PyObject
*args
) {
16212 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16213 SWIG_TypeClientData(SWIGTYPE_p_wxPyDividedShape
, obj
);
16215 return Py_BuildValue((char *)"");
16217 static PyObject
*_wrap_new_PyDivisionShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16218 PyObject
*resultobj
;
16219 wxPyDivisionShape
*result
;
16220 char *kwnames
[] = {
16224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyDivisionShape",kwnames
)) goto fail
;
16226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16227 result
= (wxPyDivisionShape
*)new wxPyDivisionShape();
16229 wxPyEndAllowThreads(__tstate
);
16230 if (PyErr_Occurred()) SWIG_fail
;
16233 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
16241 static PyObject
*_wrap_PyDivisionShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16242 PyObject
*resultobj
;
16243 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
16244 PyObject
*arg2
= (PyObject
*) 0 ;
16245 PyObject
*arg3
= (PyObject
*) 0 ;
16246 PyObject
* obj0
= 0 ;
16247 PyObject
* obj1
= 0 ;
16248 PyObject
* obj2
= 0 ;
16249 char *kwnames
[] = {
16250 (char *) "self",(char *) "self",(char *) "_class", NULL
16253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDivisionShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16254 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16259 (arg1
)->_setCallbackInfo(arg2
,arg3
);
16261 wxPyEndAllowThreads(__tstate
);
16262 if (PyErr_Occurred()) SWIG_fail
;
16264 Py_INCREF(Py_None
); resultobj
= Py_None
;
16271 static PyObject
*_wrap_PyDivisionShape_AdjustBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16272 PyObject
*resultobj
;
16273 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
16276 PyObject
* obj0
= 0 ;
16277 PyObject
* obj2
= 0 ;
16278 char *kwnames
[] = {
16279 (char *) "self",(char *) "bottom",(char *) "test", NULL
16282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OdO:PyDivisionShape_AdjustBottom",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
16283 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16284 arg3
= PyInt_AsLong(obj2
) ? true : false;
16285 if (PyErr_Occurred()) SWIG_fail
;
16287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16288 (arg1
)->AdjustBottom(arg2
,arg3
);
16290 wxPyEndAllowThreads(__tstate
);
16291 if (PyErr_Occurred()) SWIG_fail
;
16293 Py_INCREF(Py_None
); resultobj
= Py_None
;
16300 static PyObject
*_wrap_PyDivisionShape_AdjustLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16301 PyObject
*resultobj
;
16302 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
16305 PyObject
* obj0
= 0 ;
16306 PyObject
* obj2
= 0 ;
16307 char *kwnames
[] = {
16308 (char *) "self",(char *) "left",(char *) "test", NULL
16311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OdO:PyDivisionShape_AdjustLeft",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
16312 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16313 arg3
= PyInt_AsLong(obj2
) ? true : false;
16314 if (PyErr_Occurred()) SWIG_fail
;
16316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16317 (arg1
)->AdjustLeft(arg2
,arg3
);
16319 wxPyEndAllowThreads(__tstate
);
16320 if (PyErr_Occurred()) SWIG_fail
;
16322 Py_INCREF(Py_None
); resultobj
= Py_None
;
16329 static PyObject
*_wrap_PyDivisionShape_AdjustRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16330 PyObject
*resultobj
;
16331 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
16334 PyObject
* obj0
= 0 ;
16335 PyObject
* obj2
= 0 ;
16336 char *kwnames
[] = {
16337 (char *) "self",(char *) "right",(char *) "test", NULL
16340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OdO:PyDivisionShape_AdjustRight",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
16341 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16342 arg3
= PyInt_AsLong(obj2
) ? true : false;
16343 if (PyErr_Occurred()) SWIG_fail
;
16345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16346 (arg1
)->AdjustRight(arg2
,arg3
);
16348 wxPyEndAllowThreads(__tstate
);
16349 if (PyErr_Occurred()) SWIG_fail
;
16351 Py_INCREF(Py_None
); resultobj
= Py_None
;
16358 static PyObject
*_wrap_PyDivisionShape_AdjustTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16359 PyObject
*resultobj
;
16360 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
16363 PyObject
* obj0
= 0 ;
16364 PyObject
* obj2
= 0 ;
16365 char *kwnames
[] = {
16366 (char *) "self",(char *) "top",(char *) "test", NULL
16369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OdO:PyDivisionShape_AdjustTop",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
16370 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16371 arg3
= PyInt_AsLong(obj2
) ? true : false;
16372 if (PyErr_Occurred()) SWIG_fail
;
16374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16375 (arg1
)->AdjustTop(arg2
,arg3
);
16377 wxPyEndAllowThreads(__tstate
);
16378 if (PyErr_Occurred()) SWIG_fail
;
16380 Py_INCREF(Py_None
); resultobj
= Py_None
;
16387 static PyObject
*_wrap_PyDivisionShape_Divide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16388 PyObject
*resultobj
;
16389 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
16391 PyObject
* obj0
= 0 ;
16392 char *kwnames
[] = {
16393 (char *) "self",(char *) "direction", NULL
16396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyDivisionShape_Divide",kwnames
,&obj0
,&arg2
)) goto fail
;
16397 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16400 (arg1
)->Divide(arg2
);
16402 wxPyEndAllowThreads(__tstate
);
16403 if (PyErr_Occurred()) SWIG_fail
;
16405 Py_INCREF(Py_None
); resultobj
= Py_None
;
16412 static PyObject
*_wrap_PyDivisionShape_EditEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16413 PyObject
*resultobj
;
16414 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
16416 PyObject
* obj0
= 0 ;
16417 char *kwnames
[] = {
16418 (char *) "self",(char *) "side", NULL
16421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyDivisionShape_EditEdge",kwnames
,&obj0
,&arg2
)) goto fail
;
16422 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16425 (arg1
)->EditEdge(arg2
);
16427 wxPyEndAllowThreads(__tstate
);
16428 if (PyErr_Occurred()) SWIG_fail
;
16430 Py_INCREF(Py_None
); resultobj
= Py_None
;
16437 static PyObject
*_wrap_PyDivisionShape_GetBottomSide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16438 PyObject
*resultobj
;
16439 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
16440 wxPyDivisionShape
*result
;
16441 PyObject
* obj0
= 0 ;
16442 char *kwnames
[] = {
16443 (char *) "self", NULL
16446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDivisionShape_GetBottomSide",kwnames
,&obj0
)) goto fail
;
16447 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16450 result
= (wxPyDivisionShape
*)(arg1
)->GetBottomSide();
16452 wxPyEndAllowThreads(__tstate
);
16453 if (PyErr_Occurred()) SWIG_fail
;
16456 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
16464 static PyObject
*_wrap_PyDivisionShape_GetHandleSide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16465 PyObject
*resultobj
;
16466 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
16468 PyObject
* obj0
= 0 ;
16469 char *kwnames
[] = {
16470 (char *) "self", NULL
16473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDivisionShape_GetHandleSide",kwnames
,&obj0
)) goto fail
;
16474 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16477 result
= (int)(arg1
)->GetHandleSide();
16479 wxPyEndAllowThreads(__tstate
);
16480 if (PyErr_Occurred()) SWIG_fail
;
16482 resultobj
= PyInt_FromLong((long)result
);
16489 static PyObject
*_wrap_PyDivisionShape_GetLeftSide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16490 PyObject
*resultobj
;
16491 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
16492 wxPyDivisionShape
*result
;
16493 PyObject
* obj0
= 0 ;
16494 char *kwnames
[] = {
16495 (char *) "self", NULL
16498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDivisionShape_GetLeftSide",kwnames
,&obj0
)) goto fail
;
16499 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16502 result
= (wxPyDivisionShape
*)(arg1
)->GetLeftSide();
16504 wxPyEndAllowThreads(__tstate
);
16505 if (PyErr_Occurred()) SWIG_fail
;
16508 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
16516 static PyObject
*_wrap_PyDivisionShape_GetLeftSideColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16517 PyObject
*resultobj
;
16518 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
16520 PyObject
* obj0
= 0 ;
16521 char *kwnames
[] = {
16522 (char *) "self", NULL
16525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDivisionShape_GetLeftSideColour",kwnames
,&obj0
)) goto fail
;
16526 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16529 result
= (arg1
)->GetLeftSideColour();
16531 wxPyEndAllowThreads(__tstate
);
16532 if (PyErr_Occurred()) SWIG_fail
;
16536 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16538 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16547 static PyObject
*_wrap_PyDivisionShape_GetLeftSidePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16548 PyObject
*resultobj
;
16549 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
16551 PyObject
* obj0
= 0 ;
16552 char *kwnames
[] = {
16553 (char *) "self", NULL
16556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDivisionShape_GetLeftSidePen",kwnames
,&obj0
)) goto fail
;
16557 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16560 result
= (wxPen
*)(arg1
)->GetLeftSidePen();
16562 wxPyEndAllowThreads(__tstate
);
16563 if (PyErr_Occurred()) SWIG_fail
;
16565 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPen
, 0);
16572 static PyObject
*_wrap_PyDivisionShape_GetRightSide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16573 PyObject
*resultobj
;
16574 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
16575 wxPyDivisionShape
*result
;
16576 PyObject
* obj0
= 0 ;
16577 char *kwnames
[] = {
16578 (char *) "self", NULL
16581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDivisionShape_GetRightSide",kwnames
,&obj0
)) goto fail
;
16582 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16585 result
= (wxPyDivisionShape
*)(arg1
)->GetRightSide();
16587 wxPyEndAllowThreads(__tstate
);
16588 if (PyErr_Occurred()) SWIG_fail
;
16591 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
16599 static PyObject
*_wrap_PyDivisionShape_GetTopSide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16600 PyObject
*resultobj
;
16601 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
16602 wxPyDivisionShape
*result
;
16603 PyObject
* obj0
= 0 ;
16604 char *kwnames
[] = {
16605 (char *) "self", NULL
16608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDivisionShape_GetTopSide",kwnames
,&obj0
)) goto fail
;
16609 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16612 result
= (wxPyDivisionShape
*)(arg1
)->GetTopSide();
16614 wxPyEndAllowThreads(__tstate
);
16615 if (PyErr_Occurred()) SWIG_fail
;
16618 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
16626 static PyObject
*_wrap_PyDivisionShape_GetTopSidePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16627 PyObject
*resultobj
;
16628 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
16630 PyObject
* obj0
= 0 ;
16631 char *kwnames
[] = {
16632 (char *) "self", NULL
16635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDivisionShape_GetTopSidePen",kwnames
,&obj0
)) goto fail
;
16636 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16639 result
= (wxPen
*)(arg1
)->GetTopSidePen();
16641 wxPyEndAllowThreads(__tstate
);
16642 if (PyErr_Occurred()) SWIG_fail
;
16644 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPen
, 0);
16651 static PyObject
*_wrap_PyDivisionShape_ResizeAdjoining(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16652 PyObject
*resultobj
;
16653 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
16657 PyObject
* obj0
= 0 ;
16658 PyObject
* obj3
= 0 ;
16659 char *kwnames
[] = {
16660 (char *) "self",(char *) "side",(char *) "newPos",(char *) "test", NULL
16663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OidO:PyDivisionShape_ResizeAdjoining",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
16664 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16665 arg4
= PyInt_AsLong(obj3
) ? true : false;
16666 if (PyErr_Occurred()) SWIG_fail
;
16668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16669 (arg1
)->ResizeAdjoining(arg2
,arg3
,arg4
);
16671 wxPyEndAllowThreads(__tstate
);
16672 if (PyErr_Occurred()) SWIG_fail
;
16674 Py_INCREF(Py_None
); resultobj
= Py_None
;
16681 static PyObject
*_wrap_PyDivisionShape_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16682 PyObject
*resultobj
;
16683 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
16686 PyObject
* obj0
= 0 ;
16687 char *kwnames
[] = {
16688 (char *) "self",(char *) "x",(char *) "y", NULL
16691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyDivisionShape_PopupMenu",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
16692 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16695 (arg1
)->PopupMenu(arg2
,arg3
);
16697 wxPyEndAllowThreads(__tstate
);
16698 if (PyErr_Occurred()) SWIG_fail
;
16700 Py_INCREF(Py_None
); resultobj
= Py_None
;
16707 static PyObject
*_wrap_PyDivisionShape_SetBottomSide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16708 PyObject
*resultobj
;
16709 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
16710 wxPyDivisionShape
*arg2
= (wxPyDivisionShape
*) 0 ;
16711 PyObject
* obj0
= 0 ;
16712 PyObject
* obj1
= 0 ;
16713 char *kwnames
[] = {
16714 (char *) "self",(char *) "shape", NULL
16717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_SetBottomSide",kwnames
,&obj0
,&obj1
)) goto fail
;
16718 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16719 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16722 (arg1
)->SetBottomSide(arg2
);
16724 wxPyEndAllowThreads(__tstate
);
16725 if (PyErr_Occurred()) SWIG_fail
;
16727 Py_INCREF(Py_None
); resultobj
= Py_None
;
16734 static PyObject
*_wrap_PyDivisionShape_SetHandleSide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16735 PyObject
*resultobj
;
16736 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
16738 PyObject
* obj0
= 0 ;
16739 char *kwnames
[] = {
16740 (char *) "self",(char *) "side", NULL
16743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyDivisionShape_SetHandleSide",kwnames
,&obj0
,&arg2
)) goto fail
;
16744 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16747 (arg1
)->SetHandleSide(arg2
);
16749 wxPyEndAllowThreads(__tstate
);
16750 if (PyErr_Occurred()) SWIG_fail
;
16752 Py_INCREF(Py_None
); resultobj
= Py_None
;
16759 static PyObject
*_wrap_PyDivisionShape_SetLeftSide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16760 PyObject
*resultobj
;
16761 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
16762 wxPyDivisionShape
*arg2
= (wxPyDivisionShape
*) 0 ;
16763 PyObject
* obj0
= 0 ;
16764 PyObject
* obj1
= 0 ;
16765 char *kwnames
[] = {
16766 (char *) "self",(char *) "shape", NULL
16769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_SetLeftSide",kwnames
,&obj0
,&obj1
)) goto fail
;
16770 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16771 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16774 (arg1
)->SetLeftSide(arg2
);
16776 wxPyEndAllowThreads(__tstate
);
16777 if (PyErr_Occurred()) SWIG_fail
;
16779 Py_INCREF(Py_None
); resultobj
= Py_None
;
16786 static PyObject
*_wrap_PyDivisionShape_SetLeftSideColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16787 PyObject
*resultobj
;
16788 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
16789 wxString
*arg2
= 0 ;
16790 bool temp2
= False
;
16791 PyObject
* obj0
= 0 ;
16792 PyObject
* obj1
= 0 ;
16793 char *kwnames
[] = {
16794 (char *) "self",(char *) "colour", NULL
16797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_SetLeftSideColour",kwnames
,&obj0
,&obj1
)) goto fail
;
16798 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16800 arg2
= wxString_in_helper(obj1
);
16801 if (arg2
== NULL
) SWIG_fail
;
16805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16806 (arg1
)->SetLeftSideColour((wxString
const &)*arg2
);
16808 wxPyEndAllowThreads(__tstate
);
16809 if (PyErr_Occurred()) SWIG_fail
;
16811 Py_INCREF(Py_None
); resultobj
= Py_None
;
16826 static PyObject
*_wrap_PyDivisionShape_SetLeftSidePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16827 PyObject
*resultobj
;
16828 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
16829 wxPen
*arg2
= (wxPen
*) 0 ;
16830 PyObject
* obj0
= 0 ;
16831 PyObject
* obj1
= 0 ;
16832 char *kwnames
[] = {
16833 (char *) "self",(char *) "pen", NULL
16836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_SetLeftSidePen",kwnames
,&obj0
,&obj1
)) goto fail
;
16837 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16841 if (obj1
== Py_None
) {
16844 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxPen"))) {
16845 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxPen.");
16850 arg2
= wxThePenList
->FindOrCreatePen(temp
->GetColour(),
16857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16858 (arg1
)->SetLeftSidePen(arg2
);
16860 wxPyEndAllowThreads(__tstate
);
16861 if (PyErr_Occurred()) SWIG_fail
;
16863 Py_INCREF(Py_None
); resultobj
= Py_None
;
16870 static PyObject
*_wrap_PyDivisionShape_SetRightSide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16871 PyObject
*resultobj
;
16872 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
16873 wxPyDivisionShape
*arg2
= (wxPyDivisionShape
*) 0 ;
16874 PyObject
* obj0
= 0 ;
16875 PyObject
* obj1
= 0 ;
16876 char *kwnames
[] = {
16877 (char *) "self",(char *) "shape", NULL
16880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_SetRightSide",kwnames
,&obj0
,&obj1
)) goto fail
;
16881 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16882 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16885 (arg1
)->SetRightSide(arg2
);
16887 wxPyEndAllowThreads(__tstate
);
16888 if (PyErr_Occurred()) SWIG_fail
;
16890 Py_INCREF(Py_None
); resultobj
= Py_None
;
16897 static PyObject
*_wrap_PyDivisionShape_SetTopSide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16898 PyObject
*resultobj
;
16899 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
16900 wxPyDivisionShape
*arg2
= (wxPyDivisionShape
*) 0 ;
16901 PyObject
* obj0
= 0 ;
16902 PyObject
* obj1
= 0 ;
16903 char *kwnames
[] = {
16904 (char *) "self",(char *) "shape", NULL
16907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_SetTopSide",kwnames
,&obj0
,&obj1
)) goto fail
;
16908 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16909 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16912 (arg1
)->SetTopSide(arg2
);
16914 wxPyEndAllowThreads(__tstate
);
16915 if (PyErr_Occurred()) SWIG_fail
;
16917 Py_INCREF(Py_None
); resultobj
= Py_None
;
16924 static PyObject
*_wrap_PyDivisionShape_SetTopSideColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16925 PyObject
*resultobj
;
16926 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
16927 wxString
*arg2
= 0 ;
16928 bool temp2
= False
;
16929 PyObject
* obj0
= 0 ;
16930 PyObject
* obj1
= 0 ;
16931 char *kwnames
[] = {
16932 (char *) "self",(char *) "colour", NULL
16935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_SetTopSideColour",kwnames
,&obj0
,&obj1
)) goto fail
;
16936 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16938 arg2
= wxString_in_helper(obj1
);
16939 if (arg2
== NULL
) SWIG_fail
;
16943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16944 (arg1
)->SetTopSideColour((wxString
const &)*arg2
);
16946 wxPyEndAllowThreads(__tstate
);
16947 if (PyErr_Occurred()) SWIG_fail
;
16949 Py_INCREF(Py_None
); resultobj
= Py_None
;
16964 static PyObject
*_wrap_PyDivisionShape_SetTopSidePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16965 PyObject
*resultobj
;
16966 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
16967 wxPen
*arg2
= (wxPen
*) 0 ;
16968 PyObject
* obj0
= 0 ;
16969 PyObject
* obj1
= 0 ;
16970 char *kwnames
[] = {
16971 (char *) "self",(char *) "pen", NULL
16974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_SetTopSidePen",kwnames
,&obj0
,&obj1
)) goto fail
;
16975 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16979 if (obj1
== Py_None
) {
16982 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxPen"))) {
16983 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxPen.");
16988 arg2
= wxThePenList
->FindOrCreatePen(temp
->GetColour(),
16995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16996 (arg1
)->SetTopSidePen(arg2
);
16998 wxPyEndAllowThreads(__tstate
);
16999 if (PyErr_Occurred()) SWIG_fail
;
17001 Py_INCREF(Py_None
); resultobj
= Py_None
;
17008 static PyObject
*_wrap_PyDivisionShape_base_OnDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17009 PyObject
*resultobj
;
17010 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
17011 PyObject
* obj0
= 0 ;
17012 char *kwnames
[] = {
17013 (char *) "self", NULL
17016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDivisionShape_base_OnDelete",kwnames
,&obj0
)) goto fail
;
17017 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17020 (arg1
)->base_OnDelete();
17022 wxPyEndAllowThreads(__tstate
);
17023 if (PyErr_Occurred()) SWIG_fail
;
17025 Py_INCREF(Py_None
); resultobj
= Py_None
;
17032 static PyObject
*_wrap_PyDivisionShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17033 PyObject
*resultobj
;
17034 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
17036 PyObject
* obj0
= 0 ;
17037 PyObject
* obj1
= 0 ;
17038 char *kwnames
[] = {
17039 (char *) "self",(char *) "dc", NULL
17042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
17043 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17044 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17045 if (arg2
== NULL
) {
17046 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17050 (arg1
)->base_OnDraw(*arg2
);
17052 wxPyEndAllowThreads(__tstate
);
17053 if (PyErr_Occurred()) SWIG_fail
;
17055 Py_INCREF(Py_None
); resultobj
= Py_None
;
17062 static PyObject
*_wrap_PyDivisionShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17063 PyObject
*resultobj
;
17064 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
17066 PyObject
* obj0
= 0 ;
17067 PyObject
* obj1
= 0 ;
17068 char *kwnames
[] = {
17069 (char *) "self",(char *) "dc", NULL
17072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
17073 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17074 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17075 if (arg2
== NULL
) {
17076 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17080 (arg1
)->base_OnDrawContents(*arg2
);
17082 wxPyEndAllowThreads(__tstate
);
17083 if (PyErr_Occurred()) SWIG_fail
;
17085 Py_INCREF(Py_None
); resultobj
= Py_None
;
17092 static PyObject
*_wrap_PyDivisionShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17093 PyObject
*resultobj
;
17094 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
17096 bool arg3
= (bool) FALSE
;
17097 PyObject
* obj0
= 0 ;
17098 PyObject
* obj1
= 0 ;
17099 PyObject
* obj2
= 0 ;
17100 char *kwnames
[] = {
17101 (char *) "self",(char *) "dc",(char *) "erase", NULL
17104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyDivisionShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17105 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17106 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17107 if (arg2
== NULL
) {
17108 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17111 arg3
= PyInt_AsLong(obj2
) ? true : false;
17112 if (PyErr_Occurred()) SWIG_fail
;
17115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17116 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
17118 wxPyEndAllowThreads(__tstate
);
17119 if (PyErr_Occurred()) SWIG_fail
;
17121 Py_INCREF(Py_None
); resultobj
= Py_None
;
17128 static PyObject
*_wrap_PyDivisionShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17129 PyObject
*resultobj
;
17130 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
17132 PyObject
* obj0
= 0 ;
17133 PyObject
* obj1
= 0 ;
17134 char *kwnames
[] = {
17135 (char *) "self",(char *) "dc", NULL
17138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
17139 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17140 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17141 if (arg2
== NULL
) {
17142 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17146 (arg1
)->base_OnMoveLinks(*arg2
);
17148 wxPyEndAllowThreads(__tstate
);
17149 if (PyErr_Occurred()) SWIG_fail
;
17151 Py_INCREF(Py_None
); resultobj
= Py_None
;
17158 static PyObject
*_wrap_PyDivisionShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17159 PyObject
*resultobj
;
17160 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
17162 PyObject
* obj0
= 0 ;
17163 PyObject
* obj1
= 0 ;
17164 char *kwnames
[] = {
17165 (char *) "self",(char *) "dc", NULL
17168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
17169 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17170 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17171 if (arg2
== NULL
) {
17172 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17176 (arg1
)->base_OnErase(*arg2
);
17178 wxPyEndAllowThreads(__tstate
);
17179 if (PyErr_Occurred()) SWIG_fail
;
17181 Py_INCREF(Py_None
); resultobj
= Py_None
;
17188 static PyObject
*_wrap_PyDivisionShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17189 PyObject
*resultobj
;
17190 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
17192 PyObject
* obj0
= 0 ;
17193 PyObject
* obj1
= 0 ;
17194 char *kwnames
[] = {
17195 (char *) "self",(char *) "dc", NULL
17198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
17199 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17200 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17201 if (arg2
== NULL
) {
17202 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17206 (arg1
)->base_OnEraseContents(*arg2
);
17208 wxPyEndAllowThreads(__tstate
);
17209 if (PyErr_Occurred()) SWIG_fail
;
17211 Py_INCREF(Py_None
); resultobj
= Py_None
;
17218 static PyObject
*_wrap_PyDivisionShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17219 PyObject
*resultobj
;
17220 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
17222 PyObject
* obj0
= 0 ;
17223 PyObject
* obj1
= 0 ;
17224 char *kwnames
[] = {
17225 (char *) "self",(char *) "dc", NULL
17228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
17229 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17230 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17231 if (arg2
== NULL
) {
17232 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17236 (arg1
)->base_OnHighlight(*arg2
);
17238 wxPyEndAllowThreads(__tstate
);
17239 if (PyErr_Occurred()) SWIG_fail
;
17241 Py_INCREF(Py_None
); resultobj
= Py_None
;
17248 static PyObject
*_wrap_PyDivisionShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17249 PyObject
*resultobj
;
17250 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
17253 int arg4
= (int) 0 ;
17254 int arg5
= (int) 0 ;
17255 PyObject
* obj0
= 0 ;
17256 char *kwnames
[] = {
17257 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
17260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyDivisionShape_base_OnLeftClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
17261 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17264 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
17266 wxPyEndAllowThreads(__tstate
);
17267 if (PyErr_Occurred()) SWIG_fail
;
17269 Py_INCREF(Py_None
); resultobj
= Py_None
;
17276 static PyObject
*_wrap_PyDivisionShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17277 PyObject
*resultobj
;
17278 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
17281 int arg4
= (int) 0 ;
17282 int arg5
= (int) 0 ;
17283 PyObject
* obj0
= 0 ;
17284 char *kwnames
[] = {
17285 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
17288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyDivisionShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
17289 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17292 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
17294 wxPyEndAllowThreads(__tstate
);
17295 if (PyErr_Occurred()) SWIG_fail
;
17297 Py_INCREF(Py_None
); resultobj
= Py_None
;
17304 static PyObject
*_wrap_PyDivisionShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17305 PyObject
*resultobj
;
17306 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
17309 int arg4
= (int) 0 ;
17310 int arg5
= (int) 0 ;
17311 PyObject
* obj0
= 0 ;
17312 char *kwnames
[] = {
17313 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
17316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyDivisionShape_base_OnRightClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
17317 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17320 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
17322 wxPyEndAllowThreads(__tstate
);
17323 if (PyErr_Occurred()) SWIG_fail
;
17325 Py_INCREF(Py_None
); resultobj
= Py_None
;
17332 static PyObject
*_wrap_PyDivisionShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17333 PyObject
*resultobj
;
17334 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
17337 PyObject
* obj0
= 0 ;
17338 char *kwnames
[] = {
17339 (char *) "self",(char *) "x",(char *) "y", NULL
17342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyDivisionShape_base_OnSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
17343 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17346 (arg1
)->base_OnSize(arg2
,arg3
);
17348 wxPyEndAllowThreads(__tstate
);
17349 if (PyErr_Occurred()) SWIG_fail
;
17351 Py_INCREF(Py_None
); resultobj
= Py_None
;
17358 static PyObject
*_wrap_PyDivisionShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17359 PyObject
*resultobj
;
17360 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
17366 bool arg7
= (bool) True
;
17368 PyObject
* obj0
= 0 ;
17369 PyObject
* obj1
= 0 ;
17370 PyObject
* obj6
= 0 ;
17371 char *kwnames
[] = {
17372 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
17375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd|O:PyDivisionShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
)) goto fail
;
17376 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17377 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17378 if (arg2
== NULL
) {
17379 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17382 arg7
= PyInt_AsLong(obj6
) ? true : false;
17383 if (PyErr_Occurred()) SWIG_fail
;
17386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17387 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
17389 wxPyEndAllowThreads(__tstate
);
17390 if (PyErr_Occurred()) SWIG_fail
;
17392 resultobj
= PyInt_FromLong((long)result
);
17399 static PyObject
*_wrap_PyDivisionShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17400 PyObject
*resultobj
;
17401 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
17407 bool arg7
= (bool) True
;
17408 PyObject
* obj0
= 0 ;
17409 PyObject
* obj1
= 0 ;
17410 PyObject
* obj6
= 0 ;
17411 char *kwnames
[] = {
17412 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
17415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd|O:PyDivisionShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
)) goto fail
;
17416 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17417 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17418 if (arg2
== NULL
) {
17419 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17422 arg7
= PyInt_AsLong(obj6
) ? true : false;
17423 if (PyErr_Occurred()) SWIG_fail
;
17426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17427 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
17429 wxPyEndAllowThreads(__tstate
);
17430 if (PyErr_Occurred()) SWIG_fail
;
17432 Py_INCREF(Py_None
); resultobj
= Py_None
;
17439 static PyObject
*_wrap_PyDivisionShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17440 PyObject
*resultobj
;
17441 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
17445 int arg5
= (int) 0 ;
17446 int arg6
= (int) 0 ;
17447 PyObject
* obj0
= 0 ;
17448 PyObject
* obj1
= 0 ;
17449 char *kwnames
[] = {
17450 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
17453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyDivisionShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
17454 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17455 arg2
= PyInt_AsLong(obj1
) ? true : false;
17456 if (PyErr_Occurred()) SWIG_fail
;
17458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17459 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
17461 wxPyEndAllowThreads(__tstate
);
17462 if (PyErr_Occurred()) SWIG_fail
;
17464 Py_INCREF(Py_None
); resultobj
= Py_None
;
17471 static PyObject
*_wrap_PyDivisionShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17472 PyObject
*resultobj
;
17473 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
17476 int arg4
= (int) 0 ;
17477 int arg5
= (int) 0 ;
17478 PyObject
* obj0
= 0 ;
17479 char *kwnames
[] = {
17480 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
17483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyDivisionShape_base_OnBeginDragLeft",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
17484 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17487 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
17489 wxPyEndAllowThreads(__tstate
);
17490 if (PyErr_Occurred()) SWIG_fail
;
17492 Py_INCREF(Py_None
); resultobj
= Py_None
;
17499 static PyObject
*_wrap_PyDivisionShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17500 PyObject
*resultobj
;
17501 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
17504 int arg4
= (int) 0 ;
17505 int arg5
= (int) 0 ;
17506 PyObject
* obj0
= 0 ;
17507 char *kwnames
[] = {
17508 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
17511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyDivisionShape_base_OnEndDragLeft",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
17512 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17515 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
17517 wxPyEndAllowThreads(__tstate
);
17518 if (PyErr_Occurred()) SWIG_fail
;
17520 Py_INCREF(Py_None
); resultobj
= Py_None
;
17527 static PyObject
*_wrap_PyDivisionShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17528 PyObject
*resultobj
;
17529 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
17533 int arg5
= (int) 0 ;
17534 int arg6
= (int) 0 ;
17535 PyObject
* obj0
= 0 ;
17536 PyObject
* obj1
= 0 ;
17537 char *kwnames
[] = {
17538 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
17541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyDivisionShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
17542 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17543 arg2
= PyInt_AsLong(obj1
) ? true : false;
17544 if (PyErr_Occurred()) SWIG_fail
;
17546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17547 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
17549 wxPyEndAllowThreads(__tstate
);
17550 if (PyErr_Occurred()) SWIG_fail
;
17552 Py_INCREF(Py_None
); resultobj
= Py_None
;
17559 static PyObject
*_wrap_PyDivisionShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17560 PyObject
*resultobj
;
17561 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
17564 int arg4
= (int) 0 ;
17565 int arg5
= (int) 0 ;
17566 PyObject
* obj0
= 0 ;
17567 char *kwnames
[] = {
17568 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
17571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyDivisionShape_base_OnBeginDragRight",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
17572 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17575 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
17577 wxPyEndAllowThreads(__tstate
);
17578 if (PyErr_Occurred()) SWIG_fail
;
17580 Py_INCREF(Py_None
); resultobj
= Py_None
;
17587 static PyObject
*_wrap_PyDivisionShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17588 PyObject
*resultobj
;
17589 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
17592 int arg4
= (int) 0 ;
17593 int arg5
= (int) 0 ;
17594 PyObject
* obj0
= 0 ;
17595 char *kwnames
[] = {
17596 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
17599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyDivisionShape_base_OnEndDragRight",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
17600 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17603 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
17605 wxPyEndAllowThreads(__tstate
);
17606 if (PyErr_Occurred()) SWIG_fail
;
17608 Py_INCREF(Py_None
); resultobj
= Py_None
;
17615 static PyObject
*_wrap_PyDivisionShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17616 PyObject
*resultobj
;
17617 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
17623 PyObject
* obj0
= 0 ;
17624 PyObject
* obj1
= 0 ;
17625 char *kwnames
[] = {
17626 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
17629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd:PyDivisionShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
17630 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17631 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17632 if (arg2
== NULL
) {
17633 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17637 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
17639 wxPyEndAllowThreads(__tstate
);
17640 if (PyErr_Occurred()) SWIG_fail
;
17642 Py_INCREF(Py_None
); resultobj
= Py_None
;
17649 static PyObject
*_wrap_PyDivisionShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17650 PyObject
*resultobj
;
17651 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
17653 PyObject
* obj0
= 0 ;
17654 PyObject
* obj1
= 0 ;
17655 char *kwnames
[] = {
17656 (char *) "self",(char *) "dc", NULL
17659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
17660 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17661 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17662 if (arg2
== NULL
) {
17663 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17667 (arg1
)->base_OnDrawControlPoints(*arg2
);
17669 wxPyEndAllowThreads(__tstate
);
17670 if (PyErr_Occurred()) SWIG_fail
;
17672 Py_INCREF(Py_None
); resultobj
= Py_None
;
17679 static PyObject
*_wrap_PyDivisionShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17680 PyObject
*resultobj
;
17681 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
17683 PyObject
* obj0
= 0 ;
17684 PyObject
* obj1
= 0 ;
17685 char *kwnames
[] = {
17686 (char *) "self",(char *) "dc", NULL
17689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
17690 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17691 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17692 if (arg2
== NULL
) {
17693 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17697 (arg1
)->base_OnEraseControlPoints(*arg2
);
17699 wxPyEndAllowThreads(__tstate
);
17700 if (PyErr_Occurred()) SWIG_fail
;
17702 Py_INCREF(Py_None
); resultobj
= Py_None
;
17709 static PyObject
*_wrap_PyDivisionShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17710 PyObject
*resultobj
;
17711 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
17713 bool arg3
= (bool) True
;
17714 PyObject
* obj0
= 0 ;
17715 PyObject
* obj1
= 0 ;
17716 PyObject
* obj2
= 0 ;
17717 char *kwnames
[] = {
17718 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
17721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyDivisionShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17722 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17723 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17724 if (arg2
== NULL
) {
17725 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17728 arg3
= PyInt_AsLong(obj2
) ? true : false;
17729 if (PyErr_Occurred()) SWIG_fail
;
17732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17733 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
17735 wxPyEndAllowThreads(__tstate
);
17736 if (PyErr_Occurred()) SWIG_fail
;
17738 Py_INCREF(Py_None
); resultobj
= Py_None
;
17745 static PyObject
*_wrap_PyDivisionShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17746 PyObject
*resultobj
;
17747 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
17748 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
17752 int arg6
= (int) 0 ;
17753 int arg7
= (int) 0 ;
17754 PyObject
* obj0
= 0 ;
17755 PyObject
* obj1
= 0 ;
17756 PyObject
* obj2
= 0 ;
17757 char *kwnames
[] = {
17758 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
17761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOdd|ii:PyDivisionShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
,&arg6
,&arg7
)) goto fail
;
17762 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17763 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17764 arg3
= PyInt_AsLong(obj2
) ? true : false;
17765 if (PyErr_Occurred()) SWIG_fail
;
17767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17768 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
17770 wxPyEndAllowThreads(__tstate
);
17771 if (PyErr_Occurred()) SWIG_fail
;
17773 Py_INCREF(Py_None
); resultobj
= Py_None
;
17780 static PyObject
*_wrap_PyDivisionShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17781 PyObject
*resultobj
;
17782 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
17783 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
17786 int arg5
= (int) 0 ;
17787 int arg6
= (int) 0 ;
17788 PyObject
* obj0
= 0 ;
17789 PyObject
* obj1
= 0 ;
17790 char *kwnames
[] = {
17791 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
17794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyDivisionShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
17795 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17796 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17799 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
17801 wxPyEndAllowThreads(__tstate
);
17802 if (PyErr_Occurred()) SWIG_fail
;
17804 Py_INCREF(Py_None
); resultobj
= Py_None
;
17811 static PyObject
*_wrap_PyDivisionShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17812 PyObject
*resultobj
;
17813 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
17814 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
17817 int arg5
= (int) 0 ;
17818 int arg6
= (int) 0 ;
17819 PyObject
* obj0
= 0 ;
17820 PyObject
* obj1
= 0 ;
17821 char *kwnames
[] = {
17822 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
17825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyDivisionShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
17826 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17827 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17830 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
17832 wxPyEndAllowThreads(__tstate
);
17833 if (PyErr_Occurred()) SWIG_fail
;
17835 Py_INCREF(Py_None
); resultobj
= Py_None
;
17842 static PyObject
*_wrap_PyDivisionShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17843 PyObject
*resultobj
;
17844 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
17847 PyObject
* obj0
= 0 ;
17848 char *kwnames
[] = {
17849 (char *) "self",(char *) "w",(char *) "h", NULL
17852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyDivisionShape_base_OnBeginSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
17853 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17856 (arg1
)->base_OnBeginSize(arg2
,arg3
);
17858 wxPyEndAllowThreads(__tstate
);
17859 if (PyErr_Occurred()) SWIG_fail
;
17861 Py_INCREF(Py_None
); resultobj
= Py_None
;
17868 static PyObject
*_wrap_PyDivisionShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17869 PyObject
*resultobj
;
17870 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
17873 PyObject
* obj0
= 0 ;
17874 char *kwnames
[] = {
17875 (char *) "self",(char *) "w",(char *) "h", NULL
17878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyDivisionShape_base_OnEndSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
17879 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17882 (arg1
)->base_OnEndSize(arg2
,arg3
);
17884 wxPyEndAllowThreads(__tstate
);
17885 if (PyErr_Occurred()) SWIG_fail
;
17887 Py_INCREF(Py_None
); resultobj
= Py_None
;
17894 static PyObject
* PyDivisionShape_swigregister(PyObject
*self
, PyObject
*args
) {
17896 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17897 SWIG_TypeClientData(SWIGTYPE_p_wxPyDivisionShape
, obj
);
17899 return Py_BuildValue((char *)"");
17901 static PyObject
*_wrap_new_PyEllipseShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17902 PyObject
*resultobj
;
17903 double arg1
= (double) 0.0 ;
17904 double arg2
= (double) 0.0 ;
17905 wxPyEllipseShape
*result
;
17906 char *kwnames
[] = {
17907 (char *) "width",(char *) "height", NULL
17910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|dd:new_PyEllipseShape",kwnames
,&arg1
,&arg2
)) goto fail
;
17912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17913 result
= (wxPyEllipseShape
*)new wxPyEllipseShape(arg1
,arg2
);
17915 wxPyEndAllowThreads(__tstate
);
17916 if (PyErr_Occurred()) SWIG_fail
;
17918 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyEllipseShape
, 1);
17925 static PyObject
*_wrap_PyEllipseShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17926 PyObject
*resultobj
;
17927 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
17928 PyObject
*arg2
= (PyObject
*) 0 ;
17929 PyObject
*arg3
= (PyObject
*) 0 ;
17930 PyObject
* obj0
= 0 ;
17931 PyObject
* obj1
= 0 ;
17932 PyObject
* obj2
= 0 ;
17933 char *kwnames
[] = {
17934 (char *) "self",(char *) "self",(char *) "_class", NULL
17937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyEllipseShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17938 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17943 (arg1
)->_setCallbackInfo(arg2
,arg3
);
17945 wxPyEndAllowThreads(__tstate
);
17946 if (PyErr_Occurred()) SWIG_fail
;
17948 Py_INCREF(Py_None
); resultobj
= Py_None
;
17955 static PyObject
*_wrap_PyEllipseShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17956 PyObject
*resultobj
;
17957 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
17959 PyObject
* obj0
= 0 ;
17960 PyObject
* obj1
= 0 ;
17961 char *kwnames
[] = {
17962 (char *) "self",(char *) "dc", NULL
17965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEllipseShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
17966 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17967 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17968 if (arg2
== NULL
) {
17969 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17973 (arg1
)->base_OnDraw(*arg2
);
17975 wxPyEndAllowThreads(__tstate
);
17976 if (PyErr_Occurred()) SWIG_fail
;
17978 Py_INCREF(Py_None
); resultobj
= Py_None
;
17985 static PyObject
*_wrap_PyEllipseShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17986 PyObject
*resultobj
;
17987 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
17989 PyObject
* obj0
= 0 ;
17990 PyObject
* obj1
= 0 ;
17991 char *kwnames
[] = {
17992 (char *) "self",(char *) "dc", NULL
17995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEllipseShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
17996 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17997 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17998 if (arg2
== NULL
) {
17999 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18003 (arg1
)->base_OnDrawContents(*arg2
);
18005 wxPyEndAllowThreads(__tstate
);
18006 if (PyErr_Occurred()) SWIG_fail
;
18008 Py_INCREF(Py_None
); resultobj
= Py_None
;
18015 static PyObject
*_wrap_PyEllipseShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18016 PyObject
*resultobj
;
18017 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
18019 bool arg3
= (bool) FALSE
;
18020 PyObject
* obj0
= 0 ;
18021 PyObject
* obj1
= 0 ;
18022 PyObject
* obj2
= 0 ;
18023 char *kwnames
[] = {
18024 (char *) "self",(char *) "dc",(char *) "erase", NULL
18027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyEllipseShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18028 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18029 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18030 if (arg2
== NULL
) {
18031 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18034 arg3
= PyInt_AsLong(obj2
) ? true : false;
18035 if (PyErr_Occurred()) SWIG_fail
;
18038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18039 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
18041 wxPyEndAllowThreads(__tstate
);
18042 if (PyErr_Occurred()) SWIG_fail
;
18044 Py_INCREF(Py_None
); resultobj
= Py_None
;
18051 static PyObject
*_wrap_PyEllipseShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18052 PyObject
*resultobj
;
18053 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
18055 PyObject
* obj0
= 0 ;
18056 PyObject
* obj1
= 0 ;
18057 char *kwnames
[] = {
18058 (char *) "self",(char *) "dc", NULL
18061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEllipseShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
18062 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18063 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18064 if (arg2
== NULL
) {
18065 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18069 (arg1
)->base_OnMoveLinks(*arg2
);
18071 wxPyEndAllowThreads(__tstate
);
18072 if (PyErr_Occurred()) SWIG_fail
;
18074 Py_INCREF(Py_None
); resultobj
= Py_None
;
18081 static PyObject
*_wrap_PyEllipseShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18082 PyObject
*resultobj
;
18083 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
18085 PyObject
* obj0
= 0 ;
18086 PyObject
* obj1
= 0 ;
18087 char *kwnames
[] = {
18088 (char *) "self",(char *) "dc", NULL
18091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEllipseShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
18092 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18093 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18094 if (arg2
== NULL
) {
18095 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18099 (arg1
)->base_OnErase(*arg2
);
18101 wxPyEndAllowThreads(__tstate
);
18102 if (PyErr_Occurred()) SWIG_fail
;
18104 Py_INCREF(Py_None
); resultobj
= Py_None
;
18111 static PyObject
*_wrap_PyEllipseShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18112 PyObject
*resultobj
;
18113 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
18115 PyObject
* obj0
= 0 ;
18116 PyObject
* obj1
= 0 ;
18117 char *kwnames
[] = {
18118 (char *) "self",(char *) "dc", NULL
18121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEllipseShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
18122 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18123 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18124 if (arg2
== NULL
) {
18125 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18129 (arg1
)->base_OnEraseContents(*arg2
);
18131 wxPyEndAllowThreads(__tstate
);
18132 if (PyErr_Occurred()) SWIG_fail
;
18134 Py_INCREF(Py_None
); resultobj
= Py_None
;
18141 static PyObject
*_wrap_PyEllipseShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18142 PyObject
*resultobj
;
18143 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
18145 PyObject
* obj0
= 0 ;
18146 PyObject
* obj1
= 0 ;
18147 char *kwnames
[] = {
18148 (char *) "self",(char *) "dc", NULL
18151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEllipseShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
18152 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18153 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18154 if (arg2
== NULL
) {
18155 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18159 (arg1
)->base_OnHighlight(*arg2
);
18161 wxPyEndAllowThreads(__tstate
);
18162 if (PyErr_Occurred()) SWIG_fail
;
18164 Py_INCREF(Py_None
); resultobj
= Py_None
;
18171 static PyObject
*_wrap_PyEllipseShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18172 PyObject
*resultobj
;
18173 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
18176 int arg4
= (int) 0 ;
18177 int arg5
= (int) 0 ;
18178 PyObject
* obj0
= 0 ;
18179 char *kwnames
[] = {
18180 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyEllipseShape_base_OnLeftClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
18184 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18187 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
18189 wxPyEndAllowThreads(__tstate
);
18190 if (PyErr_Occurred()) SWIG_fail
;
18192 Py_INCREF(Py_None
); resultobj
= Py_None
;
18199 static PyObject
*_wrap_PyEllipseShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18200 PyObject
*resultobj
;
18201 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
18204 int arg4
= (int) 0 ;
18205 int arg5
= (int) 0 ;
18206 PyObject
* obj0
= 0 ;
18207 char *kwnames
[] = {
18208 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyEllipseShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
18212 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18215 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
18217 wxPyEndAllowThreads(__tstate
);
18218 if (PyErr_Occurred()) SWIG_fail
;
18220 Py_INCREF(Py_None
); resultobj
= Py_None
;
18227 static PyObject
*_wrap_PyEllipseShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18228 PyObject
*resultobj
;
18229 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
18232 int arg4
= (int) 0 ;
18233 int arg5
= (int) 0 ;
18234 PyObject
* obj0
= 0 ;
18235 char *kwnames
[] = {
18236 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyEllipseShape_base_OnRightClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
18240 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18243 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
18245 wxPyEndAllowThreads(__tstate
);
18246 if (PyErr_Occurred()) SWIG_fail
;
18248 Py_INCREF(Py_None
); resultobj
= Py_None
;
18255 static PyObject
*_wrap_PyEllipseShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18256 PyObject
*resultobj
;
18257 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
18260 PyObject
* obj0
= 0 ;
18261 char *kwnames
[] = {
18262 (char *) "self",(char *) "x",(char *) "y", NULL
18265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyEllipseShape_base_OnSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
18266 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18269 (arg1
)->base_OnSize(arg2
,arg3
);
18271 wxPyEndAllowThreads(__tstate
);
18272 if (PyErr_Occurred()) SWIG_fail
;
18274 Py_INCREF(Py_None
); resultobj
= Py_None
;
18281 static PyObject
*_wrap_PyEllipseShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18282 PyObject
*resultobj
;
18283 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
18289 bool arg7
= (bool) True
;
18291 PyObject
* obj0
= 0 ;
18292 PyObject
* obj1
= 0 ;
18293 PyObject
* obj6
= 0 ;
18294 char *kwnames
[] = {
18295 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
18298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd|O:PyEllipseShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
)) goto fail
;
18299 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18300 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18301 if (arg2
== NULL
) {
18302 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18305 arg7
= PyInt_AsLong(obj6
) ? true : false;
18306 if (PyErr_Occurred()) SWIG_fail
;
18309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18310 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18312 wxPyEndAllowThreads(__tstate
);
18313 if (PyErr_Occurred()) SWIG_fail
;
18315 resultobj
= PyInt_FromLong((long)result
);
18322 static PyObject
*_wrap_PyEllipseShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18323 PyObject
*resultobj
;
18324 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
18330 bool arg7
= (bool) True
;
18331 PyObject
* obj0
= 0 ;
18332 PyObject
* obj1
= 0 ;
18333 PyObject
* obj6
= 0 ;
18334 char *kwnames
[] = {
18335 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
18338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd|O:PyEllipseShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
)) goto fail
;
18339 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18340 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18341 if (arg2
== NULL
) {
18342 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18345 arg7
= PyInt_AsLong(obj6
) ? true : false;
18346 if (PyErr_Occurred()) SWIG_fail
;
18349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18350 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18352 wxPyEndAllowThreads(__tstate
);
18353 if (PyErr_Occurred()) SWIG_fail
;
18355 Py_INCREF(Py_None
); resultobj
= Py_None
;
18362 static PyObject
*_wrap_PyEllipseShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18363 PyObject
*resultobj
;
18364 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
18368 int arg5
= (int) 0 ;
18369 int arg6
= (int) 0 ;
18370 PyObject
* obj0
= 0 ;
18371 PyObject
* obj1
= 0 ;
18372 char *kwnames
[] = {
18373 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyEllipseShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
18377 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18378 arg2
= PyInt_AsLong(obj1
) ? true : false;
18379 if (PyErr_Occurred()) SWIG_fail
;
18381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18382 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
18384 wxPyEndAllowThreads(__tstate
);
18385 if (PyErr_Occurred()) SWIG_fail
;
18387 Py_INCREF(Py_None
); resultobj
= Py_None
;
18394 static PyObject
*_wrap_PyEllipseShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18395 PyObject
*resultobj
;
18396 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
18399 int arg4
= (int) 0 ;
18400 int arg5
= (int) 0 ;
18401 PyObject
* obj0
= 0 ;
18402 char *kwnames
[] = {
18403 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyEllipseShape_base_OnBeginDragLeft",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
18407 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18410 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
18412 wxPyEndAllowThreads(__tstate
);
18413 if (PyErr_Occurred()) SWIG_fail
;
18415 Py_INCREF(Py_None
); resultobj
= Py_None
;
18422 static PyObject
*_wrap_PyEllipseShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18423 PyObject
*resultobj
;
18424 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
18427 int arg4
= (int) 0 ;
18428 int arg5
= (int) 0 ;
18429 PyObject
* obj0
= 0 ;
18430 char *kwnames
[] = {
18431 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyEllipseShape_base_OnEndDragLeft",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
18435 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18438 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
18440 wxPyEndAllowThreads(__tstate
);
18441 if (PyErr_Occurred()) SWIG_fail
;
18443 Py_INCREF(Py_None
); resultobj
= Py_None
;
18450 static PyObject
*_wrap_PyEllipseShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18451 PyObject
*resultobj
;
18452 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
18456 int arg5
= (int) 0 ;
18457 int arg6
= (int) 0 ;
18458 PyObject
* obj0
= 0 ;
18459 PyObject
* obj1
= 0 ;
18460 char *kwnames
[] = {
18461 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyEllipseShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
18465 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18466 arg2
= PyInt_AsLong(obj1
) ? true : false;
18467 if (PyErr_Occurred()) SWIG_fail
;
18469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18470 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
18472 wxPyEndAllowThreads(__tstate
);
18473 if (PyErr_Occurred()) SWIG_fail
;
18475 Py_INCREF(Py_None
); resultobj
= Py_None
;
18482 static PyObject
*_wrap_PyEllipseShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18483 PyObject
*resultobj
;
18484 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
18487 int arg4
= (int) 0 ;
18488 int arg5
= (int) 0 ;
18489 PyObject
* obj0
= 0 ;
18490 char *kwnames
[] = {
18491 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyEllipseShape_base_OnBeginDragRight",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
18495 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18498 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
18500 wxPyEndAllowThreads(__tstate
);
18501 if (PyErr_Occurred()) SWIG_fail
;
18503 Py_INCREF(Py_None
); resultobj
= Py_None
;
18510 static PyObject
*_wrap_PyEllipseShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18511 PyObject
*resultobj
;
18512 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
18515 int arg4
= (int) 0 ;
18516 int arg5
= (int) 0 ;
18517 PyObject
* obj0
= 0 ;
18518 char *kwnames
[] = {
18519 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyEllipseShape_base_OnEndDragRight",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
18523 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18526 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
18528 wxPyEndAllowThreads(__tstate
);
18529 if (PyErr_Occurred()) SWIG_fail
;
18531 Py_INCREF(Py_None
); resultobj
= Py_None
;
18538 static PyObject
*_wrap_PyEllipseShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18539 PyObject
*resultobj
;
18540 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
18546 PyObject
* obj0
= 0 ;
18547 PyObject
* obj1
= 0 ;
18548 char *kwnames
[] = {
18549 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
18552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd:PyEllipseShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
18553 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18554 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18555 if (arg2
== NULL
) {
18556 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18560 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
18562 wxPyEndAllowThreads(__tstate
);
18563 if (PyErr_Occurred()) SWIG_fail
;
18565 Py_INCREF(Py_None
); resultobj
= Py_None
;
18572 static PyObject
*_wrap_PyEllipseShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18573 PyObject
*resultobj
;
18574 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
18576 PyObject
* obj0
= 0 ;
18577 PyObject
* obj1
= 0 ;
18578 char *kwnames
[] = {
18579 (char *) "self",(char *) "dc", NULL
18582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEllipseShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
18583 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18584 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18585 if (arg2
== NULL
) {
18586 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18590 (arg1
)->base_OnDrawControlPoints(*arg2
);
18592 wxPyEndAllowThreads(__tstate
);
18593 if (PyErr_Occurred()) SWIG_fail
;
18595 Py_INCREF(Py_None
); resultobj
= Py_None
;
18602 static PyObject
*_wrap_PyEllipseShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18603 PyObject
*resultobj
;
18604 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
18606 PyObject
* obj0
= 0 ;
18607 PyObject
* obj1
= 0 ;
18608 char *kwnames
[] = {
18609 (char *) "self",(char *) "dc", NULL
18612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEllipseShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
18613 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18614 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18615 if (arg2
== NULL
) {
18616 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18620 (arg1
)->base_OnEraseControlPoints(*arg2
);
18622 wxPyEndAllowThreads(__tstate
);
18623 if (PyErr_Occurred()) SWIG_fail
;
18625 Py_INCREF(Py_None
); resultobj
= Py_None
;
18632 static PyObject
*_wrap_PyEllipseShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18633 PyObject
*resultobj
;
18634 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
18636 bool arg3
= (bool) True
;
18637 PyObject
* obj0
= 0 ;
18638 PyObject
* obj1
= 0 ;
18639 PyObject
* obj2
= 0 ;
18640 char *kwnames
[] = {
18641 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
18644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyEllipseShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18645 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18646 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18647 if (arg2
== NULL
) {
18648 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18651 arg3
= PyInt_AsLong(obj2
) ? true : false;
18652 if (PyErr_Occurred()) SWIG_fail
;
18655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18656 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
18658 wxPyEndAllowThreads(__tstate
);
18659 if (PyErr_Occurred()) SWIG_fail
;
18661 Py_INCREF(Py_None
); resultobj
= Py_None
;
18668 static PyObject
*_wrap_PyEllipseShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18669 PyObject
*resultobj
;
18670 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
18671 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
18675 int arg6
= (int) 0 ;
18676 int arg7
= (int) 0 ;
18677 PyObject
* obj0
= 0 ;
18678 PyObject
* obj1
= 0 ;
18679 PyObject
* obj2
= 0 ;
18680 char *kwnames
[] = {
18681 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOdd|ii:PyEllipseShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
,&arg6
,&arg7
)) goto fail
;
18685 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18686 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18687 arg3
= PyInt_AsLong(obj2
) ? true : false;
18688 if (PyErr_Occurred()) SWIG_fail
;
18690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18691 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18693 wxPyEndAllowThreads(__tstate
);
18694 if (PyErr_Occurred()) SWIG_fail
;
18696 Py_INCREF(Py_None
); resultobj
= Py_None
;
18703 static PyObject
*_wrap_PyEllipseShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18704 PyObject
*resultobj
;
18705 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
18706 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
18709 int arg5
= (int) 0 ;
18710 int arg6
= (int) 0 ;
18711 PyObject
* obj0
= 0 ;
18712 PyObject
* obj1
= 0 ;
18713 char *kwnames
[] = {
18714 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyEllipseShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
18718 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18719 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18722 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
18724 wxPyEndAllowThreads(__tstate
);
18725 if (PyErr_Occurred()) SWIG_fail
;
18727 Py_INCREF(Py_None
); resultobj
= Py_None
;
18734 static PyObject
*_wrap_PyEllipseShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18735 PyObject
*resultobj
;
18736 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
18737 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
18740 int arg5
= (int) 0 ;
18741 int arg6
= (int) 0 ;
18742 PyObject
* obj0
= 0 ;
18743 PyObject
* obj1
= 0 ;
18744 char *kwnames
[] = {
18745 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyEllipseShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
18749 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18750 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18753 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
18755 wxPyEndAllowThreads(__tstate
);
18756 if (PyErr_Occurred()) SWIG_fail
;
18758 Py_INCREF(Py_None
); resultobj
= Py_None
;
18765 static PyObject
*_wrap_PyEllipseShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18766 PyObject
*resultobj
;
18767 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
18770 PyObject
* obj0
= 0 ;
18771 char *kwnames
[] = {
18772 (char *) "self",(char *) "w",(char *) "h", NULL
18775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyEllipseShape_base_OnBeginSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
18776 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18779 (arg1
)->base_OnBeginSize(arg2
,arg3
);
18781 wxPyEndAllowThreads(__tstate
);
18782 if (PyErr_Occurred()) SWIG_fail
;
18784 Py_INCREF(Py_None
); resultobj
= Py_None
;
18791 static PyObject
*_wrap_PyEllipseShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18792 PyObject
*resultobj
;
18793 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
18796 PyObject
* obj0
= 0 ;
18797 char *kwnames
[] = {
18798 (char *) "self",(char *) "w",(char *) "h", NULL
18801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyEllipseShape_base_OnEndSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
18802 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18805 (arg1
)->base_OnEndSize(arg2
,arg3
);
18807 wxPyEndAllowThreads(__tstate
);
18808 if (PyErr_Occurred()) SWIG_fail
;
18810 Py_INCREF(Py_None
); resultobj
= Py_None
;
18817 static PyObject
* PyEllipseShape_swigregister(PyObject
*self
, PyObject
*args
) {
18819 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18820 SWIG_TypeClientData(SWIGTYPE_p_wxPyEllipseShape
, obj
);
18822 return Py_BuildValue((char *)"");
18824 static PyObject
*_wrap_new_PyCircleShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18825 PyObject
*resultobj
;
18826 double arg1
= (double) 0.0 ;
18827 wxPyCircleShape
*result
;
18828 char *kwnames
[] = {
18829 (char *) "width", NULL
18832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|d:new_PyCircleShape",kwnames
,&arg1
)) goto fail
;
18834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18835 result
= (wxPyCircleShape
*)new wxPyCircleShape(arg1
);
18837 wxPyEndAllowThreads(__tstate
);
18838 if (PyErr_Occurred()) SWIG_fail
;
18840 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyCircleShape
, 1);
18847 static PyObject
*_wrap_PyCircleShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18848 PyObject
*resultobj
;
18849 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
18850 PyObject
*arg2
= (PyObject
*) 0 ;
18851 PyObject
*arg3
= (PyObject
*) 0 ;
18852 PyObject
* obj0
= 0 ;
18853 PyObject
* obj1
= 0 ;
18854 PyObject
* obj2
= 0 ;
18855 char *kwnames
[] = {
18856 (char *) "self",(char *) "self",(char *) "_class", NULL
18859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyCircleShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18860 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18865 (arg1
)->_setCallbackInfo(arg2
,arg3
);
18867 wxPyEndAllowThreads(__tstate
);
18868 if (PyErr_Occurred()) SWIG_fail
;
18870 Py_INCREF(Py_None
); resultobj
= Py_None
;
18877 static PyObject
*_wrap_PyCircleShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18878 PyObject
*resultobj
;
18879 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
18881 PyObject
* obj0
= 0 ;
18882 PyObject
* obj1
= 0 ;
18883 char *kwnames
[] = {
18884 (char *) "self",(char *) "dc", NULL
18887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCircleShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
18888 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18889 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18890 if (arg2
== NULL
) {
18891 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18895 (arg1
)->base_OnDraw(*arg2
);
18897 wxPyEndAllowThreads(__tstate
);
18898 if (PyErr_Occurred()) SWIG_fail
;
18900 Py_INCREF(Py_None
); resultobj
= Py_None
;
18907 static PyObject
*_wrap_PyCircleShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18908 PyObject
*resultobj
;
18909 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
18911 PyObject
* obj0
= 0 ;
18912 PyObject
* obj1
= 0 ;
18913 char *kwnames
[] = {
18914 (char *) "self",(char *) "dc", NULL
18917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCircleShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
18918 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18919 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18920 if (arg2
== NULL
) {
18921 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18925 (arg1
)->base_OnDrawContents(*arg2
);
18927 wxPyEndAllowThreads(__tstate
);
18928 if (PyErr_Occurred()) SWIG_fail
;
18930 Py_INCREF(Py_None
); resultobj
= Py_None
;
18937 static PyObject
*_wrap_PyCircleShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18938 PyObject
*resultobj
;
18939 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
18941 bool arg3
= (bool) FALSE
;
18942 PyObject
* obj0
= 0 ;
18943 PyObject
* obj1
= 0 ;
18944 PyObject
* obj2
= 0 ;
18945 char *kwnames
[] = {
18946 (char *) "self",(char *) "dc",(char *) "erase", NULL
18949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyCircleShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18950 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18951 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18952 if (arg2
== NULL
) {
18953 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18956 arg3
= PyInt_AsLong(obj2
) ? true : false;
18957 if (PyErr_Occurred()) SWIG_fail
;
18960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18961 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
18963 wxPyEndAllowThreads(__tstate
);
18964 if (PyErr_Occurred()) SWIG_fail
;
18966 Py_INCREF(Py_None
); resultobj
= Py_None
;
18973 static PyObject
*_wrap_PyCircleShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18974 PyObject
*resultobj
;
18975 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
18977 PyObject
* obj0
= 0 ;
18978 PyObject
* obj1
= 0 ;
18979 char *kwnames
[] = {
18980 (char *) "self",(char *) "dc", NULL
18983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCircleShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
18984 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18985 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18986 if (arg2
== NULL
) {
18987 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18991 (arg1
)->base_OnMoveLinks(*arg2
);
18993 wxPyEndAllowThreads(__tstate
);
18994 if (PyErr_Occurred()) SWIG_fail
;
18996 Py_INCREF(Py_None
); resultobj
= Py_None
;
19003 static PyObject
*_wrap_PyCircleShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19004 PyObject
*resultobj
;
19005 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
19007 PyObject
* obj0
= 0 ;
19008 PyObject
* obj1
= 0 ;
19009 char *kwnames
[] = {
19010 (char *) "self",(char *) "dc", NULL
19013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCircleShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
19014 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19015 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19016 if (arg2
== NULL
) {
19017 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19021 (arg1
)->base_OnErase(*arg2
);
19023 wxPyEndAllowThreads(__tstate
);
19024 if (PyErr_Occurred()) SWIG_fail
;
19026 Py_INCREF(Py_None
); resultobj
= Py_None
;
19033 static PyObject
*_wrap_PyCircleShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19034 PyObject
*resultobj
;
19035 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
19037 PyObject
* obj0
= 0 ;
19038 PyObject
* obj1
= 0 ;
19039 char *kwnames
[] = {
19040 (char *) "self",(char *) "dc", NULL
19043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCircleShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
19044 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19045 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19046 if (arg2
== NULL
) {
19047 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19051 (arg1
)->base_OnEraseContents(*arg2
);
19053 wxPyEndAllowThreads(__tstate
);
19054 if (PyErr_Occurred()) SWIG_fail
;
19056 Py_INCREF(Py_None
); resultobj
= Py_None
;
19063 static PyObject
*_wrap_PyCircleShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19064 PyObject
*resultobj
;
19065 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
19067 PyObject
* obj0
= 0 ;
19068 PyObject
* obj1
= 0 ;
19069 char *kwnames
[] = {
19070 (char *) "self",(char *) "dc", NULL
19073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCircleShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
19074 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19075 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19076 if (arg2
== NULL
) {
19077 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19081 (arg1
)->base_OnHighlight(*arg2
);
19083 wxPyEndAllowThreads(__tstate
);
19084 if (PyErr_Occurred()) SWIG_fail
;
19086 Py_INCREF(Py_None
); resultobj
= Py_None
;
19093 static PyObject
*_wrap_PyCircleShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19094 PyObject
*resultobj
;
19095 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
19098 int arg4
= (int) 0 ;
19099 int arg5
= (int) 0 ;
19100 PyObject
* obj0
= 0 ;
19101 char *kwnames
[] = {
19102 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyCircleShape_base_OnLeftClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
19106 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19109 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
19111 wxPyEndAllowThreads(__tstate
);
19112 if (PyErr_Occurred()) SWIG_fail
;
19114 Py_INCREF(Py_None
); resultobj
= Py_None
;
19121 static PyObject
*_wrap_PyCircleShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19122 PyObject
*resultobj
;
19123 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
19126 int arg4
= (int) 0 ;
19127 int arg5
= (int) 0 ;
19128 PyObject
* obj0
= 0 ;
19129 char *kwnames
[] = {
19130 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyCircleShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
19134 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19137 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
19139 wxPyEndAllowThreads(__tstate
);
19140 if (PyErr_Occurred()) SWIG_fail
;
19142 Py_INCREF(Py_None
); resultobj
= Py_None
;
19149 static PyObject
*_wrap_PyCircleShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19150 PyObject
*resultobj
;
19151 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
19154 int arg4
= (int) 0 ;
19155 int arg5
= (int) 0 ;
19156 PyObject
* obj0
= 0 ;
19157 char *kwnames
[] = {
19158 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyCircleShape_base_OnRightClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
19162 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19165 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
19167 wxPyEndAllowThreads(__tstate
);
19168 if (PyErr_Occurred()) SWIG_fail
;
19170 Py_INCREF(Py_None
); resultobj
= Py_None
;
19177 static PyObject
*_wrap_PyCircleShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19178 PyObject
*resultobj
;
19179 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
19182 PyObject
* obj0
= 0 ;
19183 char *kwnames
[] = {
19184 (char *) "self",(char *) "x",(char *) "y", NULL
19187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyCircleShape_base_OnSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
19188 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19191 (arg1
)->base_OnSize(arg2
,arg3
);
19193 wxPyEndAllowThreads(__tstate
);
19194 if (PyErr_Occurred()) SWIG_fail
;
19196 Py_INCREF(Py_None
); resultobj
= Py_None
;
19203 static PyObject
*_wrap_PyCircleShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19204 PyObject
*resultobj
;
19205 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
19211 bool arg7
= (bool) True
;
19213 PyObject
* obj0
= 0 ;
19214 PyObject
* obj1
= 0 ;
19215 PyObject
* obj6
= 0 ;
19216 char *kwnames
[] = {
19217 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
19220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd|O:PyCircleShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
)) goto fail
;
19221 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19222 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19223 if (arg2
== NULL
) {
19224 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19227 arg7
= PyInt_AsLong(obj6
) ? true : false;
19228 if (PyErr_Occurred()) SWIG_fail
;
19231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19232 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
19234 wxPyEndAllowThreads(__tstate
);
19235 if (PyErr_Occurred()) SWIG_fail
;
19237 resultobj
= PyInt_FromLong((long)result
);
19244 static PyObject
*_wrap_PyCircleShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19245 PyObject
*resultobj
;
19246 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
19252 bool arg7
= (bool) True
;
19253 PyObject
* obj0
= 0 ;
19254 PyObject
* obj1
= 0 ;
19255 PyObject
* obj6
= 0 ;
19256 char *kwnames
[] = {
19257 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
19260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd|O:PyCircleShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
)) goto fail
;
19261 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19262 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19263 if (arg2
== NULL
) {
19264 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19267 arg7
= PyInt_AsLong(obj6
) ? true : false;
19268 if (PyErr_Occurred()) SWIG_fail
;
19271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19272 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
19274 wxPyEndAllowThreads(__tstate
);
19275 if (PyErr_Occurred()) SWIG_fail
;
19277 Py_INCREF(Py_None
); resultobj
= Py_None
;
19284 static PyObject
*_wrap_PyCircleShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19285 PyObject
*resultobj
;
19286 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
19290 int arg5
= (int) 0 ;
19291 int arg6
= (int) 0 ;
19292 PyObject
* obj0
= 0 ;
19293 PyObject
* obj1
= 0 ;
19294 char *kwnames
[] = {
19295 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyCircleShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
19299 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19300 arg2
= PyInt_AsLong(obj1
) ? true : false;
19301 if (PyErr_Occurred()) SWIG_fail
;
19303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19304 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
19306 wxPyEndAllowThreads(__tstate
);
19307 if (PyErr_Occurred()) SWIG_fail
;
19309 Py_INCREF(Py_None
); resultobj
= Py_None
;
19316 static PyObject
*_wrap_PyCircleShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19317 PyObject
*resultobj
;
19318 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
19321 int arg4
= (int) 0 ;
19322 int arg5
= (int) 0 ;
19323 PyObject
* obj0
= 0 ;
19324 char *kwnames
[] = {
19325 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyCircleShape_base_OnBeginDragLeft",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
19329 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19332 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
19334 wxPyEndAllowThreads(__tstate
);
19335 if (PyErr_Occurred()) SWIG_fail
;
19337 Py_INCREF(Py_None
); resultobj
= Py_None
;
19344 static PyObject
*_wrap_PyCircleShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19345 PyObject
*resultobj
;
19346 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
19349 int arg4
= (int) 0 ;
19350 int arg5
= (int) 0 ;
19351 PyObject
* obj0
= 0 ;
19352 char *kwnames
[] = {
19353 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyCircleShape_base_OnEndDragLeft",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
19357 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19360 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
19362 wxPyEndAllowThreads(__tstate
);
19363 if (PyErr_Occurred()) SWIG_fail
;
19365 Py_INCREF(Py_None
); resultobj
= Py_None
;
19372 static PyObject
*_wrap_PyCircleShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19373 PyObject
*resultobj
;
19374 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
19378 int arg5
= (int) 0 ;
19379 int arg6
= (int) 0 ;
19380 PyObject
* obj0
= 0 ;
19381 PyObject
* obj1
= 0 ;
19382 char *kwnames
[] = {
19383 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyCircleShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
19387 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19388 arg2
= PyInt_AsLong(obj1
) ? true : false;
19389 if (PyErr_Occurred()) SWIG_fail
;
19391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19392 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
19394 wxPyEndAllowThreads(__tstate
);
19395 if (PyErr_Occurred()) SWIG_fail
;
19397 Py_INCREF(Py_None
); resultobj
= Py_None
;
19404 static PyObject
*_wrap_PyCircleShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19405 PyObject
*resultobj
;
19406 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
19409 int arg4
= (int) 0 ;
19410 int arg5
= (int) 0 ;
19411 PyObject
* obj0
= 0 ;
19412 char *kwnames
[] = {
19413 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyCircleShape_base_OnBeginDragRight",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
19417 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19420 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
19422 wxPyEndAllowThreads(__tstate
);
19423 if (PyErr_Occurred()) SWIG_fail
;
19425 Py_INCREF(Py_None
); resultobj
= Py_None
;
19432 static PyObject
*_wrap_PyCircleShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19433 PyObject
*resultobj
;
19434 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
19437 int arg4
= (int) 0 ;
19438 int arg5
= (int) 0 ;
19439 PyObject
* obj0
= 0 ;
19440 char *kwnames
[] = {
19441 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyCircleShape_base_OnEndDragRight",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
19445 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19448 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
19450 wxPyEndAllowThreads(__tstate
);
19451 if (PyErr_Occurred()) SWIG_fail
;
19453 Py_INCREF(Py_None
); resultobj
= Py_None
;
19460 static PyObject
*_wrap_PyCircleShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19461 PyObject
*resultobj
;
19462 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
19468 PyObject
* obj0
= 0 ;
19469 PyObject
* obj1
= 0 ;
19470 char *kwnames
[] = {
19471 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
19474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd:PyCircleShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
19475 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19476 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19477 if (arg2
== NULL
) {
19478 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19482 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
19484 wxPyEndAllowThreads(__tstate
);
19485 if (PyErr_Occurred()) SWIG_fail
;
19487 Py_INCREF(Py_None
); resultobj
= Py_None
;
19494 static PyObject
*_wrap_PyCircleShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19495 PyObject
*resultobj
;
19496 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
19498 PyObject
* obj0
= 0 ;
19499 PyObject
* obj1
= 0 ;
19500 char *kwnames
[] = {
19501 (char *) "self",(char *) "dc", NULL
19504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCircleShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
19505 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19506 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19507 if (arg2
== NULL
) {
19508 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19512 (arg1
)->base_OnDrawControlPoints(*arg2
);
19514 wxPyEndAllowThreads(__tstate
);
19515 if (PyErr_Occurred()) SWIG_fail
;
19517 Py_INCREF(Py_None
); resultobj
= Py_None
;
19524 static PyObject
*_wrap_PyCircleShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19525 PyObject
*resultobj
;
19526 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
19528 PyObject
* obj0
= 0 ;
19529 PyObject
* obj1
= 0 ;
19530 char *kwnames
[] = {
19531 (char *) "self",(char *) "dc", NULL
19534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCircleShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
19535 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19536 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19537 if (arg2
== NULL
) {
19538 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19542 (arg1
)->base_OnEraseControlPoints(*arg2
);
19544 wxPyEndAllowThreads(__tstate
);
19545 if (PyErr_Occurred()) SWIG_fail
;
19547 Py_INCREF(Py_None
); resultobj
= Py_None
;
19554 static PyObject
*_wrap_PyCircleShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19555 PyObject
*resultobj
;
19556 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
19558 bool arg3
= (bool) True
;
19559 PyObject
* obj0
= 0 ;
19560 PyObject
* obj1
= 0 ;
19561 PyObject
* obj2
= 0 ;
19562 char *kwnames
[] = {
19563 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
19566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyCircleShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19567 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19568 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19569 if (arg2
== NULL
) {
19570 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19573 arg3
= PyInt_AsLong(obj2
) ? true : false;
19574 if (PyErr_Occurred()) SWIG_fail
;
19577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19578 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
19580 wxPyEndAllowThreads(__tstate
);
19581 if (PyErr_Occurred()) SWIG_fail
;
19583 Py_INCREF(Py_None
); resultobj
= Py_None
;
19590 static PyObject
*_wrap_PyCircleShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19591 PyObject
*resultobj
;
19592 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
19593 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
19597 int arg6
= (int) 0 ;
19598 int arg7
= (int) 0 ;
19599 PyObject
* obj0
= 0 ;
19600 PyObject
* obj1
= 0 ;
19601 PyObject
* obj2
= 0 ;
19602 char *kwnames
[] = {
19603 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOdd|ii:PyCircleShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
,&arg6
,&arg7
)) goto fail
;
19607 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19608 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19609 arg3
= PyInt_AsLong(obj2
) ? true : false;
19610 if (PyErr_Occurred()) SWIG_fail
;
19612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19613 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
19615 wxPyEndAllowThreads(__tstate
);
19616 if (PyErr_Occurred()) SWIG_fail
;
19618 Py_INCREF(Py_None
); resultobj
= Py_None
;
19625 static PyObject
*_wrap_PyCircleShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19626 PyObject
*resultobj
;
19627 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
19628 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
19631 int arg5
= (int) 0 ;
19632 int arg6
= (int) 0 ;
19633 PyObject
* obj0
= 0 ;
19634 PyObject
* obj1
= 0 ;
19635 char *kwnames
[] = {
19636 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyCircleShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
19640 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19641 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19644 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
19646 wxPyEndAllowThreads(__tstate
);
19647 if (PyErr_Occurred()) SWIG_fail
;
19649 Py_INCREF(Py_None
); resultobj
= Py_None
;
19656 static PyObject
*_wrap_PyCircleShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19657 PyObject
*resultobj
;
19658 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
19659 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
19662 int arg5
= (int) 0 ;
19663 int arg6
= (int) 0 ;
19664 PyObject
* obj0
= 0 ;
19665 PyObject
* obj1
= 0 ;
19666 char *kwnames
[] = {
19667 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyCircleShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
19671 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19672 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19675 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
19677 wxPyEndAllowThreads(__tstate
);
19678 if (PyErr_Occurred()) SWIG_fail
;
19680 Py_INCREF(Py_None
); resultobj
= Py_None
;
19687 static PyObject
*_wrap_PyCircleShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19688 PyObject
*resultobj
;
19689 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
19692 PyObject
* obj0
= 0 ;
19693 char *kwnames
[] = {
19694 (char *) "self",(char *) "w",(char *) "h", NULL
19697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyCircleShape_base_OnBeginSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
19698 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19701 (arg1
)->base_OnBeginSize(arg2
,arg3
);
19703 wxPyEndAllowThreads(__tstate
);
19704 if (PyErr_Occurred()) SWIG_fail
;
19706 Py_INCREF(Py_None
); resultobj
= Py_None
;
19713 static PyObject
*_wrap_PyCircleShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19714 PyObject
*resultobj
;
19715 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
19718 PyObject
* obj0
= 0 ;
19719 char *kwnames
[] = {
19720 (char *) "self",(char *) "w",(char *) "h", NULL
19723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyCircleShape_base_OnEndSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
19724 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19727 (arg1
)->base_OnEndSize(arg2
,arg3
);
19729 wxPyEndAllowThreads(__tstate
);
19730 if (PyErr_Occurred()) SWIG_fail
;
19732 Py_INCREF(Py_None
); resultobj
= Py_None
;
19739 static PyObject
* PyCircleShape_swigregister(PyObject
*self
, PyObject
*args
) {
19741 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19742 SWIG_TypeClientData(SWIGTYPE_p_wxPyCircleShape
, obj
);
19744 return Py_BuildValue((char *)"");
19746 static PyObject
*_wrap_new_ArrowHead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19747 PyObject
*resultobj
;
19748 int arg1
= (int) 0 ;
19749 int arg2
= (int) 0 ;
19750 double arg3
= (double) 0.0 ;
19751 double arg4
= (double) 0.0 ;
19752 wxString
const &arg5_defvalue
= wxPyEmptyString
;
19753 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
19754 wxPseudoMetaFile
*arg6
= (wxPseudoMetaFile
*) NULL
;
19755 long arg7
= (long) -1 ;
19756 wxArrowHead
*result
;
19757 bool temp5
= False
;
19758 PyObject
* obj4
= 0 ;
19759 PyObject
* obj5
= 0 ;
19760 char *kwnames
[] = {
19761 (char *) "type",(char *) "end",(char *) "size",(char *) "dist",(char *) "name",(char *) "mf",(char *) "arrowId", NULL
19764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiddOOl:new_ArrowHead",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
,&obj4
,&obj5
,&arg7
)) goto fail
;
19767 arg5
= wxString_in_helper(obj4
);
19768 if (arg5
== NULL
) SWIG_fail
;
19773 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19777 result
= (wxArrowHead
*)new wxArrowHead(arg1
,arg2
,arg3
,arg4
,(wxString
const &)*arg5
,arg6
,arg7
);
19779 wxPyEndAllowThreads(__tstate
);
19780 if (PyErr_Occurred()) SWIG_fail
;
19783 resultobj
= wxPyMake_wxObject(result
);
19799 static PyObject
*_wrap_delete_ArrowHead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19800 PyObject
*resultobj
;
19801 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
19802 PyObject
* obj0
= 0 ;
19803 char *kwnames
[] = {
19804 (char *) "self", NULL
19807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ArrowHead",kwnames
,&obj0
)) goto fail
;
19808 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxArrowHead
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19813 wxPyEndAllowThreads(__tstate
);
19814 if (PyErr_Occurred()) SWIG_fail
;
19816 Py_INCREF(Py_None
); resultobj
= Py_None
;
19823 static PyObject
*_wrap_ArrowHead__GetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19824 PyObject
*resultobj
;
19825 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
19827 PyObject
* obj0
= 0 ;
19828 char *kwnames
[] = {
19829 (char *) "self", NULL
19832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead__GetType",kwnames
,&obj0
)) goto fail
;
19833 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxArrowHead
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19836 result
= (int)(arg1
)->_GetType();
19838 wxPyEndAllowThreads(__tstate
);
19839 if (PyErr_Occurred()) SWIG_fail
;
19841 resultobj
= PyInt_FromLong((long)result
);
19848 static PyObject
*_wrap_ArrowHead_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19849 PyObject
*resultobj
;
19850 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
19852 PyObject
* obj0
= 0 ;
19853 char *kwnames
[] = {
19854 (char *) "self", NULL
19857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetPosition",kwnames
,&obj0
)) goto fail
;
19858 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxArrowHead
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19861 result
= (int)(arg1
)->GetPosition();
19863 wxPyEndAllowThreads(__tstate
);
19864 if (PyErr_Occurred()) SWIG_fail
;
19866 resultobj
= PyInt_FromLong((long)result
);
19873 static PyObject
*_wrap_ArrowHead_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19874 PyObject
*resultobj
;
19875 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
19877 PyObject
* obj0
= 0 ;
19878 char *kwnames
[] = {
19879 (char *) "self",(char *) "pos", NULL
19882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ArrowHead_SetPosition",kwnames
,&obj0
,&arg2
)) goto fail
;
19883 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxArrowHead
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19886 (arg1
)->SetPosition(arg2
);
19888 wxPyEndAllowThreads(__tstate
);
19889 if (PyErr_Occurred()) SWIG_fail
;
19891 Py_INCREF(Py_None
); resultobj
= Py_None
;
19898 static PyObject
*_wrap_ArrowHead_GetXOffset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19899 PyObject
*resultobj
;
19900 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
19902 PyObject
* obj0
= 0 ;
19903 char *kwnames
[] = {
19904 (char *) "self", NULL
19907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetXOffset",kwnames
,&obj0
)) goto fail
;
19908 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxArrowHead
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19911 result
= (double)(arg1
)->GetXOffset();
19913 wxPyEndAllowThreads(__tstate
);
19914 if (PyErr_Occurred()) SWIG_fail
;
19916 resultobj
= PyFloat_FromDouble(result
);
19923 static PyObject
*_wrap_ArrowHead_GetYOffset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19924 PyObject
*resultobj
;
19925 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
19927 PyObject
* obj0
= 0 ;
19928 char *kwnames
[] = {
19929 (char *) "self", NULL
19932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetYOffset",kwnames
,&obj0
)) goto fail
;
19933 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxArrowHead
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19936 result
= (double)(arg1
)->GetYOffset();
19938 wxPyEndAllowThreads(__tstate
);
19939 if (PyErr_Occurred()) SWIG_fail
;
19941 resultobj
= PyFloat_FromDouble(result
);
19948 static PyObject
*_wrap_ArrowHead_GetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19949 PyObject
*resultobj
;
19950 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
19952 PyObject
* obj0
= 0 ;
19953 char *kwnames
[] = {
19954 (char *) "self", NULL
19957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetSpacing",kwnames
,&obj0
)) goto fail
;
19958 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxArrowHead
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19961 result
= (double)(arg1
)->GetSpacing();
19963 wxPyEndAllowThreads(__tstate
);
19964 if (PyErr_Occurred()) SWIG_fail
;
19966 resultobj
= PyFloat_FromDouble(result
);
19973 static PyObject
*_wrap_ArrowHead_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19974 PyObject
*resultobj
;
19975 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
19977 PyObject
* obj0
= 0 ;
19978 char *kwnames
[] = {
19979 (char *) "self", NULL
19982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetSize",kwnames
,&obj0
)) goto fail
;
19983 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxArrowHead
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19986 result
= (double)(arg1
)->GetSize();
19988 wxPyEndAllowThreads(__tstate
);
19989 if (PyErr_Occurred()) SWIG_fail
;
19991 resultobj
= PyFloat_FromDouble(result
);
19998 static PyObject
*_wrap_ArrowHead_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19999 PyObject
*resultobj
;
20000 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
20002 PyObject
* obj0
= 0 ;
20003 char *kwnames
[] = {
20004 (char *) "self", NULL
20007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetName",kwnames
,&obj0
)) goto fail
;
20008 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxArrowHead
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20011 result
= (arg1
)->GetName();
20013 wxPyEndAllowThreads(__tstate
);
20014 if (PyErr_Occurred()) SWIG_fail
;
20018 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20020 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20029 static PyObject
*_wrap_ArrowHead_SetXOffset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20030 PyObject
*resultobj
;
20031 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
20033 PyObject
* obj0
= 0 ;
20034 char *kwnames
[] = {
20035 (char *) "self",(char *) "x", NULL
20038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Od:ArrowHead_SetXOffset",kwnames
,&obj0
,&arg2
)) goto fail
;
20039 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxArrowHead
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20042 (arg1
)->SetXOffset(arg2
);
20044 wxPyEndAllowThreads(__tstate
);
20045 if (PyErr_Occurred()) SWIG_fail
;
20047 Py_INCREF(Py_None
); resultobj
= Py_None
;
20054 static PyObject
*_wrap_ArrowHead_SetYOffset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20055 PyObject
*resultobj
;
20056 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
20058 PyObject
* obj0
= 0 ;
20059 char *kwnames
[] = {
20060 (char *) "self",(char *) "y", NULL
20063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Od:ArrowHead_SetYOffset",kwnames
,&obj0
,&arg2
)) goto fail
;
20064 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxArrowHead
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20067 (arg1
)->SetYOffset(arg2
);
20069 wxPyEndAllowThreads(__tstate
);
20070 if (PyErr_Occurred()) SWIG_fail
;
20072 Py_INCREF(Py_None
); resultobj
= Py_None
;
20079 static PyObject
*_wrap_ArrowHead_GetMetaFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20080 PyObject
*resultobj
;
20081 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
20082 wxPseudoMetaFile
*result
;
20083 PyObject
* obj0
= 0 ;
20084 char *kwnames
[] = {
20085 (char *) "self", NULL
20088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetMetaFile",kwnames
,&obj0
)) goto fail
;
20089 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxArrowHead
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20092 result
= (wxPseudoMetaFile
*)(arg1
)->GetMetaFile();
20094 wxPyEndAllowThreads(__tstate
);
20095 if (PyErr_Occurred()) SWIG_fail
;
20098 resultobj
= wxPyMake_wxObject(result
);
20106 static PyObject
*_wrap_ArrowHead_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20107 PyObject
*resultobj
;
20108 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
20110 PyObject
* obj0
= 0 ;
20111 char *kwnames
[] = {
20112 (char *) "self", NULL
20115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetId",kwnames
,&obj0
)) goto fail
;
20116 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxArrowHead
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20119 result
= (long)(arg1
)->GetId();
20121 wxPyEndAllowThreads(__tstate
);
20122 if (PyErr_Occurred()) SWIG_fail
;
20124 resultobj
= PyInt_FromLong((long)result
);
20131 static PyObject
*_wrap_ArrowHead_GetArrowEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20132 PyObject
*resultobj
;
20133 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
20135 PyObject
* obj0
= 0 ;
20136 char *kwnames
[] = {
20137 (char *) "self", NULL
20140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetArrowEnd",kwnames
,&obj0
)) goto fail
;
20141 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxArrowHead
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20144 result
= (int)(arg1
)->GetArrowEnd();
20146 wxPyEndAllowThreads(__tstate
);
20147 if (PyErr_Occurred()) SWIG_fail
;
20149 resultobj
= PyInt_FromLong((long)result
);
20156 static PyObject
*_wrap_ArrowHead_GetArrowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20157 PyObject
*resultobj
;
20158 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
20160 PyObject
* obj0
= 0 ;
20161 char *kwnames
[] = {
20162 (char *) "self", NULL
20165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetArrowSize",kwnames
,&obj0
)) goto fail
;
20166 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxArrowHead
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20169 result
= (double)(arg1
)->GetArrowSize();
20171 wxPyEndAllowThreads(__tstate
);
20172 if (PyErr_Occurred()) SWIG_fail
;
20174 resultobj
= PyFloat_FromDouble(result
);
20181 static PyObject
*_wrap_ArrowHead_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20182 PyObject
*resultobj
;
20183 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
20185 PyObject
* obj0
= 0 ;
20186 char *kwnames
[] = {
20187 (char *) "self",(char *) "size", NULL
20190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Od:ArrowHead_SetSize",kwnames
,&obj0
,&arg2
)) goto fail
;
20191 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxArrowHead
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20194 (arg1
)->SetSize(arg2
);
20196 wxPyEndAllowThreads(__tstate
);
20197 if (PyErr_Occurred()) SWIG_fail
;
20199 Py_INCREF(Py_None
); resultobj
= Py_None
;
20206 static PyObject
*_wrap_ArrowHead_SetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20207 PyObject
*resultobj
;
20208 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
20210 PyObject
* obj0
= 0 ;
20211 char *kwnames
[] = {
20212 (char *) "self",(char *) "sp", NULL
20215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Od:ArrowHead_SetSpacing",kwnames
,&obj0
,&arg2
)) goto fail
;
20216 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxArrowHead
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20219 (arg1
)->SetSpacing(arg2
);
20221 wxPyEndAllowThreads(__tstate
);
20222 if (PyErr_Occurred()) SWIG_fail
;
20224 Py_INCREF(Py_None
); resultobj
= Py_None
;
20231 static PyObject
* ArrowHead_swigregister(PyObject
*self
, PyObject
*args
) {
20233 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20234 SWIG_TypeClientData(SWIGTYPE_p_wxArrowHead
, obj
);
20236 return Py_BuildValue((char *)"");
20238 static PyObject
*_wrap_new_PyLineShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20239 PyObject
*resultobj
;
20240 wxPyLineShape
*result
;
20241 char *kwnames
[] = {
20245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyLineShape",kwnames
)) goto fail
;
20247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20248 result
= (wxPyLineShape
*)new wxPyLineShape();
20250 wxPyEndAllowThreads(__tstate
);
20251 if (PyErr_Occurred()) SWIG_fail
;
20253 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyLineShape
, 1);
20260 static PyObject
*_wrap_PyLineShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20261 PyObject
*resultobj
;
20262 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
20263 PyObject
*arg2
= (PyObject
*) 0 ;
20264 PyObject
*arg3
= (PyObject
*) 0 ;
20265 PyObject
* obj0
= 0 ;
20266 PyObject
* obj1
= 0 ;
20267 PyObject
* obj2
= 0 ;
20268 char *kwnames
[] = {
20269 (char *) "self",(char *) "self",(char *) "_class", NULL
20272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLineShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20273 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20278 (arg1
)->_setCallbackInfo(arg2
,arg3
);
20280 wxPyEndAllowThreads(__tstate
);
20281 if (PyErr_Occurred()) SWIG_fail
;
20283 Py_INCREF(Py_None
); resultobj
= Py_None
;
20290 static PyObject
*_wrap_PyLineShape_AddArrow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20291 PyObject
*resultobj
;
20292 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
20294 int arg3
= (int) ARROW_POSITION_END
;
20295 double arg4
= (double) 10.0 ;
20296 double arg5
= (double) 0.0 ;
20297 wxString
const &arg6_defvalue
= wxPyEmptyString
;
20298 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20299 wxPseudoMetaFile
*arg7
= (wxPseudoMetaFile
*) NULL
;
20300 long arg8
= (long) -1 ;
20301 bool temp6
= False
;
20302 PyObject
* obj0
= 0 ;
20303 PyObject
* obj5
= 0 ;
20304 PyObject
* obj6
= 0 ;
20305 char *kwnames
[] = {
20306 (char *) "self",(char *) "type",(char *) "end",(char *) "arrowSize",(char *) "xOffset",(char *) "name",(char *) "mf",(char *) "arrowId", NULL
20309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|iddOOl:PyLineShape_AddArrow",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&obj5
,&obj6
,&arg8
)) goto fail
;
20310 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20313 arg6
= wxString_in_helper(obj5
);
20314 if (arg6
== NULL
) SWIG_fail
;
20319 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20323 (arg1
)->AddArrow(arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
,arg8
);
20325 wxPyEndAllowThreads(__tstate
);
20326 if (PyErr_Occurred()) SWIG_fail
;
20328 Py_INCREF(Py_None
); resultobj
= Py_None
;
20343 static PyObject
*_wrap_PyLineShape_AddArrowOrdered(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20344 PyObject
*resultobj
;
20345 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
20346 wxArrowHead
*arg2
= (wxArrowHead
*) 0 ;
20347 PyObject
*arg3
= (PyObject
*) 0 ;
20349 PyObject
* obj0
= 0 ;
20350 PyObject
* obj1
= 0 ;
20351 PyObject
* obj2
= 0 ;
20352 char *kwnames
[] = {
20353 (char *) "self",(char *) "arrow",(char *) "referenceList",(char *) "end", NULL
20356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOi:PyLineShape_AddArrowOrdered",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
)) goto fail
;
20357 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20358 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxArrowHead
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20362 wxPyLineShape_AddArrowOrdered(arg1
,arg2
,arg3
,arg4
);
20364 wxPyEndAllowThreads(__tstate
);
20365 if (PyErr_Occurred()) SWIG_fail
;
20367 Py_INCREF(Py_None
); resultobj
= Py_None
;
20374 static PyObject
*_wrap_PyLineShape_ClearArrow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20375 PyObject
*resultobj
;
20376 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
20377 wxString
*arg2
= 0 ;
20379 bool temp2
= False
;
20380 PyObject
* obj0
= 0 ;
20381 PyObject
* obj1
= 0 ;
20382 char *kwnames
[] = {
20383 (char *) "self",(char *) "name", NULL
20386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_ClearArrow",kwnames
,&obj0
,&obj1
)) goto fail
;
20387 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20389 arg2
= wxString_in_helper(obj1
);
20390 if (arg2
== NULL
) SWIG_fail
;
20394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20395 result
= (bool)(arg1
)->ClearArrow((wxString
const &)*arg2
);
20397 wxPyEndAllowThreads(__tstate
);
20398 if (PyErr_Occurred()) SWIG_fail
;
20400 resultobj
= PyInt_FromLong((long)result
);
20415 static PyObject
*_wrap_PyLineShape_ClearArrowsAtPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20416 PyObject
*resultobj
;
20417 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
20418 int arg2
= (int) -1 ;
20419 PyObject
* obj0
= 0 ;
20420 char *kwnames
[] = {
20421 (char *) "self",(char *) "position", NULL
20424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:PyLineShape_ClearArrowsAtPosition",kwnames
,&obj0
,&arg2
)) goto fail
;
20425 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20428 (arg1
)->ClearArrowsAtPosition(arg2
);
20430 wxPyEndAllowThreads(__tstate
);
20431 if (PyErr_Occurred()) SWIG_fail
;
20433 Py_INCREF(Py_None
); resultobj
= Py_None
;
20440 static PyObject
*_wrap_PyLineShape_DrawArrow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20441 PyObject
*resultobj
;
20442 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
20444 wxArrowHead
*arg3
= (wxArrowHead
*) 0 ;
20447 PyObject
* obj0
= 0 ;
20448 PyObject
* obj1
= 0 ;
20449 PyObject
* obj2
= 0 ;
20450 PyObject
* obj4
= 0 ;
20451 char *kwnames
[] = {
20452 (char *) "self",(char *) "dc",(char *) "arrow",(char *) "xOffset",(char *) "proportionalOffset", NULL
20455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOdO:PyLineShape_DrawArrow",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&obj4
)) goto fail
;
20456 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20457 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20458 if (arg2
== NULL
) {
20459 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20461 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxArrowHead
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20462 arg5
= PyInt_AsLong(obj4
) ? true : false;
20463 if (PyErr_Occurred()) SWIG_fail
;
20465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20466 (arg1
)->DrawArrow(*arg2
,arg3
,arg4
,arg5
);
20468 wxPyEndAllowThreads(__tstate
);
20469 if (PyErr_Occurred()) SWIG_fail
;
20471 Py_INCREF(Py_None
); resultobj
= Py_None
;
20478 static PyObject
*_wrap_PyLineShape_DeleteArrowHeadId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20479 PyObject
*resultobj
;
20480 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
20483 PyObject
* obj0
= 0 ;
20484 char *kwnames
[] = {
20485 (char *) "self",(char *) "arrowId", NULL
20488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:PyLineShape_DeleteArrowHeadId",kwnames
,&obj0
,&arg2
)) goto fail
;
20489 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20492 result
= (bool)(arg1
)->DeleteArrowHead(arg2
);
20494 wxPyEndAllowThreads(__tstate
);
20495 if (PyErr_Occurred()) SWIG_fail
;
20497 resultobj
= PyInt_FromLong((long)result
);
20504 static PyObject
*_wrap_PyLineShape_DeleteArrowHead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20505 PyObject
*resultobj
;
20506 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
20508 wxString
*arg3
= 0 ;
20510 bool temp3
= False
;
20511 PyObject
* obj0
= 0 ;
20512 PyObject
* obj2
= 0 ;
20513 char *kwnames
[] = {
20514 (char *) "self",(char *) "position",(char *) "name", NULL
20517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:PyLineShape_DeleteArrowHead",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
20518 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20520 arg3
= wxString_in_helper(obj2
);
20521 if (arg3
== NULL
) SWIG_fail
;
20525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20526 result
= (bool)(arg1
)->DeleteArrowHead(arg2
,(wxString
const &)*arg3
);
20528 wxPyEndAllowThreads(__tstate
);
20529 if (PyErr_Occurred()) SWIG_fail
;
20531 resultobj
= PyInt_FromLong((long)result
);
20546 static PyObject
*_wrap_PyLineShape_DeleteLineControlPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20547 PyObject
*resultobj
;
20548 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
20550 PyObject
* obj0
= 0 ;
20551 char *kwnames
[] = {
20552 (char *) "self", NULL
20555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_DeleteLineControlPoint",kwnames
,&obj0
)) goto fail
;
20556 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20559 result
= (bool)(arg1
)->DeleteLineControlPoint();
20561 wxPyEndAllowThreads(__tstate
);
20562 if (PyErr_Occurred()) SWIG_fail
;
20564 resultobj
= PyInt_FromLong((long)result
);
20571 static PyObject
*_wrap_PyLineShape_DrawArrows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20572 PyObject
*resultobj
;
20573 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
20575 PyObject
* obj0
= 0 ;
20576 PyObject
* obj1
= 0 ;
20577 char *kwnames
[] = {
20578 (char *) "self",(char *) "dc", NULL
20581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_DrawArrows",kwnames
,&obj0
,&obj1
)) goto fail
;
20582 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20583 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20584 if (arg2
== NULL
) {
20585 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20589 (arg1
)->DrawArrows(*arg2
);
20591 wxPyEndAllowThreads(__tstate
);
20592 if (PyErr_Occurred()) SWIG_fail
;
20594 Py_INCREF(Py_None
); resultobj
= Py_None
;
20601 static PyObject
*_wrap_PyLineShape_DrawRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20602 PyObject
*resultobj
;
20603 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
20605 wxShapeRegion
*arg3
= (wxShapeRegion
*) 0 ;
20608 PyObject
* obj0
= 0 ;
20609 PyObject
* obj1
= 0 ;
20610 PyObject
* obj2
= 0 ;
20611 char *kwnames
[] = {
20612 (char *) "self",(char *) "dc",(char *) "region",(char *) "x",(char *) "y", NULL
20615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOdd:PyLineShape_DrawRegion",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
)) goto fail
;
20616 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20617 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20618 if (arg2
== NULL
) {
20619 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20621 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20624 (arg1
)->DrawRegion(*arg2
,arg3
,arg4
,arg5
);
20626 wxPyEndAllowThreads(__tstate
);
20627 if (PyErr_Occurred()) SWIG_fail
;
20629 Py_INCREF(Py_None
); resultobj
= Py_None
;
20636 static PyObject
*_wrap_PyLineShape_EraseRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20637 PyObject
*resultobj
;
20638 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
20640 wxShapeRegion
*arg3
= (wxShapeRegion
*) 0 ;
20643 PyObject
* obj0
= 0 ;
20644 PyObject
* obj1
= 0 ;
20645 PyObject
* obj2
= 0 ;
20646 char *kwnames
[] = {
20647 (char *) "self",(char *) "dc",(char *) "region",(char *) "x",(char *) "y", NULL
20650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOdd:PyLineShape_EraseRegion",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
)) goto fail
;
20651 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20652 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20653 if (arg2
== NULL
) {
20654 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20656 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20659 (arg1
)->EraseRegion(*arg2
,arg3
,arg4
,arg5
);
20661 wxPyEndAllowThreads(__tstate
);
20662 if (PyErr_Occurred()) SWIG_fail
;
20664 Py_INCREF(Py_None
); resultobj
= Py_None
;
20671 static PyObject
*_wrap_PyLineShape_FindArrowHeadId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20672 PyObject
*resultobj
;
20673 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
20675 wxArrowHead
*result
;
20676 PyObject
* obj0
= 0 ;
20677 char *kwnames
[] = {
20678 (char *) "self",(char *) "arrowId", NULL
20681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:PyLineShape_FindArrowHeadId",kwnames
,&obj0
,&arg2
)) goto fail
;
20682 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20685 result
= (wxArrowHead
*)(arg1
)->FindArrowHead(arg2
);
20687 wxPyEndAllowThreads(__tstate
);
20688 if (PyErr_Occurred()) SWIG_fail
;
20691 resultobj
= wxPyMake_wxObject(result
);
20699 static PyObject
*_wrap_PyLineShape_FindArrowHead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20700 PyObject
*resultobj
;
20701 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
20703 wxString
*arg3
= 0 ;
20704 wxArrowHead
*result
;
20705 bool temp3
= False
;
20706 PyObject
* obj0
= 0 ;
20707 PyObject
* obj2
= 0 ;
20708 char *kwnames
[] = {
20709 (char *) "self",(char *) "position",(char *) "name", NULL
20712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:PyLineShape_FindArrowHead",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
20713 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20715 arg3
= wxString_in_helper(obj2
);
20716 if (arg3
== NULL
) SWIG_fail
;
20720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20721 result
= (wxArrowHead
*)(arg1
)->FindArrowHead(arg2
,(wxString
const &)*arg3
);
20723 wxPyEndAllowThreads(__tstate
);
20724 if (PyErr_Occurred()) SWIG_fail
;
20727 resultobj
= wxPyMake_wxObject(result
);
20743 static PyObject
*_wrap_PyLineShape_FindLineEndPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20744 PyObject
*resultobj
;
20745 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
20746 double *arg2
= (double *) 0 ;
20747 double *arg3
= (double *) 0 ;
20748 double *arg4
= (double *) 0 ;
20749 double *arg5
= (double *) 0 ;
20754 PyObject
* obj0
= 0 ;
20755 char *kwnames
[] = {
20756 (char *) "self", NULL
20763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_FindLineEndPoints",kwnames
,&obj0
)) goto fail
;
20764 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20767 (arg1
)->FindLineEndPoints(arg2
,arg3
,arg4
,arg5
);
20769 wxPyEndAllowThreads(__tstate
);
20770 if (PyErr_Occurred()) SWIG_fail
;
20772 Py_INCREF(Py_None
); resultobj
= Py_None
;
20774 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
20775 resultobj
= t_output_helper(resultobj
,o
);
20778 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
20779 resultobj
= t_output_helper(resultobj
,o
);
20782 PyObject
*o
= PyFloat_FromDouble((double) (*arg4
));
20783 resultobj
= t_output_helper(resultobj
,o
);
20786 PyObject
*o
= PyFloat_FromDouble((double) (*arg5
));
20787 resultobj
= t_output_helper(resultobj
,o
);
20795 static PyObject
*_wrap_PyLineShape_FindLinePosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20796 PyObject
*resultobj
;
20797 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
20801 PyObject
* obj0
= 0 ;
20802 char *kwnames
[] = {
20803 (char *) "self",(char *) "x",(char *) "y", NULL
20806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyLineShape_FindLinePosition",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
20807 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20810 result
= (int)(arg1
)->FindLinePosition(arg2
,arg3
);
20812 wxPyEndAllowThreads(__tstate
);
20813 if (PyErr_Occurred()) SWIG_fail
;
20815 resultobj
= PyInt_FromLong((long)result
);
20822 static PyObject
*_wrap_PyLineShape_FindMinimumWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20823 PyObject
*resultobj
;
20824 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
20826 PyObject
* obj0
= 0 ;
20827 char *kwnames
[] = {
20828 (char *) "self", NULL
20831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_FindMinimumWidth",kwnames
,&obj0
)) goto fail
;
20832 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20835 result
= (double)(arg1
)->FindMinimumWidth();
20837 wxPyEndAllowThreads(__tstate
);
20838 if (PyErr_Occurred()) SWIG_fail
;
20840 resultobj
= PyFloat_FromDouble(result
);
20847 static PyObject
*_wrap_PyLineShape_FindNth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20848 PyObject
*resultobj
;
20849 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
20850 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
20851 int *arg3
= (int *) 0 ;
20852 int *arg4
= (int *) 0 ;
20856 PyObject
* obj0
= 0 ;
20857 PyObject
* obj1
= 0 ;
20858 PyObject
* obj2
= 0 ;
20859 char *kwnames
[] = {
20860 (char *) "self",(char *) "image",(char *) "incoming", NULL
20865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLineShape_FindNth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20866 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20867 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20868 arg5
= PyInt_AsLong(obj2
) ? true : false;
20869 if (PyErr_Occurred()) SWIG_fail
;
20871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20872 (arg1
)->FindNth(arg2
,arg3
,arg4
,arg5
);
20874 wxPyEndAllowThreads(__tstate
);
20875 if (PyErr_Occurred()) SWIG_fail
;
20877 Py_INCREF(Py_None
); resultobj
= Py_None
;
20879 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
20880 resultobj
= t_output_helper(resultobj
,o
);
20883 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
20884 resultobj
= t_output_helper(resultobj
,o
);
20892 static PyObject
*_wrap_PyLineShape_GetAttachmentFrom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20893 PyObject
*resultobj
;
20894 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
20896 PyObject
* obj0
= 0 ;
20897 char *kwnames
[] = {
20898 (char *) "self", NULL
20901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_GetAttachmentFrom",kwnames
,&obj0
)) goto fail
;
20902 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20905 result
= (int)(arg1
)->GetAttachmentFrom();
20907 wxPyEndAllowThreads(__tstate
);
20908 if (PyErr_Occurred()) SWIG_fail
;
20910 resultobj
= PyInt_FromLong((long)result
);
20917 static PyObject
*_wrap_PyLineShape_GetAttachmentTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20918 PyObject
*resultobj
;
20919 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
20921 PyObject
* obj0
= 0 ;
20922 char *kwnames
[] = {
20923 (char *) "self", NULL
20926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_GetAttachmentTo",kwnames
,&obj0
)) goto fail
;
20927 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20930 result
= (int)(arg1
)->GetAttachmentTo();
20932 wxPyEndAllowThreads(__tstate
);
20933 if (PyErr_Occurred()) SWIG_fail
;
20935 resultobj
= PyInt_FromLong((long)result
);
20942 static PyObject
*_wrap_PyLineShape_GetEnds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20943 PyObject
*resultobj
;
20944 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
20945 double *arg2
= (double *) 0 ;
20946 double *arg3
= (double *) 0 ;
20947 double *arg4
= (double *) 0 ;
20948 double *arg5
= (double *) 0 ;
20953 PyObject
* obj0
= 0 ;
20954 char *kwnames
[] = {
20955 (char *) "self", NULL
20962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_GetEnds",kwnames
,&obj0
)) goto fail
;
20963 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20966 (arg1
)->GetEnds(arg2
,arg3
,arg4
,arg5
);
20968 wxPyEndAllowThreads(__tstate
);
20969 if (PyErr_Occurred()) SWIG_fail
;
20971 Py_INCREF(Py_None
); resultobj
= Py_None
;
20973 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
20974 resultobj
= t_output_helper(resultobj
,o
);
20977 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
20978 resultobj
= t_output_helper(resultobj
,o
);
20981 PyObject
*o
= PyFloat_FromDouble((double) (*arg4
));
20982 resultobj
= t_output_helper(resultobj
,o
);
20985 PyObject
*o
= PyFloat_FromDouble((double) (*arg5
));
20986 resultobj
= t_output_helper(resultobj
,o
);
20994 static PyObject
*_wrap_PyLineShape_GetFrom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20995 PyObject
*resultobj
;
20996 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
20998 PyObject
* obj0
= 0 ;
20999 char *kwnames
[] = {
21000 (char *) "self", NULL
21003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_GetFrom",kwnames
,&obj0
)) goto fail
;
21004 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21007 result
= (wxPyShape
*)(arg1
)->GetFrom();
21009 wxPyEndAllowThreads(__tstate
);
21010 if (PyErr_Occurred()) SWIG_fail
;
21013 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
21021 static PyObject
*_wrap_PyLineShape_GetLabelPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21022 PyObject
*resultobj
;
21023 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21025 double *arg3
= (double *) 0 ;
21026 double *arg4
= (double *) 0 ;
21029 PyObject
* obj0
= 0 ;
21030 char *kwnames
[] = {
21031 (char *) "self",(char *) "position", NULL
21036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyLineShape_GetLabelPosition",kwnames
,&obj0
,&arg2
)) goto fail
;
21037 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21040 (arg1
)->GetLabelPosition(arg2
,arg3
,arg4
);
21042 wxPyEndAllowThreads(__tstate
);
21043 if (PyErr_Occurred()) SWIG_fail
;
21045 Py_INCREF(Py_None
); resultobj
= Py_None
;
21047 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
21048 resultobj
= t_output_helper(resultobj
,o
);
21051 PyObject
*o
= PyFloat_FromDouble((double) (*arg4
));
21052 resultobj
= t_output_helper(resultobj
,o
);
21060 static PyObject
*_wrap_PyLineShape_GetNextControlPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21061 PyObject
*resultobj
;
21062 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21063 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
21064 wxRealPoint
*result
;
21065 PyObject
* obj0
= 0 ;
21066 PyObject
* obj1
= 0 ;
21067 char *kwnames
[] = {
21068 (char *) "self",(char *) "shape", NULL
21071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_GetNextControlPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
21072 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21073 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21076 result
= (wxRealPoint
*)(arg1
)->GetNextControlPoint(arg2
);
21078 wxPyEndAllowThreads(__tstate
);
21079 if (PyErr_Occurred()) SWIG_fail
;
21081 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRealPoint
, 0);
21088 static PyObject
*_wrap_PyLineShape_GetTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21089 PyObject
*resultobj
;
21090 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21092 PyObject
* obj0
= 0 ;
21093 char *kwnames
[] = {
21094 (char *) "self", NULL
21097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_GetTo",kwnames
,&obj0
)) goto fail
;
21098 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21101 result
= (wxPyShape
*)(arg1
)->GetTo();
21103 wxPyEndAllowThreads(__tstate
);
21104 if (PyErr_Occurred()) SWIG_fail
;
21107 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
21115 static PyObject
*_wrap_PyLineShape_Initialise(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21116 PyObject
*resultobj
;
21117 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21118 PyObject
* obj0
= 0 ;
21119 char *kwnames
[] = {
21120 (char *) "self", NULL
21123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_Initialise",kwnames
,&obj0
)) goto fail
;
21124 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21127 (arg1
)->Initialise();
21129 wxPyEndAllowThreads(__tstate
);
21130 if (PyErr_Occurred()) SWIG_fail
;
21132 Py_INCREF(Py_None
); resultobj
= Py_None
;
21139 static PyObject
*_wrap_PyLineShape_InsertLineControlPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21140 PyObject
*resultobj
;
21141 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21142 wxDC
*arg2
= (wxDC
*) 0 ;
21143 PyObject
* obj0
= 0 ;
21144 PyObject
* obj1
= 0 ;
21145 char *kwnames
[] = {
21146 (char *) "self",(char *) "dc", NULL
21149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_InsertLineControlPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
21150 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21151 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21154 (arg1
)->InsertLineControlPoint(arg2
);
21156 wxPyEndAllowThreads(__tstate
);
21157 if (PyErr_Occurred()) SWIG_fail
;
21159 Py_INCREF(Py_None
); resultobj
= Py_None
;
21166 static PyObject
*_wrap_PyLineShape_IsEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21167 PyObject
*resultobj
;
21168 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21169 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
21171 PyObject
* obj0
= 0 ;
21172 PyObject
* obj1
= 0 ;
21173 char *kwnames
[] = {
21174 (char *) "self",(char *) "shape", NULL
21177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_IsEnd",kwnames
,&obj0
,&obj1
)) goto fail
;
21178 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21179 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21182 result
= (bool)(arg1
)->IsEnd(arg2
);
21184 wxPyEndAllowThreads(__tstate
);
21185 if (PyErr_Occurred()) SWIG_fail
;
21187 resultobj
= PyInt_FromLong((long)result
);
21194 static PyObject
*_wrap_PyLineShape_IsSpline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21195 PyObject
*resultobj
;
21196 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21198 PyObject
* obj0
= 0 ;
21199 char *kwnames
[] = {
21200 (char *) "self", NULL
21203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_IsSpline",kwnames
,&obj0
)) goto fail
;
21204 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21207 result
= (bool)(arg1
)->IsSpline();
21209 wxPyEndAllowThreads(__tstate
);
21210 if (PyErr_Occurred()) SWIG_fail
;
21212 resultobj
= PyInt_FromLong((long)result
);
21219 static PyObject
*_wrap_PyLineShape_MakeLineControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21220 PyObject
*resultobj
;
21221 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21223 PyObject
* obj0
= 0 ;
21224 char *kwnames
[] = {
21225 (char *) "self",(char *) "n", NULL
21228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyLineShape_MakeLineControlPoints",kwnames
,&obj0
,&arg2
)) goto fail
;
21229 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21232 (arg1
)->MakeLineControlPoints(arg2
);
21234 wxPyEndAllowThreads(__tstate
);
21235 if (PyErr_Occurred()) SWIG_fail
;
21237 Py_INCREF(Py_None
); resultobj
= Py_None
;
21244 static PyObject
*_wrap_PyLineShape_GetLineControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21245 PyObject
*resultobj
;
21246 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21248 PyObject
* obj0
= 0 ;
21249 char *kwnames
[] = {
21250 (char *) "self", NULL
21253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_GetLineControlPoints",kwnames
,&obj0
)) goto fail
;
21254 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21257 result
= (PyObject
*)wxPyLineShape_GetLineControlPoints(arg1
);
21259 wxPyEndAllowThreads(__tstate
);
21260 if (PyErr_Occurred()) SWIG_fail
;
21262 resultobj
= result
;
21269 static PyObject
*_wrap_PyLineShape_SetAttachmentFrom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21270 PyObject
*resultobj
;
21271 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21273 PyObject
* obj0
= 0 ;
21274 char *kwnames
[] = {
21275 (char *) "self",(char *) "fromAttach", NULL
21278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyLineShape_SetAttachmentFrom",kwnames
,&obj0
,&arg2
)) goto fail
;
21279 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21282 (arg1
)->SetAttachmentFrom(arg2
);
21284 wxPyEndAllowThreads(__tstate
);
21285 if (PyErr_Occurred()) SWIG_fail
;
21287 Py_INCREF(Py_None
); resultobj
= Py_None
;
21294 static PyObject
*_wrap_PyLineShape_SetAttachments(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21295 PyObject
*resultobj
;
21296 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21299 PyObject
* obj0
= 0 ;
21300 char *kwnames
[] = {
21301 (char *) "self",(char *) "fromAttach",(char *) "toAttach", NULL
21304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:PyLineShape_SetAttachments",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
21305 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21308 (arg1
)->SetAttachments(arg2
,arg3
);
21310 wxPyEndAllowThreads(__tstate
);
21311 if (PyErr_Occurred()) SWIG_fail
;
21313 Py_INCREF(Py_None
); resultobj
= Py_None
;
21320 static PyObject
*_wrap_PyLineShape_SetAttachmentTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21321 PyObject
*resultobj
;
21322 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21324 PyObject
* obj0
= 0 ;
21325 char *kwnames
[] = {
21326 (char *) "self",(char *) "toAttach", NULL
21329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyLineShape_SetAttachmentTo",kwnames
,&obj0
,&arg2
)) goto fail
;
21330 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21333 (arg1
)->SetAttachmentTo(arg2
);
21335 wxPyEndAllowThreads(__tstate
);
21336 if (PyErr_Occurred()) SWIG_fail
;
21338 Py_INCREF(Py_None
); resultobj
= Py_None
;
21345 static PyObject
*_wrap_PyLineShape_SetEnds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21346 PyObject
*resultobj
;
21347 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21352 PyObject
* obj0
= 0 ;
21353 char *kwnames
[] = {
21354 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
21357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odddd:PyLineShape_SetEnds",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
21358 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21361 (arg1
)->SetEnds(arg2
,arg3
,arg4
,arg5
);
21363 wxPyEndAllowThreads(__tstate
);
21364 if (PyErr_Occurred()) SWIG_fail
;
21366 Py_INCREF(Py_None
); resultobj
= Py_None
;
21373 static PyObject
*_wrap_PyLineShape_SetFrom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21374 PyObject
*resultobj
;
21375 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21376 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
21377 PyObject
* obj0
= 0 ;
21378 PyObject
* obj1
= 0 ;
21379 char *kwnames
[] = {
21380 (char *) "self",(char *) "object", NULL
21383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_SetFrom",kwnames
,&obj0
,&obj1
)) goto fail
;
21384 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21385 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21388 (arg1
)->SetFrom(arg2
);
21390 wxPyEndAllowThreads(__tstate
);
21391 if (PyErr_Occurred()) SWIG_fail
;
21393 Py_INCREF(Py_None
); resultobj
= Py_None
;
21400 static PyObject
*_wrap_PyLineShape_SetIgnoreOffsets(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21401 PyObject
*resultobj
;
21402 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21404 PyObject
* obj0
= 0 ;
21405 PyObject
* obj1
= 0 ;
21406 char *kwnames
[] = {
21407 (char *) "self",(char *) "ignore", NULL
21410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_SetIgnoreOffsets",kwnames
,&obj0
,&obj1
)) goto fail
;
21411 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21412 arg2
= PyInt_AsLong(obj1
) ? true : false;
21413 if (PyErr_Occurred()) SWIG_fail
;
21415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21416 (arg1
)->SetIgnoreOffsets(arg2
);
21418 wxPyEndAllowThreads(__tstate
);
21419 if (PyErr_Occurred()) SWIG_fail
;
21421 Py_INCREF(Py_None
); resultobj
= Py_None
;
21428 static PyObject
*_wrap_PyLineShape_SetSpline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21429 PyObject
*resultobj
;
21430 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21432 PyObject
* obj0
= 0 ;
21433 PyObject
* obj1
= 0 ;
21434 char *kwnames
[] = {
21435 (char *) "self",(char *) "spline", NULL
21438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_SetSpline",kwnames
,&obj0
,&obj1
)) goto fail
;
21439 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21440 arg2
= PyInt_AsLong(obj1
) ? true : false;
21441 if (PyErr_Occurred()) SWIG_fail
;
21443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21444 (arg1
)->SetSpline(arg2
);
21446 wxPyEndAllowThreads(__tstate
);
21447 if (PyErr_Occurred()) SWIG_fail
;
21449 Py_INCREF(Py_None
); resultobj
= Py_None
;
21456 static PyObject
*_wrap_PyLineShape_SetTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21457 PyObject
*resultobj
;
21458 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21459 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
21460 PyObject
* obj0
= 0 ;
21461 PyObject
* obj1
= 0 ;
21462 char *kwnames
[] = {
21463 (char *) "self",(char *) "object", NULL
21466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_SetTo",kwnames
,&obj0
,&obj1
)) goto fail
;
21467 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21468 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21471 (arg1
)->SetTo(arg2
);
21473 wxPyEndAllowThreads(__tstate
);
21474 if (PyErr_Occurred()) SWIG_fail
;
21476 Py_INCREF(Py_None
); resultobj
= Py_None
;
21483 static PyObject
*_wrap_PyLineShape_Straighten(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21484 PyObject
*resultobj
;
21485 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21486 wxDC
*arg2
= (wxDC
*) NULL
;
21487 PyObject
* obj0
= 0 ;
21488 PyObject
* obj1
= 0 ;
21489 char *kwnames
[] = {
21490 (char *) "self",(char *) "dc", NULL
21493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyLineShape_Straighten",kwnames
,&obj0
,&obj1
)) goto fail
;
21494 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21496 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21500 (arg1
)->Straighten(arg2
);
21502 wxPyEndAllowThreads(__tstate
);
21503 if (PyErr_Occurred()) SWIG_fail
;
21505 Py_INCREF(Py_None
); resultobj
= Py_None
;
21512 static PyObject
*_wrap_PyLineShape_Unlink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21513 PyObject
*resultobj
;
21514 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21515 PyObject
* obj0
= 0 ;
21516 char *kwnames
[] = {
21517 (char *) "self", NULL
21520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_Unlink",kwnames
,&obj0
)) goto fail
;
21521 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21526 wxPyEndAllowThreads(__tstate
);
21527 if (PyErr_Occurred()) SWIG_fail
;
21529 Py_INCREF(Py_None
); resultobj
= Py_None
;
21536 static PyObject
*_wrap_PyLineShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21537 PyObject
*resultobj
;
21538 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21540 PyObject
* obj0
= 0 ;
21541 PyObject
* obj1
= 0 ;
21542 char *kwnames
[] = {
21543 (char *) "self",(char *) "dc", NULL
21546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
21547 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21548 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21549 if (arg2
== NULL
) {
21550 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21554 (arg1
)->base_OnDraw(*arg2
);
21556 wxPyEndAllowThreads(__tstate
);
21557 if (PyErr_Occurred()) SWIG_fail
;
21559 Py_INCREF(Py_None
); resultobj
= Py_None
;
21566 static PyObject
*_wrap_PyLineShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21567 PyObject
*resultobj
;
21568 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21570 PyObject
* obj0
= 0 ;
21571 PyObject
* obj1
= 0 ;
21572 char *kwnames
[] = {
21573 (char *) "self",(char *) "dc", NULL
21576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
21577 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21578 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21579 if (arg2
== NULL
) {
21580 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21584 (arg1
)->base_OnDrawContents(*arg2
);
21586 wxPyEndAllowThreads(__tstate
);
21587 if (PyErr_Occurred()) SWIG_fail
;
21589 Py_INCREF(Py_None
); resultobj
= Py_None
;
21596 static PyObject
*_wrap_PyLineShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21597 PyObject
*resultobj
;
21598 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21600 bool arg3
= (bool) FALSE
;
21601 PyObject
* obj0
= 0 ;
21602 PyObject
* obj1
= 0 ;
21603 PyObject
* obj2
= 0 ;
21604 char *kwnames
[] = {
21605 (char *) "self",(char *) "dc",(char *) "erase", NULL
21608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyLineShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21609 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21610 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21611 if (arg2
== NULL
) {
21612 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21615 arg3
= PyInt_AsLong(obj2
) ? true : false;
21616 if (PyErr_Occurred()) SWIG_fail
;
21619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21620 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
21622 wxPyEndAllowThreads(__tstate
);
21623 if (PyErr_Occurred()) SWIG_fail
;
21625 Py_INCREF(Py_None
); resultobj
= Py_None
;
21632 static PyObject
*_wrap_PyLineShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21633 PyObject
*resultobj
;
21634 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21636 PyObject
* obj0
= 0 ;
21637 PyObject
* obj1
= 0 ;
21638 char *kwnames
[] = {
21639 (char *) "self",(char *) "dc", NULL
21642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
21643 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21644 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21645 if (arg2
== NULL
) {
21646 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21650 (arg1
)->base_OnMoveLinks(*arg2
);
21652 wxPyEndAllowThreads(__tstate
);
21653 if (PyErr_Occurred()) SWIG_fail
;
21655 Py_INCREF(Py_None
); resultobj
= Py_None
;
21662 static PyObject
*_wrap_PyLineShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21663 PyObject
*resultobj
;
21664 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21666 PyObject
* obj0
= 0 ;
21667 PyObject
* obj1
= 0 ;
21668 char *kwnames
[] = {
21669 (char *) "self",(char *) "dc", NULL
21672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
21673 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21674 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21675 if (arg2
== NULL
) {
21676 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21680 (arg1
)->base_OnErase(*arg2
);
21682 wxPyEndAllowThreads(__tstate
);
21683 if (PyErr_Occurred()) SWIG_fail
;
21685 Py_INCREF(Py_None
); resultobj
= Py_None
;
21692 static PyObject
*_wrap_PyLineShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21693 PyObject
*resultobj
;
21694 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21696 PyObject
* obj0
= 0 ;
21697 PyObject
* obj1
= 0 ;
21698 char *kwnames
[] = {
21699 (char *) "self",(char *) "dc", NULL
21702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
21703 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21704 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21705 if (arg2
== NULL
) {
21706 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21710 (arg1
)->base_OnEraseContents(*arg2
);
21712 wxPyEndAllowThreads(__tstate
);
21713 if (PyErr_Occurred()) SWIG_fail
;
21715 Py_INCREF(Py_None
); resultobj
= Py_None
;
21722 static PyObject
*_wrap_PyLineShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21723 PyObject
*resultobj
;
21724 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21726 PyObject
* obj0
= 0 ;
21727 PyObject
* obj1
= 0 ;
21728 char *kwnames
[] = {
21729 (char *) "self",(char *) "dc", NULL
21732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
21733 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21734 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21735 if (arg2
== NULL
) {
21736 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21740 (arg1
)->base_OnHighlight(*arg2
);
21742 wxPyEndAllowThreads(__tstate
);
21743 if (PyErr_Occurred()) SWIG_fail
;
21745 Py_INCREF(Py_None
); resultobj
= Py_None
;
21752 static PyObject
*_wrap_PyLineShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21753 PyObject
*resultobj
;
21754 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21757 int arg4
= (int) 0 ;
21758 int arg5
= (int) 0 ;
21759 PyObject
* obj0
= 0 ;
21760 char *kwnames
[] = {
21761 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyLineShape_base_OnLeftClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
21765 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21768 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
21770 wxPyEndAllowThreads(__tstate
);
21771 if (PyErr_Occurred()) SWIG_fail
;
21773 Py_INCREF(Py_None
); resultobj
= Py_None
;
21780 static PyObject
*_wrap_PyLineShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21781 PyObject
*resultobj
;
21782 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21785 int arg4
= (int) 0 ;
21786 int arg5
= (int) 0 ;
21787 PyObject
* obj0
= 0 ;
21788 char *kwnames
[] = {
21789 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyLineShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
21793 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21796 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
21798 wxPyEndAllowThreads(__tstate
);
21799 if (PyErr_Occurred()) SWIG_fail
;
21801 Py_INCREF(Py_None
); resultobj
= Py_None
;
21808 static PyObject
*_wrap_PyLineShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21809 PyObject
*resultobj
;
21810 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21813 int arg4
= (int) 0 ;
21814 int arg5
= (int) 0 ;
21815 PyObject
* obj0
= 0 ;
21816 char *kwnames
[] = {
21817 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyLineShape_base_OnRightClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
21821 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21824 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
21826 wxPyEndAllowThreads(__tstate
);
21827 if (PyErr_Occurred()) SWIG_fail
;
21829 Py_INCREF(Py_None
); resultobj
= Py_None
;
21836 static PyObject
*_wrap_PyLineShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21837 PyObject
*resultobj
;
21838 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21841 PyObject
* obj0
= 0 ;
21842 char *kwnames
[] = {
21843 (char *) "self",(char *) "x",(char *) "y", NULL
21846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyLineShape_base_OnSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
21847 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21850 (arg1
)->base_OnSize(arg2
,arg3
);
21852 wxPyEndAllowThreads(__tstate
);
21853 if (PyErr_Occurred()) SWIG_fail
;
21855 Py_INCREF(Py_None
); resultobj
= Py_None
;
21862 static PyObject
*_wrap_PyLineShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21863 PyObject
*resultobj
;
21864 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21870 bool arg7
= (bool) True
;
21872 PyObject
* obj0
= 0 ;
21873 PyObject
* obj1
= 0 ;
21874 PyObject
* obj6
= 0 ;
21875 char *kwnames
[] = {
21876 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
21879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd|O:PyLineShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
)) goto fail
;
21880 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21881 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21882 if (arg2
== NULL
) {
21883 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21886 arg7
= PyInt_AsLong(obj6
) ? true : false;
21887 if (PyErr_Occurred()) SWIG_fail
;
21890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21891 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
21893 wxPyEndAllowThreads(__tstate
);
21894 if (PyErr_Occurred()) SWIG_fail
;
21896 resultobj
= PyInt_FromLong((long)result
);
21903 static PyObject
*_wrap_PyLineShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21904 PyObject
*resultobj
;
21905 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21911 bool arg7
= (bool) True
;
21912 PyObject
* obj0
= 0 ;
21913 PyObject
* obj1
= 0 ;
21914 PyObject
* obj6
= 0 ;
21915 char *kwnames
[] = {
21916 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
21919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd|O:PyLineShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
)) goto fail
;
21920 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21921 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21922 if (arg2
== NULL
) {
21923 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21926 arg7
= PyInt_AsLong(obj6
) ? true : false;
21927 if (PyErr_Occurred()) SWIG_fail
;
21930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21931 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
21933 wxPyEndAllowThreads(__tstate
);
21934 if (PyErr_Occurred()) SWIG_fail
;
21936 Py_INCREF(Py_None
); resultobj
= Py_None
;
21943 static PyObject
*_wrap_PyLineShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21944 PyObject
*resultobj
;
21945 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21949 int arg5
= (int) 0 ;
21950 int arg6
= (int) 0 ;
21951 PyObject
* obj0
= 0 ;
21952 PyObject
* obj1
= 0 ;
21953 char *kwnames
[] = {
21954 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyLineShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
21958 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21959 arg2
= PyInt_AsLong(obj1
) ? true : false;
21960 if (PyErr_Occurred()) SWIG_fail
;
21962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21963 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
21965 wxPyEndAllowThreads(__tstate
);
21966 if (PyErr_Occurred()) SWIG_fail
;
21968 Py_INCREF(Py_None
); resultobj
= Py_None
;
21975 static PyObject
*_wrap_PyLineShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21976 PyObject
*resultobj
;
21977 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21980 int arg4
= (int) 0 ;
21981 int arg5
= (int) 0 ;
21982 PyObject
* obj0
= 0 ;
21983 char *kwnames
[] = {
21984 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyLineShape_base_OnBeginDragLeft",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
21988 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21991 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
21993 wxPyEndAllowThreads(__tstate
);
21994 if (PyErr_Occurred()) SWIG_fail
;
21996 Py_INCREF(Py_None
); resultobj
= Py_None
;
22003 static PyObject
*_wrap_PyLineShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22004 PyObject
*resultobj
;
22005 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
22008 int arg4
= (int) 0 ;
22009 int arg5
= (int) 0 ;
22010 PyObject
* obj0
= 0 ;
22011 char *kwnames
[] = {
22012 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyLineShape_base_OnEndDragLeft",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
22016 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22019 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
22021 wxPyEndAllowThreads(__tstate
);
22022 if (PyErr_Occurred()) SWIG_fail
;
22024 Py_INCREF(Py_None
); resultobj
= Py_None
;
22031 static PyObject
*_wrap_PyLineShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22032 PyObject
*resultobj
;
22033 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
22037 int arg5
= (int) 0 ;
22038 int arg6
= (int) 0 ;
22039 PyObject
* obj0
= 0 ;
22040 PyObject
* obj1
= 0 ;
22041 char *kwnames
[] = {
22042 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyLineShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
22046 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22047 arg2
= PyInt_AsLong(obj1
) ? true : false;
22048 if (PyErr_Occurred()) SWIG_fail
;
22050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22051 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
22053 wxPyEndAllowThreads(__tstate
);
22054 if (PyErr_Occurred()) SWIG_fail
;
22056 Py_INCREF(Py_None
); resultobj
= Py_None
;
22063 static PyObject
*_wrap_PyLineShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22064 PyObject
*resultobj
;
22065 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
22068 int arg4
= (int) 0 ;
22069 int arg5
= (int) 0 ;
22070 PyObject
* obj0
= 0 ;
22071 char *kwnames
[] = {
22072 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyLineShape_base_OnBeginDragRight",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
22076 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22079 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
22081 wxPyEndAllowThreads(__tstate
);
22082 if (PyErr_Occurred()) SWIG_fail
;
22084 Py_INCREF(Py_None
); resultobj
= Py_None
;
22091 static PyObject
*_wrap_PyLineShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22092 PyObject
*resultobj
;
22093 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
22096 int arg4
= (int) 0 ;
22097 int arg5
= (int) 0 ;
22098 PyObject
* obj0
= 0 ;
22099 char *kwnames
[] = {
22100 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyLineShape_base_OnEndDragRight",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
22104 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22107 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
22109 wxPyEndAllowThreads(__tstate
);
22110 if (PyErr_Occurred()) SWIG_fail
;
22112 Py_INCREF(Py_None
); resultobj
= Py_None
;
22119 static PyObject
*_wrap_PyLineShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22120 PyObject
*resultobj
;
22121 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
22127 PyObject
* obj0
= 0 ;
22128 PyObject
* obj1
= 0 ;
22129 char *kwnames
[] = {
22130 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
22133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd:PyLineShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
22134 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22135 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22136 if (arg2
== NULL
) {
22137 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22141 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
22143 wxPyEndAllowThreads(__tstate
);
22144 if (PyErr_Occurred()) SWIG_fail
;
22146 Py_INCREF(Py_None
); resultobj
= Py_None
;
22153 static PyObject
*_wrap_PyLineShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22154 PyObject
*resultobj
;
22155 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
22157 PyObject
* obj0
= 0 ;
22158 PyObject
* obj1
= 0 ;
22159 char *kwnames
[] = {
22160 (char *) "self",(char *) "dc", NULL
22163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
22164 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22165 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22166 if (arg2
== NULL
) {
22167 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22171 (arg1
)->base_OnDrawControlPoints(*arg2
);
22173 wxPyEndAllowThreads(__tstate
);
22174 if (PyErr_Occurred()) SWIG_fail
;
22176 Py_INCREF(Py_None
); resultobj
= Py_None
;
22183 static PyObject
*_wrap_PyLineShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22184 PyObject
*resultobj
;
22185 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
22187 PyObject
* obj0
= 0 ;
22188 PyObject
* obj1
= 0 ;
22189 char *kwnames
[] = {
22190 (char *) "self",(char *) "dc", NULL
22193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
22194 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22195 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22196 if (arg2
== NULL
) {
22197 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22201 (arg1
)->base_OnEraseControlPoints(*arg2
);
22203 wxPyEndAllowThreads(__tstate
);
22204 if (PyErr_Occurred()) SWIG_fail
;
22206 Py_INCREF(Py_None
); resultobj
= Py_None
;
22213 static PyObject
*_wrap_PyLineShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22214 PyObject
*resultobj
;
22215 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
22217 bool arg3
= (bool) True
;
22218 PyObject
* obj0
= 0 ;
22219 PyObject
* obj1
= 0 ;
22220 PyObject
* obj2
= 0 ;
22221 char *kwnames
[] = {
22222 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
22225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyLineShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22226 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22227 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22228 if (arg2
== NULL
) {
22229 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22232 arg3
= PyInt_AsLong(obj2
) ? true : false;
22233 if (PyErr_Occurred()) SWIG_fail
;
22236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22237 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
22239 wxPyEndAllowThreads(__tstate
);
22240 if (PyErr_Occurred()) SWIG_fail
;
22242 Py_INCREF(Py_None
); resultobj
= Py_None
;
22249 static PyObject
*_wrap_PyLineShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22250 PyObject
*resultobj
;
22251 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
22252 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
22256 int arg6
= (int) 0 ;
22257 int arg7
= (int) 0 ;
22258 PyObject
* obj0
= 0 ;
22259 PyObject
* obj1
= 0 ;
22260 PyObject
* obj2
= 0 ;
22261 char *kwnames
[] = {
22262 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOdd|ii:PyLineShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
,&arg6
,&arg7
)) goto fail
;
22266 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22267 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22268 arg3
= PyInt_AsLong(obj2
) ? true : false;
22269 if (PyErr_Occurred()) SWIG_fail
;
22271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22272 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
22274 wxPyEndAllowThreads(__tstate
);
22275 if (PyErr_Occurred()) SWIG_fail
;
22277 Py_INCREF(Py_None
); resultobj
= Py_None
;
22284 static PyObject
*_wrap_PyLineShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22285 PyObject
*resultobj
;
22286 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
22287 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
22290 int arg5
= (int) 0 ;
22291 int arg6
= (int) 0 ;
22292 PyObject
* obj0
= 0 ;
22293 PyObject
* obj1
= 0 ;
22294 char *kwnames
[] = {
22295 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyLineShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
22299 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22300 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22303 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
22305 wxPyEndAllowThreads(__tstate
);
22306 if (PyErr_Occurred()) SWIG_fail
;
22308 Py_INCREF(Py_None
); resultobj
= Py_None
;
22315 static PyObject
*_wrap_PyLineShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22316 PyObject
*resultobj
;
22317 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
22318 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
22321 int arg5
= (int) 0 ;
22322 int arg6
= (int) 0 ;
22323 PyObject
* obj0
= 0 ;
22324 PyObject
* obj1
= 0 ;
22325 char *kwnames
[] = {
22326 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyLineShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
22330 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22331 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22334 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
22336 wxPyEndAllowThreads(__tstate
);
22337 if (PyErr_Occurred()) SWIG_fail
;
22339 Py_INCREF(Py_None
); resultobj
= Py_None
;
22346 static PyObject
*_wrap_PyLineShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22347 PyObject
*resultobj
;
22348 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
22351 PyObject
* obj0
= 0 ;
22352 char *kwnames
[] = {
22353 (char *) "self",(char *) "w",(char *) "h", NULL
22356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyLineShape_base_OnBeginSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
22357 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22360 (arg1
)->base_OnBeginSize(arg2
,arg3
);
22362 wxPyEndAllowThreads(__tstate
);
22363 if (PyErr_Occurred()) SWIG_fail
;
22365 Py_INCREF(Py_None
); resultobj
= Py_None
;
22372 static PyObject
*_wrap_PyLineShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22373 PyObject
*resultobj
;
22374 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
22377 PyObject
* obj0
= 0 ;
22378 char *kwnames
[] = {
22379 (char *) "self",(char *) "w",(char *) "h", NULL
22382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyLineShape_base_OnEndSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
22383 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22386 (arg1
)->base_OnEndSize(arg2
,arg3
);
22388 wxPyEndAllowThreads(__tstate
);
22389 if (PyErr_Occurred()) SWIG_fail
;
22391 Py_INCREF(Py_None
); resultobj
= Py_None
;
22398 static PyObject
* PyLineShape_swigregister(PyObject
*self
, PyObject
*args
) {
22400 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22401 SWIG_TypeClientData(SWIGTYPE_p_wxPyLineShape
, obj
);
22403 return Py_BuildValue((char *)"");
22405 static PyObject
*_wrap_new_PyPolygonShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22406 PyObject
*resultobj
;
22407 wxPyPolygonShape
*result
;
22408 char *kwnames
[] = {
22412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyPolygonShape",kwnames
)) goto fail
;
22414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22415 result
= (wxPyPolygonShape
*)new wxPyPolygonShape();
22417 wxPyEndAllowThreads(__tstate
);
22418 if (PyErr_Occurred()) SWIG_fail
;
22420 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyPolygonShape
, 1);
22427 static PyObject
*_wrap_PyPolygonShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22428 PyObject
*resultobj
;
22429 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
22430 PyObject
*arg2
= (PyObject
*) 0 ;
22431 PyObject
*arg3
= (PyObject
*) 0 ;
22432 PyObject
* obj0
= 0 ;
22433 PyObject
* obj1
= 0 ;
22434 PyObject
* obj2
= 0 ;
22435 char *kwnames
[] = {
22436 (char *) "self",(char *) "self",(char *) "_class", NULL
22439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPolygonShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22440 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22445 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22447 wxPyEndAllowThreads(__tstate
);
22448 if (PyErr_Occurred()) SWIG_fail
;
22450 Py_INCREF(Py_None
); resultobj
= Py_None
;
22457 static PyObject
*_wrap_PyPolygonShape_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22458 PyObject
*resultobj
;
22459 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
22460 PyObject
*arg2
= (PyObject
*) 0 ;
22462 PyObject
* obj0
= 0 ;
22463 PyObject
* obj1
= 0 ;
22464 char *kwnames
[] = {
22465 (char *) "self",(char *) "points", NULL
22468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_Create",kwnames
,&obj0
,&obj1
)) goto fail
;
22469 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22473 result
= (PyObject
*)wxPyPolygonShape_Create(arg1
,arg2
);
22475 wxPyEndAllowThreads(__tstate
);
22476 if (PyErr_Occurred()) SWIG_fail
;
22478 resultobj
= result
;
22485 static PyObject
*_wrap_PyPolygonShape_AddPolygonPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22486 PyObject
*resultobj
;
22487 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
22488 int arg2
= (int) 0 ;
22489 PyObject
* obj0
= 0 ;
22490 char *kwnames
[] = {
22491 (char *) "self",(char *) "pos", NULL
22494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:PyPolygonShape_AddPolygonPoint",kwnames
,&obj0
,&arg2
)) goto fail
;
22495 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22498 (arg1
)->AddPolygonPoint(arg2
);
22500 wxPyEndAllowThreads(__tstate
);
22501 if (PyErr_Occurred()) SWIG_fail
;
22503 Py_INCREF(Py_None
); resultobj
= Py_None
;
22510 static PyObject
*_wrap_PyPolygonShape_CalculatePolygonCentre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22511 PyObject
*resultobj
;
22512 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
22513 PyObject
* obj0
= 0 ;
22514 char *kwnames
[] = {
22515 (char *) "self", NULL
22518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPolygonShape_CalculatePolygonCentre",kwnames
,&obj0
)) goto fail
;
22519 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22522 (arg1
)->CalculatePolygonCentre();
22524 wxPyEndAllowThreads(__tstate
);
22525 if (PyErr_Occurred()) SWIG_fail
;
22527 Py_INCREF(Py_None
); resultobj
= Py_None
;
22534 static PyObject
*_wrap_PyPolygonShape_DeletePolygonPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22535 PyObject
*resultobj
;
22536 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
22537 int arg2
= (int) 0 ;
22538 PyObject
* obj0
= 0 ;
22539 char *kwnames
[] = {
22540 (char *) "self",(char *) "pos", NULL
22543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:PyPolygonShape_DeletePolygonPoint",kwnames
,&obj0
,&arg2
)) goto fail
;
22544 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22547 (arg1
)->DeletePolygonPoint(arg2
);
22549 wxPyEndAllowThreads(__tstate
);
22550 if (PyErr_Occurred()) SWIG_fail
;
22552 Py_INCREF(Py_None
); resultobj
= Py_None
;
22559 static PyObject
*_wrap_PyPolygonShape_GetPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22560 PyObject
*resultobj
;
22561 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
22563 PyObject
* obj0
= 0 ;
22564 char *kwnames
[] = {
22565 (char *) "self", NULL
22568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPolygonShape_GetPoints",kwnames
,&obj0
)) goto fail
;
22569 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22572 result
= (PyObject
*)wxPyPolygonShape_GetPoints(arg1
);
22574 wxPyEndAllowThreads(__tstate
);
22575 if (PyErr_Occurred()) SWIG_fail
;
22577 resultobj
= result
;
22584 static PyObject
*_wrap_PyPolygonShape_UpdateOriginalPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22585 PyObject
*resultobj
;
22586 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
22587 PyObject
* obj0
= 0 ;
22588 char *kwnames
[] = {
22589 (char *) "self", NULL
22592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPolygonShape_UpdateOriginalPoints",kwnames
,&obj0
)) goto fail
;
22593 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22596 (arg1
)->UpdateOriginalPoints();
22598 wxPyEndAllowThreads(__tstate
);
22599 if (PyErr_Occurred()) SWIG_fail
;
22601 Py_INCREF(Py_None
); resultobj
= Py_None
;
22608 static PyObject
*_wrap_PyPolygonShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22609 PyObject
*resultobj
;
22610 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
22612 PyObject
* obj0
= 0 ;
22613 PyObject
* obj1
= 0 ;
22614 char *kwnames
[] = {
22615 (char *) "self",(char *) "dc", NULL
22618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
22619 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22620 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22621 if (arg2
== NULL
) {
22622 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22626 (arg1
)->base_OnDraw(*arg2
);
22628 wxPyEndAllowThreads(__tstate
);
22629 if (PyErr_Occurred()) SWIG_fail
;
22631 Py_INCREF(Py_None
); resultobj
= Py_None
;
22638 static PyObject
*_wrap_PyPolygonShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22639 PyObject
*resultobj
;
22640 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
22642 PyObject
* obj0
= 0 ;
22643 PyObject
* obj1
= 0 ;
22644 char *kwnames
[] = {
22645 (char *) "self",(char *) "dc", NULL
22648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
22649 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22650 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22651 if (arg2
== NULL
) {
22652 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22656 (arg1
)->base_OnDrawContents(*arg2
);
22658 wxPyEndAllowThreads(__tstate
);
22659 if (PyErr_Occurred()) SWIG_fail
;
22661 Py_INCREF(Py_None
); resultobj
= Py_None
;
22668 static PyObject
*_wrap_PyPolygonShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22669 PyObject
*resultobj
;
22670 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
22672 bool arg3
= (bool) FALSE
;
22673 PyObject
* obj0
= 0 ;
22674 PyObject
* obj1
= 0 ;
22675 PyObject
* obj2
= 0 ;
22676 char *kwnames
[] = {
22677 (char *) "self",(char *) "dc",(char *) "erase", NULL
22680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyPolygonShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22681 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22682 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22683 if (arg2
== NULL
) {
22684 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22687 arg3
= PyInt_AsLong(obj2
) ? true : false;
22688 if (PyErr_Occurred()) SWIG_fail
;
22691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22692 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
22694 wxPyEndAllowThreads(__tstate
);
22695 if (PyErr_Occurred()) SWIG_fail
;
22697 Py_INCREF(Py_None
); resultobj
= Py_None
;
22704 static PyObject
*_wrap_PyPolygonShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22705 PyObject
*resultobj
;
22706 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
22708 PyObject
* obj0
= 0 ;
22709 PyObject
* obj1
= 0 ;
22710 char *kwnames
[] = {
22711 (char *) "self",(char *) "dc", NULL
22714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
22715 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22716 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22717 if (arg2
== NULL
) {
22718 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22722 (arg1
)->base_OnMoveLinks(*arg2
);
22724 wxPyEndAllowThreads(__tstate
);
22725 if (PyErr_Occurred()) SWIG_fail
;
22727 Py_INCREF(Py_None
); resultobj
= Py_None
;
22734 static PyObject
*_wrap_PyPolygonShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22735 PyObject
*resultobj
;
22736 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
22738 PyObject
* obj0
= 0 ;
22739 PyObject
* obj1
= 0 ;
22740 char *kwnames
[] = {
22741 (char *) "self",(char *) "dc", NULL
22744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
22745 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22746 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22747 if (arg2
== NULL
) {
22748 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22752 (arg1
)->base_OnErase(*arg2
);
22754 wxPyEndAllowThreads(__tstate
);
22755 if (PyErr_Occurred()) SWIG_fail
;
22757 Py_INCREF(Py_None
); resultobj
= Py_None
;
22764 static PyObject
*_wrap_PyPolygonShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22765 PyObject
*resultobj
;
22766 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
22768 PyObject
* obj0
= 0 ;
22769 PyObject
* obj1
= 0 ;
22770 char *kwnames
[] = {
22771 (char *) "self",(char *) "dc", NULL
22774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
22775 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22776 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22777 if (arg2
== NULL
) {
22778 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22782 (arg1
)->base_OnEraseContents(*arg2
);
22784 wxPyEndAllowThreads(__tstate
);
22785 if (PyErr_Occurred()) SWIG_fail
;
22787 Py_INCREF(Py_None
); resultobj
= Py_None
;
22794 static PyObject
*_wrap_PyPolygonShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22795 PyObject
*resultobj
;
22796 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
22798 PyObject
* obj0
= 0 ;
22799 PyObject
* obj1
= 0 ;
22800 char *kwnames
[] = {
22801 (char *) "self",(char *) "dc", NULL
22804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
22805 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22806 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22807 if (arg2
== NULL
) {
22808 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22812 (arg1
)->base_OnHighlight(*arg2
);
22814 wxPyEndAllowThreads(__tstate
);
22815 if (PyErr_Occurred()) SWIG_fail
;
22817 Py_INCREF(Py_None
); resultobj
= Py_None
;
22824 static PyObject
*_wrap_PyPolygonShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22825 PyObject
*resultobj
;
22826 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
22829 int arg4
= (int) 0 ;
22830 int arg5
= (int) 0 ;
22831 PyObject
* obj0
= 0 ;
22832 char *kwnames
[] = {
22833 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyPolygonShape_base_OnLeftClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
22837 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22840 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
22842 wxPyEndAllowThreads(__tstate
);
22843 if (PyErr_Occurred()) SWIG_fail
;
22845 Py_INCREF(Py_None
); resultobj
= Py_None
;
22852 static PyObject
*_wrap_PyPolygonShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22853 PyObject
*resultobj
;
22854 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
22857 int arg4
= (int) 0 ;
22858 int arg5
= (int) 0 ;
22859 PyObject
* obj0
= 0 ;
22860 char *kwnames
[] = {
22861 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyPolygonShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
22865 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22868 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
22870 wxPyEndAllowThreads(__tstate
);
22871 if (PyErr_Occurred()) SWIG_fail
;
22873 Py_INCREF(Py_None
); resultobj
= Py_None
;
22880 static PyObject
*_wrap_PyPolygonShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22881 PyObject
*resultobj
;
22882 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
22885 int arg4
= (int) 0 ;
22886 int arg5
= (int) 0 ;
22887 PyObject
* obj0
= 0 ;
22888 char *kwnames
[] = {
22889 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyPolygonShape_base_OnRightClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
22893 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22896 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
22898 wxPyEndAllowThreads(__tstate
);
22899 if (PyErr_Occurred()) SWIG_fail
;
22901 Py_INCREF(Py_None
); resultobj
= Py_None
;
22908 static PyObject
*_wrap_PyPolygonShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22909 PyObject
*resultobj
;
22910 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
22913 PyObject
* obj0
= 0 ;
22914 char *kwnames
[] = {
22915 (char *) "self",(char *) "x",(char *) "y", NULL
22918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyPolygonShape_base_OnSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
22919 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22922 (arg1
)->base_OnSize(arg2
,arg3
);
22924 wxPyEndAllowThreads(__tstate
);
22925 if (PyErr_Occurred()) SWIG_fail
;
22927 Py_INCREF(Py_None
); resultobj
= Py_None
;
22934 static PyObject
*_wrap_PyPolygonShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22935 PyObject
*resultobj
;
22936 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
22942 bool arg7
= (bool) True
;
22944 PyObject
* obj0
= 0 ;
22945 PyObject
* obj1
= 0 ;
22946 PyObject
* obj6
= 0 ;
22947 char *kwnames
[] = {
22948 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
22951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd|O:PyPolygonShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
)) goto fail
;
22952 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22953 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22954 if (arg2
== NULL
) {
22955 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22958 arg7
= PyInt_AsLong(obj6
) ? true : false;
22959 if (PyErr_Occurred()) SWIG_fail
;
22962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22963 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
22965 wxPyEndAllowThreads(__tstate
);
22966 if (PyErr_Occurred()) SWIG_fail
;
22968 resultobj
= PyInt_FromLong((long)result
);
22975 static PyObject
*_wrap_PyPolygonShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22976 PyObject
*resultobj
;
22977 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
22983 bool arg7
= (bool) True
;
22984 PyObject
* obj0
= 0 ;
22985 PyObject
* obj1
= 0 ;
22986 PyObject
* obj6
= 0 ;
22987 char *kwnames
[] = {
22988 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
22991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd|O:PyPolygonShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
)) goto fail
;
22992 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22993 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22994 if (arg2
== NULL
) {
22995 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22998 arg7
= PyInt_AsLong(obj6
) ? true : false;
22999 if (PyErr_Occurred()) SWIG_fail
;
23002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23003 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
23005 wxPyEndAllowThreads(__tstate
);
23006 if (PyErr_Occurred()) SWIG_fail
;
23008 Py_INCREF(Py_None
); resultobj
= Py_None
;
23015 static PyObject
*_wrap_PyPolygonShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23016 PyObject
*resultobj
;
23017 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
23021 int arg5
= (int) 0 ;
23022 int arg6
= (int) 0 ;
23023 PyObject
* obj0
= 0 ;
23024 PyObject
* obj1
= 0 ;
23025 char *kwnames
[] = {
23026 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyPolygonShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
23030 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23031 arg2
= PyInt_AsLong(obj1
) ? true : false;
23032 if (PyErr_Occurred()) SWIG_fail
;
23034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23035 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
23037 wxPyEndAllowThreads(__tstate
);
23038 if (PyErr_Occurred()) SWIG_fail
;
23040 Py_INCREF(Py_None
); resultobj
= Py_None
;
23047 static PyObject
*_wrap_PyPolygonShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23048 PyObject
*resultobj
;
23049 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
23052 int arg4
= (int) 0 ;
23053 int arg5
= (int) 0 ;
23054 PyObject
* obj0
= 0 ;
23055 char *kwnames
[] = {
23056 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyPolygonShape_base_OnBeginDragLeft",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
23060 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23063 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
23065 wxPyEndAllowThreads(__tstate
);
23066 if (PyErr_Occurred()) SWIG_fail
;
23068 Py_INCREF(Py_None
); resultobj
= Py_None
;
23075 static PyObject
*_wrap_PyPolygonShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23076 PyObject
*resultobj
;
23077 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
23080 int arg4
= (int) 0 ;
23081 int arg5
= (int) 0 ;
23082 PyObject
* obj0
= 0 ;
23083 char *kwnames
[] = {
23084 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyPolygonShape_base_OnEndDragLeft",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
23088 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23091 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
23093 wxPyEndAllowThreads(__tstate
);
23094 if (PyErr_Occurred()) SWIG_fail
;
23096 Py_INCREF(Py_None
); resultobj
= Py_None
;
23103 static PyObject
*_wrap_PyPolygonShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23104 PyObject
*resultobj
;
23105 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
23109 int arg5
= (int) 0 ;
23110 int arg6
= (int) 0 ;
23111 PyObject
* obj0
= 0 ;
23112 PyObject
* obj1
= 0 ;
23113 char *kwnames
[] = {
23114 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyPolygonShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
23118 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23119 arg2
= PyInt_AsLong(obj1
) ? true : false;
23120 if (PyErr_Occurred()) SWIG_fail
;
23122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23123 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
23125 wxPyEndAllowThreads(__tstate
);
23126 if (PyErr_Occurred()) SWIG_fail
;
23128 Py_INCREF(Py_None
); resultobj
= Py_None
;
23135 static PyObject
*_wrap_PyPolygonShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23136 PyObject
*resultobj
;
23137 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
23140 int arg4
= (int) 0 ;
23141 int arg5
= (int) 0 ;
23142 PyObject
* obj0
= 0 ;
23143 char *kwnames
[] = {
23144 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyPolygonShape_base_OnBeginDragRight",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
23148 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23151 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
23153 wxPyEndAllowThreads(__tstate
);
23154 if (PyErr_Occurred()) SWIG_fail
;
23156 Py_INCREF(Py_None
); resultobj
= Py_None
;
23163 static PyObject
*_wrap_PyPolygonShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23164 PyObject
*resultobj
;
23165 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
23168 int arg4
= (int) 0 ;
23169 int arg5
= (int) 0 ;
23170 PyObject
* obj0
= 0 ;
23171 char *kwnames
[] = {
23172 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyPolygonShape_base_OnEndDragRight",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
23176 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23179 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
23181 wxPyEndAllowThreads(__tstate
);
23182 if (PyErr_Occurred()) SWIG_fail
;
23184 Py_INCREF(Py_None
); resultobj
= Py_None
;
23191 static PyObject
*_wrap_PyPolygonShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23192 PyObject
*resultobj
;
23193 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
23199 PyObject
* obj0
= 0 ;
23200 PyObject
* obj1
= 0 ;
23201 char *kwnames
[] = {
23202 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
23205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd:PyPolygonShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
23206 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23207 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23208 if (arg2
== NULL
) {
23209 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23213 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
23215 wxPyEndAllowThreads(__tstate
);
23216 if (PyErr_Occurred()) SWIG_fail
;
23218 Py_INCREF(Py_None
); resultobj
= Py_None
;
23225 static PyObject
*_wrap_PyPolygonShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23226 PyObject
*resultobj
;
23227 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
23229 PyObject
* obj0
= 0 ;
23230 PyObject
* obj1
= 0 ;
23231 char *kwnames
[] = {
23232 (char *) "self",(char *) "dc", NULL
23235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
23236 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23237 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23238 if (arg2
== NULL
) {
23239 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23243 (arg1
)->base_OnDrawControlPoints(*arg2
);
23245 wxPyEndAllowThreads(__tstate
);
23246 if (PyErr_Occurred()) SWIG_fail
;
23248 Py_INCREF(Py_None
); resultobj
= Py_None
;
23255 static PyObject
*_wrap_PyPolygonShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23256 PyObject
*resultobj
;
23257 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
23259 PyObject
* obj0
= 0 ;
23260 PyObject
* obj1
= 0 ;
23261 char *kwnames
[] = {
23262 (char *) "self",(char *) "dc", NULL
23265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
23266 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23267 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23268 if (arg2
== NULL
) {
23269 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23273 (arg1
)->base_OnEraseControlPoints(*arg2
);
23275 wxPyEndAllowThreads(__tstate
);
23276 if (PyErr_Occurred()) SWIG_fail
;
23278 Py_INCREF(Py_None
); resultobj
= Py_None
;
23285 static PyObject
*_wrap_PyPolygonShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23286 PyObject
*resultobj
;
23287 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
23289 bool arg3
= (bool) True
;
23290 PyObject
* obj0
= 0 ;
23291 PyObject
* obj1
= 0 ;
23292 PyObject
* obj2
= 0 ;
23293 char *kwnames
[] = {
23294 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
23297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyPolygonShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23298 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23299 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23300 if (arg2
== NULL
) {
23301 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23304 arg3
= PyInt_AsLong(obj2
) ? true : false;
23305 if (PyErr_Occurred()) SWIG_fail
;
23308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23309 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
23311 wxPyEndAllowThreads(__tstate
);
23312 if (PyErr_Occurred()) SWIG_fail
;
23314 Py_INCREF(Py_None
); resultobj
= Py_None
;
23321 static PyObject
*_wrap_PyPolygonShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23322 PyObject
*resultobj
;
23323 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
23324 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
23328 int arg6
= (int) 0 ;
23329 int arg7
= (int) 0 ;
23330 PyObject
* obj0
= 0 ;
23331 PyObject
* obj1
= 0 ;
23332 PyObject
* obj2
= 0 ;
23333 char *kwnames
[] = {
23334 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOdd|ii:PyPolygonShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
,&arg6
,&arg7
)) goto fail
;
23338 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23339 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23340 arg3
= PyInt_AsLong(obj2
) ? true : false;
23341 if (PyErr_Occurred()) SWIG_fail
;
23343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23344 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
23346 wxPyEndAllowThreads(__tstate
);
23347 if (PyErr_Occurred()) SWIG_fail
;
23349 Py_INCREF(Py_None
); resultobj
= Py_None
;
23356 static PyObject
*_wrap_PyPolygonShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23357 PyObject
*resultobj
;
23358 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
23359 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
23362 int arg5
= (int) 0 ;
23363 int arg6
= (int) 0 ;
23364 PyObject
* obj0
= 0 ;
23365 PyObject
* obj1
= 0 ;
23366 char *kwnames
[] = {
23367 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyPolygonShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
23371 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23372 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23375 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
23377 wxPyEndAllowThreads(__tstate
);
23378 if (PyErr_Occurred()) SWIG_fail
;
23380 Py_INCREF(Py_None
); resultobj
= Py_None
;
23387 static PyObject
*_wrap_PyPolygonShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23388 PyObject
*resultobj
;
23389 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
23390 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
23393 int arg5
= (int) 0 ;
23394 int arg6
= (int) 0 ;
23395 PyObject
* obj0
= 0 ;
23396 PyObject
* obj1
= 0 ;
23397 char *kwnames
[] = {
23398 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyPolygonShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
23402 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23403 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23406 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
23408 wxPyEndAllowThreads(__tstate
);
23409 if (PyErr_Occurred()) SWIG_fail
;
23411 Py_INCREF(Py_None
); resultobj
= Py_None
;
23418 static PyObject
*_wrap_PyPolygonShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23419 PyObject
*resultobj
;
23420 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
23423 PyObject
* obj0
= 0 ;
23424 char *kwnames
[] = {
23425 (char *) "self",(char *) "w",(char *) "h", NULL
23428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyPolygonShape_base_OnBeginSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
23429 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23432 (arg1
)->base_OnBeginSize(arg2
,arg3
);
23434 wxPyEndAllowThreads(__tstate
);
23435 if (PyErr_Occurred()) SWIG_fail
;
23437 Py_INCREF(Py_None
); resultobj
= Py_None
;
23444 static PyObject
*_wrap_PyPolygonShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23445 PyObject
*resultobj
;
23446 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
23449 PyObject
* obj0
= 0 ;
23450 char *kwnames
[] = {
23451 (char *) "self",(char *) "w",(char *) "h", NULL
23454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyPolygonShape_base_OnEndSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
23455 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23458 (arg1
)->base_OnEndSize(arg2
,arg3
);
23460 wxPyEndAllowThreads(__tstate
);
23461 if (PyErr_Occurred()) SWIG_fail
;
23463 Py_INCREF(Py_None
); resultobj
= Py_None
;
23470 static PyObject
* PyPolygonShape_swigregister(PyObject
*self
, PyObject
*args
) {
23472 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23473 SWIG_TypeClientData(SWIGTYPE_p_wxPyPolygonShape
, obj
);
23475 return Py_BuildValue((char *)"");
23477 static PyObject
*_wrap_new_PyTextShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23478 PyObject
*resultobj
;
23479 double arg1
= (double) 0.0 ;
23480 double arg2
= (double) 0.0 ;
23481 wxPyTextShape
*result
;
23482 char *kwnames
[] = {
23483 (char *) "width",(char *) "height", NULL
23486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|dd:new_PyTextShape",kwnames
,&arg1
,&arg2
)) goto fail
;
23488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23489 result
= (wxPyTextShape
*)new wxPyTextShape(arg1
,arg2
);
23491 wxPyEndAllowThreads(__tstate
);
23492 if (PyErr_Occurred()) SWIG_fail
;
23494 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyTextShape
, 1);
23501 static PyObject
*_wrap_PyTextShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23502 PyObject
*resultobj
;
23503 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
23504 PyObject
*arg2
= (PyObject
*) 0 ;
23505 PyObject
*arg3
= (PyObject
*) 0 ;
23506 PyObject
* obj0
= 0 ;
23507 PyObject
* obj1
= 0 ;
23508 PyObject
* obj2
= 0 ;
23509 char *kwnames
[] = {
23510 (char *) "self",(char *) "self",(char *) "_class", NULL
23513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23514 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23519 (arg1
)->_setCallbackInfo(arg2
,arg3
);
23521 wxPyEndAllowThreads(__tstate
);
23522 if (PyErr_Occurred()) SWIG_fail
;
23524 Py_INCREF(Py_None
); resultobj
= Py_None
;
23531 static PyObject
*_wrap_PyTextShape_base_OnDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23532 PyObject
*resultobj
;
23533 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
23534 PyObject
* obj0
= 0 ;
23535 char *kwnames
[] = {
23536 (char *) "self", NULL
23539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyTextShape_base_OnDelete",kwnames
,&obj0
)) goto fail
;
23540 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23543 (arg1
)->base_OnDelete();
23545 wxPyEndAllowThreads(__tstate
);
23546 if (PyErr_Occurred()) SWIG_fail
;
23548 Py_INCREF(Py_None
); resultobj
= Py_None
;
23555 static PyObject
*_wrap_PyTextShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23556 PyObject
*resultobj
;
23557 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
23559 PyObject
* obj0
= 0 ;
23560 PyObject
* obj1
= 0 ;
23561 char *kwnames
[] = {
23562 (char *) "self",(char *) "dc", NULL
23565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyTextShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
23566 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23567 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23568 if (arg2
== NULL
) {
23569 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23573 (arg1
)->base_OnDraw(*arg2
);
23575 wxPyEndAllowThreads(__tstate
);
23576 if (PyErr_Occurred()) SWIG_fail
;
23578 Py_INCREF(Py_None
); resultobj
= Py_None
;
23585 static PyObject
*_wrap_PyTextShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23586 PyObject
*resultobj
;
23587 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
23589 PyObject
* obj0
= 0 ;
23590 PyObject
* obj1
= 0 ;
23591 char *kwnames
[] = {
23592 (char *) "self",(char *) "dc", NULL
23595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyTextShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
23596 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23597 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23598 if (arg2
== NULL
) {
23599 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23603 (arg1
)->base_OnDrawContents(*arg2
);
23605 wxPyEndAllowThreads(__tstate
);
23606 if (PyErr_Occurred()) SWIG_fail
;
23608 Py_INCREF(Py_None
); resultobj
= Py_None
;
23615 static PyObject
*_wrap_PyTextShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23616 PyObject
*resultobj
;
23617 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
23619 bool arg3
= (bool) FALSE
;
23620 PyObject
* obj0
= 0 ;
23621 PyObject
* obj1
= 0 ;
23622 PyObject
* obj2
= 0 ;
23623 char *kwnames
[] = {
23624 (char *) "self",(char *) "dc",(char *) "erase", NULL
23627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyTextShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23628 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23629 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23630 if (arg2
== NULL
) {
23631 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23634 arg3
= PyInt_AsLong(obj2
) ? true : false;
23635 if (PyErr_Occurred()) SWIG_fail
;
23638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23639 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
23641 wxPyEndAllowThreads(__tstate
);
23642 if (PyErr_Occurred()) SWIG_fail
;
23644 Py_INCREF(Py_None
); resultobj
= Py_None
;
23651 static PyObject
*_wrap_PyTextShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23652 PyObject
*resultobj
;
23653 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
23655 PyObject
* obj0
= 0 ;
23656 PyObject
* obj1
= 0 ;
23657 char *kwnames
[] = {
23658 (char *) "self",(char *) "dc", NULL
23661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyTextShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
23662 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23663 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23664 if (arg2
== NULL
) {
23665 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23669 (arg1
)->base_OnMoveLinks(*arg2
);
23671 wxPyEndAllowThreads(__tstate
);
23672 if (PyErr_Occurred()) SWIG_fail
;
23674 Py_INCREF(Py_None
); resultobj
= Py_None
;
23681 static PyObject
*_wrap_PyTextShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23682 PyObject
*resultobj
;
23683 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
23685 PyObject
* obj0
= 0 ;
23686 PyObject
* obj1
= 0 ;
23687 char *kwnames
[] = {
23688 (char *) "self",(char *) "dc", NULL
23691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyTextShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
23692 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23693 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23694 if (arg2
== NULL
) {
23695 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23699 (arg1
)->base_OnErase(*arg2
);
23701 wxPyEndAllowThreads(__tstate
);
23702 if (PyErr_Occurred()) SWIG_fail
;
23704 Py_INCREF(Py_None
); resultobj
= Py_None
;
23711 static PyObject
*_wrap_PyTextShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23712 PyObject
*resultobj
;
23713 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
23715 PyObject
* obj0
= 0 ;
23716 PyObject
* obj1
= 0 ;
23717 char *kwnames
[] = {
23718 (char *) "self",(char *) "dc", NULL
23721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyTextShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
23722 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23723 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23724 if (arg2
== NULL
) {
23725 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23729 (arg1
)->base_OnEraseContents(*arg2
);
23731 wxPyEndAllowThreads(__tstate
);
23732 if (PyErr_Occurred()) SWIG_fail
;
23734 Py_INCREF(Py_None
); resultobj
= Py_None
;
23741 static PyObject
*_wrap_PyTextShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23742 PyObject
*resultobj
;
23743 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
23745 PyObject
* obj0
= 0 ;
23746 PyObject
* obj1
= 0 ;
23747 char *kwnames
[] = {
23748 (char *) "self",(char *) "dc", NULL
23751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyTextShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
23752 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23753 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23754 if (arg2
== NULL
) {
23755 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23759 (arg1
)->base_OnHighlight(*arg2
);
23761 wxPyEndAllowThreads(__tstate
);
23762 if (PyErr_Occurred()) SWIG_fail
;
23764 Py_INCREF(Py_None
); resultobj
= Py_None
;
23771 static PyObject
*_wrap_PyTextShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23772 PyObject
*resultobj
;
23773 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
23776 int arg4
= (int) 0 ;
23777 int arg5
= (int) 0 ;
23778 PyObject
* obj0
= 0 ;
23779 char *kwnames
[] = {
23780 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyTextShape_base_OnLeftClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
23784 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23787 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
23789 wxPyEndAllowThreads(__tstate
);
23790 if (PyErr_Occurred()) SWIG_fail
;
23792 Py_INCREF(Py_None
); resultobj
= Py_None
;
23799 static PyObject
*_wrap_PyTextShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23800 PyObject
*resultobj
;
23801 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
23804 int arg4
= (int) 0 ;
23805 int arg5
= (int) 0 ;
23806 PyObject
* obj0
= 0 ;
23807 char *kwnames
[] = {
23808 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyTextShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
23812 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23815 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
23817 wxPyEndAllowThreads(__tstate
);
23818 if (PyErr_Occurred()) SWIG_fail
;
23820 Py_INCREF(Py_None
); resultobj
= Py_None
;
23827 static PyObject
*_wrap_PyTextShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23828 PyObject
*resultobj
;
23829 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
23832 int arg4
= (int) 0 ;
23833 int arg5
= (int) 0 ;
23834 PyObject
* obj0
= 0 ;
23835 char *kwnames
[] = {
23836 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyTextShape_base_OnRightClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
23840 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23843 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
23845 wxPyEndAllowThreads(__tstate
);
23846 if (PyErr_Occurred()) SWIG_fail
;
23848 Py_INCREF(Py_None
); resultobj
= Py_None
;
23855 static PyObject
*_wrap_PyTextShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23856 PyObject
*resultobj
;
23857 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
23860 PyObject
* obj0
= 0 ;
23861 char *kwnames
[] = {
23862 (char *) "self",(char *) "x",(char *) "y", NULL
23865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyTextShape_base_OnSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
23866 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23869 (arg1
)->base_OnSize(arg2
,arg3
);
23871 wxPyEndAllowThreads(__tstate
);
23872 if (PyErr_Occurred()) SWIG_fail
;
23874 Py_INCREF(Py_None
); resultobj
= Py_None
;
23881 static PyObject
*_wrap_PyTextShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23882 PyObject
*resultobj
;
23883 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
23889 bool arg7
= (bool) True
;
23891 PyObject
* obj0
= 0 ;
23892 PyObject
* obj1
= 0 ;
23893 PyObject
* obj6
= 0 ;
23894 char *kwnames
[] = {
23895 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
23898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd|O:PyTextShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
)) goto fail
;
23899 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23900 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23901 if (arg2
== NULL
) {
23902 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23905 arg7
= PyInt_AsLong(obj6
) ? true : false;
23906 if (PyErr_Occurred()) SWIG_fail
;
23909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23910 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
23912 wxPyEndAllowThreads(__tstate
);
23913 if (PyErr_Occurred()) SWIG_fail
;
23915 resultobj
= PyInt_FromLong((long)result
);
23922 static PyObject
*_wrap_PyTextShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23923 PyObject
*resultobj
;
23924 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
23930 bool arg7
= (bool) True
;
23931 PyObject
* obj0
= 0 ;
23932 PyObject
* obj1
= 0 ;
23933 PyObject
* obj6
= 0 ;
23934 char *kwnames
[] = {
23935 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
23938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd|O:PyTextShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
)) goto fail
;
23939 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23940 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23941 if (arg2
== NULL
) {
23942 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23945 arg7
= PyInt_AsLong(obj6
) ? true : false;
23946 if (PyErr_Occurred()) SWIG_fail
;
23949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23950 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
23952 wxPyEndAllowThreads(__tstate
);
23953 if (PyErr_Occurred()) SWIG_fail
;
23955 Py_INCREF(Py_None
); resultobj
= Py_None
;
23962 static PyObject
*_wrap_PyTextShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23963 PyObject
*resultobj
;
23964 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
23968 int arg5
= (int) 0 ;
23969 int arg6
= (int) 0 ;
23970 PyObject
* obj0
= 0 ;
23971 PyObject
* obj1
= 0 ;
23972 char *kwnames
[] = {
23973 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyTextShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
23977 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23978 arg2
= PyInt_AsLong(obj1
) ? true : false;
23979 if (PyErr_Occurred()) SWIG_fail
;
23981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23982 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
23984 wxPyEndAllowThreads(__tstate
);
23985 if (PyErr_Occurred()) SWIG_fail
;
23987 Py_INCREF(Py_None
); resultobj
= Py_None
;
23994 static PyObject
*_wrap_PyTextShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23995 PyObject
*resultobj
;
23996 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
23999 int arg4
= (int) 0 ;
24000 int arg5
= (int) 0 ;
24001 PyObject
* obj0
= 0 ;
24002 char *kwnames
[] = {
24003 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyTextShape_base_OnBeginDragLeft",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
24007 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24010 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
24012 wxPyEndAllowThreads(__tstate
);
24013 if (PyErr_Occurred()) SWIG_fail
;
24015 Py_INCREF(Py_None
); resultobj
= Py_None
;
24022 static PyObject
*_wrap_PyTextShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24023 PyObject
*resultobj
;
24024 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
24027 int arg4
= (int) 0 ;
24028 int arg5
= (int) 0 ;
24029 PyObject
* obj0
= 0 ;
24030 char *kwnames
[] = {
24031 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyTextShape_base_OnEndDragLeft",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
24035 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24038 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
24040 wxPyEndAllowThreads(__tstate
);
24041 if (PyErr_Occurred()) SWIG_fail
;
24043 Py_INCREF(Py_None
); resultobj
= Py_None
;
24050 static PyObject
*_wrap_PyTextShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24051 PyObject
*resultobj
;
24052 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
24056 int arg5
= (int) 0 ;
24057 int arg6
= (int) 0 ;
24058 PyObject
* obj0
= 0 ;
24059 PyObject
* obj1
= 0 ;
24060 char *kwnames
[] = {
24061 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyTextShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
24065 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24066 arg2
= PyInt_AsLong(obj1
) ? true : false;
24067 if (PyErr_Occurred()) SWIG_fail
;
24069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24070 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
24072 wxPyEndAllowThreads(__tstate
);
24073 if (PyErr_Occurred()) SWIG_fail
;
24075 Py_INCREF(Py_None
); resultobj
= Py_None
;
24082 static PyObject
*_wrap_PyTextShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24083 PyObject
*resultobj
;
24084 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
24087 int arg4
= (int) 0 ;
24088 int arg5
= (int) 0 ;
24089 PyObject
* obj0
= 0 ;
24090 char *kwnames
[] = {
24091 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyTextShape_base_OnBeginDragRight",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
24095 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24098 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
24100 wxPyEndAllowThreads(__tstate
);
24101 if (PyErr_Occurred()) SWIG_fail
;
24103 Py_INCREF(Py_None
); resultobj
= Py_None
;
24110 static PyObject
*_wrap_PyTextShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24111 PyObject
*resultobj
;
24112 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
24115 int arg4
= (int) 0 ;
24116 int arg5
= (int) 0 ;
24117 PyObject
* obj0
= 0 ;
24118 char *kwnames
[] = {
24119 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyTextShape_base_OnEndDragRight",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
24123 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24126 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
24128 wxPyEndAllowThreads(__tstate
);
24129 if (PyErr_Occurred()) SWIG_fail
;
24131 Py_INCREF(Py_None
); resultobj
= Py_None
;
24138 static PyObject
*_wrap_PyTextShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24139 PyObject
*resultobj
;
24140 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
24146 PyObject
* obj0
= 0 ;
24147 PyObject
* obj1
= 0 ;
24148 char *kwnames
[] = {
24149 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
24152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd:PyTextShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
24153 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24154 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24155 if (arg2
== NULL
) {
24156 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24160 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
24162 wxPyEndAllowThreads(__tstate
);
24163 if (PyErr_Occurred()) SWIG_fail
;
24165 Py_INCREF(Py_None
); resultobj
= Py_None
;
24172 static PyObject
*_wrap_PyTextShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24173 PyObject
*resultobj
;
24174 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
24176 PyObject
* obj0
= 0 ;
24177 PyObject
* obj1
= 0 ;
24178 char *kwnames
[] = {
24179 (char *) "self",(char *) "dc", NULL
24182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyTextShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
24183 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24184 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24185 if (arg2
== NULL
) {
24186 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24190 (arg1
)->base_OnDrawControlPoints(*arg2
);
24192 wxPyEndAllowThreads(__tstate
);
24193 if (PyErr_Occurred()) SWIG_fail
;
24195 Py_INCREF(Py_None
); resultobj
= Py_None
;
24202 static PyObject
*_wrap_PyTextShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24203 PyObject
*resultobj
;
24204 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
24206 PyObject
* obj0
= 0 ;
24207 PyObject
* obj1
= 0 ;
24208 char *kwnames
[] = {
24209 (char *) "self",(char *) "dc", NULL
24212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyTextShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
24213 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24214 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24215 if (arg2
== NULL
) {
24216 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24220 (arg1
)->base_OnEraseControlPoints(*arg2
);
24222 wxPyEndAllowThreads(__tstate
);
24223 if (PyErr_Occurred()) SWIG_fail
;
24225 Py_INCREF(Py_None
); resultobj
= Py_None
;
24232 static PyObject
*_wrap_PyTextShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24233 PyObject
*resultobj
;
24234 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
24236 bool arg3
= (bool) True
;
24237 PyObject
* obj0
= 0 ;
24238 PyObject
* obj1
= 0 ;
24239 PyObject
* obj2
= 0 ;
24240 char *kwnames
[] = {
24241 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
24244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyTextShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24245 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24246 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24247 if (arg2
== NULL
) {
24248 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24251 arg3
= PyInt_AsLong(obj2
) ? true : false;
24252 if (PyErr_Occurred()) SWIG_fail
;
24255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24256 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
24258 wxPyEndAllowThreads(__tstate
);
24259 if (PyErr_Occurred()) SWIG_fail
;
24261 Py_INCREF(Py_None
); resultobj
= Py_None
;
24268 static PyObject
*_wrap_PyTextShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24269 PyObject
*resultobj
;
24270 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
24271 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
24275 int arg6
= (int) 0 ;
24276 int arg7
= (int) 0 ;
24277 PyObject
* obj0
= 0 ;
24278 PyObject
* obj1
= 0 ;
24279 PyObject
* obj2
= 0 ;
24280 char *kwnames
[] = {
24281 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOdd|ii:PyTextShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
,&arg6
,&arg7
)) goto fail
;
24285 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24286 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24287 arg3
= PyInt_AsLong(obj2
) ? true : false;
24288 if (PyErr_Occurred()) SWIG_fail
;
24290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24291 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
24293 wxPyEndAllowThreads(__tstate
);
24294 if (PyErr_Occurred()) SWIG_fail
;
24296 Py_INCREF(Py_None
); resultobj
= Py_None
;
24303 static PyObject
*_wrap_PyTextShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24304 PyObject
*resultobj
;
24305 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
24306 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
24309 int arg5
= (int) 0 ;
24310 int arg6
= (int) 0 ;
24311 PyObject
* obj0
= 0 ;
24312 PyObject
* obj1
= 0 ;
24313 char *kwnames
[] = {
24314 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyTextShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
24318 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24319 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24322 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
24324 wxPyEndAllowThreads(__tstate
);
24325 if (PyErr_Occurred()) SWIG_fail
;
24327 Py_INCREF(Py_None
); resultobj
= Py_None
;
24334 static PyObject
*_wrap_PyTextShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24335 PyObject
*resultobj
;
24336 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
24337 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
24340 int arg5
= (int) 0 ;
24341 int arg6
= (int) 0 ;
24342 PyObject
* obj0
= 0 ;
24343 PyObject
* obj1
= 0 ;
24344 char *kwnames
[] = {
24345 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyTextShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
24349 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24350 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24353 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
24355 wxPyEndAllowThreads(__tstate
);
24356 if (PyErr_Occurred()) SWIG_fail
;
24358 Py_INCREF(Py_None
); resultobj
= Py_None
;
24365 static PyObject
*_wrap_PyTextShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24366 PyObject
*resultobj
;
24367 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
24370 PyObject
* obj0
= 0 ;
24371 char *kwnames
[] = {
24372 (char *) "self",(char *) "w",(char *) "h", NULL
24375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyTextShape_base_OnBeginSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
24376 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24379 (arg1
)->base_OnBeginSize(arg2
,arg3
);
24381 wxPyEndAllowThreads(__tstate
);
24382 if (PyErr_Occurred()) SWIG_fail
;
24384 Py_INCREF(Py_None
); resultobj
= Py_None
;
24391 static PyObject
*_wrap_PyTextShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24392 PyObject
*resultobj
;
24393 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
24396 PyObject
* obj0
= 0 ;
24397 char *kwnames
[] = {
24398 (char *) "self",(char *) "w",(char *) "h", NULL
24401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyTextShape_base_OnEndSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
24402 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24405 (arg1
)->base_OnEndSize(arg2
,arg3
);
24407 wxPyEndAllowThreads(__tstate
);
24408 if (PyErr_Occurred()) SWIG_fail
;
24410 Py_INCREF(Py_None
); resultobj
= Py_None
;
24417 static PyObject
* PyTextShape_swigregister(PyObject
*self
, PyObject
*args
) {
24419 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24420 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextShape
, obj
);
24422 return Py_BuildValue((char *)"");
24424 static PyObject
*_wrap_new_Diagram(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24425 PyObject
*resultobj
;
24427 char *kwnames
[] = {
24431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Diagram",kwnames
)) goto fail
;
24433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24434 result
= (wxDiagram
*)new wxDiagram();
24436 wxPyEndAllowThreads(__tstate
);
24437 if (PyErr_Occurred()) SWIG_fail
;
24440 resultobj
= wxPyMake_wxObject(result
);
24448 static PyObject
*_wrap_Diagram_AddShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24449 PyObject
*resultobj
;
24450 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
24451 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
24452 wxPyShape
*arg3
= (wxPyShape
*) NULL
;
24453 PyObject
* obj0
= 0 ;
24454 PyObject
* obj1
= 0 ;
24455 PyObject
* obj2
= 0 ;
24456 char *kwnames
[] = {
24457 (char *) "self",(char *) "shape",(char *) "addAfter", NULL
24460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Diagram_AddShape",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24461 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24462 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24464 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24468 (arg1
)->AddShape(arg2
,arg3
);
24470 wxPyEndAllowThreads(__tstate
);
24471 if (PyErr_Occurred()) SWIG_fail
;
24473 Py_INCREF(Py_None
); resultobj
= Py_None
;
24480 static PyObject
*_wrap_Diagram_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24481 PyObject
*resultobj
;
24482 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
24484 PyObject
* obj0
= 0 ;
24485 PyObject
* obj1
= 0 ;
24486 char *kwnames
[] = {
24487 (char *) "self",(char *) "dc", NULL
24490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_Clear",kwnames
,&obj0
,&obj1
)) goto fail
;
24491 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24492 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24493 if (arg2
== NULL
) {
24494 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24498 (arg1
)->Clear(*arg2
);
24500 wxPyEndAllowThreads(__tstate
);
24501 if (PyErr_Occurred()) SWIG_fail
;
24503 Py_INCREF(Py_None
); resultobj
= Py_None
;
24510 static PyObject
*_wrap_Diagram_DeleteAllShapes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24511 PyObject
*resultobj
;
24512 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
24513 PyObject
* obj0
= 0 ;
24514 char *kwnames
[] = {
24515 (char *) "self", NULL
24518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Diagram_DeleteAllShapes",kwnames
,&obj0
)) goto fail
;
24519 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24522 (arg1
)->DeleteAllShapes();
24524 wxPyEndAllowThreads(__tstate
);
24525 if (PyErr_Occurred()) SWIG_fail
;
24527 Py_INCREF(Py_None
); resultobj
= Py_None
;
24534 static PyObject
*_wrap_Diagram_DrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24535 PyObject
*resultobj
;
24536 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
24542 PyObject
* obj0
= 0 ;
24543 PyObject
* obj1
= 0 ;
24544 char *kwnames
[] = {
24545 (char *) "self",(char *) "dc",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
24548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd:Diagram_DrawOutline",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
24549 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24550 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24551 if (arg2
== NULL
) {
24552 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24556 (arg1
)->DrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
24558 wxPyEndAllowThreads(__tstate
);
24559 if (PyErr_Occurred()) SWIG_fail
;
24561 Py_INCREF(Py_None
); resultobj
= Py_None
;
24568 static PyObject
*_wrap_Diagram_FindShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24569 PyObject
*resultobj
;
24570 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
24573 PyObject
* obj0
= 0 ;
24574 char *kwnames
[] = {
24575 (char *) "self",(char *) "id", NULL
24578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:Diagram_FindShape",kwnames
,&obj0
,&arg2
)) goto fail
;
24579 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24582 result
= (wxPyShape
*)(arg1
)->FindShape(arg2
);
24584 wxPyEndAllowThreads(__tstate
);
24585 if (PyErr_Occurred()) SWIG_fail
;
24588 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
24596 static PyObject
*_wrap_Diagram_GetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24597 PyObject
*resultobj
;
24598 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
24599 wxPyShapeCanvas
*result
;
24600 PyObject
* obj0
= 0 ;
24601 char *kwnames
[] = {
24602 (char *) "self", NULL
24605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Diagram_GetCanvas",kwnames
,&obj0
)) goto fail
;
24606 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24609 result
= (wxPyShapeCanvas
*)(arg1
)->GetCanvas();
24611 wxPyEndAllowThreads(__tstate
);
24612 if (PyErr_Occurred()) SWIG_fail
;
24615 resultobj
= wxPyMake_wxObject(result
);
24623 static PyObject
*_wrap_Diagram_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24624 PyObject
*resultobj
;
24625 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
24627 PyObject
* obj0
= 0 ;
24628 char *kwnames
[] = {
24629 (char *) "self", NULL
24632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Diagram_GetCount",kwnames
,&obj0
)) goto fail
;
24633 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24636 result
= (int)(arg1
)->GetCount();
24638 wxPyEndAllowThreads(__tstate
);
24639 if (PyErr_Occurred()) SWIG_fail
;
24641 resultobj
= PyInt_FromLong((long)result
);
24648 static PyObject
*_wrap_Diagram_GetGridSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24649 PyObject
*resultobj
;
24650 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
24652 PyObject
* obj0
= 0 ;
24653 char *kwnames
[] = {
24654 (char *) "self", NULL
24657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Diagram_GetGridSpacing",kwnames
,&obj0
)) goto fail
;
24658 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24661 result
= (double)(arg1
)->GetGridSpacing();
24663 wxPyEndAllowThreads(__tstate
);
24664 if (PyErr_Occurred()) SWIG_fail
;
24666 resultobj
= PyFloat_FromDouble(result
);
24673 static PyObject
*_wrap_Diagram_GetMouseTolerance(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24674 PyObject
*resultobj
;
24675 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
24677 PyObject
* obj0
= 0 ;
24678 char *kwnames
[] = {
24679 (char *) "self", NULL
24682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Diagram_GetMouseTolerance",kwnames
,&obj0
)) goto fail
;
24683 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24686 result
= (int)(arg1
)->GetMouseTolerance();
24688 wxPyEndAllowThreads(__tstate
);
24689 if (PyErr_Occurred()) SWIG_fail
;
24691 resultobj
= PyInt_FromLong((long)result
);
24698 static PyObject
*_wrap_Diagram_GetShapeList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24699 PyObject
*resultobj
;
24700 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
24702 PyObject
* obj0
= 0 ;
24703 char *kwnames
[] = {
24704 (char *) "self", NULL
24707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Diagram_GetShapeList",kwnames
,&obj0
)) goto fail
;
24708 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24711 result
= (PyObject
*)wxDiagram_GetShapeList(arg1
);
24713 wxPyEndAllowThreads(__tstate
);
24714 if (PyErr_Occurred()) SWIG_fail
;
24716 resultobj
= result
;
24723 static PyObject
*_wrap_Diagram_GetQuickEditMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24724 PyObject
*resultobj
;
24725 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
24727 PyObject
* obj0
= 0 ;
24728 char *kwnames
[] = {
24729 (char *) "self", NULL
24732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Diagram_GetQuickEditMode",kwnames
,&obj0
)) goto fail
;
24733 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24736 result
= (bool)(arg1
)->GetQuickEditMode();
24738 wxPyEndAllowThreads(__tstate
);
24739 if (PyErr_Occurred()) SWIG_fail
;
24741 resultobj
= PyInt_FromLong((long)result
);
24748 static PyObject
*_wrap_Diagram_GetSnapToGrid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24749 PyObject
*resultobj
;
24750 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
24752 PyObject
* obj0
= 0 ;
24753 char *kwnames
[] = {
24754 (char *) "self", NULL
24757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Diagram_GetSnapToGrid",kwnames
,&obj0
)) goto fail
;
24758 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24761 result
= (bool)(arg1
)->GetSnapToGrid();
24763 wxPyEndAllowThreads(__tstate
);
24764 if (PyErr_Occurred()) SWIG_fail
;
24766 resultobj
= PyInt_FromLong((long)result
);
24773 static PyObject
*_wrap_Diagram_InsertShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24774 PyObject
*resultobj
;
24775 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
24776 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
24777 PyObject
* obj0
= 0 ;
24778 PyObject
* obj1
= 0 ;
24779 char *kwnames
[] = {
24780 (char *) "self",(char *) "shape", NULL
24783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_InsertShape",kwnames
,&obj0
,&obj1
)) goto fail
;
24784 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24785 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24788 (arg1
)->InsertShape(arg2
);
24790 wxPyEndAllowThreads(__tstate
);
24791 if (PyErr_Occurred()) SWIG_fail
;
24793 Py_INCREF(Py_None
); resultobj
= Py_None
;
24800 static PyObject
*_wrap_Diagram_RecentreAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24801 PyObject
*resultobj
;
24802 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
24804 PyObject
* obj0
= 0 ;
24805 PyObject
* obj1
= 0 ;
24806 char *kwnames
[] = {
24807 (char *) "self",(char *) "dc", NULL
24810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_RecentreAll",kwnames
,&obj0
,&obj1
)) goto fail
;
24811 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24812 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24813 if (arg2
== NULL
) {
24814 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24818 (arg1
)->RecentreAll(*arg2
);
24820 wxPyEndAllowThreads(__tstate
);
24821 if (PyErr_Occurred()) SWIG_fail
;
24823 Py_INCREF(Py_None
); resultobj
= Py_None
;
24830 static PyObject
*_wrap_Diagram_Redraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24831 PyObject
*resultobj
;
24832 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
24834 PyObject
* obj0
= 0 ;
24835 PyObject
* obj1
= 0 ;
24836 char *kwnames
[] = {
24837 (char *) "self",(char *) "dc", NULL
24840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_Redraw",kwnames
,&obj0
,&obj1
)) goto fail
;
24841 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24842 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24843 if (arg2
== NULL
) {
24844 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24848 (arg1
)->Redraw(*arg2
);
24850 wxPyEndAllowThreads(__tstate
);
24851 if (PyErr_Occurred()) SWIG_fail
;
24853 Py_INCREF(Py_None
); resultobj
= Py_None
;
24860 static PyObject
*_wrap_Diagram_RemoveAllShapes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24861 PyObject
*resultobj
;
24862 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
24863 PyObject
* obj0
= 0 ;
24864 char *kwnames
[] = {
24865 (char *) "self", NULL
24868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Diagram_RemoveAllShapes",kwnames
,&obj0
)) goto fail
;
24869 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24872 (arg1
)->RemoveAllShapes();
24874 wxPyEndAllowThreads(__tstate
);
24875 if (PyErr_Occurred()) SWIG_fail
;
24877 Py_INCREF(Py_None
); resultobj
= Py_None
;
24884 static PyObject
*_wrap_Diagram_RemoveShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24885 PyObject
*resultobj
;
24886 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
24887 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
24888 PyObject
* obj0
= 0 ;
24889 PyObject
* obj1
= 0 ;
24890 char *kwnames
[] = {
24891 (char *) "self",(char *) "shape", NULL
24894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_RemoveShape",kwnames
,&obj0
,&obj1
)) goto fail
;
24895 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24896 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24899 (arg1
)->RemoveShape(arg2
);
24901 wxPyEndAllowThreads(__tstate
);
24902 if (PyErr_Occurred()) SWIG_fail
;
24904 Py_INCREF(Py_None
); resultobj
= Py_None
;
24911 static PyObject
*_wrap_Diagram_SetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24912 PyObject
*resultobj
;
24913 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
24914 wxPyShapeCanvas
*arg2
= (wxPyShapeCanvas
*) 0 ;
24915 PyObject
* obj0
= 0 ;
24916 PyObject
* obj1
= 0 ;
24917 char *kwnames
[] = {
24918 (char *) "self",(char *) "canvas", NULL
24921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_SetCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
24922 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24923 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24926 (arg1
)->SetCanvas(arg2
);
24928 wxPyEndAllowThreads(__tstate
);
24929 if (PyErr_Occurred()) SWIG_fail
;
24931 Py_INCREF(Py_None
); resultobj
= Py_None
;
24938 static PyObject
*_wrap_Diagram_SetGridSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24939 PyObject
*resultobj
;
24940 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
24942 PyObject
* obj0
= 0 ;
24943 char *kwnames
[] = {
24944 (char *) "self",(char *) "spacing", NULL
24947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Od:Diagram_SetGridSpacing",kwnames
,&obj0
,&arg2
)) goto fail
;
24948 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24951 (arg1
)->SetGridSpacing(arg2
);
24953 wxPyEndAllowThreads(__tstate
);
24954 if (PyErr_Occurred()) SWIG_fail
;
24956 Py_INCREF(Py_None
); resultobj
= Py_None
;
24963 static PyObject
*_wrap_Diagram_SetMouseTolerance(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24964 PyObject
*resultobj
;
24965 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
24967 PyObject
* obj0
= 0 ;
24968 char *kwnames
[] = {
24969 (char *) "self",(char *) "tolerance", NULL
24972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Diagram_SetMouseTolerance",kwnames
,&obj0
,&arg2
)) goto fail
;
24973 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24976 (arg1
)->SetMouseTolerance(arg2
);
24978 wxPyEndAllowThreads(__tstate
);
24979 if (PyErr_Occurred()) SWIG_fail
;
24981 Py_INCREF(Py_None
); resultobj
= Py_None
;
24988 static PyObject
*_wrap_Diagram_SetQuickEditMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24989 PyObject
*resultobj
;
24990 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
24992 PyObject
* obj0
= 0 ;
24993 PyObject
* obj1
= 0 ;
24994 char *kwnames
[] = {
24995 (char *) "self",(char *) "mode", NULL
24998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_SetQuickEditMode",kwnames
,&obj0
,&obj1
)) goto fail
;
24999 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25000 arg2
= PyInt_AsLong(obj1
) ? true : false;
25001 if (PyErr_Occurred()) SWIG_fail
;
25003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25004 (arg1
)->SetQuickEditMode(arg2
);
25006 wxPyEndAllowThreads(__tstate
);
25007 if (PyErr_Occurred()) SWIG_fail
;
25009 Py_INCREF(Py_None
); resultobj
= Py_None
;
25016 static PyObject
*_wrap_Diagram_SetSnapToGrid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25017 PyObject
*resultobj
;
25018 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
25020 PyObject
* obj0
= 0 ;
25021 PyObject
* obj1
= 0 ;
25022 char *kwnames
[] = {
25023 (char *) "self",(char *) "snap", NULL
25026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_SetSnapToGrid",kwnames
,&obj0
,&obj1
)) goto fail
;
25027 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25028 arg2
= PyInt_AsLong(obj1
) ? true : false;
25029 if (PyErr_Occurred()) SWIG_fail
;
25031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25032 (arg1
)->SetSnapToGrid(arg2
);
25034 wxPyEndAllowThreads(__tstate
);
25035 if (PyErr_Occurred()) SWIG_fail
;
25037 Py_INCREF(Py_None
); resultobj
= Py_None
;
25044 static PyObject
*_wrap_Diagram_ShowAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25045 PyObject
*resultobj
;
25046 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
25048 PyObject
* obj0
= 0 ;
25049 PyObject
* obj1
= 0 ;
25050 char *kwnames
[] = {
25051 (char *) "self",(char *) "show", NULL
25054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_ShowAll",kwnames
,&obj0
,&obj1
)) goto fail
;
25055 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25056 arg2
= PyInt_AsLong(obj1
) ? true : false;
25057 if (PyErr_Occurred()) SWIG_fail
;
25059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25060 (arg1
)->ShowAll(arg2
);
25062 wxPyEndAllowThreads(__tstate
);
25063 if (PyErr_Occurred()) SWIG_fail
;
25065 Py_INCREF(Py_None
); resultobj
= Py_None
;
25072 static PyObject
*_wrap_Diagram_Snap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25073 PyObject
*resultobj
;
25074 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
25075 double *arg2
= (double *) 0 ;
25076 double *arg3
= (double *) 0 ;
25079 PyObject
* obj0
= 0 ;
25080 PyObject
* obj1
= 0 ;
25081 PyObject
* obj2
= 0 ;
25082 char *kwnames
[] = {
25083 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
25086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Diagram_Snap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25087 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25089 temp2
= PyFloat_AsDouble(obj1
);
25090 if (PyErr_Occurred()) SWIG_fail
;
25094 temp3
= PyFloat_AsDouble(obj2
);
25095 if (PyErr_Occurred()) SWIG_fail
;
25099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25100 (arg1
)->Snap(arg2
,arg3
);
25102 wxPyEndAllowThreads(__tstate
);
25103 if (PyErr_Occurred()) SWIG_fail
;
25105 Py_INCREF(Py_None
); resultobj
= Py_None
;
25107 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
25108 resultobj
= t_output_helper(resultobj
,o
);
25111 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
25112 resultobj
= t_output_helper(resultobj
,o
);
25120 static PyObject
* Diagram_swigregister(PyObject
*self
, PyObject
*args
) {
25122 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25123 SWIG_TypeClientData(SWIGTYPE_p_wxDiagram
, obj
);
25125 return Py_BuildValue((char *)"");
25127 static PyObject
*_wrap_new_PyShapeCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25128 PyObject
*resultobj
;
25129 wxWindow
*arg1
= (wxWindow
*) NULL
;
25130 int arg2
= (int) -1 ;
25131 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
25132 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
25133 wxSize
const &arg4_defvalue
= wxDefaultSize
;
25134 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
25135 long arg5
= (long) wxBORDER
;
25136 wxString
const &arg6_defvalue
= wxPyShapeCanvasNameStr
;
25137 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
25138 wxPyShapeCanvas
*result
;
25141 bool temp6
= False
;
25142 PyObject
* obj0
= 0 ;
25143 PyObject
* obj2
= 0 ;
25144 PyObject
* obj3
= 0 ;
25145 PyObject
* obj5
= 0 ;
25146 char *kwnames
[] = {
25147 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OiOOlO:new_PyShapeCanvas",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
25152 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25157 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25163 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25168 arg6
= wxString_in_helper(obj5
);
25169 if (arg6
== NULL
) SWIG_fail
;
25174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25175 result
= (wxPyShapeCanvas
*)new wxPyShapeCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
25177 wxPyEndAllowThreads(__tstate
);
25178 if (PyErr_Occurred()) SWIG_fail
;
25181 resultobj
= wxPyMake_wxObject(result
);
25197 static PyObject
*_wrap_PyShapeCanvas__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25198 PyObject
*resultobj
;
25199 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
25200 PyObject
*arg2
= (PyObject
*) 0 ;
25201 PyObject
*arg3
= (PyObject
*) 0 ;
25202 PyObject
* obj0
= 0 ;
25203 PyObject
* obj1
= 0 ;
25204 PyObject
* obj2
= 0 ;
25205 char *kwnames
[] = {
25206 (char *) "self",(char *) "self",(char *) "_class", NULL
25209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShapeCanvas__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25210 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25215 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25217 wxPyEndAllowThreads(__tstate
);
25218 if (PyErr_Occurred()) SWIG_fail
;
25220 Py_INCREF(Py_None
); resultobj
= Py_None
;
25227 static PyObject
*_wrap_PyShapeCanvas_AddShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25228 PyObject
*resultobj
;
25229 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
25230 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
25231 wxPyShape
*arg3
= (wxPyShape
*) NULL
;
25232 PyObject
* obj0
= 0 ;
25233 PyObject
* obj1
= 0 ;
25234 PyObject
* obj2
= 0 ;
25235 char *kwnames
[] = {
25236 (char *) "self",(char *) "shape",(char *) "addAfter", NULL
25239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShapeCanvas_AddShape",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25240 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25241 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25243 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25247 (arg1
)->AddShape(arg2
,arg3
);
25249 wxPyEndAllowThreads(__tstate
);
25250 if (PyErr_Occurred()) SWIG_fail
;
25252 Py_INCREF(Py_None
); resultobj
= Py_None
;
25259 static PyObject
*_wrap_PyShapeCanvas_FindShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25260 PyObject
*resultobj
;
25261 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
25264 int *arg4
= (int *) 0 ;
25265 wxClassInfo
*arg5
= (wxClassInfo
*) NULL
;
25266 wxPyShape
*arg6
= (wxPyShape
*) NULL
;
25269 PyObject
* obj0
= 0 ;
25270 PyObject
* obj3
= 0 ;
25271 PyObject
* obj4
= 0 ;
25272 char *kwnames
[] = {
25273 (char *) "self",(char *) "x1",(char *) "y",(char *) "info",(char *) "notImage", NULL
25277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|OO:PyShapeCanvas_FindShape",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
,&obj4
)) goto fail
;
25278 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25280 if ((SWIG_ConvertPtr(obj3
,(void **) &arg5
, SWIGTYPE_p_wxClassInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25283 if ((SWIG_ConvertPtr(obj4
,(void **) &arg6
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25287 result
= (wxPyShape
*)(arg1
)->FindShape(arg2
,arg3
,arg4
,arg5
,arg6
);
25289 wxPyEndAllowThreads(__tstate
);
25290 if (PyErr_Occurred()) SWIG_fail
;
25293 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
25296 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
25297 resultobj
= t_output_helper(resultobj
,o
);
25305 static PyObject
*_wrap_PyShapeCanvas_FindFirstSensitiveShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25306 PyObject
*resultobj
;
25307 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
25310 int *arg4
= (int *) 0 ;
25314 PyObject
* obj0
= 0 ;
25315 char *kwnames
[] = {
25316 (char *) "self",(char *) "x1",(char *) "y",(char *) "op", NULL
25320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oddi:PyShapeCanvas_FindFirstSensitiveShape",kwnames
,&obj0
,&arg2
,&arg3
,&arg5
)) goto fail
;
25321 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25324 result
= (wxPyShape
*)(arg1
)->FindFirstSensitiveShape(arg2
,arg3
,arg4
,arg5
);
25326 wxPyEndAllowThreads(__tstate
);
25327 if (PyErr_Occurred()) SWIG_fail
;
25330 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
25333 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
25334 resultobj
= t_output_helper(resultobj
,o
);
25342 static PyObject
*_wrap_PyShapeCanvas_GetDiagram(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25343 PyObject
*resultobj
;
25344 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
25346 PyObject
* obj0
= 0 ;
25347 char *kwnames
[] = {
25348 (char *) "self", NULL
25351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShapeCanvas_GetDiagram",kwnames
,&obj0
)) goto fail
;
25352 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25355 result
= (wxDiagram
*)(arg1
)->GetDiagram();
25357 wxPyEndAllowThreads(__tstate
);
25358 if (PyErr_Occurred()) SWIG_fail
;
25361 resultobj
= wxPyMake_wxObject(result
);
25369 static PyObject
*_wrap_PyShapeCanvas_GetQuickEditMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25370 PyObject
*resultobj
;
25371 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
25373 PyObject
* obj0
= 0 ;
25374 char *kwnames
[] = {
25375 (char *) "self", NULL
25378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShapeCanvas_GetQuickEditMode",kwnames
,&obj0
)) goto fail
;
25379 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25382 result
= (bool)(arg1
)->GetQuickEditMode();
25384 wxPyEndAllowThreads(__tstate
);
25385 if (PyErr_Occurred()) SWIG_fail
;
25387 resultobj
= PyInt_FromLong((long)result
);
25394 static PyObject
*_wrap_PyShapeCanvas_InsertShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25395 PyObject
*resultobj
;
25396 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
25397 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
25398 PyObject
* obj0
= 0 ;
25399 PyObject
* obj1
= 0 ;
25400 char *kwnames
[] = {
25401 (char *) "self",(char *) "shape", NULL
25404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeCanvas_InsertShape",kwnames
,&obj0
,&obj1
)) goto fail
;
25405 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25406 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25409 (arg1
)->InsertShape(arg2
);
25411 wxPyEndAllowThreads(__tstate
);
25412 if (PyErr_Occurred()) SWIG_fail
;
25414 Py_INCREF(Py_None
); resultobj
= Py_None
;
25421 static PyObject
*_wrap_PyShapeCanvas_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25422 PyObject
*resultobj
;
25423 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
25426 int arg4
= (int) 0 ;
25427 PyObject
* obj0
= 0 ;
25428 char *kwnames
[] = {
25429 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
25432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|i:PyShapeCanvas_base_OnBeginDragLeft",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
25433 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25436 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
);
25438 wxPyEndAllowThreads(__tstate
);
25439 if (PyErr_Occurred()) SWIG_fail
;
25441 Py_INCREF(Py_None
); resultobj
= Py_None
;
25448 static PyObject
*_wrap_PyShapeCanvas_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25449 PyObject
*resultobj
;
25450 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
25453 int arg4
= (int) 0 ;
25454 PyObject
* obj0
= 0 ;
25455 char *kwnames
[] = {
25456 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
25459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|i:PyShapeCanvas_base_OnBeginDragRight",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
25460 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25463 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
);
25465 wxPyEndAllowThreads(__tstate
);
25466 if (PyErr_Occurred()) SWIG_fail
;
25468 Py_INCREF(Py_None
); resultobj
= Py_None
;
25475 static PyObject
*_wrap_PyShapeCanvas_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25476 PyObject
*resultobj
;
25477 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
25480 int arg4
= (int) 0 ;
25481 PyObject
* obj0
= 0 ;
25482 char *kwnames
[] = {
25483 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
25486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|i:PyShapeCanvas_base_OnEndDragLeft",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
25487 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25490 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
);
25492 wxPyEndAllowThreads(__tstate
);
25493 if (PyErr_Occurred()) SWIG_fail
;
25495 Py_INCREF(Py_None
); resultobj
= Py_None
;
25502 static PyObject
*_wrap_PyShapeCanvas_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25503 PyObject
*resultobj
;
25504 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
25507 int arg4
= (int) 0 ;
25508 PyObject
* obj0
= 0 ;
25509 char *kwnames
[] = {
25510 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
25513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|i:PyShapeCanvas_base_OnEndDragRight",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
25514 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25517 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
);
25519 wxPyEndAllowThreads(__tstate
);
25520 if (PyErr_Occurred()) SWIG_fail
;
25522 Py_INCREF(Py_None
); resultobj
= Py_None
;
25529 static PyObject
*_wrap_PyShapeCanvas_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25530 PyObject
*resultobj
;
25531 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
25535 int arg5
= (int) 0 ;
25536 PyObject
* obj0
= 0 ;
25537 PyObject
* obj1
= 0 ;
25538 char *kwnames
[] = {
25539 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys", NULL
25542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|i:PyShapeCanvas_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
)) goto fail
;
25543 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25544 arg2
= PyInt_AsLong(obj1
) ? true : false;
25545 if (PyErr_Occurred()) SWIG_fail
;
25547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25548 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
);
25550 wxPyEndAllowThreads(__tstate
);
25551 if (PyErr_Occurred()) SWIG_fail
;
25553 Py_INCREF(Py_None
); resultobj
= Py_None
;
25560 static PyObject
*_wrap_PyShapeCanvas_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25561 PyObject
*resultobj
;
25562 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
25566 int arg5
= (int) 0 ;
25567 PyObject
* obj0
= 0 ;
25568 PyObject
* obj1
= 0 ;
25569 char *kwnames
[] = {
25570 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys", NULL
25573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|i:PyShapeCanvas_base_OnDragRight",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
)) goto fail
;
25574 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25575 arg2
= PyInt_AsLong(obj1
) ? true : false;
25576 if (PyErr_Occurred()) SWIG_fail
;
25578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25579 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
);
25581 wxPyEndAllowThreads(__tstate
);
25582 if (PyErr_Occurred()) SWIG_fail
;
25584 Py_INCREF(Py_None
); resultobj
= Py_None
;
25591 static PyObject
*_wrap_PyShapeCanvas_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25592 PyObject
*resultobj
;
25593 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
25596 int arg4
= (int) 0 ;
25597 PyObject
* obj0
= 0 ;
25598 char *kwnames
[] = {
25599 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
25602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|i:PyShapeCanvas_base_OnLeftClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
25603 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25606 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
);
25608 wxPyEndAllowThreads(__tstate
);
25609 if (PyErr_Occurred()) SWIG_fail
;
25611 Py_INCREF(Py_None
); resultobj
= Py_None
;
25618 static PyObject
*_wrap_PyShapeCanvas_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25619 PyObject
*resultobj
;
25620 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
25623 int arg4
= (int) 0 ;
25624 PyObject
* obj0
= 0 ;
25625 char *kwnames
[] = {
25626 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
25629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|i:PyShapeCanvas_base_OnRightClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
25630 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25633 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
);
25635 wxPyEndAllowThreads(__tstate
);
25636 if (PyErr_Occurred()) SWIG_fail
;
25638 Py_INCREF(Py_None
); resultobj
= Py_None
;
25645 static PyObject
*_wrap_PyShapeCanvas_Redraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25646 PyObject
*resultobj
;
25647 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
25649 PyObject
* obj0
= 0 ;
25650 PyObject
* obj1
= 0 ;
25651 char *kwnames
[] = {
25652 (char *) "self",(char *) "dc", NULL
25655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeCanvas_Redraw",kwnames
,&obj0
,&obj1
)) goto fail
;
25656 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25657 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25658 if (arg2
== NULL
) {
25659 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25663 (arg1
)->Redraw(*arg2
);
25665 wxPyEndAllowThreads(__tstate
);
25666 if (PyErr_Occurred()) SWIG_fail
;
25668 Py_INCREF(Py_None
); resultobj
= Py_None
;
25675 static PyObject
*_wrap_PyShapeCanvas_RemoveShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25676 PyObject
*resultobj
;
25677 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
25678 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
25679 PyObject
* obj0
= 0 ;
25680 PyObject
* obj1
= 0 ;
25681 char *kwnames
[] = {
25682 (char *) "self",(char *) "shape", NULL
25685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeCanvas_RemoveShape",kwnames
,&obj0
,&obj1
)) goto fail
;
25686 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25687 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25690 (arg1
)->RemoveShape(arg2
);
25692 wxPyEndAllowThreads(__tstate
);
25693 if (PyErr_Occurred()) SWIG_fail
;
25695 Py_INCREF(Py_None
); resultobj
= Py_None
;
25702 static PyObject
*_wrap_PyShapeCanvas_SetDiagram(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25703 PyObject
*resultobj
;
25704 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
25705 wxDiagram
*arg2
= (wxDiagram
*) 0 ;
25706 PyObject
* obj0
= 0 ;
25707 PyObject
* obj1
= 0 ;
25708 char *kwnames
[] = {
25709 (char *) "self",(char *) "diagram", NULL
25712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeCanvas_SetDiagram",kwnames
,&obj0
,&obj1
)) goto fail
;
25713 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25714 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25717 (arg1
)->SetDiagram(arg2
);
25719 wxPyEndAllowThreads(__tstate
);
25720 if (PyErr_Occurred()) SWIG_fail
;
25722 Py_INCREF(Py_None
); resultobj
= Py_None
;
25729 static PyObject
*_wrap_PyShapeCanvas_Snap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25730 PyObject
*resultobj
;
25731 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
25732 double *arg2
= (double *) 0 ;
25733 double *arg3
= (double *) 0 ;
25736 PyObject
* obj0
= 0 ;
25737 PyObject
* obj1
= 0 ;
25738 PyObject
* obj2
= 0 ;
25739 char *kwnames
[] = {
25740 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
25743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShapeCanvas_Snap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25744 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25746 temp2
= PyFloat_AsDouble(obj1
);
25747 if (PyErr_Occurred()) SWIG_fail
;
25751 temp3
= PyFloat_AsDouble(obj2
);
25752 if (PyErr_Occurred()) SWIG_fail
;
25756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25757 (arg1
)->Snap(arg2
,arg3
);
25759 wxPyEndAllowThreads(__tstate
);
25760 if (PyErr_Occurred()) SWIG_fail
;
25762 Py_INCREF(Py_None
); resultobj
= Py_None
;
25764 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
25765 resultobj
= t_output_helper(resultobj
,o
);
25768 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
25769 resultobj
= t_output_helper(resultobj
,o
);
25777 static PyObject
* PyShapeCanvas_swigregister(PyObject
*self
, PyObject
*args
) {
25779 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25780 SWIG_TypeClientData(SWIGTYPE_p_wxPyShapeCanvas
, obj
);
25782 return Py_BuildValue((char *)"");
25784 static PyObject
*_wrap_OGLInitialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25785 PyObject
*resultobj
;
25786 char *kwnames
[] = {
25790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":OGLInitialize",kwnames
)) goto fail
;
25792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25795 wxPyEndAllowThreads(__tstate
);
25796 if (PyErr_Occurred()) SWIG_fail
;
25798 Py_INCREF(Py_None
); resultobj
= Py_None
;
25805 static PyObject
*_wrap_OGLCleanUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25806 PyObject
*resultobj
;
25807 char *kwnames
[] = {
25811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":OGLCleanUp",kwnames
)) goto fail
;
25813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25816 wxPyEndAllowThreads(__tstate
);
25817 if (PyErr_Occurred()) SWIG_fail
;
25819 Py_INCREF(Py_None
); resultobj
= Py_None
;
25826 static PyMethodDef SwigMethods
[] = {
25827 { (char *)"new_ShapeRegion", (PyCFunction
) _wrap_new_ShapeRegion
, METH_VARARGS
| METH_KEYWORDS
},
25828 { (char *)"ShapeRegion_SetText", (PyCFunction
) _wrap_ShapeRegion_SetText
, METH_VARARGS
| METH_KEYWORDS
},
25829 { (char *)"ShapeRegion_SetFont", (PyCFunction
) _wrap_ShapeRegion_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
25830 { (char *)"ShapeRegion_SetMinSize", (PyCFunction
) _wrap_ShapeRegion_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
25831 { (char *)"ShapeRegion_SetSize", (PyCFunction
) _wrap_ShapeRegion_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
25832 { (char *)"ShapeRegion_SetPosition", (PyCFunction
) _wrap_ShapeRegion_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
25833 { (char *)"ShapeRegion_SetProportions", (PyCFunction
) _wrap_ShapeRegion_SetProportions
, METH_VARARGS
| METH_KEYWORDS
},
25834 { (char *)"ShapeRegion_SetFormatMode", (PyCFunction
) _wrap_ShapeRegion_SetFormatMode
, METH_VARARGS
| METH_KEYWORDS
},
25835 { (char *)"ShapeRegion_SetName", (PyCFunction
) _wrap_ShapeRegion_SetName
, METH_VARARGS
| METH_KEYWORDS
},
25836 { (char *)"ShapeRegion_SetColour", (PyCFunction
) _wrap_ShapeRegion_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
25837 { (char *)"ShapeRegion_GetText", (PyCFunction
) _wrap_ShapeRegion_GetText
, METH_VARARGS
| METH_KEYWORDS
},
25838 { (char *)"ShapeRegion_GetFont", (PyCFunction
) _wrap_ShapeRegion_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
25839 { (char *)"ShapeRegion_GetMinSize", (PyCFunction
) _wrap_ShapeRegion_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
25840 { (char *)"ShapeRegion_GetProportion", (PyCFunction
) _wrap_ShapeRegion_GetProportion
, METH_VARARGS
| METH_KEYWORDS
},
25841 { (char *)"ShapeRegion_GetSize", (PyCFunction
) _wrap_ShapeRegion_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
25842 { (char *)"ShapeRegion_GetPosition", (PyCFunction
) _wrap_ShapeRegion_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
25843 { (char *)"ShapeRegion_GetFormatMode", (PyCFunction
) _wrap_ShapeRegion_GetFormatMode
, METH_VARARGS
| METH_KEYWORDS
},
25844 { (char *)"ShapeRegion_GetName", (PyCFunction
) _wrap_ShapeRegion_GetName
, METH_VARARGS
| METH_KEYWORDS
},
25845 { (char *)"ShapeRegion_GetColour", (PyCFunction
) _wrap_ShapeRegion_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
25846 { (char *)"ShapeRegion_GetActualColourObject", (PyCFunction
) _wrap_ShapeRegion_GetActualColourObject
, METH_VARARGS
| METH_KEYWORDS
},
25847 { (char *)"ShapeRegion_GetFormattedText", (PyCFunction
) _wrap_ShapeRegion_GetFormattedText
, METH_VARARGS
| METH_KEYWORDS
},
25848 { (char *)"ShapeRegion_GetPenColour", (PyCFunction
) _wrap_ShapeRegion_GetPenColour
, METH_VARARGS
| METH_KEYWORDS
},
25849 { (char *)"ShapeRegion_GetPenStyle", (PyCFunction
) _wrap_ShapeRegion_GetPenStyle
, METH_VARARGS
| METH_KEYWORDS
},
25850 { (char *)"ShapeRegion_SetPenStyle", (PyCFunction
) _wrap_ShapeRegion_SetPenStyle
, METH_VARARGS
| METH_KEYWORDS
},
25851 { (char *)"ShapeRegion_SetPenColour", (PyCFunction
) _wrap_ShapeRegion_SetPenColour
, METH_VARARGS
| METH_KEYWORDS
},
25852 { (char *)"ShapeRegion_GetActualPen", (PyCFunction
) _wrap_ShapeRegion_GetActualPen
, METH_VARARGS
| METH_KEYWORDS
},
25853 { (char *)"ShapeRegion_GetWidth", (PyCFunction
) _wrap_ShapeRegion_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
25854 { (char *)"ShapeRegion_GetHeight", (PyCFunction
) _wrap_ShapeRegion_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
25855 { (char *)"ShapeRegion_ClearText", (PyCFunction
) _wrap_ShapeRegion_ClearText
, METH_VARARGS
| METH_KEYWORDS
},
25856 { (char *)"ShapeRegion_swigregister", ShapeRegion_swigregister
, METH_VARARGS
},
25857 { (char *)"new_PyShapeEvtHandler", (PyCFunction
) _wrap_new_PyShapeEvtHandler
, METH_VARARGS
| METH_KEYWORDS
},
25858 { (char *)"PyShapeEvtHandler__setCallbackInfo", (PyCFunction
) _wrap_PyShapeEvtHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25859 { (char *)"PyShapeEvtHandler__setOORInfo", (PyCFunction
) _wrap_PyShapeEvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
25860 { (char *)"PyShapeEvtHandler_SetShape", (PyCFunction
) _wrap_PyShapeEvtHandler_SetShape
, METH_VARARGS
| METH_KEYWORDS
},
25861 { (char *)"PyShapeEvtHandler_GetShape", (PyCFunction
) _wrap_PyShapeEvtHandler_GetShape
, METH_VARARGS
| METH_KEYWORDS
},
25862 { (char *)"PyShapeEvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_PyShapeEvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
25863 { (char *)"PyShapeEvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_PyShapeEvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
25864 { (char *)"PyShapeEvtHandler_CreateNewCopy", (PyCFunction
) _wrap_PyShapeEvtHandler_CreateNewCopy
, METH_VARARGS
| METH_KEYWORDS
},
25865 { (char *)"PyShapeEvtHandler_base_OnDelete", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
},
25866 { (char *)"PyShapeEvtHandler_base_OnDraw", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
25867 { (char *)"PyShapeEvtHandler_base_OnDrawContents", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
25868 { (char *)"PyShapeEvtHandler_base_OnDrawBranches", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
25869 { (char *)"PyShapeEvtHandler_base_OnMoveLinks", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
25870 { (char *)"PyShapeEvtHandler_base_OnErase", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
25871 { (char *)"PyShapeEvtHandler_base_OnEraseContents", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
25872 { (char *)"PyShapeEvtHandler_base_OnHighlight", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
25873 { (char *)"PyShapeEvtHandler_base_OnLeftClick", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
25874 { (char *)"PyShapeEvtHandler_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
25875 { (char *)"PyShapeEvtHandler_base_OnRightClick", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
25876 { (char *)"PyShapeEvtHandler_base_OnSize", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
25877 { (char *)"PyShapeEvtHandler_base_OnMovePre", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
25878 { (char *)"PyShapeEvtHandler_base_OnMovePost", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
25879 { (char *)"PyShapeEvtHandler_base_OnDragLeft", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
25880 { (char *)"PyShapeEvtHandler_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
25881 { (char *)"PyShapeEvtHandler_base_OnEndDragLeft", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
25882 { (char *)"PyShapeEvtHandler_base_OnDragRight", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
25883 { (char *)"PyShapeEvtHandler_base_OnBeginDragRight", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
25884 { (char *)"PyShapeEvtHandler_base_OnEndDragRight", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
25885 { (char *)"PyShapeEvtHandler_base_OnDrawOutline", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
25886 { (char *)"PyShapeEvtHandler_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
25887 { (char *)"PyShapeEvtHandler_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
25888 { (char *)"PyShapeEvtHandler_base_OnMoveLink", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
25889 { (char *)"PyShapeEvtHandler_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
25890 { (char *)"PyShapeEvtHandler_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
25891 { (char *)"PyShapeEvtHandler_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
25892 { (char *)"PyShapeEvtHandler_base_OnBeginSize", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
25893 { (char *)"PyShapeEvtHandler_base_OnEndSize", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
25894 { (char *)"PyShapeEvtHandler_swigregister", PyShapeEvtHandler_swigregister
, METH_VARARGS
},
25895 { (char *)"new_PyShape", (PyCFunction
) _wrap_new_PyShape
, METH_VARARGS
| METH_KEYWORDS
},
25896 { (char *)"PyShape__setCallbackInfo", (PyCFunction
) _wrap_PyShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25897 { (char *)"PyShape_GetBoundingBoxMax", (PyCFunction
) _wrap_PyShape_GetBoundingBoxMax
, METH_VARARGS
| METH_KEYWORDS
},
25898 { (char *)"PyShape_GetBoundingBoxMin", (PyCFunction
) _wrap_PyShape_GetBoundingBoxMin
, METH_VARARGS
| METH_KEYWORDS
},
25899 { (char *)"PyShape_GetPerimeterPoint", (PyCFunction
) _wrap_PyShape_GetPerimeterPoint
, METH_VARARGS
| METH_KEYWORDS
},
25900 { (char *)"PyShape_GetCanvas", (PyCFunction
) _wrap_PyShape_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
25901 { (char *)"PyShape_SetCanvas", (PyCFunction
) _wrap_PyShape_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
25902 { (char *)"PyShape_AddToCanvas", (PyCFunction
) _wrap_PyShape_AddToCanvas
, METH_VARARGS
| METH_KEYWORDS
},
25903 { (char *)"PyShape_InsertInCanvas", (PyCFunction
) _wrap_PyShape_InsertInCanvas
, METH_VARARGS
| METH_KEYWORDS
},
25904 { (char *)"PyShape_RemoveFromCanvas", (PyCFunction
) _wrap_PyShape_RemoveFromCanvas
, METH_VARARGS
| METH_KEYWORDS
},
25905 { (char *)"PyShape_GetX", (PyCFunction
) _wrap_PyShape_GetX
, METH_VARARGS
| METH_KEYWORDS
},
25906 { (char *)"PyShape_GetY", (PyCFunction
) _wrap_PyShape_GetY
, METH_VARARGS
| METH_KEYWORDS
},
25907 { (char *)"PyShape_SetX", (PyCFunction
) _wrap_PyShape_SetX
, METH_VARARGS
| METH_KEYWORDS
},
25908 { (char *)"PyShape_SetY", (PyCFunction
) _wrap_PyShape_SetY
, METH_VARARGS
| METH_KEYWORDS
},
25909 { (char *)"PyShape_GetParent", (PyCFunction
) _wrap_PyShape_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
25910 { (char *)"PyShape_SetParent", (PyCFunction
) _wrap_PyShape_SetParent
, METH_VARARGS
| METH_KEYWORDS
},
25911 { (char *)"PyShape_GetTopAncestor", (PyCFunction
) _wrap_PyShape_GetTopAncestor
, METH_VARARGS
| METH_KEYWORDS
},
25912 { (char *)"PyShape_GetChildren", (PyCFunction
) _wrap_PyShape_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
25913 { (char *)"PyShape_Unlink", (PyCFunction
) _wrap_PyShape_Unlink
, METH_VARARGS
| METH_KEYWORDS
},
25914 { (char *)"PyShape_SetDrawHandles", (PyCFunction
) _wrap_PyShape_SetDrawHandles
, METH_VARARGS
| METH_KEYWORDS
},
25915 { (char *)"PyShape_GetDrawHandles", (PyCFunction
) _wrap_PyShape_GetDrawHandles
, METH_VARARGS
| METH_KEYWORDS
},
25916 { (char *)"PyShape_MakeControlPoints", (PyCFunction
) _wrap_PyShape_MakeControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
25917 { (char *)"PyShape_DeleteControlPoints", (PyCFunction
) _wrap_PyShape_DeleteControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
25918 { (char *)"PyShape_ResetControlPoints", (PyCFunction
) _wrap_PyShape_ResetControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
25919 { (char *)"PyShape_GetEventHandler", (PyCFunction
) _wrap_PyShape_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
25920 { (char *)"PyShape_SetEventHandler", (PyCFunction
) _wrap_PyShape_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
25921 { (char *)"PyShape_MakeMandatoryControlPoints", (PyCFunction
) _wrap_PyShape_MakeMandatoryControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
25922 { (char *)"PyShape_ResetMandatoryControlPoints", (PyCFunction
) _wrap_PyShape_ResetMandatoryControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
25923 { (char *)"PyShape_Recompute", (PyCFunction
) _wrap_PyShape_Recompute
, METH_VARARGS
| METH_KEYWORDS
},
25924 { (char *)"PyShape_CalculateSize", (PyCFunction
) _wrap_PyShape_CalculateSize
, METH_VARARGS
| METH_KEYWORDS
},
25925 { (char *)"PyShape_Select", (PyCFunction
) _wrap_PyShape_Select
, METH_VARARGS
| METH_KEYWORDS
},
25926 { (char *)"PyShape_SetHighlight", (PyCFunction
) _wrap_PyShape_SetHighlight
, METH_VARARGS
| METH_KEYWORDS
},
25927 { (char *)"PyShape_IsHighlighted", (PyCFunction
) _wrap_PyShape_IsHighlighted
, METH_VARARGS
| METH_KEYWORDS
},
25928 { (char *)"PyShape_Selected", (PyCFunction
) _wrap_PyShape_Selected
, METH_VARARGS
| METH_KEYWORDS
},
25929 { (char *)"PyShape_AncestorSelected", (PyCFunction
) _wrap_PyShape_AncestorSelected
, METH_VARARGS
| METH_KEYWORDS
},
25930 { (char *)"PyShape_SetSensitivityFilter", (PyCFunction
) _wrap_PyShape_SetSensitivityFilter
, METH_VARARGS
| METH_KEYWORDS
},
25931 { (char *)"PyShape_GetSensitivityFilter", (PyCFunction
) _wrap_PyShape_GetSensitivityFilter
, METH_VARARGS
| METH_KEYWORDS
},
25932 { (char *)"PyShape_SetDraggable", (PyCFunction
) _wrap_PyShape_SetDraggable
, METH_VARARGS
| METH_KEYWORDS
},
25933 { (char *)"PyShape_SetFixedSize", (PyCFunction
) _wrap_PyShape_SetFixedSize
, METH_VARARGS
| METH_KEYWORDS
},
25934 { (char *)"PyShape_GetFixedSize", (PyCFunction
) _wrap_PyShape_GetFixedSize
, METH_VARARGS
| METH_KEYWORDS
},
25935 { (char *)"PyShape_GetFixedWidth", (PyCFunction
) _wrap_PyShape_GetFixedWidth
, METH_VARARGS
| METH_KEYWORDS
},
25936 { (char *)"PyShape_GetFixedHeight", (PyCFunction
) _wrap_PyShape_GetFixedHeight
, METH_VARARGS
| METH_KEYWORDS
},
25937 { (char *)"PyShape_SetSpaceAttachments", (PyCFunction
) _wrap_PyShape_SetSpaceAttachments
, METH_VARARGS
| METH_KEYWORDS
},
25938 { (char *)"PyShape_GetSpaceAttachments", (PyCFunction
) _wrap_PyShape_GetSpaceAttachments
, METH_VARARGS
| METH_KEYWORDS
},
25939 { (char *)"PyShape_SetShadowMode", (PyCFunction
) _wrap_PyShape_SetShadowMode
, METH_VARARGS
| METH_KEYWORDS
},
25940 { (char *)"PyShape_GetShadowMode", (PyCFunction
) _wrap_PyShape_GetShadowMode
, METH_VARARGS
| METH_KEYWORDS
},
25941 { (char *)"PyShape_HitTest", (PyCFunction
) _wrap_PyShape_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
25942 { (char *)"PyShape_SetCentreResize", (PyCFunction
) _wrap_PyShape_SetCentreResize
, METH_VARARGS
| METH_KEYWORDS
},
25943 { (char *)"PyShape_GetCentreResize", (PyCFunction
) _wrap_PyShape_GetCentreResize
, METH_VARARGS
| METH_KEYWORDS
},
25944 { (char *)"PyShape_SetMaintainAspectRatio", (PyCFunction
) _wrap_PyShape_SetMaintainAspectRatio
, METH_VARARGS
| METH_KEYWORDS
},
25945 { (char *)"PyShape_GetMaintainAspectRatio", (PyCFunction
) _wrap_PyShape_GetMaintainAspectRatio
, METH_VARARGS
| METH_KEYWORDS
},
25946 { (char *)"PyShape_GetLines", (PyCFunction
) _wrap_PyShape_GetLines
, METH_VARARGS
| METH_KEYWORDS
},
25947 { (char *)"PyShape_SetDisableLabel", (PyCFunction
) _wrap_PyShape_SetDisableLabel
, METH_VARARGS
| METH_KEYWORDS
},
25948 { (char *)"PyShape_GetDisableLabel", (PyCFunction
) _wrap_PyShape_GetDisableLabel
, METH_VARARGS
| METH_KEYWORDS
},
25949 { (char *)"PyShape_SetAttachmentMode", (PyCFunction
) _wrap_PyShape_SetAttachmentMode
, METH_VARARGS
| METH_KEYWORDS
},
25950 { (char *)"PyShape_GetAttachmentMode", (PyCFunction
) _wrap_PyShape_GetAttachmentMode
, METH_VARARGS
| METH_KEYWORDS
},
25951 { (char *)"PyShape_SetId", (PyCFunction
) _wrap_PyShape_SetId
, METH_VARARGS
| METH_KEYWORDS
},
25952 { (char *)"PyShape_GetId", (PyCFunction
) _wrap_PyShape_GetId
, METH_VARARGS
| METH_KEYWORDS
},
25953 { (char *)"PyShape_SetPen", (PyCFunction
) _wrap_PyShape_SetPen
, METH_VARARGS
| METH_KEYWORDS
},
25954 { (char *)"PyShape_SetBrush", (PyCFunction
) _wrap_PyShape_SetBrush
, METH_VARARGS
| METH_KEYWORDS
},
25955 { (char *)"PyShape_Show", (PyCFunction
) _wrap_PyShape_Show
, METH_VARARGS
| METH_KEYWORDS
},
25956 { (char *)"PyShape_IsShown", (PyCFunction
) _wrap_PyShape_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
25957 { (char *)"PyShape_Move", (PyCFunction
) _wrap_PyShape_Move
, METH_VARARGS
| METH_KEYWORDS
},
25958 { (char *)"PyShape_Erase", (PyCFunction
) _wrap_PyShape_Erase
, METH_VARARGS
| METH_KEYWORDS
},
25959 { (char *)"PyShape_EraseContents", (PyCFunction
) _wrap_PyShape_EraseContents
, METH_VARARGS
| METH_KEYWORDS
},
25960 { (char *)"PyShape_Draw", (PyCFunction
) _wrap_PyShape_Draw
, METH_VARARGS
| METH_KEYWORDS
},
25961 { (char *)"PyShape_Flash", (PyCFunction
) _wrap_PyShape_Flash
, METH_VARARGS
| METH_KEYWORDS
},
25962 { (char *)"PyShape_MoveLinks", (PyCFunction
) _wrap_PyShape_MoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
25963 { (char *)"PyShape_DrawContents", (PyCFunction
) _wrap_PyShape_DrawContents
, METH_VARARGS
| METH_KEYWORDS
},
25964 { (char *)"PyShape_SetSize", (PyCFunction
) _wrap_PyShape_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
25965 { (char *)"PyShape_SetAttachmentSize", (PyCFunction
) _wrap_PyShape_SetAttachmentSize
, METH_VARARGS
| METH_KEYWORDS
},
25966 { (char *)"PyShape_Attach", (PyCFunction
) _wrap_PyShape_Attach
, METH_VARARGS
| METH_KEYWORDS
},
25967 { (char *)"PyShape_Detach", (PyCFunction
) _wrap_PyShape_Detach
, METH_VARARGS
| METH_KEYWORDS
},
25968 { (char *)"PyShape_Constrain", (PyCFunction
) _wrap_PyShape_Constrain
, METH_VARARGS
| METH_KEYWORDS
},
25969 { (char *)"PyShape_AddLine", (PyCFunction
) _wrap_PyShape_AddLine
, METH_VARARGS
| METH_KEYWORDS
},
25970 { (char *)"PyShape_GetLinePosition", (PyCFunction
) _wrap_PyShape_GetLinePosition
, METH_VARARGS
| METH_KEYWORDS
},
25971 { (char *)"PyShape_AddText", (PyCFunction
) _wrap_PyShape_AddText
, METH_VARARGS
| METH_KEYWORDS
},
25972 { (char *)"PyShape_GetPen", (PyCFunction
) _wrap_PyShape_GetPen
, METH_VARARGS
| METH_KEYWORDS
},
25973 { (char *)"PyShape_GetBrush", (PyCFunction
) _wrap_PyShape_GetBrush
, METH_VARARGS
| METH_KEYWORDS
},
25974 { (char *)"PyShape_SetDefaultRegionSize", (PyCFunction
) _wrap_PyShape_SetDefaultRegionSize
, METH_VARARGS
| METH_KEYWORDS
},
25975 { (char *)"PyShape_FormatText", (PyCFunction
) _wrap_PyShape_FormatText
, METH_VARARGS
| METH_KEYWORDS
},
25976 { (char *)"PyShape_SetFormatMode", (PyCFunction
) _wrap_PyShape_SetFormatMode
, METH_VARARGS
| METH_KEYWORDS
},
25977 { (char *)"PyShape_GetFormatMode", (PyCFunction
) _wrap_PyShape_GetFormatMode
, METH_VARARGS
| METH_KEYWORDS
},
25978 { (char *)"PyShape_SetFont", (PyCFunction
) _wrap_PyShape_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
25979 { (char *)"PyShape_GetFont", (PyCFunction
) _wrap_PyShape_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
25980 { (char *)"PyShape_SetTextColour", (PyCFunction
) _wrap_PyShape_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
25981 { (char *)"PyShape_GetTextColour", (PyCFunction
) _wrap_PyShape_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
25982 { (char *)"PyShape_GetNumberOfTextRegions", (PyCFunction
) _wrap_PyShape_GetNumberOfTextRegions
, METH_VARARGS
| METH_KEYWORDS
},
25983 { (char *)"PyShape_SetRegionName", (PyCFunction
) _wrap_PyShape_SetRegionName
, METH_VARARGS
| METH_KEYWORDS
},
25984 { (char *)"PyShape_GetRegionName", (PyCFunction
) _wrap_PyShape_GetRegionName
, METH_VARARGS
| METH_KEYWORDS
},
25985 { (char *)"PyShape_GetRegionId", (PyCFunction
) _wrap_PyShape_GetRegionId
, METH_VARARGS
| METH_KEYWORDS
},
25986 { (char *)"PyShape_NameRegions", (PyCFunction
) _wrap_PyShape_NameRegions
, METH_VARARGS
| METH_KEYWORDS
},
25987 { (char *)"PyShape_GetRegions", (PyCFunction
) _wrap_PyShape_GetRegions
, METH_VARARGS
| METH_KEYWORDS
},
25988 { (char *)"PyShape_AddRegion", (PyCFunction
) _wrap_PyShape_AddRegion
, METH_VARARGS
| METH_KEYWORDS
},
25989 { (char *)"PyShape_ClearRegions", (PyCFunction
) _wrap_PyShape_ClearRegions
, METH_VARARGS
| METH_KEYWORDS
},
25990 { (char *)"PyShape_AssignNewIds", (PyCFunction
) _wrap_PyShape_AssignNewIds
, METH_VARARGS
| METH_KEYWORDS
},
25991 { (char *)"PyShape_FindRegion", (PyCFunction
) _wrap_PyShape_FindRegion
, METH_VARARGS
| METH_KEYWORDS
},
25992 { (char *)"PyShape_FindRegionNames", (PyCFunction
) _wrap_PyShape_FindRegionNames
, METH_VARARGS
| METH_KEYWORDS
},
25993 { (char *)"PyShape_ClearText", (PyCFunction
) _wrap_PyShape_ClearText
, METH_VARARGS
| METH_KEYWORDS
},
25994 { (char *)"PyShape_RemoveLine", (PyCFunction
) _wrap_PyShape_RemoveLine
, METH_VARARGS
| METH_KEYWORDS
},
25995 { (char *)"PyShape_GetAttachmentPosition", (PyCFunction
) _wrap_PyShape_GetAttachmentPosition
, METH_VARARGS
| METH_KEYWORDS
},
25996 { (char *)"PyShape_GetNumberOfAttachments", (PyCFunction
) _wrap_PyShape_GetNumberOfAttachments
, METH_VARARGS
| METH_KEYWORDS
},
25997 { (char *)"PyShape_AttachmentIsValid", (PyCFunction
) _wrap_PyShape_AttachmentIsValid
, METH_VARARGS
| METH_KEYWORDS
},
25998 { (char *)"PyShape_GetAttachmentPositionEdge", (PyCFunction
) _wrap_PyShape_GetAttachmentPositionEdge
, METH_VARARGS
| METH_KEYWORDS
},
25999 { (char *)"PyShape_CalcSimpleAttachment", (PyCFunction
) _wrap_PyShape_CalcSimpleAttachment
, METH_VARARGS
| METH_KEYWORDS
},
26000 { (char *)"PyShape_AttachmentSortTest", (PyCFunction
) _wrap_PyShape_AttachmentSortTest
, METH_VARARGS
| METH_KEYWORDS
},
26001 { (char *)"PyShape_EraseLinks", (PyCFunction
) _wrap_PyShape_EraseLinks
, METH_VARARGS
| METH_KEYWORDS
},
26002 { (char *)"PyShape_DrawLinks", (PyCFunction
) _wrap_PyShape_DrawLinks
, METH_VARARGS
| METH_KEYWORDS
},
26003 { (char *)"PyShape_MoveLineToNewAttachment", (PyCFunction
) _wrap_PyShape_MoveLineToNewAttachment
, METH_VARARGS
| METH_KEYWORDS
},
26004 { (char *)"PyShape_ApplyAttachmentOrdering", (PyCFunction
) _wrap_PyShape_ApplyAttachmentOrdering
, METH_VARARGS
| METH_KEYWORDS
},
26005 { (char *)"PyShape_GetBranchingAttachmentRoot", (PyCFunction
) _wrap_PyShape_GetBranchingAttachmentRoot
, METH_VARARGS
| METH_KEYWORDS
},
26006 { (char *)"PyShape_GetBranchingAttachmentInfo", (PyCFunction
) _wrap_PyShape_GetBranchingAttachmentInfo
, METH_VARARGS
| METH_KEYWORDS
},
26007 { (char *)"PyShape_GetBranchingAttachmentPoint", (PyCFunction
) _wrap_PyShape_GetBranchingAttachmentPoint
, METH_VARARGS
| METH_KEYWORDS
},
26008 { (char *)"PyShape_GetAttachmentLineCount", (PyCFunction
) _wrap_PyShape_GetAttachmentLineCount
, METH_VARARGS
| METH_KEYWORDS
},
26009 { (char *)"PyShape_SetBranchNeckLength", (PyCFunction
) _wrap_PyShape_SetBranchNeckLength
, METH_VARARGS
| METH_KEYWORDS
},
26010 { (char *)"PyShape_GetBranchNeckLength", (PyCFunction
) _wrap_PyShape_GetBranchNeckLength
, METH_VARARGS
| METH_KEYWORDS
},
26011 { (char *)"PyShape_SetBranchStemLength", (PyCFunction
) _wrap_PyShape_SetBranchStemLength
, METH_VARARGS
| METH_KEYWORDS
},
26012 { (char *)"PyShape_GetBranchStemLength", (PyCFunction
) _wrap_PyShape_GetBranchStemLength
, METH_VARARGS
| METH_KEYWORDS
},
26013 { (char *)"PyShape_SetBranchSpacing", (PyCFunction
) _wrap_PyShape_SetBranchSpacing
, METH_VARARGS
| METH_KEYWORDS
},
26014 { (char *)"PyShape_GetBranchSpacing", (PyCFunction
) _wrap_PyShape_GetBranchSpacing
, METH_VARARGS
| METH_KEYWORDS
},
26015 { (char *)"PyShape_SetBranchStyle", (PyCFunction
) _wrap_PyShape_SetBranchStyle
, METH_VARARGS
| METH_KEYWORDS
},
26016 { (char *)"PyShape_GetBranchStyle", (PyCFunction
) _wrap_PyShape_GetBranchStyle
, METH_VARARGS
| METH_KEYWORDS
},
26017 { (char *)"PyShape_PhysicalToLogicalAttachment", (PyCFunction
) _wrap_PyShape_PhysicalToLogicalAttachment
, METH_VARARGS
| METH_KEYWORDS
},
26018 { (char *)"PyShape_LogicalToPhysicalAttachment", (PyCFunction
) _wrap_PyShape_LogicalToPhysicalAttachment
, METH_VARARGS
| METH_KEYWORDS
},
26019 { (char *)"PyShape_Draggable", (PyCFunction
) _wrap_PyShape_Draggable
, METH_VARARGS
| METH_KEYWORDS
},
26020 { (char *)"PyShape_HasDescendant", (PyCFunction
) _wrap_PyShape_HasDescendant
, METH_VARARGS
| METH_KEYWORDS
},
26021 { (char *)"PyShape_CreateNewCopy", (PyCFunction
) _wrap_PyShape_CreateNewCopy
, METH_VARARGS
| METH_KEYWORDS
},
26022 { (char *)"PyShape_Copy", (PyCFunction
) _wrap_PyShape_Copy
, METH_VARARGS
| METH_KEYWORDS
},
26023 { (char *)"PyShape_CopyWithHandler", (PyCFunction
) _wrap_PyShape_CopyWithHandler
, METH_VARARGS
| METH_KEYWORDS
},
26024 { (char *)"PyShape_Rotate", (PyCFunction
) _wrap_PyShape_Rotate
, METH_VARARGS
| METH_KEYWORDS
},
26025 { (char *)"PyShape_GetRotation", (PyCFunction
) _wrap_PyShape_GetRotation
, METH_VARARGS
| METH_KEYWORDS
},
26026 { (char *)"PyShape_ClearAttachments", (PyCFunction
) _wrap_PyShape_ClearAttachments
, METH_VARARGS
| METH_KEYWORDS
},
26027 { (char *)"PyShape_Recentre", (PyCFunction
) _wrap_PyShape_Recentre
, METH_VARARGS
| METH_KEYWORDS
},
26028 { (char *)"PyShape_ClearPointList", (PyCFunction
) _wrap_PyShape_ClearPointList
, METH_VARARGS
| METH_KEYWORDS
},
26029 { (char *)"PyShape_GetBackgroundPen", (PyCFunction
) _wrap_PyShape_GetBackgroundPen
, METH_VARARGS
| METH_KEYWORDS
},
26030 { (char *)"PyShape_GetBackgroundBrush", (PyCFunction
) _wrap_PyShape_GetBackgroundBrush
, METH_VARARGS
| METH_KEYWORDS
},
26031 { (char *)"PyShape_base_OnDelete", (PyCFunction
) _wrap_PyShape_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
},
26032 { (char *)"PyShape_base_OnDraw", (PyCFunction
) _wrap_PyShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
26033 { (char *)"PyShape_base_OnDrawContents", (PyCFunction
) _wrap_PyShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
26034 { (char *)"PyShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
26035 { (char *)"PyShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
26036 { (char *)"PyShape_base_OnErase", (PyCFunction
) _wrap_PyShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
26037 { (char *)"PyShape_base_OnEraseContents", (PyCFunction
) _wrap_PyShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
26038 { (char *)"PyShape_base_OnHighlight", (PyCFunction
) _wrap_PyShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
26039 { (char *)"PyShape_base_OnLeftClick", (PyCFunction
) _wrap_PyShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
26040 { (char *)"PyShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
26041 { (char *)"PyShape_base_OnRightClick", (PyCFunction
) _wrap_PyShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
26042 { (char *)"PyShape_base_OnSize", (PyCFunction
) _wrap_PyShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
26043 { (char *)"PyShape_base_OnMovePre", (PyCFunction
) _wrap_PyShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
26044 { (char *)"PyShape_base_OnMovePost", (PyCFunction
) _wrap_PyShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
26045 { (char *)"PyShape_base_OnDragLeft", (PyCFunction
) _wrap_PyShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26046 { (char *)"PyShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26047 { (char *)"PyShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26048 { (char *)"PyShape_base_OnDragRight", (PyCFunction
) _wrap_PyShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26049 { (char *)"PyShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26050 { (char *)"PyShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26051 { (char *)"PyShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
26052 { (char *)"PyShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
26053 { (char *)"PyShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
26054 { (char *)"PyShape_base_OnMoveLink", (PyCFunction
) _wrap_PyShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
26055 { (char *)"PyShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26056 { (char *)"PyShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26057 { (char *)"PyShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26058 { (char *)"PyShape_base_OnBeginSize", (PyCFunction
) _wrap_PyShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
26059 { (char *)"PyShape_base_OnEndSize", (PyCFunction
) _wrap_PyShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
26060 { (char *)"PyShape_swigregister", PyShape_swigregister
, METH_VARARGS
},
26061 { (char *)"new_PseudoMetaFile", (PyCFunction
) _wrap_new_PseudoMetaFile
, METH_VARARGS
| METH_KEYWORDS
},
26062 { (char *)"delete_PseudoMetaFile", (PyCFunction
) _wrap_delete_PseudoMetaFile
, METH_VARARGS
| METH_KEYWORDS
},
26063 { (char *)"PseudoMetaFile_Draw", (PyCFunction
) _wrap_PseudoMetaFile_Draw
, METH_VARARGS
| METH_KEYWORDS
},
26064 { (char *)"PseudoMetaFile_Clear", (PyCFunction
) _wrap_PseudoMetaFile_Clear
, METH_VARARGS
| METH_KEYWORDS
},
26065 { (char *)"PseudoMetaFile_Copy", (PyCFunction
) _wrap_PseudoMetaFile_Copy
, METH_VARARGS
| METH_KEYWORDS
},
26066 { (char *)"PseudoMetaFile_Scale", (PyCFunction
) _wrap_PseudoMetaFile_Scale
, METH_VARARGS
| METH_KEYWORDS
},
26067 { (char *)"PseudoMetaFile_ScaleTo", (PyCFunction
) _wrap_PseudoMetaFile_ScaleTo
, METH_VARARGS
| METH_KEYWORDS
},
26068 { (char *)"PseudoMetaFile_Translate", (PyCFunction
) _wrap_PseudoMetaFile_Translate
, METH_VARARGS
| METH_KEYWORDS
},
26069 { (char *)"PseudoMetaFile_Rotate", (PyCFunction
) _wrap_PseudoMetaFile_Rotate
, METH_VARARGS
| METH_KEYWORDS
},
26070 { (char *)"PseudoMetaFile_LoadFromMetaFile", (PyCFunction
) _wrap_PseudoMetaFile_LoadFromMetaFile
, METH_VARARGS
| METH_KEYWORDS
},
26071 { (char *)"PseudoMetaFile_GetBounds", (PyCFunction
) _wrap_PseudoMetaFile_GetBounds
, METH_VARARGS
| METH_KEYWORDS
},
26072 { (char *)"PseudoMetaFile_CalculateSize", (PyCFunction
) _wrap_PseudoMetaFile_CalculateSize
, METH_VARARGS
| METH_KEYWORDS
},
26073 { (char *)"PseudoMetaFile_SetRotateable", (PyCFunction
) _wrap_PseudoMetaFile_SetRotateable
, METH_VARARGS
| METH_KEYWORDS
},
26074 { (char *)"PseudoMetaFile_GetRotateable", (PyCFunction
) _wrap_PseudoMetaFile_GetRotateable
, METH_VARARGS
| METH_KEYWORDS
},
26075 { (char *)"PseudoMetaFile_SetSize", (PyCFunction
) _wrap_PseudoMetaFile_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
26076 { (char *)"PseudoMetaFile_SetFillBrush", (PyCFunction
) _wrap_PseudoMetaFile_SetFillBrush
, METH_VARARGS
| METH_KEYWORDS
},
26077 { (char *)"PseudoMetaFile_GetFillBrush", (PyCFunction
) _wrap_PseudoMetaFile_GetFillBrush
, METH_VARARGS
| METH_KEYWORDS
},
26078 { (char *)"PseudoMetaFile_SetOutlinePen", (PyCFunction
) _wrap_PseudoMetaFile_SetOutlinePen
, METH_VARARGS
| METH_KEYWORDS
},
26079 { (char *)"PseudoMetaFile_GetOutlinePen", (PyCFunction
) _wrap_PseudoMetaFile_GetOutlinePen
, METH_VARARGS
| METH_KEYWORDS
},
26080 { (char *)"PseudoMetaFile_SetOutlineOp", (PyCFunction
) _wrap_PseudoMetaFile_SetOutlineOp
, METH_VARARGS
| METH_KEYWORDS
},
26081 { (char *)"PseudoMetaFile_GetOutlineOp", (PyCFunction
) _wrap_PseudoMetaFile_GetOutlineOp
, METH_VARARGS
| METH_KEYWORDS
},
26082 { (char *)"PseudoMetaFile_IsValid", (PyCFunction
) _wrap_PseudoMetaFile_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
26083 { (char *)"PseudoMetaFile_DrawLine", (PyCFunction
) _wrap_PseudoMetaFile_DrawLine
, METH_VARARGS
| METH_KEYWORDS
},
26084 { (char *)"PseudoMetaFile_DrawRectangle", (PyCFunction
) _wrap_PseudoMetaFile_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
},
26085 { (char *)"PseudoMetaFile_DrawRoundedRectangle", (PyCFunction
) _wrap_PseudoMetaFile_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
},
26086 { (char *)"PseudoMetaFile_DrawArc", (PyCFunction
) _wrap_PseudoMetaFile_DrawArc
, METH_VARARGS
| METH_KEYWORDS
},
26087 { (char *)"PseudoMetaFile_DrawEllipticArc", (PyCFunction
) _wrap_PseudoMetaFile_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
},
26088 { (char *)"PseudoMetaFile_DrawEllipse", (PyCFunction
) _wrap_PseudoMetaFile_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
},
26089 { (char *)"PseudoMetaFile_DrawPoint", (PyCFunction
) _wrap_PseudoMetaFile_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
},
26090 { (char *)"PseudoMetaFile_DrawText", (PyCFunction
) _wrap_PseudoMetaFile_DrawText
, METH_VARARGS
| METH_KEYWORDS
},
26091 { (char *)"PseudoMetaFile_DrawLines", (PyCFunction
) _wrap_PseudoMetaFile_DrawLines
, METH_VARARGS
| METH_KEYWORDS
},
26092 { (char *)"PseudoMetaFile_DrawPolygon", (PyCFunction
) _wrap_PseudoMetaFile_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
},
26093 { (char *)"PseudoMetaFile_DrawSpline", (PyCFunction
) _wrap_PseudoMetaFile_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
},
26094 { (char *)"PseudoMetaFile_SetClippingRect", (PyCFunction
) _wrap_PseudoMetaFile_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
},
26095 { (char *)"PseudoMetaFile_DestroyClippingRect", (PyCFunction
) _wrap_PseudoMetaFile_DestroyClippingRect
, METH_VARARGS
| METH_KEYWORDS
},
26096 { (char *)"PseudoMetaFile_SetPen", (PyCFunction
) _wrap_PseudoMetaFile_SetPen
, METH_VARARGS
| METH_KEYWORDS
},
26097 { (char *)"PseudoMetaFile_SetBrush", (PyCFunction
) _wrap_PseudoMetaFile_SetBrush
, METH_VARARGS
| METH_KEYWORDS
},
26098 { (char *)"PseudoMetaFile_SetFont", (PyCFunction
) _wrap_PseudoMetaFile_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
26099 { (char *)"PseudoMetaFile_SetTextColour", (PyCFunction
) _wrap_PseudoMetaFile_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
26100 { (char *)"PseudoMetaFile_SetBackgroundColour", (PyCFunction
) _wrap_PseudoMetaFile_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
26101 { (char *)"PseudoMetaFile_SetBackgroundMode", (PyCFunction
) _wrap_PseudoMetaFile_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
},
26102 { (char *)"PseudoMetaFile_swigregister", PseudoMetaFile_swigregister
, METH_VARARGS
},
26103 { (char *)"new_PyRectangleShape", (PyCFunction
) _wrap_new_PyRectangleShape
, METH_VARARGS
| METH_KEYWORDS
},
26104 { (char *)"PyRectangleShape__setCallbackInfo", (PyCFunction
) _wrap_PyRectangleShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
26105 { (char *)"PyRectangleShape_SetCornerRadius", (PyCFunction
) _wrap_PyRectangleShape_SetCornerRadius
, METH_VARARGS
| METH_KEYWORDS
},
26106 { (char *)"PyRectangleShape_base_OnDelete", (PyCFunction
) _wrap_PyRectangleShape_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
},
26107 { (char *)"PyRectangleShape_base_OnDraw", (PyCFunction
) _wrap_PyRectangleShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
26108 { (char *)"PyRectangleShape_base_OnDrawContents", (PyCFunction
) _wrap_PyRectangleShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
26109 { (char *)"PyRectangleShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyRectangleShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
26110 { (char *)"PyRectangleShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyRectangleShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
26111 { (char *)"PyRectangleShape_base_OnErase", (PyCFunction
) _wrap_PyRectangleShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
26112 { (char *)"PyRectangleShape_base_OnEraseContents", (PyCFunction
) _wrap_PyRectangleShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
26113 { (char *)"PyRectangleShape_base_OnHighlight", (PyCFunction
) _wrap_PyRectangleShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
26114 { (char *)"PyRectangleShape_base_OnLeftClick", (PyCFunction
) _wrap_PyRectangleShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
26115 { (char *)"PyRectangleShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyRectangleShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
26116 { (char *)"PyRectangleShape_base_OnRightClick", (PyCFunction
) _wrap_PyRectangleShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
26117 { (char *)"PyRectangleShape_base_OnSize", (PyCFunction
) _wrap_PyRectangleShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
26118 { (char *)"PyRectangleShape_base_OnMovePre", (PyCFunction
) _wrap_PyRectangleShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
26119 { (char *)"PyRectangleShape_base_OnMovePost", (PyCFunction
) _wrap_PyRectangleShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
26120 { (char *)"PyRectangleShape_base_OnDragLeft", (PyCFunction
) _wrap_PyRectangleShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26121 { (char *)"PyRectangleShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyRectangleShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26122 { (char *)"PyRectangleShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyRectangleShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26123 { (char *)"PyRectangleShape_base_OnDragRight", (PyCFunction
) _wrap_PyRectangleShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26124 { (char *)"PyRectangleShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyRectangleShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26125 { (char *)"PyRectangleShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyRectangleShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26126 { (char *)"PyRectangleShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyRectangleShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
26127 { (char *)"PyRectangleShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyRectangleShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
26128 { (char *)"PyRectangleShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyRectangleShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
26129 { (char *)"PyRectangleShape_base_OnMoveLink", (PyCFunction
) _wrap_PyRectangleShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
26130 { (char *)"PyRectangleShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyRectangleShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26131 { (char *)"PyRectangleShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyRectangleShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26132 { (char *)"PyRectangleShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyRectangleShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26133 { (char *)"PyRectangleShape_base_OnBeginSize", (PyCFunction
) _wrap_PyRectangleShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
26134 { (char *)"PyRectangleShape_base_OnEndSize", (PyCFunction
) _wrap_PyRectangleShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
26135 { (char *)"PyRectangleShape_swigregister", PyRectangleShape_swigregister
, METH_VARARGS
},
26136 { (char *)"new_PyControlPoint", (PyCFunction
) _wrap_new_PyControlPoint
, METH_VARARGS
| METH_KEYWORDS
},
26137 { (char *)"PyControlPoint__setCallbackInfo", (PyCFunction
) _wrap_PyControlPoint__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
26138 { (char *)"PyControlPoint_SetCornerRadius", (PyCFunction
) _wrap_PyControlPoint_SetCornerRadius
, METH_VARARGS
| METH_KEYWORDS
},
26139 { (char *)"PyControlPoint_base_OnDelete", (PyCFunction
) _wrap_PyControlPoint_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
},
26140 { (char *)"PyControlPoint_base_OnDraw", (PyCFunction
) _wrap_PyControlPoint_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
26141 { (char *)"PyControlPoint_base_OnDrawContents", (PyCFunction
) _wrap_PyControlPoint_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
26142 { (char *)"PyControlPoint_base_OnDrawBranches", (PyCFunction
) _wrap_PyControlPoint_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
26143 { (char *)"PyControlPoint_base_OnMoveLinks", (PyCFunction
) _wrap_PyControlPoint_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
26144 { (char *)"PyControlPoint_base_OnErase", (PyCFunction
) _wrap_PyControlPoint_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
26145 { (char *)"PyControlPoint_base_OnEraseContents", (PyCFunction
) _wrap_PyControlPoint_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
26146 { (char *)"PyControlPoint_base_OnHighlight", (PyCFunction
) _wrap_PyControlPoint_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
26147 { (char *)"PyControlPoint_base_OnLeftClick", (PyCFunction
) _wrap_PyControlPoint_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
26148 { (char *)"PyControlPoint_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyControlPoint_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
26149 { (char *)"PyControlPoint_base_OnRightClick", (PyCFunction
) _wrap_PyControlPoint_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
26150 { (char *)"PyControlPoint_base_OnSize", (PyCFunction
) _wrap_PyControlPoint_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
26151 { (char *)"PyControlPoint_base_OnMovePre", (PyCFunction
) _wrap_PyControlPoint_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
26152 { (char *)"PyControlPoint_base_OnMovePost", (PyCFunction
) _wrap_PyControlPoint_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
26153 { (char *)"PyControlPoint_base_OnDragLeft", (PyCFunction
) _wrap_PyControlPoint_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26154 { (char *)"PyControlPoint_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyControlPoint_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26155 { (char *)"PyControlPoint_base_OnEndDragLeft", (PyCFunction
) _wrap_PyControlPoint_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26156 { (char *)"PyControlPoint_base_OnDragRight", (PyCFunction
) _wrap_PyControlPoint_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26157 { (char *)"PyControlPoint_base_OnBeginDragRight", (PyCFunction
) _wrap_PyControlPoint_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26158 { (char *)"PyControlPoint_base_OnEndDragRight", (PyCFunction
) _wrap_PyControlPoint_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26159 { (char *)"PyControlPoint_base_OnDrawOutline", (PyCFunction
) _wrap_PyControlPoint_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
26160 { (char *)"PyControlPoint_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyControlPoint_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
26161 { (char *)"PyControlPoint_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyControlPoint_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
26162 { (char *)"PyControlPoint_base_OnMoveLink", (PyCFunction
) _wrap_PyControlPoint_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
26163 { (char *)"PyControlPoint_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyControlPoint_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26164 { (char *)"PyControlPoint_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyControlPoint_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26165 { (char *)"PyControlPoint_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyControlPoint_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26166 { (char *)"PyControlPoint_base_OnBeginSize", (PyCFunction
) _wrap_PyControlPoint_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
26167 { (char *)"PyControlPoint_base_OnEndSize", (PyCFunction
) _wrap_PyControlPoint_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
26168 { (char *)"PyControlPoint_swigregister", PyControlPoint_swigregister
, METH_VARARGS
},
26169 { (char *)"new_PyBitmapShape", (PyCFunction
) _wrap_new_PyBitmapShape
, METH_VARARGS
| METH_KEYWORDS
},
26170 { (char *)"PyBitmapShape__setCallbackInfo", (PyCFunction
) _wrap_PyBitmapShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
26171 { (char *)"PyBitmapShape_GetBitmap", (PyCFunction
) _wrap_PyBitmapShape_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
26172 { (char *)"PyBitmapShape_GetFilename", (PyCFunction
) _wrap_PyBitmapShape_GetFilename
, METH_VARARGS
| METH_KEYWORDS
},
26173 { (char *)"PyBitmapShape_SetBitmap", (PyCFunction
) _wrap_PyBitmapShape_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
26174 { (char *)"PyBitmapShape_SetFilename", (PyCFunction
) _wrap_PyBitmapShape_SetFilename
, METH_VARARGS
| METH_KEYWORDS
},
26175 { (char *)"PyBitmapShape_base_OnDelete", (PyCFunction
) _wrap_PyBitmapShape_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
},
26176 { (char *)"PyBitmapShape_base_OnDraw", (PyCFunction
) _wrap_PyBitmapShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
26177 { (char *)"PyBitmapShape_base_OnDrawContents", (PyCFunction
) _wrap_PyBitmapShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
26178 { (char *)"PyBitmapShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyBitmapShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
26179 { (char *)"PyBitmapShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyBitmapShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
26180 { (char *)"PyBitmapShape_base_OnErase", (PyCFunction
) _wrap_PyBitmapShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
26181 { (char *)"PyBitmapShape_base_OnEraseContents", (PyCFunction
) _wrap_PyBitmapShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
26182 { (char *)"PyBitmapShape_base_OnHighlight", (PyCFunction
) _wrap_PyBitmapShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
26183 { (char *)"PyBitmapShape_base_OnLeftClick", (PyCFunction
) _wrap_PyBitmapShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
26184 { (char *)"PyBitmapShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyBitmapShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
26185 { (char *)"PyBitmapShape_base_OnRightClick", (PyCFunction
) _wrap_PyBitmapShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
26186 { (char *)"PyBitmapShape_base_OnSize", (PyCFunction
) _wrap_PyBitmapShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
26187 { (char *)"PyBitmapShape_base_OnMovePre", (PyCFunction
) _wrap_PyBitmapShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
26188 { (char *)"PyBitmapShape_base_OnMovePost", (PyCFunction
) _wrap_PyBitmapShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
26189 { (char *)"PyBitmapShape_base_OnDragLeft", (PyCFunction
) _wrap_PyBitmapShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26190 { (char *)"PyBitmapShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyBitmapShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26191 { (char *)"PyBitmapShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyBitmapShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26192 { (char *)"PyBitmapShape_base_OnDragRight", (PyCFunction
) _wrap_PyBitmapShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26193 { (char *)"PyBitmapShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyBitmapShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26194 { (char *)"PyBitmapShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyBitmapShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26195 { (char *)"PyBitmapShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyBitmapShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
26196 { (char *)"PyBitmapShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyBitmapShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
26197 { (char *)"PyBitmapShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyBitmapShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
26198 { (char *)"PyBitmapShape_base_OnMoveLink", (PyCFunction
) _wrap_PyBitmapShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
26199 { (char *)"PyBitmapShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyBitmapShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26200 { (char *)"PyBitmapShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyBitmapShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26201 { (char *)"PyBitmapShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyBitmapShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26202 { (char *)"PyBitmapShape_base_OnBeginSize", (PyCFunction
) _wrap_PyBitmapShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
26203 { (char *)"PyBitmapShape_base_OnEndSize", (PyCFunction
) _wrap_PyBitmapShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
26204 { (char *)"PyBitmapShape_swigregister", PyBitmapShape_swigregister
, METH_VARARGS
},
26205 { (char *)"new_PyDrawnShape", (PyCFunction
) _wrap_new_PyDrawnShape
, METH_VARARGS
| METH_KEYWORDS
},
26206 { (char *)"PyDrawnShape__setCallbackInfo", (PyCFunction
) _wrap_PyDrawnShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
26207 { (char *)"PyDrawnShape_CalculateSize", (PyCFunction
) _wrap_PyDrawnShape_CalculateSize
, METH_VARARGS
| METH_KEYWORDS
},
26208 { (char *)"PyDrawnShape_DestroyClippingRect", (PyCFunction
) _wrap_PyDrawnShape_DestroyClippingRect
, METH_VARARGS
| METH_KEYWORDS
},
26209 { (char *)"PyDrawnShape_DrawArc", (PyCFunction
) _wrap_PyDrawnShape_DrawArc
, METH_VARARGS
| METH_KEYWORDS
},
26210 { (char *)"PyDrawnShape_DrawAtAngle", (PyCFunction
) _wrap_PyDrawnShape_DrawAtAngle
, METH_VARARGS
| METH_KEYWORDS
},
26211 { (char *)"PyDrawnShape_DrawEllipticArc", (PyCFunction
) _wrap_PyDrawnShape_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
},
26212 { (char *)"PyDrawnShape_DrawLine", (PyCFunction
) _wrap_PyDrawnShape_DrawLine
, METH_VARARGS
| METH_KEYWORDS
},
26213 { (char *)"PyDrawnShape_DrawLines", (PyCFunction
) _wrap_PyDrawnShape_DrawLines
, METH_VARARGS
| METH_KEYWORDS
},
26214 { (char *)"PyDrawnShape_DrawPoint", (PyCFunction
) _wrap_PyDrawnShape_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
},
26215 { (char *)"PyDrawnShape_DrawPolygon", (PyCFunction
) _wrap_PyDrawnShape_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
},
26216 { (char *)"PyDrawnShape_DrawRectangle", (PyCFunction
) _wrap_PyDrawnShape_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
},
26217 { (char *)"PyDrawnShape_DrawRoundedRectangle", (PyCFunction
) _wrap_PyDrawnShape_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
},
26218 { (char *)"PyDrawnShape_DrawSpline", (PyCFunction
) _wrap_PyDrawnShape_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
},
26219 { (char *)"PyDrawnShape_DrawText", (PyCFunction
) _wrap_PyDrawnShape_DrawText
, METH_VARARGS
| METH_KEYWORDS
},
26220 { (char *)"PyDrawnShape_GetAngle", (PyCFunction
) _wrap_PyDrawnShape_GetAngle
, METH_VARARGS
| METH_KEYWORDS
},
26221 { (char *)"PyDrawnShape_GetMetaFile", (PyCFunction
) _wrap_PyDrawnShape_GetMetaFile
, METH_VARARGS
| METH_KEYWORDS
},
26222 { (char *)"PyDrawnShape_GetRotation", (PyCFunction
) _wrap_PyDrawnShape_GetRotation
, METH_VARARGS
| METH_KEYWORDS
},
26223 { (char *)"PyDrawnShape_LoadFromMetaFile", (PyCFunction
) _wrap_PyDrawnShape_LoadFromMetaFile
, METH_VARARGS
| METH_KEYWORDS
},
26224 { (char *)"PyDrawnShape_Rotate", (PyCFunction
) _wrap_PyDrawnShape_Rotate
, METH_VARARGS
| METH_KEYWORDS
},
26225 { (char *)"PyDrawnShape_SetClippingRect", (PyCFunction
) _wrap_PyDrawnShape_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
},
26226 { (char *)"PyDrawnShape_SetDrawnBackgroundColour", (PyCFunction
) _wrap_PyDrawnShape_SetDrawnBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
26227 { (char *)"PyDrawnShape_SetDrawnBackgroundMode", (PyCFunction
) _wrap_PyDrawnShape_SetDrawnBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
},
26228 { (char *)"PyDrawnShape_SetDrawnBrush", (PyCFunction
) _wrap_PyDrawnShape_SetDrawnBrush
, METH_VARARGS
| METH_KEYWORDS
},
26229 { (char *)"PyDrawnShape_SetDrawnFont", (PyCFunction
) _wrap_PyDrawnShape_SetDrawnFont
, METH_VARARGS
| METH_KEYWORDS
},
26230 { (char *)"PyDrawnShape_SetDrawnPen", (PyCFunction
) _wrap_PyDrawnShape_SetDrawnPen
, METH_VARARGS
| METH_KEYWORDS
},
26231 { (char *)"PyDrawnShape_SetDrawnTextColour", (PyCFunction
) _wrap_PyDrawnShape_SetDrawnTextColour
, METH_VARARGS
| METH_KEYWORDS
},
26232 { (char *)"PyDrawnShape_Scale", (PyCFunction
) _wrap_PyDrawnShape_Scale
, METH_VARARGS
| METH_KEYWORDS
},
26233 { (char *)"PyDrawnShape_SetSaveToFile", (PyCFunction
) _wrap_PyDrawnShape_SetSaveToFile
, METH_VARARGS
| METH_KEYWORDS
},
26234 { (char *)"PyDrawnShape_Translate", (PyCFunction
) _wrap_PyDrawnShape_Translate
, METH_VARARGS
| METH_KEYWORDS
},
26235 { (char *)"PyDrawnShape_base_OnDelete", (PyCFunction
) _wrap_PyDrawnShape_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
},
26236 { (char *)"PyDrawnShape_base_OnDraw", (PyCFunction
) _wrap_PyDrawnShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
26237 { (char *)"PyDrawnShape_base_OnDrawContents", (PyCFunction
) _wrap_PyDrawnShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
26238 { (char *)"PyDrawnShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyDrawnShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
26239 { (char *)"PyDrawnShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyDrawnShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
26240 { (char *)"PyDrawnShape_base_OnErase", (PyCFunction
) _wrap_PyDrawnShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
26241 { (char *)"PyDrawnShape_base_OnEraseContents", (PyCFunction
) _wrap_PyDrawnShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
26242 { (char *)"PyDrawnShape_base_OnHighlight", (PyCFunction
) _wrap_PyDrawnShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
26243 { (char *)"PyDrawnShape_base_OnLeftClick", (PyCFunction
) _wrap_PyDrawnShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
26244 { (char *)"PyDrawnShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyDrawnShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
26245 { (char *)"PyDrawnShape_base_OnRightClick", (PyCFunction
) _wrap_PyDrawnShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
26246 { (char *)"PyDrawnShape_base_OnSize", (PyCFunction
) _wrap_PyDrawnShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
26247 { (char *)"PyDrawnShape_base_OnMovePre", (PyCFunction
) _wrap_PyDrawnShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
26248 { (char *)"PyDrawnShape_base_OnMovePost", (PyCFunction
) _wrap_PyDrawnShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
26249 { (char *)"PyDrawnShape_base_OnDragLeft", (PyCFunction
) _wrap_PyDrawnShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26250 { (char *)"PyDrawnShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyDrawnShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26251 { (char *)"PyDrawnShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyDrawnShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26252 { (char *)"PyDrawnShape_base_OnDragRight", (PyCFunction
) _wrap_PyDrawnShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26253 { (char *)"PyDrawnShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyDrawnShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26254 { (char *)"PyDrawnShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyDrawnShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26255 { (char *)"PyDrawnShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyDrawnShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
26256 { (char *)"PyDrawnShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyDrawnShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
26257 { (char *)"PyDrawnShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyDrawnShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
26258 { (char *)"PyDrawnShape_base_OnMoveLink", (PyCFunction
) _wrap_PyDrawnShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
26259 { (char *)"PyDrawnShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyDrawnShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26260 { (char *)"PyDrawnShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyDrawnShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26261 { (char *)"PyDrawnShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyDrawnShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26262 { (char *)"PyDrawnShape_base_OnBeginSize", (PyCFunction
) _wrap_PyDrawnShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
26263 { (char *)"PyDrawnShape_base_OnEndSize", (PyCFunction
) _wrap_PyDrawnShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
26264 { (char *)"PyDrawnShape_swigregister", PyDrawnShape_swigregister
, METH_VARARGS
},
26265 { (char *)"new_OGLConstraint", (PyCFunction
) _wrap_new_OGLConstraint
, METH_VARARGS
| METH_KEYWORDS
},
26266 { (char *)"OGLConstraint_Evaluate", (PyCFunction
) _wrap_OGLConstraint_Evaluate
, METH_VARARGS
| METH_KEYWORDS
},
26267 { (char *)"OGLConstraint_SetSpacing", (PyCFunction
) _wrap_OGLConstraint_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
26268 { (char *)"OGLConstraint_Equals", (PyCFunction
) _wrap_OGLConstraint_Equals
, METH_VARARGS
| METH_KEYWORDS
},
26269 { (char *)"OGLConstraint_swigregister", OGLConstraint_swigregister
, METH_VARARGS
},
26270 { (char *)"new_PyCompositeShape", (PyCFunction
) _wrap_new_PyCompositeShape
, METH_VARARGS
| METH_KEYWORDS
},
26271 { (char *)"PyCompositeShape__setCallbackInfo", (PyCFunction
) _wrap_PyCompositeShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
26272 { (char *)"PyCompositeShape_AddChild", (PyCFunction
) _wrap_PyCompositeShape_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
26273 { (char *)"PyCompositeShape_AddConstraint", (PyCFunction
) _wrap_PyCompositeShape_AddConstraint
, METH_VARARGS
| METH_KEYWORDS
},
26274 { (char *)"PyCompositeShape_AddConstrainedShapes", (PyCFunction
) _wrap_PyCompositeShape_AddConstrainedShapes
, METH_VARARGS
| METH_KEYWORDS
},
26275 { (char *)"PyCompositeShape_AddSimpleConstraint", (PyCFunction
) _wrap_PyCompositeShape_AddSimpleConstraint
, METH_VARARGS
| METH_KEYWORDS
},
26276 { (char *)"PyCompositeShape_CalculateSize", (PyCFunction
) _wrap_PyCompositeShape_CalculateSize
, METH_VARARGS
| METH_KEYWORDS
},
26277 { (char *)"PyCompositeShape_ContainsDivision", (PyCFunction
) _wrap_PyCompositeShape_ContainsDivision
, METH_VARARGS
| METH_KEYWORDS
},
26278 { (char *)"PyCompositeShape_DeleteConstraint", (PyCFunction
) _wrap_PyCompositeShape_DeleteConstraint
, METH_VARARGS
| METH_KEYWORDS
},
26279 { (char *)"PyCompositeShape_DeleteConstraintsInvolvingChild", (PyCFunction
) _wrap_PyCompositeShape_DeleteConstraintsInvolvingChild
, METH_VARARGS
| METH_KEYWORDS
},
26280 { (char *)"PyCompositeShape_FindContainerImage", (PyCFunction
) _wrap_PyCompositeShape_FindContainerImage
, METH_VARARGS
| METH_KEYWORDS
},
26281 { (char *)"PyCompositeShape_GetConstraints", (PyCFunction
) _wrap_PyCompositeShape_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
26282 { (char *)"PyCompositeShape_GetDivisions", (PyCFunction
) _wrap_PyCompositeShape_GetDivisions
, METH_VARARGS
| METH_KEYWORDS
},
26283 { (char *)"PyCompositeShape_MakeContainer", (PyCFunction
) _wrap_PyCompositeShape_MakeContainer
, METH_VARARGS
| METH_KEYWORDS
},
26284 { (char *)"PyCompositeShape_Recompute", (PyCFunction
) _wrap_PyCompositeShape_Recompute
, METH_VARARGS
| METH_KEYWORDS
},
26285 { (char *)"PyCompositeShape_RemoveChild", (PyCFunction
) _wrap_PyCompositeShape_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
26286 { (char *)"PyCompositeShape_base_OnDelete", (PyCFunction
) _wrap_PyCompositeShape_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
},
26287 { (char *)"PyCompositeShape_base_OnDraw", (PyCFunction
) _wrap_PyCompositeShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
26288 { (char *)"PyCompositeShape_base_OnDrawContents", (PyCFunction
) _wrap_PyCompositeShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
26289 { (char *)"PyCompositeShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyCompositeShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
26290 { (char *)"PyCompositeShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyCompositeShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
26291 { (char *)"PyCompositeShape_base_OnErase", (PyCFunction
) _wrap_PyCompositeShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
26292 { (char *)"PyCompositeShape_base_OnEraseContents", (PyCFunction
) _wrap_PyCompositeShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
26293 { (char *)"PyCompositeShape_base_OnHighlight", (PyCFunction
) _wrap_PyCompositeShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
26294 { (char *)"PyCompositeShape_base_OnLeftClick", (PyCFunction
) _wrap_PyCompositeShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
26295 { (char *)"PyCompositeShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyCompositeShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
26296 { (char *)"PyCompositeShape_base_OnRightClick", (PyCFunction
) _wrap_PyCompositeShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
26297 { (char *)"PyCompositeShape_base_OnSize", (PyCFunction
) _wrap_PyCompositeShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
26298 { (char *)"PyCompositeShape_base_OnMovePre", (PyCFunction
) _wrap_PyCompositeShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
26299 { (char *)"PyCompositeShape_base_OnMovePost", (PyCFunction
) _wrap_PyCompositeShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
26300 { (char *)"PyCompositeShape_base_OnDragLeft", (PyCFunction
) _wrap_PyCompositeShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26301 { (char *)"PyCompositeShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyCompositeShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26302 { (char *)"PyCompositeShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyCompositeShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26303 { (char *)"PyCompositeShape_base_OnDragRight", (PyCFunction
) _wrap_PyCompositeShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26304 { (char *)"PyCompositeShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyCompositeShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26305 { (char *)"PyCompositeShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyCompositeShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26306 { (char *)"PyCompositeShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyCompositeShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
26307 { (char *)"PyCompositeShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyCompositeShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
26308 { (char *)"PyCompositeShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyCompositeShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
26309 { (char *)"PyCompositeShape_base_OnMoveLink", (PyCFunction
) _wrap_PyCompositeShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
26310 { (char *)"PyCompositeShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyCompositeShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26311 { (char *)"PyCompositeShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyCompositeShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26312 { (char *)"PyCompositeShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyCompositeShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26313 { (char *)"PyCompositeShape_base_OnBeginSize", (PyCFunction
) _wrap_PyCompositeShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
26314 { (char *)"PyCompositeShape_base_OnEndSize", (PyCFunction
) _wrap_PyCompositeShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
26315 { (char *)"PyCompositeShape_swigregister", PyCompositeShape_swigregister
, METH_VARARGS
},
26316 { (char *)"new_PyDividedShape", (PyCFunction
) _wrap_new_PyDividedShape
, METH_VARARGS
| METH_KEYWORDS
},
26317 { (char *)"PyDividedShape__setCallbackInfo", (PyCFunction
) _wrap_PyDividedShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
26318 { (char *)"PyDividedShape_EditRegions", (PyCFunction
) _wrap_PyDividedShape_EditRegions
, METH_VARARGS
| METH_KEYWORDS
},
26319 { (char *)"PyDividedShape_SetRegionSizes", (PyCFunction
) _wrap_PyDividedShape_SetRegionSizes
, METH_VARARGS
| METH_KEYWORDS
},
26320 { (char *)"PyDividedShape_base_OnDelete", (PyCFunction
) _wrap_PyDividedShape_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
},
26321 { (char *)"PyDividedShape_base_OnDraw", (PyCFunction
) _wrap_PyDividedShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
26322 { (char *)"PyDividedShape_base_OnDrawContents", (PyCFunction
) _wrap_PyDividedShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
26323 { (char *)"PyDividedShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyDividedShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
26324 { (char *)"PyDividedShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyDividedShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
26325 { (char *)"PyDividedShape_base_OnErase", (PyCFunction
) _wrap_PyDividedShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
26326 { (char *)"PyDividedShape_base_OnEraseContents", (PyCFunction
) _wrap_PyDividedShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
26327 { (char *)"PyDividedShape_base_OnHighlight", (PyCFunction
) _wrap_PyDividedShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
26328 { (char *)"PyDividedShape_base_OnLeftClick", (PyCFunction
) _wrap_PyDividedShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
26329 { (char *)"PyDividedShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyDividedShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
26330 { (char *)"PyDividedShape_base_OnRightClick", (PyCFunction
) _wrap_PyDividedShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
26331 { (char *)"PyDividedShape_base_OnSize", (PyCFunction
) _wrap_PyDividedShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
26332 { (char *)"PyDividedShape_base_OnMovePre", (PyCFunction
) _wrap_PyDividedShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
26333 { (char *)"PyDividedShape_base_OnMovePost", (PyCFunction
) _wrap_PyDividedShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
26334 { (char *)"PyDividedShape_base_OnDragLeft", (PyCFunction
) _wrap_PyDividedShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26335 { (char *)"PyDividedShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyDividedShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26336 { (char *)"PyDividedShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyDividedShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26337 { (char *)"PyDividedShape_base_OnDragRight", (PyCFunction
) _wrap_PyDividedShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26338 { (char *)"PyDividedShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyDividedShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26339 { (char *)"PyDividedShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyDividedShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26340 { (char *)"PyDividedShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyDividedShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
26341 { (char *)"PyDividedShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyDividedShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
26342 { (char *)"PyDividedShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyDividedShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
26343 { (char *)"PyDividedShape_base_OnMoveLink", (PyCFunction
) _wrap_PyDividedShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
26344 { (char *)"PyDividedShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyDividedShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26345 { (char *)"PyDividedShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyDividedShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26346 { (char *)"PyDividedShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyDividedShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26347 { (char *)"PyDividedShape_base_OnBeginSize", (PyCFunction
) _wrap_PyDividedShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
26348 { (char *)"PyDividedShape_base_OnEndSize", (PyCFunction
) _wrap_PyDividedShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
26349 { (char *)"PyDividedShape_swigregister", PyDividedShape_swigregister
, METH_VARARGS
},
26350 { (char *)"new_PyDivisionShape", (PyCFunction
) _wrap_new_PyDivisionShape
, METH_VARARGS
| METH_KEYWORDS
},
26351 { (char *)"PyDivisionShape__setCallbackInfo", (PyCFunction
) _wrap_PyDivisionShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
26352 { (char *)"PyDivisionShape_AdjustBottom", (PyCFunction
) _wrap_PyDivisionShape_AdjustBottom
, METH_VARARGS
| METH_KEYWORDS
},
26353 { (char *)"PyDivisionShape_AdjustLeft", (PyCFunction
) _wrap_PyDivisionShape_AdjustLeft
, METH_VARARGS
| METH_KEYWORDS
},
26354 { (char *)"PyDivisionShape_AdjustRight", (PyCFunction
) _wrap_PyDivisionShape_AdjustRight
, METH_VARARGS
| METH_KEYWORDS
},
26355 { (char *)"PyDivisionShape_AdjustTop", (PyCFunction
) _wrap_PyDivisionShape_AdjustTop
, METH_VARARGS
| METH_KEYWORDS
},
26356 { (char *)"PyDivisionShape_Divide", (PyCFunction
) _wrap_PyDivisionShape_Divide
, METH_VARARGS
| METH_KEYWORDS
},
26357 { (char *)"PyDivisionShape_EditEdge", (PyCFunction
) _wrap_PyDivisionShape_EditEdge
, METH_VARARGS
| METH_KEYWORDS
},
26358 { (char *)"PyDivisionShape_GetBottomSide", (PyCFunction
) _wrap_PyDivisionShape_GetBottomSide
, METH_VARARGS
| METH_KEYWORDS
},
26359 { (char *)"PyDivisionShape_GetHandleSide", (PyCFunction
) _wrap_PyDivisionShape_GetHandleSide
, METH_VARARGS
| METH_KEYWORDS
},
26360 { (char *)"PyDivisionShape_GetLeftSide", (PyCFunction
) _wrap_PyDivisionShape_GetLeftSide
, METH_VARARGS
| METH_KEYWORDS
},
26361 { (char *)"PyDivisionShape_GetLeftSideColour", (PyCFunction
) _wrap_PyDivisionShape_GetLeftSideColour
, METH_VARARGS
| METH_KEYWORDS
},
26362 { (char *)"PyDivisionShape_GetLeftSidePen", (PyCFunction
) _wrap_PyDivisionShape_GetLeftSidePen
, METH_VARARGS
| METH_KEYWORDS
},
26363 { (char *)"PyDivisionShape_GetRightSide", (PyCFunction
) _wrap_PyDivisionShape_GetRightSide
, METH_VARARGS
| METH_KEYWORDS
},
26364 { (char *)"PyDivisionShape_GetTopSide", (PyCFunction
) _wrap_PyDivisionShape_GetTopSide
, METH_VARARGS
| METH_KEYWORDS
},
26365 { (char *)"PyDivisionShape_GetTopSidePen", (PyCFunction
) _wrap_PyDivisionShape_GetTopSidePen
, METH_VARARGS
| METH_KEYWORDS
},
26366 { (char *)"PyDivisionShape_ResizeAdjoining", (PyCFunction
) _wrap_PyDivisionShape_ResizeAdjoining
, METH_VARARGS
| METH_KEYWORDS
},
26367 { (char *)"PyDivisionShape_PopupMenu", (PyCFunction
) _wrap_PyDivisionShape_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
26368 { (char *)"PyDivisionShape_SetBottomSide", (PyCFunction
) _wrap_PyDivisionShape_SetBottomSide
, METH_VARARGS
| METH_KEYWORDS
},
26369 { (char *)"PyDivisionShape_SetHandleSide", (PyCFunction
) _wrap_PyDivisionShape_SetHandleSide
, METH_VARARGS
| METH_KEYWORDS
},
26370 { (char *)"PyDivisionShape_SetLeftSide", (PyCFunction
) _wrap_PyDivisionShape_SetLeftSide
, METH_VARARGS
| METH_KEYWORDS
},
26371 { (char *)"PyDivisionShape_SetLeftSideColour", (PyCFunction
) _wrap_PyDivisionShape_SetLeftSideColour
, METH_VARARGS
| METH_KEYWORDS
},
26372 { (char *)"PyDivisionShape_SetLeftSidePen", (PyCFunction
) _wrap_PyDivisionShape_SetLeftSidePen
, METH_VARARGS
| METH_KEYWORDS
},
26373 { (char *)"PyDivisionShape_SetRightSide", (PyCFunction
) _wrap_PyDivisionShape_SetRightSide
, METH_VARARGS
| METH_KEYWORDS
},
26374 { (char *)"PyDivisionShape_SetTopSide", (PyCFunction
) _wrap_PyDivisionShape_SetTopSide
, METH_VARARGS
| METH_KEYWORDS
},
26375 { (char *)"PyDivisionShape_SetTopSideColour", (PyCFunction
) _wrap_PyDivisionShape_SetTopSideColour
, METH_VARARGS
| METH_KEYWORDS
},
26376 { (char *)"PyDivisionShape_SetTopSidePen", (PyCFunction
) _wrap_PyDivisionShape_SetTopSidePen
, METH_VARARGS
| METH_KEYWORDS
},
26377 { (char *)"PyDivisionShape_base_OnDelete", (PyCFunction
) _wrap_PyDivisionShape_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
},
26378 { (char *)"PyDivisionShape_base_OnDraw", (PyCFunction
) _wrap_PyDivisionShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
26379 { (char *)"PyDivisionShape_base_OnDrawContents", (PyCFunction
) _wrap_PyDivisionShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
26380 { (char *)"PyDivisionShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyDivisionShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
26381 { (char *)"PyDivisionShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyDivisionShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
26382 { (char *)"PyDivisionShape_base_OnErase", (PyCFunction
) _wrap_PyDivisionShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
26383 { (char *)"PyDivisionShape_base_OnEraseContents", (PyCFunction
) _wrap_PyDivisionShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
26384 { (char *)"PyDivisionShape_base_OnHighlight", (PyCFunction
) _wrap_PyDivisionShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
26385 { (char *)"PyDivisionShape_base_OnLeftClick", (PyCFunction
) _wrap_PyDivisionShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
26386 { (char *)"PyDivisionShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyDivisionShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
26387 { (char *)"PyDivisionShape_base_OnRightClick", (PyCFunction
) _wrap_PyDivisionShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
26388 { (char *)"PyDivisionShape_base_OnSize", (PyCFunction
) _wrap_PyDivisionShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
26389 { (char *)"PyDivisionShape_base_OnMovePre", (PyCFunction
) _wrap_PyDivisionShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
26390 { (char *)"PyDivisionShape_base_OnMovePost", (PyCFunction
) _wrap_PyDivisionShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
26391 { (char *)"PyDivisionShape_base_OnDragLeft", (PyCFunction
) _wrap_PyDivisionShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26392 { (char *)"PyDivisionShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyDivisionShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26393 { (char *)"PyDivisionShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyDivisionShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26394 { (char *)"PyDivisionShape_base_OnDragRight", (PyCFunction
) _wrap_PyDivisionShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26395 { (char *)"PyDivisionShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyDivisionShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26396 { (char *)"PyDivisionShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyDivisionShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26397 { (char *)"PyDivisionShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyDivisionShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
26398 { (char *)"PyDivisionShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyDivisionShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
26399 { (char *)"PyDivisionShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyDivisionShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
26400 { (char *)"PyDivisionShape_base_OnMoveLink", (PyCFunction
) _wrap_PyDivisionShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
26401 { (char *)"PyDivisionShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyDivisionShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26402 { (char *)"PyDivisionShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyDivisionShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26403 { (char *)"PyDivisionShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyDivisionShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26404 { (char *)"PyDivisionShape_base_OnBeginSize", (PyCFunction
) _wrap_PyDivisionShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
26405 { (char *)"PyDivisionShape_base_OnEndSize", (PyCFunction
) _wrap_PyDivisionShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
26406 { (char *)"PyDivisionShape_swigregister", PyDivisionShape_swigregister
, METH_VARARGS
},
26407 { (char *)"new_PyEllipseShape", (PyCFunction
) _wrap_new_PyEllipseShape
, METH_VARARGS
| METH_KEYWORDS
},
26408 { (char *)"PyEllipseShape__setCallbackInfo", (PyCFunction
) _wrap_PyEllipseShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
26409 { (char *)"PyEllipseShape_base_OnDraw", (PyCFunction
) _wrap_PyEllipseShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
26410 { (char *)"PyEllipseShape_base_OnDrawContents", (PyCFunction
) _wrap_PyEllipseShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
26411 { (char *)"PyEllipseShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyEllipseShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
26412 { (char *)"PyEllipseShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyEllipseShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
26413 { (char *)"PyEllipseShape_base_OnErase", (PyCFunction
) _wrap_PyEllipseShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
26414 { (char *)"PyEllipseShape_base_OnEraseContents", (PyCFunction
) _wrap_PyEllipseShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
26415 { (char *)"PyEllipseShape_base_OnHighlight", (PyCFunction
) _wrap_PyEllipseShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
26416 { (char *)"PyEllipseShape_base_OnLeftClick", (PyCFunction
) _wrap_PyEllipseShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
26417 { (char *)"PyEllipseShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyEllipseShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
26418 { (char *)"PyEllipseShape_base_OnRightClick", (PyCFunction
) _wrap_PyEllipseShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
26419 { (char *)"PyEllipseShape_base_OnSize", (PyCFunction
) _wrap_PyEllipseShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
26420 { (char *)"PyEllipseShape_base_OnMovePre", (PyCFunction
) _wrap_PyEllipseShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
26421 { (char *)"PyEllipseShape_base_OnMovePost", (PyCFunction
) _wrap_PyEllipseShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
26422 { (char *)"PyEllipseShape_base_OnDragLeft", (PyCFunction
) _wrap_PyEllipseShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26423 { (char *)"PyEllipseShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyEllipseShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26424 { (char *)"PyEllipseShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyEllipseShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26425 { (char *)"PyEllipseShape_base_OnDragRight", (PyCFunction
) _wrap_PyEllipseShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26426 { (char *)"PyEllipseShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyEllipseShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26427 { (char *)"PyEllipseShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyEllipseShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26428 { (char *)"PyEllipseShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyEllipseShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
26429 { (char *)"PyEllipseShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyEllipseShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
26430 { (char *)"PyEllipseShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyEllipseShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
26431 { (char *)"PyEllipseShape_base_OnMoveLink", (PyCFunction
) _wrap_PyEllipseShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
26432 { (char *)"PyEllipseShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyEllipseShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26433 { (char *)"PyEllipseShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyEllipseShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26434 { (char *)"PyEllipseShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyEllipseShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26435 { (char *)"PyEllipseShape_base_OnBeginSize", (PyCFunction
) _wrap_PyEllipseShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
26436 { (char *)"PyEllipseShape_base_OnEndSize", (PyCFunction
) _wrap_PyEllipseShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
26437 { (char *)"PyEllipseShape_swigregister", PyEllipseShape_swigregister
, METH_VARARGS
},
26438 { (char *)"new_PyCircleShape", (PyCFunction
) _wrap_new_PyCircleShape
, METH_VARARGS
| METH_KEYWORDS
},
26439 { (char *)"PyCircleShape__setCallbackInfo", (PyCFunction
) _wrap_PyCircleShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
26440 { (char *)"PyCircleShape_base_OnDraw", (PyCFunction
) _wrap_PyCircleShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
26441 { (char *)"PyCircleShape_base_OnDrawContents", (PyCFunction
) _wrap_PyCircleShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
26442 { (char *)"PyCircleShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyCircleShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
26443 { (char *)"PyCircleShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyCircleShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
26444 { (char *)"PyCircleShape_base_OnErase", (PyCFunction
) _wrap_PyCircleShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
26445 { (char *)"PyCircleShape_base_OnEraseContents", (PyCFunction
) _wrap_PyCircleShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
26446 { (char *)"PyCircleShape_base_OnHighlight", (PyCFunction
) _wrap_PyCircleShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
26447 { (char *)"PyCircleShape_base_OnLeftClick", (PyCFunction
) _wrap_PyCircleShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
26448 { (char *)"PyCircleShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyCircleShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
26449 { (char *)"PyCircleShape_base_OnRightClick", (PyCFunction
) _wrap_PyCircleShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
26450 { (char *)"PyCircleShape_base_OnSize", (PyCFunction
) _wrap_PyCircleShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
26451 { (char *)"PyCircleShape_base_OnMovePre", (PyCFunction
) _wrap_PyCircleShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
26452 { (char *)"PyCircleShape_base_OnMovePost", (PyCFunction
) _wrap_PyCircleShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
26453 { (char *)"PyCircleShape_base_OnDragLeft", (PyCFunction
) _wrap_PyCircleShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26454 { (char *)"PyCircleShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyCircleShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26455 { (char *)"PyCircleShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyCircleShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26456 { (char *)"PyCircleShape_base_OnDragRight", (PyCFunction
) _wrap_PyCircleShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26457 { (char *)"PyCircleShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyCircleShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26458 { (char *)"PyCircleShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyCircleShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26459 { (char *)"PyCircleShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyCircleShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
26460 { (char *)"PyCircleShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyCircleShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
26461 { (char *)"PyCircleShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyCircleShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
26462 { (char *)"PyCircleShape_base_OnMoveLink", (PyCFunction
) _wrap_PyCircleShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
26463 { (char *)"PyCircleShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyCircleShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26464 { (char *)"PyCircleShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyCircleShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26465 { (char *)"PyCircleShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyCircleShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26466 { (char *)"PyCircleShape_base_OnBeginSize", (PyCFunction
) _wrap_PyCircleShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
26467 { (char *)"PyCircleShape_base_OnEndSize", (PyCFunction
) _wrap_PyCircleShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
26468 { (char *)"PyCircleShape_swigregister", PyCircleShape_swigregister
, METH_VARARGS
},
26469 { (char *)"new_ArrowHead", (PyCFunction
) _wrap_new_ArrowHead
, METH_VARARGS
| METH_KEYWORDS
},
26470 { (char *)"delete_ArrowHead", (PyCFunction
) _wrap_delete_ArrowHead
, METH_VARARGS
| METH_KEYWORDS
},
26471 { (char *)"ArrowHead__GetType", (PyCFunction
) _wrap_ArrowHead__GetType
, METH_VARARGS
| METH_KEYWORDS
},
26472 { (char *)"ArrowHead_GetPosition", (PyCFunction
) _wrap_ArrowHead_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
26473 { (char *)"ArrowHead_SetPosition", (PyCFunction
) _wrap_ArrowHead_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
26474 { (char *)"ArrowHead_GetXOffset", (PyCFunction
) _wrap_ArrowHead_GetXOffset
, METH_VARARGS
| METH_KEYWORDS
},
26475 { (char *)"ArrowHead_GetYOffset", (PyCFunction
) _wrap_ArrowHead_GetYOffset
, METH_VARARGS
| METH_KEYWORDS
},
26476 { (char *)"ArrowHead_GetSpacing", (PyCFunction
) _wrap_ArrowHead_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
26477 { (char *)"ArrowHead_GetSize", (PyCFunction
) _wrap_ArrowHead_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
26478 { (char *)"ArrowHead_GetName", (PyCFunction
) _wrap_ArrowHead_GetName
, METH_VARARGS
| METH_KEYWORDS
},
26479 { (char *)"ArrowHead_SetXOffset", (PyCFunction
) _wrap_ArrowHead_SetXOffset
, METH_VARARGS
| METH_KEYWORDS
},
26480 { (char *)"ArrowHead_SetYOffset", (PyCFunction
) _wrap_ArrowHead_SetYOffset
, METH_VARARGS
| METH_KEYWORDS
},
26481 { (char *)"ArrowHead_GetMetaFile", (PyCFunction
) _wrap_ArrowHead_GetMetaFile
, METH_VARARGS
| METH_KEYWORDS
},
26482 { (char *)"ArrowHead_GetId", (PyCFunction
) _wrap_ArrowHead_GetId
, METH_VARARGS
| METH_KEYWORDS
},
26483 { (char *)"ArrowHead_GetArrowEnd", (PyCFunction
) _wrap_ArrowHead_GetArrowEnd
, METH_VARARGS
| METH_KEYWORDS
},
26484 { (char *)"ArrowHead_GetArrowSize", (PyCFunction
) _wrap_ArrowHead_GetArrowSize
, METH_VARARGS
| METH_KEYWORDS
},
26485 { (char *)"ArrowHead_SetSize", (PyCFunction
) _wrap_ArrowHead_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
26486 { (char *)"ArrowHead_SetSpacing", (PyCFunction
) _wrap_ArrowHead_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
26487 { (char *)"ArrowHead_swigregister", ArrowHead_swigregister
, METH_VARARGS
},
26488 { (char *)"new_PyLineShape", (PyCFunction
) _wrap_new_PyLineShape
, METH_VARARGS
| METH_KEYWORDS
},
26489 { (char *)"PyLineShape__setCallbackInfo", (PyCFunction
) _wrap_PyLineShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
26490 { (char *)"PyLineShape_AddArrow", (PyCFunction
) _wrap_PyLineShape_AddArrow
, METH_VARARGS
| METH_KEYWORDS
},
26491 { (char *)"PyLineShape_AddArrowOrdered", (PyCFunction
) _wrap_PyLineShape_AddArrowOrdered
, METH_VARARGS
| METH_KEYWORDS
},
26492 { (char *)"PyLineShape_ClearArrow", (PyCFunction
) _wrap_PyLineShape_ClearArrow
, METH_VARARGS
| METH_KEYWORDS
},
26493 { (char *)"PyLineShape_ClearArrowsAtPosition", (PyCFunction
) _wrap_PyLineShape_ClearArrowsAtPosition
, METH_VARARGS
| METH_KEYWORDS
},
26494 { (char *)"PyLineShape_DrawArrow", (PyCFunction
) _wrap_PyLineShape_DrawArrow
, METH_VARARGS
| METH_KEYWORDS
},
26495 { (char *)"PyLineShape_DeleteArrowHeadId", (PyCFunction
) _wrap_PyLineShape_DeleteArrowHeadId
, METH_VARARGS
| METH_KEYWORDS
},
26496 { (char *)"PyLineShape_DeleteArrowHead", (PyCFunction
) _wrap_PyLineShape_DeleteArrowHead
, METH_VARARGS
| METH_KEYWORDS
},
26497 { (char *)"PyLineShape_DeleteLineControlPoint", (PyCFunction
) _wrap_PyLineShape_DeleteLineControlPoint
, METH_VARARGS
| METH_KEYWORDS
},
26498 { (char *)"PyLineShape_DrawArrows", (PyCFunction
) _wrap_PyLineShape_DrawArrows
, METH_VARARGS
| METH_KEYWORDS
},
26499 { (char *)"PyLineShape_DrawRegion", (PyCFunction
) _wrap_PyLineShape_DrawRegion
, METH_VARARGS
| METH_KEYWORDS
},
26500 { (char *)"PyLineShape_EraseRegion", (PyCFunction
) _wrap_PyLineShape_EraseRegion
, METH_VARARGS
| METH_KEYWORDS
},
26501 { (char *)"PyLineShape_FindArrowHeadId", (PyCFunction
) _wrap_PyLineShape_FindArrowHeadId
, METH_VARARGS
| METH_KEYWORDS
},
26502 { (char *)"PyLineShape_FindArrowHead", (PyCFunction
) _wrap_PyLineShape_FindArrowHead
, METH_VARARGS
| METH_KEYWORDS
},
26503 { (char *)"PyLineShape_FindLineEndPoints", (PyCFunction
) _wrap_PyLineShape_FindLineEndPoints
, METH_VARARGS
| METH_KEYWORDS
},
26504 { (char *)"PyLineShape_FindLinePosition", (PyCFunction
) _wrap_PyLineShape_FindLinePosition
, METH_VARARGS
| METH_KEYWORDS
},
26505 { (char *)"PyLineShape_FindMinimumWidth", (PyCFunction
) _wrap_PyLineShape_FindMinimumWidth
, METH_VARARGS
| METH_KEYWORDS
},
26506 { (char *)"PyLineShape_FindNth", (PyCFunction
) _wrap_PyLineShape_FindNth
, METH_VARARGS
| METH_KEYWORDS
},
26507 { (char *)"PyLineShape_GetAttachmentFrom", (PyCFunction
) _wrap_PyLineShape_GetAttachmentFrom
, METH_VARARGS
| METH_KEYWORDS
},
26508 { (char *)"PyLineShape_GetAttachmentTo", (PyCFunction
) _wrap_PyLineShape_GetAttachmentTo
, METH_VARARGS
| METH_KEYWORDS
},
26509 { (char *)"PyLineShape_GetEnds", (PyCFunction
) _wrap_PyLineShape_GetEnds
, METH_VARARGS
| METH_KEYWORDS
},
26510 { (char *)"PyLineShape_GetFrom", (PyCFunction
) _wrap_PyLineShape_GetFrom
, METH_VARARGS
| METH_KEYWORDS
},
26511 { (char *)"PyLineShape_GetLabelPosition", (PyCFunction
) _wrap_PyLineShape_GetLabelPosition
, METH_VARARGS
| METH_KEYWORDS
},
26512 { (char *)"PyLineShape_GetNextControlPoint", (PyCFunction
) _wrap_PyLineShape_GetNextControlPoint
, METH_VARARGS
| METH_KEYWORDS
},
26513 { (char *)"PyLineShape_GetTo", (PyCFunction
) _wrap_PyLineShape_GetTo
, METH_VARARGS
| METH_KEYWORDS
},
26514 { (char *)"PyLineShape_Initialise", (PyCFunction
) _wrap_PyLineShape_Initialise
, METH_VARARGS
| METH_KEYWORDS
},
26515 { (char *)"PyLineShape_InsertLineControlPoint", (PyCFunction
) _wrap_PyLineShape_InsertLineControlPoint
, METH_VARARGS
| METH_KEYWORDS
},
26516 { (char *)"PyLineShape_IsEnd", (PyCFunction
) _wrap_PyLineShape_IsEnd
, METH_VARARGS
| METH_KEYWORDS
},
26517 { (char *)"PyLineShape_IsSpline", (PyCFunction
) _wrap_PyLineShape_IsSpline
, METH_VARARGS
| METH_KEYWORDS
},
26518 { (char *)"PyLineShape_MakeLineControlPoints", (PyCFunction
) _wrap_PyLineShape_MakeLineControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
26519 { (char *)"PyLineShape_GetLineControlPoints", (PyCFunction
) _wrap_PyLineShape_GetLineControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
26520 { (char *)"PyLineShape_SetAttachmentFrom", (PyCFunction
) _wrap_PyLineShape_SetAttachmentFrom
, METH_VARARGS
| METH_KEYWORDS
},
26521 { (char *)"PyLineShape_SetAttachments", (PyCFunction
) _wrap_PyLineShape_SetAttachments
, METH_VARARGS
| METH_KEYWORDS
},
26522 { (char *)"PyLineShape_SetAttachmentTo", (PyCFunction
) _wrap_PyLineShape_SetAttachmentTo
, METH_VARARGS
| METH_KEYWORDS
},
26523 { (char *)"PyLineShape_SetEnds", (PyCFunction
) _wrap_PyLineShape_SetEnds
, METH_VARARGS
| METH_KEYWORDS
},
26524 { (char *)"PyLineShape_SetFrom", (PyCFunction
) _wrap_PyLineShape_SetFrom
, METH_VARARGS
| METH_KEYWORDS
},
26525 { (char *)"PyLineShape_SetIgnoreOffsets", (PyCFunction
) _wrap_PyLineShape_SetIgnoreOffsets
, METH_VARARGS
| METH_KEYWORDS
},
26526 { (char *)"PyLineShape_SetSpline", (PyCFunction
) _wrap_PyLineShape_SetSpline
, METH_VARARGS
| METH_KEYWORDS
},
26527 { (char *)"PyLineShape_SetTo", (PyCFunction
) _wrap_PyLineShape_SetTo
, METH_VARARGS
| METH_KEYWORDS
},
26528 { (char *)"PyLineShape_Straighten", (PyCFunction
) _wrap_PyLineShape_Straighten
, METH_VARARGS
| METH_KEYWORDS
},
26529 { (char *)"PyLineShape_Unlink", (PyCFunction
) _wrap_PyLineShape_Unlink
, METH_VARARGS
| METH_KEYWORDS
},
26530 { (char *)"PyLineShape_base_OnDraw", (PyCFunction
) _wrap_PyLineShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
26531 { (char *)"PyLineShape_base_OnDrawContents", (PyCFunction
) _wrap_PyLineShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
26532 { (char *)"PyLineShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyLineShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
26533 { (char *)"PyLineShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyLineShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
26534 { (char *)"PyLineShape_base_OnErase", (PyCFunction
) _wrap_PyLineShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
26535 { (char *)"PyLineShape_base_OnEraseContents", (PyCFunction
) _wrap_PyLineShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
26536 { (char *)"PyLineShape_base_OnHighlight", (PyCFunction
) _wrap_PyLineShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
26537 { (char *)"PyLineShape_base_OnLeftClick", (PyCFunction
) _wrap_PyLineShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
26538 { (char *)"PyLineShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyLineShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
26539 { (char *)"PyLineShape_base_OnRightClick", (PyCFunction
) _wrap_PyLineShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
26540 { (char *)"PyLineShape_base_OnSize", (PyCFunction
) _wrap_PyLineShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
26541 { (char *)"PyLineShape_base_OnMovePre", (PyCFunction
) _wrap_PyLineShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
26542 { (char *)"PyLineShape_base_OnMovePost", (PyCFunction
) _wrap_PyLineShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
26543 { (char *)"PyLineShape_base_OnDragLeft", (PyCFunction
) _wrap_PyLineShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26544 { (char *)"PyLineShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyLineShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26545 { (char *)"PyLineShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyLineShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26546 { (char *)"PyLineShape_base_OnDragRight", (PyCFunction
) _wrap_PyLineShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26547 { (char *)"PyLineShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyLineShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26548 { (char *)"PyLineShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyLineShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26549 { (char *)"PyLineShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyLineShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
26550 { (char *)"PyLineShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyLineShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
26551 { (char *)"PyLineShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyLineShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
26552 { (char *)"PyLineShape_base_OnMoveLink", (PyCFunction
) _wrap_PyLineShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
26553 { (char *)"PyLineShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyLineShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26554 { (char *)"PyLineShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyLineShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26555 { (char *)"PyLineShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyLineShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26556 { (char *)"PyLineShape_base_OnBeginSize", (PyCFunction
) _wrap_PyLineShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
26557 { (char *)"PyLineShape_base_OnEndSize", (PyCFunction
) _wrap_PyLineShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
26558 { (char *)"PyLineShape_swigregister", PyLineShape_swigregister
, METH_VARARGS
},
26559 { (char *)"new_PyPolygonShape", (PyCFunction
) _wrap_new_PyPolygonShape
, METH_VARARGS
| METH_KEYWORDS
},
26560 { (char *)"PyPolygonShape__setCallbackInfo", (PyCFunction
) _wrap_PyPolygonShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
26561 { (char *)"PyPolygonShape_Create", (PyCFunction
) _wrap_PyPolygonShape_Create
, METH_VARARGS
| METH_KEYWORDS
},
26562 { (char *)"PyPolygonShape_AddPolygonPoint", (PyCFunction
) _wrap_PyPolygonShape_AddPolygonPoint
, METH_VARARGS
| METH_KEYWORDS
},
26563 { (char *)"PyPolygonShape_CalculatePolygonCentre", (PyCFunction
) _wrap_PyPolygonShape_CalculatePolygonCentre
, METH_VARARGS
| METH_KEYWORDS
},
26564 { (char *)"PyPolygonShape_DeletePolygonPoint", (PyCFunction
) _wrap_PyPolygonShape_DeletePolygonPoint
, METH_VARARGS
| METH_KEYWORDS
},
26565 { (char *)"PyPolygonShape_GetPoints", (PyCFunction
) _wrap_PyPolygonShape_GetPoints
, METH_VARARGS
| METH_KEYWORDS
},
26566 { (char *)"PyPolygonShape_UpdateOriginalPoints", (PyCFunction
) _wrap_PyPolygonShape_UpdateOriginalPoints
, METH_VARARGS
| METH_KEYWORDS
},
26567 { (char *)"PyPolygonShape_base_OnDraw", (PyCFunction
) _wrap_PyPolygonShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
26568 { (char *)"PyPolygonShape_base_OnDrawContents", (PyCFunction
) _wrap_PyPolygonShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
26569 { (char *)"PyPolygonShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyPolygonShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
26570 { (char *)"PyPolygonShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyPolygonShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
26571 { (char *)"PyPolygonShape_base_OnErase", (PyCFunction
) _wrap_PyPolygonShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
26572 { (char *)"PyPolygonShape_base_OnEraseContents", (PyCFunction
) _wrap_PyPolygonShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
26573 { (char *)"PyPolygonShape_base_OnHighlight", (PyCFunction
) _wrap_PyPolygonShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
26574 { (char *)"PyPolygonShape_base_OnLeftClick", (PyCFunction
) _wrap_PyPolygonShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
26575 { (char *)"PyPolygonShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyPolygonShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
26576 { (char *)"PyPolygonShape_base_OnRightClick", (PyCFunction
) _wrap_PyPolygonShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
26577 { (char *)"PyPolygonShape_base_OnSize", (PyCFunction
) _wrap_PyPolygonShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
26578 { (char *)"PyPolygonShape_base_OnMovePre", (PyCFunction
) _wrap_PyPolygonShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
26579 { (char *)"PyPolygonShape_base_OnMovePost", (PyCFunction
) _wrap_PyPolygonShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
26580 { (char *)"PyPolygonShape_base_OnDragLeft", (PyCFunction
) _wrap_PyPolygonShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26581 { (char *)"PyPolygonShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyPolygonShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26582 { (char *)"PyPolygonShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyPolygonShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26583 { (char *)"PyPolygonShape_base_OnDragRight", (PyCFunction
) _wrap_PyPolygonShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26584 { (char *)"PyPolygonShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyPolygonShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26585 { (char *)"PyPolygonShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyPolygonShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26586 { (char *)"PyPolygonShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyPolygonShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
26587 { (char *)"PyPolygonShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyPolygonShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
26588 { (char *)"PyPolygonShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyPolygonShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
26589 { (char *)"PyPolygonShape_base_OnMoveLink", (PyCFunction
) _wrap_PyPolygonShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
26590 { (char *)"PyPolygonShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyPolygonShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26591 { (char *)"PyPolygonShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyPolygonShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26592 { (char *)"PyPolygonShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyPolygonShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26593 { (char *)"PyPolygonShape_base_OnBeginSize", (PyCFunction
) _wrap_PyPolygonShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
26594 { (char *)"PyPolygonShape_base_OnEndSize", (PyCFunction
) _wrap_PyPolygonShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
26595 { (char *)"PyPolygonShape_swigregister", PyPolygonShape_swigregister
, METH_VARARGS
},
26596 { (char *)"new_PyTextShape", (PyCFunction
) _wrap_new_PyTextShape
, METH_VARARGS
| METH_KEYWORDS
},
26597 { (char *)"PyTextShape__setCallbackInfo", (PyCFunction
) _wrap_PyTextShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
26598 { (char *)"PyTextShape_base_OnDelete", (PyCFunction
) _wrap_PyTextShape_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
},
26599 { (char *)"PyTextShape_base_OnDraw", (PyCFunction
) _wrap_PyTextShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
26600 { (char *)"PyTextShape_base_OnDrawContents", (PyCFunction
) _wrap_PyTextShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
26601 { (char *)"PyTextShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyTextShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
26602 { (char *)"PyTextShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyTextShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
26603 { (char *)"PyTextShape_base_OnErase", (PyCFunction
) _wrap_PyTextShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
26604 { (char *)"PyTextShape_base_OnEraseContents", (PyCFunction
) _wrap_PyTextShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
26605 { (char *)"PyTextShape_base_OnHighlight", (PyCFunction
) _wrap_PyTextShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
26606 { (char *)"PyTextShape_base_OnLeftClick", (PyCFunction
) _wrap_PyTextShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
26607 { (char *)"PyTextShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyTextShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
26608 { (char *)"PyTextShape_base_OnRightClick", (PyCFunction
) _wrap_PyTextShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
26609 { (char *)"PyTextShape_base_OnSize", (PyCFunction
) _wrap_PyTextShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
26610 { (char *)"PyTextShape_base_OnMovePre", (PyCFunction
) _wrap_PyTextShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
26611 { (char *)"PyTextShape_base_OnMovePost", (PyCFunction
) _wrap_PyTextShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
26612 { (char *)"PyTextShape_base_OnDragLeft", (PyCFunction
) _wrap_PyTextShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26613 { (char *)"PyTextShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyTextShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26614 { (char *)"PyTextShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyTextShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26615 { (char *)"PyTextShape_base_OnDragRight", (PyCFunction
) _wrap_PyTextShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26616 { (char *)"PyTextShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyTextShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26617 { (char *)"PyTextShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyTextShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26618 { (char *)"PyTextShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyTextShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
26619 { (char *)"PyTextShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyTextShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
26620 { (char *)"PyTextShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyTextShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
26621 { (char *)"PyTextShape_base_OnMoveLink", (PyCFunction
) _wrap_PyTextShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
26622 { (char *)"PyTextShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyTextShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26623 { (char *)"PyTextShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyTextShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26624 { (char *)"PyTextShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyTextShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26625 { (char *)"PyTextShape_base_OnBeginSize", (PyCFunction
) _wrap_PyTextShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
26626 { (char *)"PyTextShape_base_OnEndSize", (PyCFunction
) _wrap_PyTextShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
26627 { (char *)"PyTextShape_swigregister", PyTextShape_swigregister
, METH_VARARGS
},
26628 { (char *)"new_Diagram", (PyCFunction
) _wrap_new_Diagram
, METH_VARARGS
| METH_KEYWORDS
},
26629 { (char *)"Diagram_AddShape", (PyCFunction
) _wrap_Diagram_AddShape
, METH_VARARGS
| METH_KEYWORDS
},
26630 { (char *)"Diagram_Clear", (PyCFunction
) _wrap_Diagram_Clear
, METH_VARARGS
| METH_KEYWORDS
},
26631 { (char *)"Diagram_DeleteAllShapes", (PyCFunction
) _wrap_Diagram_DeleteAllShapes
, METH_VARARGS
| METH_KEYWORDS
},
26632 { (char *)"Diagram_DrawOutline", (PyCFunction
) _wrap_Diagram_DrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
26633 { (char *)"Diagram_FindShape", (PyCFunction
) _wrap_Diagram_FindShape
, METH_VARARGS
| METH_KEYWORDS
},
26634 { (char *)"Diagram_GetCanvas", (PyCFunction
) _wrap_Diagram_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
26635 { (char *)"Diagram_GetCount", (PyCFunction
) _wrap_Diagram_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
26636 { (char *)"Diagram_GetGridSpacing", (PyCFunction
) _wrap_Diagram_GetGridSpacing
, METH_VARARGS
| METH_KEYWORDS
},
26637 { (char *)"Diagram_GetMouseTolerance", (PyCFunction
) _wrap_Diagram_GetMouseTolerance
, METH_VARARGS
| METH_KEYWORDS
},
26638 { (char *)"Diagram_GetShapeList", (PyCFunction
) _wrap_Diagram_GetShapeList
, METH_VARARGS
| METH_KEYWORDS
},
26639 { (char *)"Diagram_GetQuickEditMode", (PyCFunction
) _wrap_Diagram_GetQuickEditMode
, METH_VARARGS
| METH_KEYWORDS
},
26640 { (char *)"Diagram_GetSnapToGrid", (PyCFunction
) _wrap_Diagram_GetSnapToGrid
, METH_VARARGS
| METH_KEYWORDS
},
26641 { (char *)"Diagram_InsertShape", (PyCFunction
) _wrap_Diagram_InsertShape
, METH_VARARGS
| METH_KEYWORDS
},
26642 { (char *)"Diagram_RecentreAll", (PyCFunction
) _wrap_Diagram_RecentreAll
, METH_VARARGS
| METH_KEYWORDS
},
26643 { (char *)"Diagram_Redraw", (PyCFunction
) _wrap_Diagram_Redraw
, METH_VARARGS
| METH_KEYWORDS
},
26644 { (char *)"Diagram_RemoveAllShapes", (PyCFunction
) _wrap_Diagram_RemoveAllShapes
, METH_VARARGS
| METH_KEYWORDS
},
26645 { (char *)"Diagram_RemoveShape", (PyCFunction
) _wrap_Diagram_RemoveShape
, METH_VARARGS
| METH_KEYWORDS
},
26646 { (char *)"Diagram_SetCanvas", (PyCFunction
) _wrap_Diagram_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
26647 { (char *)"Diagram_SetGridSpacing", (PyCFunction
) _wrap_Diagram_SetGridSpacing
, METH_VARARGS
| METH_KEYWORDS
},
26648 { (char *)"Diagram_SetMouseTolerance", (PyCFunction
) _wrap_Diagram_SetMouseTolerance
, METH_VARARGS
| METH_KEYWORDS
},
26649 { (char *)"Diagram_SetQuickEditMode", (PyCFunction
) _wrap_Diagram_SetQuickEditMode
, METH_VARARGS
| METH_KEYWORDS
},
26650 { (char *)"Diagram_SetSnapToGrid", (PyCFunction
) _wrap_Diagram_SetSnapToGrid
, METH_VARARGS
| METH_KEYWORDS
},
26651 { (char *)"Diagram_ShowAll", (PyCFunction
) _wrap_Diagram_ShowAll
, METH_VARARGS
| METH_KEYWORDS
},
26652 { (char *)"Diagram_Snap", (PyCFunction
) _wrap_Diagram_Snap
, METH_VARARGS
| METH_KEYWORDS
},
26653 { (char *)"Diagram_swigregister", Diagram_swigregister
, METH_VARARGS
},
26654 { (char *)"new_PyShapeCanvas", (PyCFunction
) _wrap_new_PyShapeCanvas
, METH_VARARGS
| METH_KEYWORDS
},
26655 { (char *)"PyShapeCanvas__setCallbackInfo", (PyCFunction
) _wrap_PyShapeCanvas__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
26656 { (char *)"PyShapeCanvas_AddShape", (PyCFunction
) _wrap_PyShapeCanvas_AddShape
, METH_VARARGS
| METH_KEYWORDS
},
26657 { (char *)"PyShapeCanvas_FindShape", (PyCFunction
) _wrap_PyShapeCanvas_FindShape
, METH_VARARGS
| METH_KEYWORDS
},
26658 { (char *)"PyShapeCanvas_FindFirstSensitiveShape", (PyCFunction
) _wrap_PyShapeCanvas_FindFirstSensitiveShape
, METH_VARARGS
| METH_KEYWORDS
},
26659 { (char *)"PyShapeCanvas_GetDiagram", (PyCFunction
) _wrap_PyShapeCanvas_GetDiagram
, METH_VARARGS
| METH_KEYWORDS
},
26660 { (char *)"PyShapeCanvas_GetQuickEditMode", (PyCFunction
) _wrap_PyShapeCanvas_GetQuickEditMode
, METH_VARARGS
| METH_KEYWORDS
},
26661 { (char *)"PyShapeCanvas_InsertShape", (PyCFunction
) _wrap_PyShapeCanvas_InsertShape
, METH_VARARGS
| METH_KEYWORDS
},
26662 { (char *)"PyShapeCanvas_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyShapeCanvas_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26663 { (char *)"PyShapeCanvas_base_OnBeginDragRight", (PyCFunction
) _wrap_PyShapeCanvas_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26664 { (char *)"PyShapeCanvas_base_OnEndDragLeft", (PyCFunction
) _wrap_PyShapeCanvas_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26665 { (char *)"PyShapeCanvas_base_OnEndDragRight", (PyCFunction
) _wrap_PyShapeCanvas_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26666 { (char *)"PyShapeCanvas_base_OnDragLeft", (PyCFunction
) _wrap_PyShapeCanvas_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26667 { (char *)"PyShapeCanvas_base_OnDragRight", (PyCFunction
) _wrap_PyShapeCanvas_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26668 { (char *)"PyShapeCanvas_base_OnLeftClick", (PyCFunction
) _wrap_PyShapeCanvas_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
26669 { (char *)"PyShapeCanvas_base_OnRightClick", (PyCFunction
) _wrap_PyShapeCanvas_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
26670 { (char *)"PyShapeCanvas_Redraw", (PyCFunction
) _wrap_PyShapeCanvas_Redraw
, METH_VARARGS
| METH_KEYWORDS
},
26671 { (char *)"PyShapeCanvas_RemoveShape", (PyCFunction
) _wrap_PyShapeCanvas_RemoveShape
, METH_VARARGS
| METH_KEYWORDS
},
26672 { (char *)"PyShapeCanvas_SetDiagram", (PyCFunction
) _wrap_PyShapeCanvas_SetDiagram
, METH_VARARGS
| METH_KEYWORDS
},
26673 { (char *)"PyShapeCanvas_Snap", (PyCFunction
) _wrap_PyShapeCanvas_Snap
, METH_VARARGS
| METH_KEYWORDS
},
26674 { (char *)"PyShapeCanvas_swigregister", PyShapeCanvas_swigregister
, METH_VARARGS
},
26675 { (char *)"OGLInitialize", (PyCFunction
) _wrap_OGLInitialize
, METH_VARARGS
| METH_KEYWORDS
},
26676 { (char *)"OGLCleanUp", (PyCFunction
) _wrap_OGLCleanUp
, METH_VARARGS
| METH_KEYWORDS
},
26681 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
26683 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
26684 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
26686 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
26687 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
26689 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
26690 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
26692 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
26693 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26695 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
26696 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
26698 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
26699 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
26701 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
26702 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
26704 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
26705 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
26707 static void *_p_wxPyShapeCanvasTo_p_wxPanel(void *x
) {
26708 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyShapeCanvas
*) x
));
26710 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
26711 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
26713 static void *_p_wxPyShapeCanvasTo_p_wxScrolledWindow(void *x
) {
26714 return (void *)((wxScrolledWindow
*) ((wxPyShapeCanvas
*) x
));
26716 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
26717 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
26719 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
26720 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
26722 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
26723 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
26725 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
26726 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
26728 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
26729 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
26731 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
26732 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
26734 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
26735 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
26737 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
26738 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
26740 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
26741 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
26743 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
26744 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
26746 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
26747 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
26749 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
26750 return (void *)((wxWindow
*) ((wxPanel
*) x
));
26752 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
26753 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
26755 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
26756 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
26758 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
26759 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
26761 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
26762 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
26764 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
26765 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
26767 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
26768 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
26770 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
26771 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
26773 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
26774 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
26776 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
26777 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
26779 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
26780 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
26782 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
26783 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
26785 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
26786 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
26788 static void *_p_wxControlTo_p_wxWindow(void *x
) {
26789 return (void *)((wxWindow
*) ((wxControl
*) x
));
26791 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
26792 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
26794 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
26795 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
26797 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
26798 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
26800 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
26801 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
26803 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
26804 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
26806 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
26807 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
26809 static void *_p_wxPyShapeCanvasTo_p_wxWindow(void *x
) {
26810 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyShapeCanvas
*) x
));
26812 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
26813 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26815 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
26816 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
26818 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
26819 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
26821 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
26822 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
26824 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
26825 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
26827 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
26828 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
26830 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
26831 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
26833 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
26834 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
26836 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
26837 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
26839 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x
) {
26840 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
26842 static void *_p_wxPrintDialogTo_p_wxWindow(void *x
) {
26843 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
26845 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
26846 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
26848 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
26849 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
26851 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
26852 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
26854 static void *_p_wxPyControlPointTo_p_wxObject(void *x
) {
26855 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*)(wxPyRectangleShape
*) ((wxPyControlPoint
*) x
));
26857 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
26858 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
26860 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
26861 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
26863 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
26864 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
26866 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
26867 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
26869 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
26870 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
26872 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
26873 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
26875 static void *_p_wxOGLConstraintTo_p_wxObject(void *x
) {
26876 return (void *)((wxObject
*) ((wxOGLConstraint
*) x
));
26878 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
26879 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
26881 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
26882 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
26884 static void *_p_wxSizerTo_p_wxObject(void *x
) {
26885 return (void *)((wxObject
*) ((wxSizer
*) x
));
26887 static void *_p_wxPyDrawnShapeTo_p_wxObject(void *x
) {
26888 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*)(wxPyRectangleShape
*) ((wxPyDrawnShape
*) x
));
26890 static void *_p_wxPyDivisionShapeTo_p_wxObject(void *x
) {
26891 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*)(wxPyRectangleShape
*)(wxPyCompositeShape
*) ((wxPyDivisionShape
*) x
));
26893 static void *_p_wxPyPolygonShapeTo_p_wxObject(void *x
) {
26894 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*) ((wxPyPolygonShape
*) x
));
26896 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
26897 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
26899 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
26900 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
26902 static void *_p_wxArrowHeadTo_p_wxObject(void *x
) {
26903 return (void *)((wxObject
*) ((wxArrowHead
*) x
));
26905 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
26906 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
26908 static void *_p_wxEventTo_p_wxObject(void *x
) {
26909 return (void *)((wxObject
*) ((wxEvent
*) x
));
26911 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
26912 return (void *)((wxObject
*) ((wxFontData
*) x
));
26914 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
26915 return (void *)((wxObject
*) ((wxPrintData
*) x
));
26917 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
26918 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
26920 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
26921 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
26923 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
26924 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
26926 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
26927 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
26929 static void *_p_wxTaskBarIconTo_p_wxObject(void *x
) {
26930 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
26932 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
26933 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
26935 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
26936 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
26938 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
26939 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
26941 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
26942 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
26944 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
26945 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
26947 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
26948 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
26950 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
26951 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
26953 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
26954 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
26956 static void *_p_wxPyShapeCanvasTo_p_wxObject(void *x
) {
26957 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyShapeCanvas
*) x
));
26959 static void *_p_wxControlTo_p_wxObject(void *x
) {
26960 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
26962 static void *_p_wxPyEllipseShapeTo_p_wxObject(void *x
) {
26963 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*) ((wxPyEllipseShape
*) x
));
26965 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
26966 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
26968 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
26969 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
26971 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
26972 return (void *)((wxObject
*) ((wxFSFile
*) x
));
26974 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
26975 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
26977 static void *_p_wxPyBitmapShapeTo_p_wxObject(void *x
) {
26978 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*)(wxPyRectangleShape
*) ((wxPyBitmapShape
*) x
));
26980 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
26981 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
26983 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
26984 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
26986 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
26987 return (void *)((wxObject
*) ((wxColourData
*) x
));
26989 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
26990 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
26992 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
26993 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
26995 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
26996 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
26998 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
26999 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
27001 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
27002 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
27004 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
27005 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
27007 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
27008 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
27010 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
27011 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
27013 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
27014 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
27016 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
27017 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
27019 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
27020 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
27022 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
27023 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
27025 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
27026 return (void *)((wxObject
*) ((wxPrinter
*) x
));
27028 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
27029 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
27031 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
27032 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
27034 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
27035 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
27037 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
27038 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
27040 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
27041 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
27043 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
27044 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
27046 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
27047 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
27049 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
27050 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
27052 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
27053 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
27055 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
27056 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
27058 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
27059 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
27061 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
27062 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
27064 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
27065 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
27067 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
27068 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
27070 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
27071 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
27073 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
27074 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
27076 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
27077 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
27079 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
27080 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
27082 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
27083 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
27085 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
27086 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
27088 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
27089 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
27091 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
27092 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
27094 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
27095 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
27097 static void *_p_wxPyShapeEvtHandlerTo_p_wxObject(void *x
) {
27098 return (void *)((wxObject
*) ((wxPyShapeEvtHandler
*) x
));
27100 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
27101 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
27103 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
27104 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
27106 static void *_p_wxPyTextShapeTo_p_wxObject(void *x
) {
27107 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*)(wxPyRectangleShape
*) ((wxPyTextShape
*) x
));
27109 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
27110 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
27112 static void *_p_wxPyDividedShapeTo_p_wxObject(void *x
) {
27113 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*)(wxPyRectangleShape
*) ((wxPyDividedShape
*) x
));
27115 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
27116 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
27118 static void *_p_wxImageTo_p_wxObject(void *x
) {
27119 return (void *)((wxObject
*) ((wxImage
*) x
));
27121 static void *_p_wxFrameTo_p_wxObject(void *x
) {
27122 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
27124 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
27125 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
27127 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
27128 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
27130 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
27131 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
27133 static void *_p_wxDiagramTo_p_wxObject(void *x
) {
27134 return (void *)((wxObject
*) ((wxDiagram
*) x
));
27136 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
27137 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
27139 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
27140 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
27142 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
27143 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
27145 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
27146 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
27148 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
27149 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
27151 static void *_p_wxWindowTo_p_wxObject(void *x
) {
27152 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
27154 static void *_p_wxMenuTo_p_wxObject(void *x
) {
27155 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
27157 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
27158 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
27160 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
27161 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
27163 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
27164 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
27166 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
27167 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
27169 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
27170 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
27172 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
27173 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
27175 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
27176 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
27178 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
27179 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
27181 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
27182 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
27184 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
27185 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
27187 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
27188 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
27190 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
27191 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
27193 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
27194 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
27196 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
27197 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
27199 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
27200 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
27202 static void *_p_wxPanelTo_p_wxObject(void *x
) {
27203 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
27205 static void *_p_wxDialogTo_p_wxObject(void *x
) {
27206 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
27208 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
27209 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
27211 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
27212 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
27214 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
27215 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
27217 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
27218 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
27220 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
27221 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
27223 static void *_p_wxPyShapeTo_p_wxObject(void *x
) {
27224 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*) ((wxPyShape
*) x
));
27226 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
27227 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
27229 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
27230 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
27232 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
27233 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
27235 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
27236 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
27238 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
27239 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
27241 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
27242 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
27244 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
27245 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
27247 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
27248 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
27250 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
27251 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
27253 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
27254 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
27256 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
27257 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
27259 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
27260 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
27262 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
27263 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
27265 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
27266 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
27268 static void *_p_wxPyRectangleShapeTo_p_wxObject(void *x
) {
27269 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*) ((wxPyRectangleShape
*) x
));
27271 static void *_p_wxPyCompositeShapeTo_p_wxObject(void *x
) {
27272 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*)(wxPyRectangleShape
*) ((wxPyCompositeShape
*) x
));
27274 static void *_p_wxPyCircleShapeTo_p_wxObject(void *x
) {
27275 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*)(wxPyEllipseShape
*) ((wxPyCircleShape
*) x
));
27277 static void *_p_wxPyLineShapeTo_p_wxObject(void *x
) {
27278 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*) ((wxPyLineShape
*) x
));
27280 static void *_p_wxPseudoMetaFileTo_p_wxObject(void *x
) {
27281 return (void *)((wxObject
*) ((wxPseudoMetaFile
*) x
));
27283 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
27284 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
27286 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
27287 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
27289 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
27290 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
27292 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
27293 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
27295 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
27296 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
27298 static void *_p_wxShapeRegionTo_p_wxObject(void *x
) {
27299 return (void *)((wxObject
*) ((wxShapeRegion
*) x
));
27301 static void *_p_wxPyRectangleShapeTo_p_wxPyShapeEvtHandler(void *x
) {
27302 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*) ((wxPyRectangleShape
*) x
));
27304 static void *_p_wxPyBitmapShapeTo_p_wxPyShapeEvtHandler(void *x
) {
27305 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*)(wxPyRectangleShape
*) ((wxPyBitmapShape
*) x
));
27307 static void *_p_wxPyCompositeShapeTo_p_wxPyShapeEvtHandler(void *x
) {
27308 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*)(wxPyRectangleShape
*) ((wxPyCompositeShape
*) x
));
27310 static void *_p_wxPyCircleShapeTo_p_wxPyShapeEvtHandler(void *x
) {
27311 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*)(wxPyEllipseShape
*) ((wxPyCircleShape
*) x
));
27313 static void *_p_wxPyLineShapeTo_p_wxPyShapeEvtHandler(void *x
) {
27314 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*) ((wxPyLineShape
*) x
));
27316 static void *_p_wxPyTextShapeTo_p_wxPyShapeEvtHandler(void *x
) {
27317 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*)(wxPyRectangleShape
*) ((wxPyTextShape
*) x
));
27319 static void *_p_wxPyControlPointTo_p_wxPyShapeEvtHandler(void *x
) {
27320 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*)(wxPyRectangleShape
*) ((wxPyControlPoint
*) x
));
27322 static void *_p_wxPyDrawnShapeTo_p_wxPyShapeEvtHandler(void *x
) {
27323 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*)(wxPyRectangleShape
*) ((wxPyDrawnShape
*) x
));
27325 static void *_p_wxPyDivisionShapeTo_p_wxPyShapeEvtHandler(void *x
) {
27326 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*)(wxPyRectangleShape
*)(wxPyCompositeShape
*) ((wxPyDivisionShape
*) x
));
27328 static void *_p_wxPyPolygonShapeTo_p_wxPyShapeEvtHandler(void *x
) {
27329 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*) ((wxPyPolygonShape
*) x
));
27331 static void *_p_wxPyDividedShapeTo_p_wxPyShapeEvtHandler(void *x
) {
27332 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*)(wxPyRectangleShape
*) ((wxPyDividedShape
*) x
));
27334 static void *_p_wxPyShapeTo_p_wxPyShapeEvtHandler(void *x
) {
27335 return (void *)((wxPyShapeEvtHandler
*) ((wxPyShape
*) x
));
27337 static void *_p_wxPyEllipseShapeTo_p_wxPyShapeEvtHandler(void *x
) {
27338 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*) ((wxPyEllipseShape
*) x
));
27340 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
27341 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
27343 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
27344 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
27346 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
27347 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
27349 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
27350 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
27352 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
27353 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
27355 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
27356 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
27358 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
27359 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
27361 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
27362 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
27364 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
27365 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
27367 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
27368 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
27370 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
27371 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
27373 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
27374 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
27376 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
27377 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
27379 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
27380 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
27382 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
27383 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
27385 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
27386 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
27388 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
27389 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
27391 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
27392 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
27394 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
27395 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
27397 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
27398 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
27400 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
27401 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
27403 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
27404 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
27406 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
27407 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
27409 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
27410 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
27412 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
27413 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
27415 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
27416 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
27418 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
27419 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
27421 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
27422 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
27424 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
27425 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
27427 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
27428 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
27430 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
27431 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
27433 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
27434 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
27436 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
27437 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
27439 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
27440 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
27442 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
27443 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
27445 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
27446 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
27448 static void *_p_wxPyShapeCanvasTo_p_wxEvtHandler(void *x
) {
27449 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyShapeCanvas
*) x
));
27451 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
27452 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
27454 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
27455 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
27457 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
27458 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
27460 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
27461 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
27463 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x
) {
27464 return (void *)((wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
27466 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
27467 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
27469 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
27470 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
27472 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
27473 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
27475 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
27476 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
27478 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
27479 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
27481 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x
) {
27482 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
27484 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x
) {
27485 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
27487 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
27488 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
27490 static void *_p_wxPyCircleShapeTo_p_wxPyEllipseShape(void *x
) {
27491 return (void *)((wxPyEllipseShape
*) ((wxPyCircleShape
*) x
));
27493 static void *_p_wxPyRectangleShapeTo_p_wxPyShape(void *x
) {
27494 return (void *)((wxPyShape
*) ((wxPyRectangleShape
*) x
));
27496 static void *_p_wxPyBitmapShapeTo_p_wxPyShape(void *x
) {
27497 return (void *)((wxPyShape
*) (wxPyRectangleShape
*) ((wxPyBitmapShape
*) x
));
27499 static void *_p_wxPyCompositeShapeTo_p_wxPyShape(void *x
) {
27500 return (void *)((wxPyShape
*) (wxPyRectangleShape
*) ((wxPyCompositeShape
*) x
));
27502 static void *_p_wxPyCircleShapeTo_p_wxPyShape(void *x
) {
27503 return (void *)((wxPyShape
*) (wxPyEllipseShape
*) ((wxPyCircleShape
*) x
));
27505 static void *_p_wxPyLineShapeTo_p_wxPyShape(void *x
) {
27506 return (void *)((wxPyShape
*) ((wxPyLineShape
*) x
));
27508 static void *_p_wxPyTextShapeTo_p_wxPyShape(void *x
) {
27509 return (void *)((wxPyShape
*) (wxPyRectangleShape
*) ((wxPyTextShape
*) x
));
27511 static void *_p_wxPyControlPointTo_p_wxPyShape(void *x
) {
27512 return (void *)((wxPyShape
*) (wxPyRectangleShape
*) ((wxPyControlPoint
*) x
));
27514 static void *_p_wxPyDrawnShapeTo_p_wxPyShape(void *x
) {
27515 return (void *)((wxPyShape
*) (wxPyRectangleShape
*) ((wxPyDrawnShape
*) x
));
27517 static void *_p_wxPyDivisionShapeTo_p_wxPyShape(void *x
) {
27518 return (void *)((wxPyShape
*) (wxPyRectangleShape
*)(wxPyCompositeShape
*) ((wxPyDivisionShape
*) x
));
27520 static void *_p_wxPyPolygonShapeTo_p_wxPyShape(void *x
) {
27521 return (void *)((wxPyShape
*) ((wxPyPolygonShape
*) x
));
27523 static void *_p_wxPyDividedShapeTo_p_wxPyShape(void *x
) {
27524 return (void *)((wxPyShape
*) (wxPyRectangleShape
*) ((wxPyDividedShape
*) x
));
27526 static void *_p_wxPyEllipseShapeTo_p_wxPyShape(void *x
) {
27527 return (void *)((wxPyShape
*) ((wxPyEllipseShape
*) x
));
27529 static void *_p_wxPyBitmapShapeTo_p_wxPyRectangleShape(void *x
) {
27530 return (void *)((wxPyRectangleShape
*) ((wxPyBitmapShape
*) x
));
27532 static void *_p_wxPyCompositeShapeTo_p_wxPyRectangleShape(void *x
) {
27533 return (void *)((wxPyRectangleShape
*) ((wxPyCompositeShape
*) x
));
27535 static void *_p_wxPyTextShapeTo_p_wxPyRectangleShape(void *x
) {
27536 return (void *)((wxPyRectangleShape
*) ((wxPyTextShape
*) x
));
27538 static void *_p_wxPyControlPointTo_p_wxPyRectangleShape(void *x
) {
27539 return (void *)((wxPyRectangleShape
*) ((wxPyControlPoint
*) x
));
27541 static void *_p_wxPyDrawnShapeTo_p_wxPyRectangleShape(void *x
) {
27542 return (void *)((wxPyRectangleShape
*) ((wxPyDrawnShape
*) x
));
27544 static void *_p_wxPyDivisionShapeTo_p_wxPyRectangleShape(void *x
) {
27545 return (void *)((wxPyRectangleShape
*) (wxPyCompositeShape
*) ((wxPyDivisionShape
*) x
));
27547 static void *_p_wxPyDividedShapeTo_p_wxPyRectangleShape(void *x
) {
27548 return (void *)((wxPyRectangleShape
*) ((wxPyDividedShape
*) x
));
27550 static void *_p_wxPyDivisionShapeTo_p_wxPyCompositeShape(void *x
) {
27551 return (void *)((wxPyCompositeShape
*) ((wxPyDivisionShape
*) x
));
27553 static swig_type_info _swigt__p_wxOGLConstraint
[] = {{"_p_wxOGLConstraint", 0, "wxOGLConstraint *", 0},{"_p_wxOGLConstraint"},{0}};
27554 static swig_type_info _swigt__p_wxBrush
[] = {{"_p_wxBrush", 0, "wxBrush *", 0},{"_p_wxBrush"},{0}};
27555 static swig_type_info _swigt__p_wxColour
[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
27556 static swig_type_info _swigt__p_wxShapeRegion
[] = {{"_p_wxShapeRegion", 0, "wxShapeRegion *", 0},{"_p_wxShapeRegion"},{0}};
27557 static swig_type_info _swigt__p_wxDC
[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
27558 static swig_type_info _swigt__p_wxRealPoint
[] = {{"_p_wxRealPoint", 0, "wxRealPoint *", 0},{"_p_wxRealPoint"},{0}};
27559 static swig_type_info _swigt__p_wxPyControlPoint
[] = {{"_p_wxPyControlPoint", 0, "wxPyControlPoint *", 0},{"_p_wxPyControlPoint"},{0}};
27560 static swig_type_info _swigt__p_wxArrowHead
[] = {{"_p_wxArrowHead", 0, "wxArrowHead *", 0},{"_p_wxArrowHead"},{0}};
27561 static swig_type_info _swigt__p_wxStringList
[] = {{"_p_wxStringList", 0, "wxStringList *", 0},{"_p_wxStringList"},{0}};
27562 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}};
27563 static swig_type_info _swigt__p_bool
[] = {{"_p_bool", 0, "bool *", 0},{"_p_bool"},{0}};
27564 static swig_type_info _swigt__p_wxList
[] = {{"_p_wxList", 0, "wxList *", 0},{"_p_wxList"},{0}};
27565 static swig_type_info _swigt__p_wxFont
[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
27566 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}};
27567 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}};
27568 static swig_type_info _swigt__p_double
[] = {{"_p_double", 0, "double *", 0},{"_p_double"},{0}};
27569 static swig_type_info _swigt__p_wxPyDivisionShape
[] = {{"_p_wxPyDivisionShape", 0, "wxPyDivisionShape *", 0},{"_p_wxPyDivisionShape"},{0}};
27570 static swig_type_info _swigt__p_wxPyDrawnShape
[] = {{"_p_wxPyDrawnShape", 0, "wxPyDrawnShape *", 0},{"_p_wxPyDrawnShape"},{0}};
27571 static swig_type_info _swigt__p_wxPyPolygonShape
[] = {{"_p_wxPyPolygonShape", 0, "wxPyPolygonShape *", 0},{"_p_wxPyPolygonShape"},{0}};
27572 static swig_type_info _swigt__p_wxBitmap
[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
27573 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}};
27574 static swig_type_info _swigt__p_wxPyBitmapShape
[] = {{"_p_wxPyBitmapShape", 0, "wxPyBitmapShape *", 0},{"_p_wxPyBitmapShape"},{0}};
27575 static swig_type_info _swigt__p_wxString
[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
27576 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}};
27577 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}};
27578 static swig_type_info _swigt__p_wxPyEllipseShape
[] = {{"_p_wxPyEllipseShape", 0, "wxPyEllipseShape *", 0},{"_p_wxPyCircleShape", _p_wxPyCircleShapeTo_p_wxPyEllipseShape
},{"_p_wxPyEllipseShape"},{0}};
27579 static swig_type_info _swigt__p_wxPyShapeCanvas
[] = {{"_p_wxPyShapeCanvas", 0, "wxPyShapeCanvas *", 0},{"_p_wxPyShapeCanvas"},{0}};
27580 static swig_type_info _swigt__p_wxPoint
[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
27581 static swig_type_info _swigt__p_wxDiagram
[] = {{"_p_wxDiagram", 0, "wxDiagram *", 0},{"_p_wxDiagram"},{0}};
27582 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}};
27583 static swig_type_info _swigt__p_wxClassInfo
[] = {{"_p_wxClassInfo", 0, "wxClassInfo *", 0},{"_p_wxClassInfo"},{0}};
27584 static swig_type_info _swigt__p_wxPyLineShape
[] = {{"_p_wxPyLineShape", 0, "wxPyLineShape *", 0},{"_p_wxPyLineShape"},{0}};
27585 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}};
27586 static swig_type_info _swigt__p_wxPyCompositeShape
[] = {{"_p_wxPyCompositeShape", 0, "wxPyCompositeShape *", 0},{"_p_wxPyCompositeShape"},{"_p_wxPyDivisionShape", _p_wxPyDivisionShapeTo_p_wxPyCompositeShape
},{0}};
27587 static swig_type_info _swigt__p_wxPyCircleShape
[] = {{"_p_wxPyCircleShape", 0, "wxPyCircleShape *", 0},{"_p_wxPyCircleShape"},{0}};
27588 static swig_type_info _swigt__p_wxPen
[] = {{"_p_wxPen", 0, "wxPen *", 0},{"_p_wxPen"},{0}};
27589 static swig_type_info _swigt__p_int
[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
27590 static swig_type_info _swigt__p_wxPseudoMetaFile
[] = {{"_p_wxPseudoMetaFile", 0, "wxPseudoMetaFile *", 0},{"_p_wxPseudoMetaFile"},{0}};
27591 static swig_type_info _swigt__p_wxPyTextShape
[] = {{"_p_wxPyTextShape", 0, "wxPyTextShape *", 0},{"_p_wxPyTextShape"},{0}};
27592 static swig_type_info _swigt__p_wxPyDividedShape
[] = {{"_p_wxPyDividedShape", 0, "wxPyDividedShape *", 0},{"_p_wxPyDividedShape"},{0}};
27594 static swig_type_info
*swig_types_initial
[] = {
27595 _swigt__p_wxOGLConstraint
,
27597 _swigt__p_wxColour
,
27598 _swigt__p_wxShapeRegion
,
27600 _swigt__p_wxRealPoint
,
27601 _swigt__p_wxPyControlPoint
,
27602 _swigt__p_wxArrowHead
,
27603 _swigt__p_wxStringList
,
27608 _swigt__p_wxScrolledWindow
,
27609 _swigt__p_wxWindow
,
27611 _swigt__p_wxPyDivisionShape
,
27612 _swigt__p_wxPyDrawnShape
,
27613 _swigt__p_wxPyPolygonShape
,
27614 _swigt__p_wxBitmap
,
27615 _swigt__p_wxObject
,
27616 _swigt__p_wxPyBitmapShape
,
27617 _swigt__p_wxString
,
27618 _swigt__p_wxPyShapeEvtHandler
,
27619 _swigt__p_wxEvtHandler
,
27620 _swigt__p_wxPyEllipseShape
,
27621 _swigt__p_wxPyShapeCanvas
,
27623 _swigt__p_wxDiagram
,
27624 _swigt__p_wxPyShape
,
27625 _swigt__p_wxClassInfo
,
27626 _swigt__p_wxPyLineShape
,
27627 _swigt__p_wxPyRectangleShape
,
27628 _swigt__p_wxPyCompositeShape
,
27629 _swigt__p_wxPyCircleShape
,
27632 _swigt__p_wxPseudoMetaFile
,
27633 _swigt__p_wxPyTextShape
,
27634 _swigt__p_wxPyDividedShape
,
27639 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
27641 static swig_const_info swig_const_table
[] = {
27642 { SWIG_PY_INT
, (char *)"oglMETAFLAGS_OUTLINE", (long) oglMETAFLAGS_OUTLINE
, 0, 0, 0},
27643 { SWIG_PY_INT
, (char *)"oglMETAFLAGS_ATTACHMENTS", (long) oglMETAFLAGS_ATTACHMENTS
, 0, 0, 0},
27644 { SWIG_PY_INT
, (char *)"KEY_SHIFT", (long) KEY_SHIFT
, 0, 0, 0},
27645 { SWIG_PY_INT
, (char *)"KEY_CTRL", (long) KEY_CTRL
, 0, 0, 0},
27646 { SWIG_PY_INT
, (char *)"ARROW_NONE", (long) ARROW_NONE
, 0, 0, 0},
27647 { SWIG_PY_INT
, (char *)"ARROW_END", (long) ARROW_END
, 0, 0, 0},
27648 { SWIG_PY_INT
, (char *)"ARROW_BOTH", (long) ARROW_BOTH
, 0, 0, 0},
27649 { SWIG_PY_INT
, (char *)"ARROW_MIDDLE", (long) ARROW_MIDDLE
, 0, 0, 0},
27650 { SWIG_PY_INT
, (char *)"ARROW_START", (long) ARROW_START
, 0, 0, 0},
27651 { SWIG_PY_INT
, (char *)"ARROW_HOLLOW_CIRCLE", (long) ARROW_HOLLOW_CIRCLE
, 0, 0, 0},
27652 { SWIG_PY_INT
, (char *)"ARROW_FILLED_CIRCLE", (long) ARROW_FILLED_CIRCLE
, 0, 0, 0},
27653 { SWIG_PY_INT
, (char *)"ARROW_ARROW", (long) ARROW_ARROW
, 0, 0, 0},
27654 { SWIG_PY_INT
, (char *)"ARROW_SINGLE_OBLIQUE", (long) ARROW_SINGLE_OBLIQUE
, 0, 0, 0},
27655 { SWIG_PY_INT
, (char *)"ARROW_DOUBLE_OBLIQUE", (long) ARROW_DOUBLE_OBLIQUE
, 0, 0, 0},
27656 { SWIG_PY_INT
, (char *)"ARROW_METAFILE", (long) ARROW_METAFILE
, 0, 0, 0},
27657 { SWIG_PY_INT
, (char *)"ARROW_POSITION_END", (long) ARROW_POSITION_END
, 0, 0, 0},
27658 { SWIG_PY_INT
, (char *)"ARROW_POSITION_START", (long) ARROW_POSITION_START
, 0, 0, 0},
27659 { SWIG_PY_INT
, (char *)"CONTROL_POINT_VERTICAL", (long) CONTROL_POINT_VERTICAL
, 0, 0, 0},
27660 { SWIG_PY_INT
, (char *)"CONTROL_POINT_HORIZONTAL", (long) CONTROL_POINT_HORIZONTAL
, 0, 0, 0},
27661 { SWIG_PY_INT
, (char *)"CONTROL_POINT_DIAGONAL", (long) CONTROL_POINT_DIAGONAL
, 0, 0, 0},
27662 { SWIG_PY_INT
, (char *)"CONTROL_POINT_ENDPOINT_TO", (long) CONTROL_POINT_ENDPOINT_TO
, 0, 0, 0},
27663 { SWIG_PY_INT
, (char *)"CONTROL_POINT_ENDPOINT_FROM", (long) CONTROL_POINT_ENDPOINT_FROM
, 0, 0, 0},
27664 { SWIG_PY_INT
, (char *)"CONTROL_POINT_LINE", (long) CONTROL_POINT_LINE
, 0, 0, 0},
27665 { SWIG_PY_INT
, (char *)"FORMAT_NONE", (long) FORMAT_NONE
, 0, 0, 0},
27666 { SWIG_PY_INT
, (char *)"FORMAT_CENTRE_HORIZ", (long) FORMAT_CENTRE_HORIZ
, 0, 0, 0},
27667 { SWIG_PY_INT
, (char *)"FORMAT_CENTRE_VERT", (long) FORMAT_CENTRE_VERT
, 0, 0, 0},
27668 { SWIG_PY_INT
, (char *)"FORMAT_SIZE_TO_CONTENTS", (long) FORMAT_SIZE_TO_CONTENTS
, 0, 0, 0},
27669 { SWIG_PY_INT
, (char *)"LINE_ALIGNMENT_HORIZ", (long) LINE_ALIGNMENT_HORIZ
, 0, 0, 0},
27670 { SWIG_PY_INT
, (char *)"LINE_ALIGNMENT_VERT", (long) LINE_ALIGNMENT_VERT
, 0, 0, 0},
27671 { SWIG_PY_INT
, (char *)"LINE_ALIGNMENT_TO_NEXT_HANDLE", (long) LINE_ALIGNMENT_TO_NEXT_HANDLE
, 0, 0, 0},
27672 { SWIG_PY_INT
, (char *)"LINE_ALIGNMENT_NONE", (long) LINE_ALIGNMENT_NONE
, 0, 0, 0},
27673 { SWIG_PY_INT
, (char *)"SHADOW_NONE", (long) SHADOW_NONE
, 0, 0, 0},
27674 { SWIG_PY_INT
, (char *)"SHADOW_LEFT", (long) SHADOW_LEFT
, 0, 0, 0},
27675 { SWIG_PY_INT
, (char *)"SHADOW_RIGHT", (long) SHADOW_RIGHT
, 0, 0, 0},
27676 { SWIG_PY_INT
, (char *)"OP_CLICK_LEFT", (long) OP_CLICK_LEFT
, 0, 0, 0},
27677 { SWIG_PY_INT
, (char *)"OP_CLICK_RIGHT", (long) OP_CLICK_RIGHT
, 0, 0, 0},
27678 { SWIG_PY_INT
, (char *)"OP_DRAG_LEFT", (long) OP_DRAG_LEFT
, 0, 0, 0},
27679 { SWIG_PY_INT
, (char *)"OP_DRAG_RIGHT", (long) OP_DRAG_RIGHT
, 0, 0, 0},
27680 { SWIG_PY_INT
, (char *)"OP_ALL", (long) OP_ALL
, 0, 0, 0},
27681 { SWIG_PY_INT
, (char *)"ATTACHMENT_MODE_NONE", (long) ATTACHMENT_MODE_NONE
, 0, 0, 0},
27682 { SWIG_PY_INT
, (char *)"ATTACHMENT_MODE_EDGE", (long) ATTACHMENT_MODE_EDGE
, 0, 0, 0},
27683 { SWIG_PY_INT
, (char *)"ATTACHMENT_MODE_BRANCHING", (long) ATTACHMENT_MODE_BRANCHING
, 0, 0, 0},
27684 { SWIG_PY_INT
, (char *)"BRANCHING_ATTACHMENT_NORMAL", (long) BRANCHING_ATTACHMENT_NORMAL
, 0, 0, 0},
27685 { SWIG_PY_INT
, (char *)"BRANCHING_ATTACHMENT_BLOB", (long) BRANCHING_ATTACHMENT_BLOB
, 0, 0, 0},
27686 { SWIG_PY_INT
, (char *)"gyCONSTRAINT_CENTRED_VERTICALLY", (long) gyCONSTRAINT_CENTRED_VERTICALLY
, 0, 0, 0},
27687 { SWIG_PY_INT
, (char *)"gyCONSTRAINT_CENTRED_HORIZONTALLY", (long) gyCONSTRAINT_CENTRED_HORIZONTALLY
, 0, 0, 0},
27688 { SWIG_PY_INT
, (char *)"gyCONSTRAINT_CENTRED_BOTH", (long) gyCONSTRAINT_CENTRED_BOTH
, 0, 0, 0},
27689 { SWIG_PY_INT
, (char *)"gyCONSTRAINT_LEFT_OF", (long) gyCONSTRAINT_LEFT_OF
, 0, 0, 0},
27690 { SWIG_PY_INT
, (char *)"gyCONSTRAINT_RIGHT_OF", (long) gyCONSTRAINT_RIGHT_OF
, 0, 0, 0},
27691 { SWIG_PY_INT
, (char *)"gyCONSTRAINT_ABOVE", (long) gyCONSTRAINT_ABOVE
, 0, 0, 0},
27692 { SWIG_PY_INT
, (char *)"gyCONSTRAINT_BELOW", (long) gyCONSTRAINT_BELOW
, 0, 0, 0},
27693 { SWIG_PY_INT
, (char *)"gyCONSTRAINT_ALIGNED_TOP", (long) gyCONSTRAINT_ALIGNED_TOP
, 0, 0, 0},
27694 { SWIG_PY_INT
, (char *)"gyCONSTRAINT_ALIGNED_BOTTOM", (long) gyCONSTRAINT_ALIGNED_BOTTOM
, 0, 0, 0},
27695 { SWIG_PY_INT
, (char *)"gyCONSTRAINT_ALIGNED_LEFT", (long) gyCONSTRAINT_ALIGNED_LEFT
, 0, 0, 0},
27696 { SWIG_PY_INT
, (char *)"gyCONSTRAINT_ALIGNED_RIGHT", (long) gyCONSTRAINT_ALIGNED_RIGHT
, 0, 0, 0},
27697 { SWIG_PY_INT
, (char *)"gyCONSTRAINT_MIDALIGNED_TOP", (long) gyCONSTRAINT_MIDALIGNED_TOP
, 0, 0, 0},
27698 { SWIG_PY_INT
, (char *)"gyCONSTRAINT_MIDALIGNED_BOTTOM", (long) gyCONSTRAINT_MIDALIGNED_BOTTOM
, 0, 0, 0},
27699 { SWIG_PY_INT
, (char *)"gyCONSTRAINT_MIDALIGNED_LEFT", (long) gyCONSTRAINT_MIDALIGNED_LEFT
, 0, 0, 0},
27700 { SWIG_PY_INT
, (char *)"gyCONSTRAINT_MIDALIGNED_RIGHT", (long) gyCONSTRAINT_MIDALIGNED_RIGHT
, 0, 0, 0},
27701 { SWIG_PY_INT
, (char *)"DIVISION_SIDE_NONE", (long) DIVISION_SIDE_NONE
, 0, 0, 0},
27702 { SWIG_PY_INT
, (char *)"DIVISION_SIDE_LEFT", (long) DIVISION_SIDE_LEFT
, 0, 0, 0},
27703 { SWIG_PY_INT
, (char *)"DIVISION_SIDE_TOP", (long) DIVISION_SIDE_TOP
, 0, 0, 0},
27704 { SWIG_PY_INT
, (char *)"DIVISION_SIDE_RIGHT", (long) DIVISION_SIDE_RIGHT
, 0, 0, 0},
27705 { SWIG_PY_INT
, (char *)"DIVISION_SIDE_BOTTOM", (long) DIVISION_SIDE_BOTTOM
, 0, 0, 0},
27715 SWIGEXPORT(void) SWIG_init(void) {
27716 static PyObject
*SWIG_globals
= 0;
27717 static int typeinit
= 0;
27720 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
27721 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
27722 d
= PyModule_GetDict(m
);
27725 for (i
= 0; swig_types_initial
[i
]; i
++) {
27726 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
27730 SWIG_InstallConstants(d
,swig_const_table
);
27734 // initoglbasicc();
27735 // initoglshapesc();
27736 // initoglshapes2c();
27737 // initoglcanvasc();
27740 wxPyPtrTypeMap_Add("wxControlPoint", "wxPyControlPoint");
27741 wxPyPtrTypeMap_Add("wxShapeCanvas", "wxPyShapeCanvas");
27742 wxPyPtrTypeMap_Add("wxShapeEvtHandler", "wxPyShapeEvtHandler");
27743 wxPyPtrTypeMap_Add("wxShape", "wxPyShape");
27744 wxPyPtrTypeMap_Add("wxRectangleShape", "wxPyRectangleShape");
27745 wxPyPtrTypeMap_Add("wxDrawnShape", "wxPyDrawnShape");
27746 wxPyPtrTypeMap_Add("wxCompositeShape", "wxPyCompositeShape");
27747 wxPyPtrTypeMap_Add("wxDividedShape", "wxPyDividedShape");
27748 wxPyPtrTypeMap_Add("wxDivisionShape", "wxPyDivisionShape");
27749 wxPyPtrTypeMap_Add("wxEllipseShape", "wxPyEllipseShape");
27750 wxPyPtrTypeMap_Add("wxCircleShape", "wxPyCircleShape");
27751 wxPyPtrTypeMap_Add("wxLineShape", "wxPyLineShape");
27752 wxPyPtrTypeMap_Add("wxPolygonShape", "wxPyPolygonShape");
27753 wxPyPtrTypeMap_Add("wxTextShape", "wxPyTextShape");