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_STATIC_INLINE static inline
146 #define SWIG_STATIC_INLINE static
149 SWIG_STATIC_INLINE
long
150 SPyObj_AsLong(PyObject
* obj
)
152 return PyInt_Check(obj
) ? PyInt_AsLong(obj
) : PyLong_AsLong(obj
);
155 SWIG_STATIC_INLINE
unsigned long
156 SPyObj_AsUnsignedLong(PyObject
* obj
)
158 if (PyLong_Check(obj
)) {
159 return PyLong_AsUnsignedLong(obj
);
161 long i
= PyInt_AsLong(obj
);
162 if ( !PyErr_Occurred() && (i
< 0)) {
163 PyErr_SetString(PyExc_TypeError
, "negative value for unsigned type");
169 #if !defined(_MSC_VER)
170 SWIG_STATIC_INLINE PyObject
*
171 SPyObj_FromLongLong(long long value
)
173 return (value
> (long)(LONG_MAX
)) ?
174 PyLong_FromLongLong(value
) : PyInt_FromLong((long)value
);
178 SWIG_STATIC_INLINE PyObject
*
179 SPyObj_FromUnsignedLong(unsigned long value
)
181 return (value
> (unsigned long)(LONG_MAX
)) ?
182 PyLong_FromUnsignedLong(value
) : PyInt_FromLong((long)value
);
185 #if !defined(_MSC_VER)
186 SWIG_STATIC_INLINE PyObject
*
187 SPyObj_FromUnsignedLongLong(unsigned long long value
)
189 return (value
> (unsigned long long)(LONG_MAX
)) ?
190 PyLong_FromUnsignedLongLong(value
) : PyInt_FromLong((long)value
);
194 SWIG_STATIC_INLINE
long
195 SPyObj_AsLongInRange(PyObject
* obj
, long min_value
, long max_value
)
197 long value
= SPyObj_AsLong(obj
);
198 if (!PyErr_Occurred()) {
199 if (value
< min_value
) {
200 PyErr_SetString(PyExc_OverflowError
,"value is smaller than type minimum");
201 } else if (value
> max_value
) {
202 PyErr_SetString(PyExc_OverflowError
,"value is greater than type maximum");
208 SWIG_STATIC_INLINE
unsigned long
209 SPyObj_AsUnsignedLongInRange(PyObject
*obj
, unsigned long max_value
)
211 unsigned long value
= SPyObj_AsUnsignedLong(obj
);
212 if (!PyErr_Occurred()) {
213 if (value
> max_value
) {
214 PyErr_SetString(PyExc_OverflowError
,"value is greater than type maximum");
220 SWIG_STATIC_INLINE
signed char
221 SPyObj_AsSignedChar(PyObject
*obj
) {
222 return (signed char)SPyObj_AsLongInRange(obj
, SCHAR_MIN
, SCHAR_MAX
);
225 SWIG_STATIC_INLINE
short
226 SPyObj_AsShort(PyObject
*obj
) {
227 return (short)SPyObj_AsLongInRange(obj
, SHRT_MIN
, SHRT_MAX
);
230 SWIG_STATIC_INLINE
int
231 SPyObj_AsInt(PyObject
*obj
) {
232 return SPyObj_AsLongInRange(obj
, INT_MIN
, INT_MAX
);
235 SWIG_STATIC_INLINE
unsigned char
236 SPyObj_AsUnsignedChar(PyObject
*obj
) {
237 return (unsigned char)SPyObj_AsUnsignedLongInRange(obj
, UCHAR_MAX
);
240 SWIG_STATIC_INLINE
unsigned short
241 SPyObj_AsUnsignedShort(PyObject
*obj
) {
242 return (unsigned short)SPyObj_AsUnsignedLongInRange(obj
, USHRT_MAX
);
245 SWIG_STATIC_INLINE
unsigned int
246 SPyObj_AsUnsignedInt(PyObject
*obj
) {
247 return SPyObj_AsUnsignedLongInRange(obj
, UINT_MAX
);
250 #if !defined(_MSC_VER)
251 SWIG_STATIC_INLINE
long long
252 SPyObj_AsLongLong(PyObject
*obj
) {
253 return PyInt_Check(obj
) ?
254 PyInt_AsLong(obj
) : PyLong_AsLongLong(obj
);
257 SWIG_STATIC_INLINE
unsigned long long
258 SPyObj_AsUnsignedLongLong(PyObject
*obj
) {
259 return PyLong_Check(obj
) ?
260 PyLong_AsUnsignedLongLong(obj
) : SPyObj_AsUnsignedLong(obj
);
264 SWIG_STATIC_INLINE
double
265 SPyObj_AsDouble(PyObject
*obj
) {
266 return (PyFloat_Check(obj
)) ? PyFloat_AsDouble(obj
) :
267 (double)((PyInt_Check(obj
)) ? PyInt_AsLong(obj
) : PyLong_AsLongLong(obj
));
270 SWIG_STATIC_INLINE
float
271 SPyObj_AsFloat(PyObject
*obj
) {
272 double value
= SPyObj_AsDouble(obj
);
273 if (!PyErr_Occurred()) {
274 if (value
< FLT_MIN
) {
275 PyErr_SetString(PyExc_OverflowError
,"float is smaller than flt_min");
276 } else if (value
> FLT_MAX
) {
277 PyErr_SetString(PyExc_OverflowError
,"float is greater than flt_max");
280 return (float) value
;
283 SWIG_STATIC_INLINE
char
284 SPyObj_AsChar(PyObject
*obj
) {
285 char c
= (PyString_Check(obj
) && PyString_Size(obj
) == 1) ?
286 PyString_AsString(obj
)[0]
287 : (char) SPyObj_AsLongInRange(obj
, CHAR_MIN
, CHAR_MAX
);
288 if (PyErr_Occurred()) {
290 PyErr_SetString(PyExc_TypeError
, "a char is required");
295 SWIG_STATIC_INLINE PyObject
*
296 SPyObj_FromChar(char c
) {
297 return PyString_FromStringAndSize(&c
,1);
300 SWIG_STATIC_INLINE PyObject
*
301 SPyObj_FromCharPtr(const char* cptr
) {
302 return cptr
? PyString_FromString(cptr
) : Py_BuildValue((char*)"");
305 SWIG_STATIC_INLINE
int
306 SPyObj_AsBool(PyObject
*obj
) {
307 return SPyObj_AsLong
/*Long*/(obj
) ? 1 : 0;
316 #define SWIG_PY_INT 1
317 #define SWIG_PY_FLOAT 2
318 #define SWIG_PY_STRING 3
319 #define SWIG_PY_POINTER 4
320 #define SWIG_PY_BINARY 5
322 /* Flags for pointer conversion */
324 #define SWIG_POINTER_EXCEPTION 0x1
325 #define SWIG_POINTER_DISOWN 0x2
327 /* Exception handling in wrappers */
328 #define SWIG_fail goto fail
330 /* Constant information structure */
331 typedef struct swig_const_info
{
337 swig_type_info
**ptype
;
340 /* Common SWIG API */
341 #define SWIG_ConvertPtr(obj, pp, type, flags) \
342 SWIG_Python_ConvertPtr(obj, pp, type, flags)
343 #define SWIG_NewPointerObj(p, type, flags) \
344 SWIG_Python_NewPointerObj(p, type, flags)
345 #define SWIG_MustGetPtr(p, type, argnum, flags) \
346 SWIG_Python_MustGetPtr(p, type, argnum, flags)
348 /* Python-specific SWIG API */
349 #define SWIG_newvarlink() \
350 SWIG_Python_newvarlink()
351 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
352 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
353 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
354 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
355 #define SWIG_NewPackedObj(ptr, sz, type) \
356 SWIG_Python_NewPackedObj(ptr, sz, type)
357 #define SWIG_InstallConstants(d, constants) \
358 SWIG_Python_InstallConstants(d, constants)
361 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
362 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
363 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
364 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
365 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
366 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
367 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
368 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
372 /* Contract support */
374 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
382 /* -------- TYPES TABLE (BEGIN) -------- */
384 #define SWIGTYPE_p_wxOGLConstraint swig_types[0]
385 #define SWIGTYPE_p_wxBrush swig_types[1]
386 #define SWIGTYPE_p_wxColour swig_types[2]
387 #define SWIGTYPE_p_wxShapeRegion swig_types[3]
388 #define SWIGTYPE_p_wxDC swig_types[4]
389 #define SWIGTYPE_p_wxRealPoint swig_types[5]
390 #define SWIGTYPE_p_wxPyControlPoint swig_types[6]
391 #define SWIGTYPE_p_wxArrowHead swig_types[7]
392 #define SWIGTYPE_p_wxStringList swig_types[8]
393 #define SWIGTYPE_p_wxPanel swig_types[9]
394 #define SWIGTYPE_p_bool swig_types[10]
395 #define SWIGTYPE_p_wxList swig_types[11]
396 #define SWIGTYPE_p_wxFont swig_types[12]
397 #define SWIGTYPE_p_wxScrolledWindow swig_types[13]
398 #define SWIGTYPE_p_wxWindow swig_types[14]
399 #define SWIGTYPE_p_double swig_types[15]
400 #define SWIGTYPE_p_wxPyDivisionShape swig_types[16]
401 #define SWIGTYPE_p_wxPyDrawnShape swig_types[17]
402 #define SWIGTYPE_p_wxPyPolygonShape swig_types[18]
403 #define SWIGTYPE_p_wxBitmap swig_types[19]
404 #define SWIGTYPE_p_wxObject swig_types[20]
405 #define SWIGTYPE_p_wxPyBitmapShape swig_types[21]
406 #define SWIGTYPE_p_wxString swig_types[22]
407 #define SWIGTYPE_p_wxPyShapeEvtHandler swig_types[23]
408 #define SWIGTYPE_p_wxEvtHandler swig_types[24]
409 #define SWIGTYPE_p_wxPyEllipseShape swig_types[25]
410 #define SWIGTYPE_p_wxPyShapeCanvas swig_types[26]
411 #define SWIGTYPE_p_wxPoint swig_types[27]
412 #define SWIGTYPE_p_wxDiagram swig_types[28]
413 #define SWIGTYPE_p_wxPyShape swig_types[29]
414 #define SWIGTYPE_p_wxAttachmentPoint swig_types[30]
415 #define SWIGTYPE_p_wxClassInfo swig_types[31]
416 #define SWIGTYPE_p_wxPyLineShape swig_types[32]
417 #define SWIGTYPE_p_wxPyRectangleShape swig_types[33]
418 #define SWIGTYPE_p_wxPyCompositeShape swig_types[34]
419 #define SWIGTYPE_p_wxPyCircleShape swig_types[35]
420 #define SWIGTYPE_p_wxPen swig_types[36]
421 #define SWIGTYPE_p_int swig_types[37]
422 #define SWIGTYPE_p_wxPseudoMetaFile swig_types[38]
423 #define SWIGTYPE_p_wxPyTextShape swig_types[39]
424 #define SWIGTYPE_p_wxPyDividedShape swig_types[40]
425 static swig_type_info
*swig_types
[42];
427 /* -------- TYPES TABLE (END) -------- */
430 /*-----------------------------------------------
432 ------------------------------------------------*/
433 #define SWIG_init init_ogl
435 #define SWIG_name "_ogl"
437 #include "wx/wxPython/wxPython.h"
438 #include "wx/wxPython/pyclasses.h"
439 #include "oglhelpers.h"
442 static const wxString
wxPyEmptyString(wxEmptyString
);
444 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
450 } else if (target
== Py_None
) {
454 if (!PyTuple_Check(target
)) {
456 target
= PyTuple_New(1);
457 PyTuple_SetItem(target
, 0, o2
);
460 PyTuple_SetItem(o3
, 0, o
);
463 target
= PySequence_Concat(o2
, o3
);
471 WXSHAPE_IMP_CALLBACKS(wxPyShapeEvtHandler
,wxShapeEvtHandler
);
473 void wxPyShapeEvtHandler__setOORInfo(wxPyShapeEvtHandler
*self
,PyObject
*_self
){
474 self
->SetClientObject(new wxPyOORClientData(_self
));
477 WXSHAPE_IMP_CALLBACKS(wxPyShape
, wxShape
);
479 PyObject
*wxPyShape_GetChildren(wxPyShape
*self
){
480 wxList
& list
= self
->GetChildren();
481 return wxPy_ConvertShapeList(&list
);
483 PyObject
*wxPyShape_GetLines(wxPyShape
*self
){
484 wxList
& list
= self
->GetLines();
485 return wxPy_ConvertShapeList(&list
);
487 PyObject
*wxPyShape_GetRegions(wxPyShape
*self
){
488 wxList
& list
= self
->GetRegions();
489 return wxPy_ConvertList(&list
);
491 PyObject
*wxPyShape_GetAttachments(wxPyShape
*self
){
492 wxList
& list
= self
->GetAttachments();
493 return wxPy_ConvertList(&list
);
495 void wxPyShape_ApplyAttachmentOrdering(wxPyShape
*self
,PyObject
*linesToSort
){
496 wxList
* list
= wxPy_wxListHelper(linesToSort
, wxT("wxPyLineShape"));
497 self
->ApplyAttachmentOrdering(*list
);
501 // Using this macro can sometimes provoke an Internal Compiler Error in MSVC
502 // 6, so instead I'l just expand it out by hand...
503 // WXSHAPE_IMP_CALLBACKS(wxPyRectangleShape, wxRectangleShape);
505 IMP_PYCALLBACK__ (wxPyRectangleShape
, wxRectangleShape
, OnDelete
);
506 IMP_PYCALLBACK__DC (wxPyRectangleShape
, wxRectangleShape
, OnDraw
);
507 IMP_PYCALLBACK__DC (wxPyRectangleShape
, wxRectangleShape
, OnDrawContents
);
508 IMP_PYCALLBACK__DCBOOL (wxPyRectangleShape
, wxRectangleShape
, OnDrawBranches
);
509 IMP_PYCALLBACK__DC (wxPyRectangleShape
, wxRectangleShape
, OnMoveLinks
);
510 IMP_PYCALLBACK__DC (wxPyRectangleShape
, wxRectangleShape
, OnErase
);
511 IMP_PYCALLBACK__DC (wxPyRectangleShape
, wxRectangleShape
, OnEraseContents
);
512 IMP_PYCALLBACK__DC (wxPyRectangleShape
, wxRectangleShape
, OnHighlight
);
513 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape
, wxRectangleShape
, OnLeftClick
);
514 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape
, wxRectangleShape
, OnLeftDoubleClick
);
515 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape
, wxRectangleShape
, OnRightClick
);
516 IMP_PYCALLBACK__2DBL (wxPyRectangleShape
, wxRectangleShape
, OnSize
);
517 IMP_PYCALLBACK_BOOL_DC4DBLBOOL (wxPyRectangleShape
, wxRectangleShape
, OnMovePre
);
518 IMP_PYCALLBACK__DC4DBLBOOL (wxPyRectangleShape
, wxRectangleShape
, OnMovePost
);
519 IMP_PYCALLBACK__BOOL2DBL2INT (wxPyRectangleShape
, wxRectangleShape
, OnDragLeft
);
520 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape
, wxRectangleShape
, OnBeginDragLeft
);
521 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape
, wxRectangleShape
, OnEndDragLeft
);
522 IMP_PYCALLBACK__BOOL2DBL2INT (wxPyRectangleShape
, wxRectangleShape
, OnDragRight
);
523 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape
, wxRectangleShape
, OnBeginDragRight
);
524 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape
, wxRectangleShape
, OnEndDragRight
);
525 IMP_PYCALLBACK__DC4DBL (wxPyRectangleShape
, wxRectangleShape
, OnDrawOutline
);
526 IMP_PYCALLBACK__DC (wxPyRectangleShape
, wxRectangleShape
, OnDrawControlPoints
);
527 IMP_PYCALLBACK__DC (wxPyRectangleShape
, wxRectangleShape
, OnEraseControlPoints
);
528 IMP_PYCALLBACK__DCBOOL (wxPyRectangleShape
, wxRectangleShape
, OnMoveLink
);
529 IMP_PYCALLBACK__WXCPBOOL2DBL2INT(wxPyRectangleShape
, wxRectangleShape
, OnSizingDragLeft
);
530 IMP_PYCALLBACK__WXCP2DBL2INT (wxPyRectangleShape
, wxRectangleShape
, OnSizingBeginDragLeft
);
531 IMP_PYCALLBACK__WXCP2DBL2INT (wxPyRectangleShape
, wxRectangleShape
, OnSizingEndDragLeft
);
532 IMP_PYCALLBACK__2DBL (wxPyRectangleShape
, wxRectangleShape
, OnBeginSize
);
533 IMP_PYCALLBACK__2DBL (wxPyRectangleShape
, wxRectangleShape
, OnEndSize
)
537 WXSHAPE_IMP_CALLBACKS(wxPyControlPoint
, wxControlPoint
);
540 WXSHAPE_IMP_CALLBACKS(wxPyBitmapShape
, wxBitmapShape
);
543 WXSHAPE_IMP_CALLBACKS(wxPyDrawnShape
, wxDrawnShape
);
545 wxOGLConstraint
*new_wxOGLConstraint(int type
,wxPyShape
*constraining
,PyObject
*constrained
){
546 wxList
* list
= wxPy_wxListHelper(constrained
, wxT("wxPyShape"));
547 wxOGLConstraint
* rv
= new wxOGLConstraint(type
, constraining
, *list
);
552 WXSHAPE_IMP_CALLBACKS(wxPyCompositeShape
, wxCompositeShape
);
554 wxOGLConstraint
*wxPyCompositeShape_AddConstrainedShapes(wxPyCompositeShape
*self
,int type
,wxPyShape
*constraining
,PyObject
*constrained
){
555 wxList
* list
= wxPy_wxListHelper(constrained
, wxT("wxPyShape"));
556 wxOGLConstraint
* rv
= self
->AddConstraint(type
, constraining
, *list
);
560 PyObject
*wxPyCompositeShape_GetConstraints(wxPyCompositeShape
*self
){
561 wxList
& list
= self
->GetConstraints();
562 return wxPy_ConvertList(&list
);
564 PyObject
*wxPyCompositeShape_GetDivisions(wxPyCompositeShape
*self
){
565 wxList
& list
= self
->GetDivisions();
566 return wxPy_ConvertShapeList(&list
);
569 WXSHAPE_IMP_CALLBACKS(wxPyDividedShape
, wxDividedShape
);
572 WXSHAPE_IMP_CALLBACKS(wxPyDivisionShape
, wxDivisionShape
);
575 WXSHAPE_IMP_CALLBACKS(wxPyEllipseShape
, wxEllipseShape
);
578 WXSHAPE_IMP_CALLBACKS(wxPyCircleShape
, wxCircleShape
);
581 WXSHAPE_IMP_CALLBACKS(wxPyLineShape
, wxLineShape
);
583 void wxPyLineShape_AddArrowOrdered(wxPyLineShape
*self
,wxArrowHead
*arrow
,PyObject
*referenceList
,int end
){
584 wxList
* list
= wxPy_wxListHelper(referenceList
, wxT("wxArrowHead"));
585 self
->AddArrowOrdered(arrow
, *list
, end
);
588 PyObject
*wxPyLineShape_GetLineControlPoints(wxPyLineShape
*self
){
589 wxList
* list
= self
->GetLineControlPoints();
590 return wxPy_ConvertShapeList(list
);
593 WXSHAPE_IMP_CALLBACKS(wxPyPolygonShape
, wxPolygonShape
);
595 PyObject
*wxPyPolygonShape_Create(wxPyPolygonShape
*self
,PyObject
*points
){
596 wxList
* list
= wxPy_wxRealPoint_ListHelper(points
);
604 PyObject
*wxPyPolygonShape_GetPoints(wxPyPolygonShape
*self
){
605 wxList
* list
= self
->GetPoints();
609 wxNode
* node
= list
->GetFirst();
611 wxPyBeginBlockThreads();
612 pyList
= PyList_New(0);
614 wxObj
= node
->GetData();
615 pyObj
= wxPyConstructObject(wxObj
, wxT("wxRealPoint"), 0);
616 PyList_Append(pyList
, pyObj
);
617 node
= node
->GetNext();
619 wxPyEndBlockThreads();
622 PyObject
*wxPyPolygonShape_GetOriginalPoints(wxPyPolygonShape
*self
){
623 wxList
* list
= self
->GetOriginalPoints();
627 wxNode
* node
= list
->GetFirst();
629 wxPyBeginBlockThreads();
630 pyList
= PyList_New(0);
632 wxObj
= node
->GetData();
633 pyObj
= wxPyConstructObject(wxObj
, wxT("wxRealPoint"), 0);
634 PyList_Append(pyList
, pyObj
);
635 node
= node
->GetNext();
637 wxPyEndBlockThreads();
641 WXSHAPE_IMP_CALLBACKS(wxPyTextShape
, wxTextShape
);
644 // Put some wx default wxChar* values into wxStrings.
645 DECLARE_DEF_STRING(ShapeCanvasNameStr
);
647 PyObject
*wxDiagram_GetShapeList(wxDiagram
*self
){
648 wxList
* list
= self
->GetShapeList();
649 return wxPy_ConvertShapeList(list
);
652 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas
, wxShapeCanvas
, OnBeginDragLeft
);
653 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas
, wxShapeCanvas
, OnBeginDragRight
);
654 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas
, wxShapeCanvas
, OnEndDragLeft
);
655 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas
, wxShapeCanvas
, OnEndDragRight
);
656 IMP_PYCALLBACK__BOOL2DBLINT(wxPyShapeCanvas
, wxShapeCanvas
, OnDragLeft
);
657 IMP_PYCALLBACK__BOOL2DBLINT(wxPyShapeCanvas
, wxShapeCanvas
, OnDragRight
);
658 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas
, wxShapeCanvas
, OnLeftClick
);
659 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas
, wxShapeCanvas
, OnRightClick
);
662 //---------------------------------------------------------------------------
664 // Convert from a Python list to a list of className objects. This one will
665 // work for any class for the VERY generic cases, but beyond that the helper
666 // needs to know more about the type.
667 wxList
* wxPy_wxListHelper(PyObject
* pyList
, const wxChar
* className
) {
668 wxPyBeginBlockThreads();
669 if (!PyList_Check(pyList
)) {
670 PyErr_SetString(PyExc_TypeError
, "Expected a list object.");
671 wxPyEndBlockThreads();
674 int count
= PyList_Size(pyList
);
675 wxList
* list
= new wxList
;
677 PyErr_SetString(PyExc_MemoryError
, "Unable to allocate wxList object");
678 wxPyEndBlockThreads();
681 for (int x
=0; x
<count
; x
++) {
682 PyObject
* pyo
= PyList_GetItem(pyList
, x
);
683 wxObject
* wxo
= NULL
;
685 if ( !wxPyConvertSwigPtr(pyo
, (void **)&wxo
, className
) ) {
687 errmsg
.Printf(wxT("Type error, expected list of %s objects"), className
);
688 PyErr_SetString(PyExc_TypeError
, errmsg
.mb_str());
689 wxPyEndBlockThreads();
694 wxPyEndBlockThreads();
698 //---------------------------------------------------------------------------
700 wxList
* wxPy_wxRealPoint_ListHelper(PyObject
* pyList
) {
701 wxPyBeginBlockThreads();
702 if (!PyList_Check(pyList
)) {
703 PyErr_SetString(PyExc_TypeError
, "Expected a list object.");
704 wxPyEndBlockThreads();
707 int count
= PyList_Size(pyList
);
708 wxList
* list
= new wxList
;
710 PyErr_SetString(PyExc_MemoryError
, "Unable to allocate wxList object");
711 wxPyEndBlockThreads();
714 for (int x
=0; x
<count
; x
++) {
715 PyObject
* pyo
= PyList_GetItem(pyList
, x
);
717 if (PyTuple_Check(pyo
)) {
718 PyObject
* o1
= PyNumber_Float(PyTuple_GetItem(pyo
, 0));
719 PyObject
* o2
= PyNumber_Float(PyTuple_GetItem(pyo
, 1));
721 double val1
= (o1
? PyFloat_AsDouble(o1
) : 0.0);
722 double val2
= (o2
? PyFloat_AsDouble(o2
) : 0.0);
724 list
->Append((wxObject
*) new wxRealPoint(val1
, val2
));
727 wxRealPoint
* wxo
= NULL
;
728 if (wxPyConvertSwigPtr(pyo
, (void **)&wxo
, wxT("wxRealPoint"))) {
729 PyErr_SetString(PyExc_TypeError
, "Type error, expected list of wxRealPoint objects or 2-tuples");
730 wxPyEndBlockThreads();
733 list
->Append((wxObject
*) new wxRealPoint(*wxo
));
736 wxPyEndBlockThreads();
740 //---------------------------------------------------------------------------
742 PyObject
* wxPyMake_wxShapeEvtHandler(wxShapeEvtHandler
* source
) {
743 PyObject
* target
= NULL
;
745 if (source
&& wxIsKindOf(source
, wxShapeEvtHandler
)) {
746 // If it's derived from wxShapeEvtHandler then there may
747 // already be a pointer to a Python object that we can use
749 wxShapeEvtHandler
* seh
= (wxShapeEvtHandler
*)source
;
750 wxPyOORClientData
* data
= (wxPyOORClientData
*)seh
->GetClientObject();
752 target
= data
->m_obj
;
757 target
= wxPyMake_wxObject2(source
, FALSE
);
758 if (target
!= Py_None
)
759 ((wxShapeEvtHandler
*)source
)->SetClientObject(new wxPyOORClientData(target
));
764 //---------------------------------------------------------------------------
766 PyObject
* wxPy_ConvertShapeList(wxListBase
* listbase
) {
767 wxList
* list
= (wxList
*)listbase
;
771 wxNode
* node
= list
->GetFirst();
773 wxPyBeginBlockThreads();
774 pyList
= PyList_New(0);
776 wxObj
= node
->GetData();
777 pyObj
= wxPyMake_wxShapeEvtHandler((wxShapeEvtHandler
*)wxObj
);
778 PyList_Append(pyList
, pyObj
);
779 node
= node
->GetNext();
781 wxPyEndBlockThreads();
786 //---------------------------------------------------------------------------
788 IMPLEMENT_DYNAMIC_CLASS(wxPyShapeCanvas
, wxShapeCanvas
);
789 IMPLEMENT_DYNAMIC_CLASS(wxPyShapeEvtHandler
, wxShapeEvtHandler
);
790 IMPLEMENT_ABSTRACT_CLASS(wxPyShape
, wxShape
);
791 IMPLEMENT_DYNAMIC_CLASS(wxPyRectangleShape
, wxRectangleShape
);
792 IMPLEMENT_DYNAMIC_CLASS(wxPyControlPoint
, wxControlPoint
);
793 IMPLEMENT_DYNAMIC_CLASS(wxPyBitmapShape
, wxBitmapShape
);
794 IMPLEMENT_DYNAMIC_CLASS(wxPyDrawnShape
, wxDrawnShape
);
795 IMPLEMENT_DYNAMIC_CLASS(wxPyCompositeShape
, wxCompositeShape
);
796 IMPLEMENT_DYNAMIC_CLASS(wxPyDividedShape
, wxDividedShape
);
797 IMPLEMENT_DYNAMIC_CLASS(wxPyDivisionShape
, wxDivisionShape
);
798 IMPLEMENT_DYNAMIC_CLASS(wxPyEllipseShape
, wxEllipseShape
);
799 IMPLEMENT_DYNAMIC_CLASS(wxPyCircleShape
, wxCircleShape
);
800 IMPLEMENT_DYNAMIC_CLASS(wxPyLineShape
, wxLineShape
);
801 IMPLEMENT_DYNAMIC_CLASS(wxPyPolygonShape
, wxPolygonShape
);
802 IMPLEMENT_DYNAMIC_CLASS(wxPyTextShape
, wxTextShape
);
804 //---------------------------------------------------------------------------
806 // extern "C" SWIGEXPORT(void) initoglbasicc();
807 // extern "C" SWIGEXPORT(void) initoglshapesc();
808 // extern "C" SWIGEXPORT(void) initoglshapes2c();
809 // extern "C" SWIGEXPORT(void) initoglcanvasc();
814 static PyObject
*_wrap_new_ShapeRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
816 wxShapeRegion
*result
;
821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ShapeRegion",kwnames
)) goto fail
;
823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
824 result
= (wxShapeRegion
*)new wxShapeRegion();
826 wxPyEndAllowThreads(__tstate
);
827 if (PyErr_Occurred()) SWIG_fail
;
829 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxShapeRegion
, 1);
836 static PyObject
*_wrap_ShapeRegion_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
838 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
841 PyObject
* obj0
= 0 ;
842 PyObject
* obj1
= 0 ;
844 (char *) "self",(char *) "s", NULL
847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShapeRegion_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
848 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
850 arg2
= wxString_in_helper(obj1
);
851 if (arg2
== NULL
) SWIG_fail
;
855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
856 (arg1
)->SetText((wxString
const &)*arg2
);
858 wxPyEndAllowThreads(__tstate
);
859 if (PyErr_Occurred()) SWIG_fail
;
861 Py_INCREF(Py_None
); resultobj
= Py_None
;
876 static PyObject
*_wrap_ShapeRegion_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
878 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
879 wxFont
*arg2
= (wxFont
*) 0 ;
880 PyObject
* obj0
= 0 ;
881 PyObject
* obj1
= 0 ;
883 (char *) "self",(char *) "f", NULL
886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShapeRegion_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
887 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
891 if (obj1
== Py_None
) {
894 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxFont"))) {
895 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxFont.");
900 arg2
= wxTheFontList
->FindOrCreateFont(temp
->GetPointSize(),
904 temp
->GetUnderlined(),
906 temp
->GetEncoding());
911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
912 (arg1
)->SetFont(arg2
);
914 wxPyEndAllowThreads(__tstate
);
915 if (PyErr_Occurred()) SWIG_fail
;
917 Py_INCREF(Py_None
); resultobj
= Py_None
;
924 static PyObject
*_wrap_ShapeRegion_SetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
926 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
929 PyObject
* obj0
= 0 ;
931 (char *) "self",(char *) "w",(char *) "h", NULL
934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:ShapeRegion_SetMinSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
935 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
938 (arg1
)->SetMinSize(arg2
,arg3
);
940 wxPyEndAllowThreads(__tstate
);
941 if (PyErr_Occurred()) SWIG_fail
;
943 Py_INCREF(Py_None
); resultobj
= Py_None
;
950 static PyObject
*_wrap_ShapeRegion_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
952 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
955 PyObject
* obj0
= 0 ;
957 (char *) "self",(char *) "w",(char *) "h", NULL
960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:ShapeRegion_SetSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
961 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
964 (arg1
)->SetSize(arg2
,arg3
);
966 wxPyEndAllowThreads(__tstate
);
967 if (PyErr_Occurred()) SWIG_fail
;
969 Py_INCREF(Py_None
); resultobj
= Py_None
;
976 static PyObject
*_wrap_ShapeRegion_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
978 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
981 PyObject
* obj0
= 0 ;
983 (char *) "self",(char *) "x",(char *) "y", NULL
986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:ShapeRegion_SetPosition",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
987 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
990 (arg1
)->SetPosition(arg2
,arg3
);
992 wxPyEndAllowThreads(__tstate
);
993 if (PyErr_Occurred()) SWIG_fail
;
995 Py_INCREF(Py_None
); resultobj
= Py_None
;
1002 static PyObject
*_wrap_ShapeRegion_SetProportions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1003 PyObject
*resultobj
;
1004 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1007 PyObject
* obj0
= 0 ;
1009 (char *) "self",(char *) "x",(char *) "y", NULL
1012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:ShapeRegion_SetProportions",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
1013 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1016 (arg1
)->SetProportions(arg2
,arg3
);
1018 wxPyEndAllowThreads(__tstate
);
1019 if (PyErr_Occurred()) SWIG_fail
;
1021 Py_INCREF(Py_None
); resultobj
= Py_None
;
1028 static PyObject
*_wrap_ShapeRegion_SetFormatMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1029 PyObject
*resultobj
;
1030 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1032 PyObject
* obj0
= 0 ;
1034 (char *) "self",(char *) "mode", NULL
1037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ShapeRegion_SetFormatMode",kwnames
,&obj0
,&arg2
)) goto fail
;
1038 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1041 (arg1
)->SetFormatMode(arg2
);
1043 wxPyEndAllowThreads(__tstate
);
1044 if (PyErr_Occurred()) SWIG_fail
;
1046 Py_INCREF(Py_None
); resultobj
= Py_None
;
1053 static PyObject
*_wrap_ShapeRegion_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1054 PyObject
*resultobj
;
1055 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1056 wxString
*arg2
= 0 ;
1057 bool temp2
= False
;
1058 PyObject
* obj0
= 0 ;
1059 PyObject
* obj1
= 0 ;
1061 (char *) "self",(char *) "s", NULL
1064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShapeRegion_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
1065 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1067 arg2
= wxString_in_helper(obj1
);
1068 if (arg2
== NULL
) SWIG_fail
;
1072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1073 (arg1
)->SetName((wxString
const &)*arg2
);
1075 wxPyEndAllowThreads(__tstate
);
1076 if (PyErr_Occurred()) SWIG_fail
;
1078 Py_INCREF(Py_None
); resultobj
= Py_None
;
1093 static PyObject
*_wrap_ShapeRegion_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1094 PyObject
*resultobj
;
1095 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1096 wxString
*arg2
= 0 ;
1097 bool temp2
= False
;
1098 PyObject
* obj0
= 0 ;
1099 PyObject
* obj1
= 0 ;
1101 (char *) "self",(char *) "col", NULL
1104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShapeRegion_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
1105 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1107 arg2
= wxString_in_helper(obj1
);
1108 if (arg2
== NULL
) SWIG_fail
;
1112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1113 (arg1
)->SetColour((wxString
const &)*arg2
);
1115 wxPyEndAllowThreads(__tstate
);
1116 if (PyErr_Occurred()) SWIG_fail
;
1118 Py_INCREF(Py_None
); resultobj
= Py_None
;
1133 static PyObject
*_wrap_ShapeRegion_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1134 PyObject
*resultobj
;
1135 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1137 PyObject
* obj0
= 0 ;
1139 (char *) "self", NULL
1142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetText",kwnames
,&obj0
)) goto fail
;
1143 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1146 result
= (arg1
)->GetText();
1148 wxPyEndAllowThreads(__tstate
);
1149 if (PyErr_Occurred()) SWIG_fail
;
1153 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1155 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1164 static PyObject
*_wrap_ShapeRegion_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1165 PyObject
*resultobj
;
1166 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1168 PyObject
* obj0
= 0 ;
1170 (char *) "self", NULL
1173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetFont",kwnames
,&obj0
)) goto fail
;
1174 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1177 result
= (wxFont
*)(arg1
)->GetFont();
1179 wxPyEndAllowThreads(__tstate
);
1180 if (PyErr_Occurred()) SWIG_fail
;
1182 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFont
, 0);
1189 static PyObject
*_wrap_ShapeRegion_GetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1190 PyObject
*resultobj
;
1191 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1192 double *arg2
= (double *) 0 ;
1193 double *arg3
= (double *) 0 ;
1196 PyObject
* obj0
= 0 ;
1198 (char *) "self", NULL
1203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetMinSize",kwnames
,&obj0
)) goto fail
;
1204 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1207 (arg1
)->GetMinSize(arg2
,arg3
);
1209 wxPyEndAllowThreads(__tstate
);
1210 if (PyErr_Occurred()) SWIG_fail
;
1212 Py_INCREF(Py_None
); resultobj
= Py_None
;
1214 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
1215 resultobj
= t_output_helper(resultobj
,o
);
1218 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
1219 resultobj
= t_output_helper(resultobj
,o
);
1227 static PyObject
*_wrap_ShapeRegion_GetProportion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1228 PyObject
*resultobj
;
1229 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1230 double *arg2
= (double *) 0 ;
1231 double *arg3
= (double *) 0 ;
1234 PyObject
* obj0
= 0 ;
1236 (char *) "self", NULL
1241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetProportion",kwnames
,&obj0
)) goto fail
;
1242 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1245 (arg1
)->GetProportion(arg2
,arg3
);
1247 wxPyEndAllowThreads(__tstate
);
1248 if (PyErr_Occurred()) SWIG_fail
;
1250 Py_INCREF(Py_None
); resultobj
= Py_None
;
1252 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
1253 resultobj
= t_output_helper(resultobj
,o
);
1256 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
1257 resultobj
= t_output_helper(resultobj
,o
);
1265 static PyObject
*_wrap_ShapeRegion_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1266 PyObject
*resultobj
;
1267 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1268 double *arg2
= (double *) 0 ;
1269 double *arg3
= (double *) 0 ;
1272 PyObject
* obj0
= 0 ;
1274 (char *) "self", NULL
1279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetSize",kwnames
,&obj0
)) goto fail
;
1280 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1283 (arg1
)->GetSize(arg2
,arg3
);
1285 wxPyEndAllowThreads(__tstate
);
1286 if (PyErr_Occurred()) SWIG_fail
;
1288 Py_INCREF(Py_None
); resultobj
= Py_None
;
1290 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
1291 resultobj
= t_output_helper(resultobj
,o
);
1294 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
1295 resultobj
= t_output_helper(resultobj
,o
);
1303 static PyObject
*_wrap_ShapeRegion_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1304 PyObject
*resultobj
;
1305 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1306 double *arg2
= (double *) 0 ;
1307 double *arg3
= (double *) 0 ;
1310 PyObject
* obj0
= 0 ;
1312 (char *) "self", NULL
1317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetPosition",kwnames
,&obj0
)) goto fail
;
1318 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1321 (arg1
)->GetPosition(arg2
,arg3
);
1323 wxPyEndAllowThreads(__tstate
);
1324 if (PyErr_Occurred()) SWIG_fail
;
1326 Py_INCREF(Py_None
); resultobj
= Py_None
;
1328 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
1329 resultobj
= t_output_helper(resultobj
,o
);
1332 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
1333 resultobj
= t_output_helper(resultobj
,o
);
1341 static PyObject
*_wrap_ShapeRegion_GetFormatMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1342 PyObject
*resultobj
;
1343 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1345 PyObject
* obj0
= 0 ;
1347 (char *) "self", NULL
1350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetFormatMode",kwnames
,&obj0
)) goto fail
;
1351 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1354 result
= (int)(arg1
)->GetFormatMode();
1356 wxPyEndAllowThreads(__tstate
);
1357 if (PyErr_Occurred()) SWIG_fail
;
1359 resultobj
= PyInt_FromLong((long)result
);
1366 static PyObject
*_wrap_ShapeRegion_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1367 PyObject
*resultobj
;
1368 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1370 PyObject
* obj0
= 0 ;
1372 (char *) "self", NULL
1375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetName",kwnames
,&obj0
)) goto fail
;
1376 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1379 result
= (arg1
)->GetName();
1381 wxPyEndAllowThreads(__tstate
);
1382 if (PyErr_Occurred()) SWIG_fail
;
1386 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1388 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1397 static PyObject
*_wrap_ShapeRegion_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1398 PyObject
*resultobj
;
1399 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1401 PyObject
* obj0
= 0 ;
1403 (char *) "self", NULL
1406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetColour",kwnames
,&obj0
)) goto fail
;
1407 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1410 result
= (arg1
)->GetColour();
1412 wxPyEndAllowThreads(__tstate
);
1413 if (PyErr_Occurred()) SWIG_fail
;
1417 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1419 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1428 static PyObject
*_wrap_ShapeRegion_GetActualColourObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1429 PyObject
*resultobj
;
1430 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1432 PyObject
* obj0
= 0 ;
1434 (char *) "self", NULL
1437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetActualColourObject",kwnames
,&obj0
)) goto fail
;
1438 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1441 result
= (arg1
)->GetActualColourObject();
1443 wxPyEndAllowThreads(__tstate
);
1444 if (PyErr_Occurred()) SWIG_fail
;
1447 wxColour
* resultptr
;
1448 resultptr
= new wxColour((wxColour
&) result
);
1449 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
1457 static PyObject
*_wrap_ShapeRegion_GetFormattedText(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_GetFormattedText",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();
1471 wxList
&_result_ref
= (arg1
)->GetFormattedText();
1472 result
= (wxList
*) &_result_ref
;
1475 wxPyEndAllowThreads(__tstate
);
1476 if (PyErr_Occurred()) SWIG_fail
;
1478 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxList
, 0);
1485 static PyObject
*_wrap_ShapeRegion_GetPenColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1486 PyObject
*resultobj
;
1487 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1489 PyObject
* obj0
= 0 ;
1491 (char *) "self", NULL
1494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetPenColour",kwnames
,&obj0
)) goto fail
;
1495 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1498 result
= (arg1
)->GetPenColour();
1500 wxPyEndAllowThreads(__tstate
);
1501 if (PyErr_Occurred()) SWIG_fail
;
1505 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1507 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1516 static PyObject
*_wrap_ShapeRegion_GetPenStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1517 PyObject
*resultobj
;
1518 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1520 PyObject
* obj0
= 0 ;
1522 (char *) "self", NULL
1525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetPenStyle",kwnames
,&obj0
)) goto fail
;
1526 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1529 result
= (int)(arg1
)->GetPenStyle();
1531 wxPyEndAllowThreads(__tstate
);
1532 if (PyErr_Occurred()) SWIG_fail
;
1534 resultobj
= PyInt_FromLong((long)result
);
1541 static PyObject
*_wrap_ShapeRegion_SetPenStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1542 PyObject
*resultobj
;
1543 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1545 PyObject
* obj0
= 0 ;
1547 (char *) "self",(char *) "style", NULL
1550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ShapeRegion_SetPenStyle",kwnames
,&obj0
,&arg2
)) goto fail
;
1551 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1554 (arg1
)->SetPenStyle(arg2
);
1556 wxPyEndAllowThreads(__tstate
);
1557 if (PyErr_Occurred()) SWIG_fail
;
1559 Py_INCREF(Py_None
); resultobj
= Py_None
;
1566 static PyObject
*_wrap_ShapeRegion_SetPenColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1567 PyObject
*resultobj
;
1568 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1569 wxString
*arg2
= 0 ;
1570 bool temp2
= False
;
1571 PyObject
* obj0
= 0 ;
1572 PyObject
* obj1
= 0 ;
1574 (char *) "self",(char *) "col", NULL
1577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShapeRegion_SetPenColour",kwnames
,&obj0
,&obj1
)) goto fail
;
1578 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1580 arg2
= wxString_in_helper(obj1
);
1581 if (arg2
== NULL
) SWIG_fail
;
1585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1586 (arg1
)->SetPenColour((wxString
const &)*arg2
);
1588 wxPyEndAllowThreads(__tstate
);
1589 if (PyErr_Occurred()) SWIG_fail
;
1591 Py_INCREF(Py_None
); resultobj
= Py_None
;
1606 static PyObject
*_wrap_ShapeRegion_GetActualPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1607 PyObject
*resultobj
;
1608 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1610 PyObject
* obj0
= 0 ;
1612 (char *) "self", NULL
1615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetActualPen",kwnames
,&obj0
)) goto fail
;
1616 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1619 result
= (wxPen
*)(arg1
)->GetActualPen();
1621 wxPyEndAllowThreads(__tstate
);
1622 if (PyErr_Occurred()) SWIG_fail
;
1624 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPen
, 0);
1631 static PyObject
*_wrap_ShapeRegion_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1632 PyObject
*resultobj
;
1633 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1635 PyObject
* obj0
= 0 ;
1637 (char *) "self", NULL
1640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetWidth",kwnames
,&obj0
)) goto fail
;
1641 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1644 result
= (double)(arg1
)->GetWidth();
1646 wxPyEndAllowThreads(__tstate
);
1647 if (PyErr_Occurred()) SWIG_fail
;
1649 resultobj
= PyFloat_FromDouble(result
);
1656 static PyObject
*_wrap_ShapeRegion_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1657 PyObject
*resultobj
;
1658 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1660 PyObject
* obj0
= 0 ;
1662 (char *) "self", NULL
1665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetHeight",kwnames
,&obj0
)) goto fail
;
1666 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1669 result
= (double)(arg1
)->GetHeight();
1671 wxPyEndAllowThreads(__tstate
);
1672 if (PyErr_Occurred()) SWIG_fail
;
1674 resultobj
= PyFloat_FromDouble(result
);
1681 static PyObject
*_wrap_ShapeRegion_ClearText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1682 PyObject
*resultobj
;
1683 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1684 PyObject
* obj0
= 0 ;
1686 (char *) "self", NULL
1689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_ClearText",kwnames
,&obj0
)) goto fail
;
1690 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1693 (arg1
)->ClearText();
1695 wxPyEndAllowThreads(__tstate
);
1696 if (PyErr_Occurred()) SWIG_fail
;
1698 Py_INCREF(Py_None
); resultobj
= Py_None
;
1705 static PyObject
* ShapeRegion_swigregister(PyObject
*self
, PyObject
*args
) {
1707 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1708 SWIG_TypeClientData(SWIGTYPE_p_wxShapeRegion
, obj
);
1710 return Py_BuildValue((char *)"");
1712 static PyObject
*_wrap_new_AttachmentPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1713 PyObject
*resultobj
;
1714 int arg1
= (int) 0 ;
1715 double arg2
= (double) 0.0 ;
1716 double arg3
= (double) 0.0 ;
1717 wxAttachmentPoint
*result
;
1719 (char *) "id",(char *) "x",(char *) "y", NULL
1722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|idd:new_AttachmentPoint",kwnames
,&arg1
,&arg2
,&arg3
)) goto fail
;
1724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1725 result
= (wxAttachmentPoint
*)new wxAttachmentPoint(arg1
,arg2
,arg3
);
1727 wxPyEndAllowThreads(__tstate
);
1728 if (PyErr_Occurred()) SWIG_fail
;
1730 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxAttachmentPoint
, 1);
1737 static PyObject
*_wrap_AttachmentPoint_m_id_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1738 PyObject
*resultobj
;
1739 wxAttachmentPoint
*arg1
= (wxAttachmentPoint
*) 0 ;
1741 PyObject
* obj0
= 0 ;
1743 (char *) "self",(char *) "m_id", NULL
1746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:AttachmentPoint_m_id_set",kwnames
,&obj0
,&arg2
)) goto fail
;
1747 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAttachmentPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1748 if (arg1
) (arg1
)->m_id
= arg2
;
1750 Py_INCREF(Py_None
); resultobj
= Py_None
;
1757 static PyObject
*_wrap_AttachmentPoint_m_id_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1758 PyObject
*resultobj
;
1759 wxAttachmentPoint
*arg1
= (wxAttachmentPoint
*) 0 ;
1761 PyObject
* obj0
= 0 ;
1763 (char *) "self", NULL
1766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AttachmentPoint_m_id_get",kwnames
,&obj0
)) goto fail
;
1767 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAttachmentPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1768 result
= (int) ((arg1
)->m_id
);
1770 resultobj
= PyInt_FromLong((long)result
);
1777 static PyObject
*_wrap_AttachmentPoint_m_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1778 PyObject
*resultobj
;
1779 wxAttachmentPoint
*arg1
= (wxAttachmentPoint
*) 0 ;
1781 PyObject
* obj0
= 0 ;
1783 (char *) "self",(char *) "m_x", NULL
1786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Od:AttachmentPoint_m_x_set",kwnames
,&obj0
,&arg2
)) goto fail
;
1787 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAttachmentPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1788 if (arg1
) (arg1
)->m_x
= arg2
;
1790 Py_INCREF(Py_None
); resultobj
= Py_None
;
1797 static PyObject
*_wrap_AttachmentPoint_m_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1798 PyObject
*resultobj
;
1799 wxAttachmentPoint
*arg1
= (wxAttachmentPoint
*) 0 ;
1801 PyObject
* obj0
= 0 ;
1803 (char *) "self", NULL
1806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AttachmentPoint_m_x_get",kwnames
,&obj0
)) goto fail
;
1807 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAttachmentPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1808 result
= (double) ((arg1
)->m_x
);
1810 resultobj
= PyFloat_FromDouble(result
);
1817 static PyObject
*_wrap_AttachmentPoint_m_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1818 PyObject
*resultobj
;
1819 wxAttachmentPoint
*arg1
= (wxAttachmentPoint
*) 0 ;
1821 PyObject
* obj0
= 0 ;
1823 (char *) "self",(char *) "m_y", NULL
1826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Od:AttachmentPoint_m_y_set",kwnames
,&obj0
,&arg2
)) goto fail
;
1827 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAttachmentPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1828 if (arg1
) (arg1
)->m_y
= arg2
;
1830 Py_INCREF(Py_None
); resultobj
= Py_None
;
1837 static PyObject
*_wrap_AttachmentPoint_m_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1838 PyObject
*resultobj
;
1839 wxAttachmentPoint
*arg1
= (wxAttachmentPoint
*) 0 ;
1841 PyObject
* obj0
= 0 ;
1843 (char *) "self", NULL
1846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AttachmentPoint_m_y_get",kwnames
,&obj0
)) goto fail
;
1847 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAttachmentPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1848 result
= (double) ((arg1
)->m_y
);
1850 resultobj
= PyFloat_FromDouble(result
);
1857 static PyObject
* AttachmentPoint_swigregister(PyObject
*self
, PyObject
*args
) {
1859 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1860 SWIG_TypeClientData(SWIGTYPE_p_wxAttachmentPoint
, obj
);
1862 return Py_BuildValue((char *)"");
1864 static PyObject
*_wrap_new_PyShapeEvtHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1865 PyObject
*resultobj
;
1866 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) NULL
;
1867 wxPyShape
*arg2
= (wxPyShape
*) NULL
;
1868 wxPyShapeEvtHandler
*result
;
1869 PyObject
* obj0
= 0 ;
1870 PyObject
* obj1
= 0 ;
1872 (char *) "prev",(char *) "shape", NULL
1875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyShapeEvtHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
1877 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1880 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1884 result
= (wxPyShapeEvtHandler
*)new wxPyShapeEvtHandler(arg1
,arg2
);
1886 wxPyEndAllowThreads(__tstate
);
1887 if (PyErr_Occurred()) SWIG_fail
;
1890 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
1898 static PyObject
*_wrap_PyShapeEvtHandler__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1899 PyObject
*resultobj
;
1900 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
1901 PyObject
*arg2
= (PyObject
*) 0 ;
1902 PyObject
*arg3
= (PyObject
*) 0 ;
1903 PyObject
* obj0
= 0 ;
1904 PyObject
* obj1
= 0 ;
1905 PyObject
* obj2
= 0 ;
1907 (char *) "self",(char *) "self",(char *) "_class", NULL
1910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShapeEvtHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1911 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1916 (arg1
)->_setCallbackInfo(arg2
,arg3
);
1918 wxPyEndAllowThreads(__tstate
);
1919 if (PyErr_Occurred()) SWIG_fail
;
1921 Py_INCREF(Py_None
); resultobj
= Py_None
;
1928 static PyObject
*_wrap_PyShapeEvtHandler__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1929 PyObject
*resultobj
;
1930 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
1931 PyObject
*arg2
= (PyObject
*) 0 ;
1932 PyObject
* obj0
= 0 ;
1933 PyObject
* obj1
= 0 ;
1935 (char *) "self",(char *) "_self", NULL
1938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
1939 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1943 wxPyShapeEvtHandler__setOORInfo(arg1
,arg2
);
1945 wxPyEndAllowThreads(__tstate
);
1946 if (PyErr_Occurred()) SWIG_fail
;
1948 Py_INCREF(Py_None
); resultobj
= Py_None
;
1955 static PyObject
*_wrap_PyShapeEvtHandler_SetShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1956 PyObject
*resultobj
;
1957 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
1958 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
1959 PyObject
* obj0
= 0 ;
1960 PyObject
* obj1
= 0 ;
1962 (char *) "self",(char *) "sh", NULL
1965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler_SetShape",kwnames
,&obj0
,&obj1
)) goto fail
;
1966 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1967 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1970 (arg1
)->SetShape(arg2
);
1972 wxPyEndAllowThreads(__tstate
);
1973 if (PyErr_Occurred()) SWIG_fail
;
1975 Py_INCREF(Py_None
); resultobj
= Py_None
;
1982 static PyObject
*_wrap_PyShapeEvtHandler_GetShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1983 PyObject
*resultobj
;
1984 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
1986 PyObject
* obj0
= 0 ;
1988 (char *) "self", NULL
1991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShapeEvtHandler_GetShape",kwnames
,&obj0
)) goto fail
;
1992 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1995 result
= (wxPyShape
*)(arg1
)->GetShape();
1997 wxPyEndAllowThreads(__tstate
);
1998 if (PyErr_Occurred()) SWIG_fail
;
2001 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
2009 static PyObject
*_wrap_PyShapeEvtHandler_SetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2010 PyObject
*resultobj
;
2011 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2012 wxPyShapeEvtHandler
*arg2
= (wxPyShapeEvtHandler
*) 0 ;
2013 PyObject
* obj0
= 0 ;
2014 PyObject
* obj1
= 0 ;
2016 (char *) "self",(char *) "handler", NULL
2019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler_SetPreviousHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
2020 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2021 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2024 (arg1
)->SetPreviousHandler(arg2
);
2026 wxPyEndAllowThreads(__tstate
);
2027 if (PyErr_Occurred()) SWIG_fail
;
2029 Py_INCREF(Py_None
); resultobj
= Py_None
;
2036 static PyObject
*_wrap_PyShapeEvtHandler_GetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2037 PyObject
*resultobj
;
2038 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2039 wxPyShapeEvtHandler
*result
;
2040 PyObject
* obj0
= 0 ;
2042 (char *) "self", NULL
2045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShapeEvtHandler_GetPreviousHandler",kwnames
,&obj0
)) goto fail
;
2046 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2049 result
= (wxPyShapeEvtHandler
*)(arg1
)->GetPreviousHandler();
2051 wxPyEndAllowThreads(__tstate
);
2052 if (PyErr_Occurred()) SWIG_fail
;
2055 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
2063 static PyObject
*_wrap_PyShapeEvtHandler_CreateNewCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2064 PyObject
*resultobj
;
2065 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2066 wxPyShapeEvtHandler
*result
;
2067 PyObject
* obj0
= 0 ;
2069 (char *) "self", NULL
2072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShapeEvtHandler_CreateNewCopy",kwnames
,&obj0
)) goto fail
;
2073 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2076 result
= (wxPyShapeEvtHandler
*)(arg1
)->CreateNewCopy();
2078 wxPyEndAllowThreads(__tstate
);
2079 if (PyErr_Occurred()) SWIG_fail
;
2082 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
2090 static PyObject
*_wrap_PyShapeEvtHandler_base_OnDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2091 PyObject
*resultobj
;
2092 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2093 PyObject
* obj0
= 0 ;
2095 (char *) "self", NULL
2098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShapeEvtHandler_base_OnDelete",kwnames
,&obj0
)) goto fail
;
2099 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2102 (arg1
)->base_OnDelete();
2104 wxPyEndAllowThreads(__tstate
);
2105 if (PyErr_Occurred()) SWIG_fail
;
2107 Py_INCREF(Py_None
); resultobj
= Py_None
;
2114 static PyObject
*_wrap_PyShapeEvtHandler_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2115 PyObject
*resultobj
;
2116 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2118 PyObject
* obj0
= 0 ;
2119 PyObject
* obj1
= 0 ;
2121 (char *) "self",(char *) "dc", NULL
2124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
2125 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2126 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2128 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2132 (arg1
)->base_OnDraw(*arg2
);
2134 wxPyEndAllowThreads(__tstate
);
2135 if (PyErr_Occurred()) SWIG_fail
;
2137 Py_INCREF(Py_None
); resultobj
= Py_None
;
2144 static PyObject
*_wrap_PyShapeEvtHandler_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2145 PyObject
*resultobj
;
2146 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2148 PyObject
* obj0
= 0 ;
2149 PyObject
* obj1
= 0 ;
2151 (char *) "self",(char *) "dc", NULL
2154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
2155 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2156 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2158 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2162 (arg1
)->base_OnDrawContents(*arg2
);
2164 wxPyEndAllowThreads(__tstate
);
2165 if (PyErr_Occurred()) SWIG_fail
;
2167 Py_INCREF(Py_None
); resultobj
= Py_None
;
2174 static PyObject
*_wrap_PyShapeEvtHandler_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2175 PyObject
*resultobj
;
2176 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2178 bool arg3
= (bool) False
;
2179 PyObject
* obj0
= 0 ;
2180 PyObject
* obj1
= 0 ;
2181 PyObject
* obj2
= 0 ;
2183 (char *) "self",(char *) "dc",(char *) "erase", NULL
2186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShapeEvtHandler_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2187 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2188 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2190 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2194 arg3
= (bool) SPyObj_AsBool(obj2
);
2195 if (PyErr_Occurred()) SWIG_fail
;
2199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2200 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
2202 wxPyEndAllowThreads(__tstate
);
2203 if (PyErr_Occurred()) SWIG_fail
;
2205 Py_INCREF(Py_None
); resultobj
= Py_None
;
2212 static PyObject
*_wrap_PyShapeEvtHandler_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2213 PyObject
*resultobj
;
2214 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2216 PyObject
* obj0
= 0 ;
2217 PyObject
* obj1
= 0 ;
2219 (char *) "self",(char *) "dc", NULL
2222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
2223 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2224 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2226 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2230 (arg1
)->base_OnMoveLinks(*arg2
);
2232 wxPyEndAllowThreads(__tstate
);
2233 if (PyErr_Occurred()) SWIG_fail
;
2235 Py_INCREF(Py_None
); resultobj
= Py_None
;
2242 static PyObject
*_wrap_PyShapeEvtHandler_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2243 PyObject
*resultobj
;
2244 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2246 PyObject
* obj0
= 0 ;
2247 PyObject
* obj1
= 0 ;
2249 (char *) "self",(char *) "dc", NULL
2252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
2253 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2254 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2256 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2260 (arg1
)->base_OnErase(*arg2
);
2262 wxPyEndAllowThreads(__tstate
);
2263 if (PyErr_Occurred()) SWIG_fail
;
2265 Py_INCREF(Py_None
); resultobj
= Py_None
;
2272 static PyObject
*_wrap_PyShapeEvtHandler_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2273 PyObject
*resultobj
;
2274 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2276 PyObject
* obj0
= 0 ;
2277 PyObject
* obj1
= 0 ;
2279 (char *) "self",(char *) "dc", NULL
2282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
2283 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2284 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2286 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2290 (arg1
)->base_OnEraseContents(*arg2
);
2292 wxPyEndAllowThreads(__tstate
);
2293 if (PyErr_Occurred()) SWIG_fail
;
2295 Py_INCREF(Py_None
); resultobj
= Py_None
;
2302 static PyObject
*_wrap_PyShapeEvtHandler_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2303 PyObject
*resultobj
;
2304 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2306 PyObject
* obj0
= 0 ;
2307 PyObject
* obj1
= 0 ;
2309 (char *) "self",(char *) "dc", NULL
2312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
2313 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2314 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2316 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2320 (arg1
)->base_OnHighlight(*arg2
);
2322 wxPyEndAllowThreads(__tstate
);
2323 if (PyErr_Occurred()) SWIG_fail
;
2325 Py_INCREF(Py_None
); resultobj
= Py_None
;
2332 static PyObject
*_wrap_PyShapeEvtHandler_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2333 PyObject
*resultobj
;
2334 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2337 int arg4
= (int) 0 ;
2338 int arg5
= (int) 0 ;
2339 PyObject
* obj0
= 0 ;
2341 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyShapeEvtHandler_base_OnLeftClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
2345 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2348 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
2350 wxPyEndAllowThreads(__tstate
);
2351 if (PyErr_Occurred()) SWIG_fail
;
2353 Py_INCREF(Py_None
); resultobj
= Py_None
;
2360 static PyObject
*_wrap_PyShapeEvtHandler_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2361 PyObject
*resultobj
;
2362 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2365 int arg4
= (int) 0 ;
2366 int arg5
= (int) 0 ;
2367 PyObject
* obj0
= 0 ;
2369 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyShapeEvtHandler_base_OnLeftDoubleClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
2373 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2376 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
2378 wxPyEndAllowThreads(__tstate
);
2379 if (PyErr_Occurred()) SWIG_fail
;
2381 Py_INCREF(Py_None
); resultobj
= Py_None
;
2388 static PyObject
*_wrap_PyShapeEvtHandler_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2389 PyObject
*resultobj
;
2390 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2393 int arg4
= (int) 0 ;
2394 int arg5
= (int) 0 ;
2395 PyObject
* obj0
= 0 ;
2397 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyShapeEvtHandler_base_OnRightClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
2401 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2404 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
2406 wxPyEndAllowThreads(__tstate
);
2407 if (PyErr_Occurred()) SWIG_fail
;
2409 Py_INCREF(Py_None
); resultobj
= Py_None
;
2416 static PyObject
*_wrap_PyShapeEvtHandler_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2417 PyObject
*resultobj
;
2418 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2421 PyObject
* obj0
= 0 ;
2423 (char *) "self",(char *) "x",(char *) "y", NULL
2426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyShapeEvtHandler_base_OnSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
2427 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2430 (arg1
)->base_OnSize(arg2
,arg3
);
2432 wxPyEndAllowThreads(__tstate
);
2433 if (PyErr_Occurred()) SWIG_fail
;
2435 Py_INCREF(Py_None
); resultobj
= Py_None
;
2442 static PyObject
*_wrap_PyShapeEvtHandler_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2443 PyObject
*resultobj
;
2444 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2450 bool arg7
= (bool) True
;
2452 PyObject
* obj0
= 0 ;
2453 PyObject
* obj1
= 0 ;
2454 PyObject
* obj6
= 0 ;
2456 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
2459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd|O:PyShapeEvtHandler_base_OnMovePre",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
)) goto fail
;
2460 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2461 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2463 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2467 arg7
= (bool) SPyObj_AsBool(obj6
);
2468 if (PyErr_Occurred()) SWIG_fail
;
2472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2473 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
2475 wxPyEndAllowThreads(__tstate
);
2476 if (PyErr_Occurred()) SWIG_fail
;
2478 resultobj
= PyInt_FromLong((long)result
);
2485 static PyObject
*_wrap_PyShapeEvtHandler_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2486 PyObject
*resultobj
;
2487 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2493 bool arg7
= (bool) True
;
2494 PyObject
* obj0
= 0 ;
2495 PyObject
* obj1
= 0 ;
2496 PyObject
* obj6
= 0 ;
2498 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
2501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd|O:PyShapeEvtHandler_base_OnMovePost",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
)) goto fail
;
2502 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2503 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2505 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2509 arg7
= (bool) SPyObj_AsBool(obj6
);
2510 if (PyErr_Occurred()) SWIG_fail
;
2514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2515 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
2517 wxPyEndAllowThreads(__tstate
);
2518 if (PyErr_Occurred()) SWIG_fail
;
2520 Py_INCREF(Py_None
); resultobj
= Py_None
;
2527 static PyObject
*_wrap_PyShapeEvtHandler_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2528 PyObject
*resultobj
;
2529 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2533 int arg5
= (int) 0 ;
2534 int arg6
= (int) 0 ;
2535 PyObject
* obj0
= 0 ;
2536 PyObject
* obj1
= 0 ;
2538 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyShapeEvtHandler_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
2542 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2544 arg2
= (bool) SPyObj_AsBool(obj1
);
2545 if (PyErr_Occurred()) SWIG_fail
;
2548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2549 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
2551 wxPyEndAllowThreads(__tstate
);
2552 if (PyErr_Occurred()) SWIG_fail
;
2554 Py_INCREF(Py_None
); resultobj
= Py_None
;
2561 static PyObject
*_wrap_PyShapeEvtHandler_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2562 PyObject
*resultobj
;
2563 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2566 int arg4
= (int) 0 ;
2567 int arg5
= (int) 0 ;
2568 PyObject
* obj0
= 0 ;
2570 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyShapeEvtHandler_base_OnBeginDragLeft",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
2574 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2577 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
2579 wxPyEndAllowThreads(__tstate
);
2580 if (PyErr_Occurred()) SWIG_fail
;
2582 Py_INCREF(Py_None
); resultobj
= Py_None
;
2589 static PyObject
*_wrap_PyShapeEvtHandler_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2590 PyObject
*resultobj
;
2591 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2594 int arg4
= (int) 0 ;
2595 int arg5
= (int) 0 ;
2596 PyObject
* obj0
= 0 ;
2598 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyShapeEvtHandler_base_OnEndDragLeft",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
2602 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2605 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
2607 wxPyEndAllowThreads(__tstate
);
2608 if (PyErr_Occurred()) SWIG_fail
;
2610 Py_INCREF(Py_None
); resultobj
= Py_None
;
2617 static PyObject
*_wrap_PyShapeEvtHandler_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2618 PyObject
*resultobj
;
2619 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2623 int arg5
= (int) 0 ;
2624 int arg6
= (int) 0 ;
2625 PyObject
* obj0
= 0 ;
2626 PyObject
* obj1
= 0 ;
2628 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyShapeEvtHandler_base_OnDragRight",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
2632 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2634 arg2
= (bool) SPyObj_AsBool(obj1
);
2635 if (PyErr_Occurred()) SWIG_fail
;
2638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2639 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
2641 wxPyEndAllowThreads(__tstate
);
2642 if (PyErr_Occurred()) SWIG_fail
;
2644 Py_INCREF(Py_None
); resultobj
= Py_None
;
2651 static PyObject
*_wrap_PyShapeEvtHandler_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2652 PyObject
*resultobj
;
2653 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2656 int arg4
= (int) 0 ;
2657 int arg5
= (int) 0 ;
2658 PyObject
* obj0
= 0 ;
2660 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyShapeEvtHandler_base_OnBeginDragRight",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
2664 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2667 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
2669 wxPyEndAllowThreads(__tstate
);
2670 if (PyErr_Occurred()) SWIG_fail
;
2672 Py_INCREF(Py_None
); resultobj
= Py_None
;
2679 static PyObject
*_wrap_PyShapeEvtHandler_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2680 PyObject
*resultobj
;
2681 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2684 int arg4
= (int) 0 ;
2685 int arg5
= (int) 0 ;
2686 PyObject
* obj0
= 0 ;
2688 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyShapeEvtHandler_base_OnEndDragRight",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
2692 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2695 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
2697 wxPyEndAllowThreads(__tstate
);
2698 if (PyErr_Occurred()) SWIG_fail
;
2700 Py_INCREF(Py_None
); resultobj
= Py_None
;
2707 static PyObject
*_wrap_PyShapeEvtHandler_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2708 PyObject
*resultobj
;
2709 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2715 PyObject
* obj0
= 0 ;
2716 PyObject
* obj1
= 0 ;
2718 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
2721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd:PyShapeEvtHandler_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
2722 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2723 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2725 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2729 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
2731 wxPyEndAllowThreads(__tstate
);
2732 if (PyErr_Occurred()) SWIG_fail
;
2734 Py_INCREF(Py_None
); resultobj
= Py_None
;
2741 static PyObject
*_wrap_PyShapeEvtHandler_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2742 PyObject
*resultobj
;
2743 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2745 PyObject
* obj0
= 0 ;
2746 PyObject
* obj1
= 0 ;
2748 (char *) "self",(char *) "dc", NULL
2751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
2752 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2753 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2755 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2759 (arg1
)->base_OnDrawControlPoints(*arg2
);
2761 wxPyEndAllowThreads(__tstate
);
2762 if (PyErr_Occurred()) SWIG_fail
;
2764 Py_INCREF(Py_None
); resultobj
= Py_None
;
2771 static PyObject
*_wrap_PyShapeEvtHandler_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2772 PyObject
*resultobj
;
2773 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2775 PyObject
* obj0
= 0 ;
2776 PyObject
* obj1
= 0 ;
2778 (char *) "self",(char *) "dc", NULL
2781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
2782 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2783 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2785 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2789 (arg1
)->base_OnEraseControlPoints(*arg2
);
2791 wxPyEndAllowThreads(__tstate
);
2792 if (PyErr_Occurred()) SWIG_fail
;
2794 Py_INCREF(Py_None
); resultobj
= Py_None
;
2801 static PyObject
*_wrap_PyShapeEvtHandler_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2802 PyObject
*resultobj
;
2803 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2805 bool arg3
= (bool) True
;
2806 PyObject
* obj0
= 0 ;
2807 PyObject
* obj1
= 0 ;
2808 PyObject
* obj2
= 0 ;
2810 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
2813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShapeEvtHandler_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2814 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2815 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2817 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2821 arg3
= (bool) SPyObj_AsBool(obj2
);
2822 if (PyErr_Occurred()) SWIG_fail
;
2826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2827 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
2829 wxPyEndAllowThreads(__tstate
);
2830 if (PyErr_Occurred()) SWIG_fail
;
2832 Py_INCREF(Py_None
); resultobj
= Py_None
;
2839 static PyObject
*_wrap_PyShapeEvtHandler_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2840 PyObject
*resultobj
;
2841 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2842 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
2846 int arg6
= (int) 0 ;
2847 int arg7
= (int) 0 ;
2848 PyObject
* obj0
= 0 ;
2849 PyObject
* obj1
= 0 ;
2850 PyObject
* obj2
= 0 ;
2852 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOdd|ii:PyShapeEvtHandler_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
,&arg6
,&arg7
)) goto fail
;
2856 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2857 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2859 arg3
= (bool) SPyObj_AsBool(obj2
);
2860 if (PyErr_Occurred()) SWIG_fail
;
2863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2864 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
2866 wxPyEndAllowThreads(__tstate
);
2867 if (PyErr_Occurred()) SWIG_fail
;
2869 Py_INCREF(Py_None
); resultobj
= Py_None
;
2876 static PyObject
*_wrap_PyShapeEvtHandler_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2877 PyObject
*resultobj
;
2878 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2879 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
2882 int arg5
= (int) 0 ;
2883 int arg6
= (int) 0 ;
2884 PyObject
* obj0
= 0 ;
2885 PyObject
* obj1
= 0 ;
2887 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyShapeEvtHandler_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
2891 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2892 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2895 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
2897 wxPyEndAllowThreads(__tstate
);
2898 if (PyErr_Occurred()) SWIG_fail
;
2900 Py_INCREF(Py_None
); resultobj
= Py_None
;
2907 static PyObject
*_wrap_PyShapeEvtHandler_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2908 PyObject
*resultobj
;
2909 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2910 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
2913 int arg5
= (int) 0 ;
2914 int arg6
= (int) 0 ;
2915 PyObject
* obj0
= 0 ;
2916 PyObject
* obj1
= 0 ;
2918 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyShapeEvtHandler_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
2922 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2923 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2926 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
2928 wxPyEndAllowThreads(__tstate
);
2929 if (PyErr_Occurred()) SWIG_fail
;
2931 Py_INCREF(Py_None
); resultobj
= Py_None
;
2938 static PyObject
*_wrap_PyShapeEvtHandler_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2939 PyObject
*resultobj
;
2940 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2943 PyObject
* obj0
= 0 ;
2945 (char *) "self",(char *) "w",(char *) "h", NULL
2948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyShapeEvtHandler_base_OnBeginSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
2949 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2952 (arg1
)->base_OnBeginSize(arg2
,arg3
);
2954 wxPyEndAllowThreads(__tstate
);
2955 if (PyErr_Occurred()) SWIG_fail
;
2957 Py_INCREF(Py_None
); resultobj
= Py_None
;
2964 static PyObject
*_wrap_PyShapeEvtHandler_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2965 PyObject
*resultobj
;
2966 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2969 PyObject
* obj0
= 0 ;
2971 (char *) "self",(char *) "w",(char *) "h", NULL
2974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyShapeEvtHandler_base_OnEndSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
2975 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2978 (arg1
)->base_OnEndSize(arg2
,arg3
);
2980 wxPyEndAllowThreads(__tstate
);
2981 if (PyErr_Occurred()) SWIG_fail
;
2983 Py_INCREF(Py_None
); resultobj
= Py_None
;
2990 static PyObject
* PyShapeEvtHandler_swigregister(PyObject
*self
, PyObject
*args
) {
2992 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2993 SWIG_TypeClientData(SWIGTYPE_p_wxPyShapeEvtHandler
, obj
);
2995 return Py_BuildValue((char *)"");
2997 static PyObject
*_wrap_new_PyShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2998 PyObject
*resultobj
;
2999 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) NULL
;
3001 PyObject
* obj0
= 0 ;
3003 (char *) "can", NULL
3006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyShape",kwnames
,&obj0
)) goto fail
;
3008 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3012 result
= (wxPyShape
*)new wxPyShape(arg1
);
3014 wxPyEndAllowThreads(__tstate
);
3015 if (PyErr_Occurred()) SWIG_fail
;
3018 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
3026 static PyObject
*_wrap_PyShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3027 PyObject
*resultobj
;
3028 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3029 PyObject
*arg2
= (PyObject
*) 0 ;
3030 PyObject
*arg3
= (PyObject
*) 0 ;
3031 PyObject
* obj0
= 0 ;
3032 PyObject
* obj1
= 0 ;
3033 PyObject
* obj2
= 0 ;
3035 (char *) "self",(char *) "self",(char *) "_class", NULL
3038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3039 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3044 (arg1
)->_setCallbackInfo(arg2
,arg3
);
3046 wxPyEndAllowThreads(__tstate
);
3047 if (PyErr_Occurred()) SWIG_fail
;
3049 Py_INCREF(Py_None
); resultobj
= Py_None
;
3056 static PyObject
*_wrap_PyShape_GetBoundingBoxMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3057 PyObject
*resultobj
;
3058 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3059 double *arg2
= (double *) 0 ;
3060 double *arg3
= (double *) 0 ;
3063 PyObject
* obj0
= 0 ;
3065 (char *) "self", NULL
3070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetBoundingBoxMax",kwnames
,&obj0
)) goto fail
;
3071 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3074 (arg1
)->GetBoundingBoxMax(arg2
,arg3
);
3076 wxPyEndAllowThreads(__tstate
);
3077 if (PyErr_Occurred()) SWIG_fail
;
3079 Py_INCREF(Py_None
); resultobj
= Py_None
;
3081 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
3082 resultobj
= t_output_helper(resultobj
,o
);
3085 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
3086 resultobj
= t_output_helper(resultobj
,o
);
3094 static PyObject
*_wrap_PyShape_GetBoundingBoxMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3095 PyObject
*resultobj
;
3096 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3097 double *arg2
= (double *) 0 ;
3098 double *arg3
= (double *) 0 ;
3101 PyObject
* obj0
= 0 ;
3103 (char *) "self", NULL
3108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetBoundingBoxMin",kwnames
,&obj0
)) goto fail
;
3109 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3112 (arg1
)->GetBoundingBoxMin(arg2
,arg3
);
3114 wxPyEndAllowThreads(__tstate
);
3115 if (PyErr_Occurred()) SWIG_fail
;
3117 Py_INCREF(Py_None
); resultobj
= Py_None
;
3119 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
3120 resultobj
= t_output_helper(resultobj
,o
);
3123 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
3124 resultobj
= t_output_helper(resultobj
,o
);
3132 static PyObject
*_wrap_PyShape_GetPerimeterPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3133 PyObject
*resultobj
;
3134 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3139 double *arg6
= (double *) 0 ;
3140 double *arg7
= (double *) 0 ;
3144 PyObject
* obj0
= 0 ;
3146 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
3151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odddd:PyShape_GetPerimeterPoint",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
3152 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3155 result
= (bool)(arg1
)->GetPerimeterPoint(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
3157 wxPyEndAllowThreads(__tstate
);
3158 if (PyErr_Occurred()) SWIG_fail
;
3160 resultobj
= PyInt_FromLong((long)result
);
3162 PyObject
*o
= PyFloat_FromDouble((double) (*arg6
));
3163 resultobj
= t_output_helper(resultobj
,o
);
3166 PyObject
*o
= PyFloat_FromDouble((double) (*arg7
));
3167 resultobj
= t_output_helper(resultobj
,o
);
3175 static PyObject
*_wrap_PyShape_GetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3176 PyObject
*resultobj
;
3177 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3178 wxPyShapeCanvas
*result
;
3179 PyObject
* obj0
= 0 ;
3181 (char *) "self", NULL
3184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetCanvas",kwnames
,&obj0
)) goto fail
;
3185 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3188 result
= (wxPyShapeCanvas
*)(arg1
)->GetCanvas();
3190 wxPyEndAllowThreads(__tstate
);
3191 if (PyErr_Occurred()) SWIG_fail
;
3194 resultobj
= wxPyMake_wxObject(result
);
3202 static PyObject
*_wrap_PyShape_SetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3203 PyObject
*resultobj
;
3204 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3205 wxPyShapeCanvas
*arg2
= (wxPyShapeCanvas
*) 0 ;
3206 PyObject
* obj0
= 0 ;
3207 PyObject
* obj1
= 0 ;
3209 (char *) "self",(char *) "the_canvas", NULL
3212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
3213 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3214 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3217 (arg1
)->SetCanvas(arg2
);
3219 wxPyEndAllowThreads(__tstate
);
3220 if (PyErr_Occurred()) SWIG_fail
;
3222 Py_INCREF(Py_None
); resultobj
= Py_None
;
3229 static PyObject
*_wrap_PyShape_AddToCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3230 PyObject
*resultobj
;
3231 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3232 wxPyShapeCanvas
*arg2
= (wxPyShapeCanvas
*) 0 ;
3233 wxPyShape
*arg3
= (wxPyShape
*) NULL
;
3234 PyObject
* obj0
= 0 ;
3235 PyObject
* obj1
= 0 ;
3236 PyObject
* obj2
= 0 ;
3238 (char *) "self",(char *) "the_canvas",(char *) "addAfter", NULL
3241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShape_AddToCanvas",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3242 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3243 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3245 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3249 (arg1
)->AddToCanvas(arg2
,arg3
);
3251 wxPyEndAllowThreads(__tstate
);
3252 if (PyErr_Occurred()) SWIG_fail
;
3254 Py_INCREF(Py_None
); resultobj
= Py_None
;
3261 static PyObject
*_wrap_PyShape_InsertInCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3262 PyObject
*resultobj
;
3263 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3264 wxPyShapeCanvas
*arg2
= (wxPyShapeCanvas
*) 0 ;
3265 PyObject
* obj0
= 0 ;
3266 PyObject
* obj1
= 0 ;
3268 (char *) "self",(char *) "the_canvas", NULL
3271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_InsertInCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
3272 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3273 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3276 (arg1
)->InsertInCanvas(arg2
);
3278 wxPyEndAllowThreads(__tstate
);
3279 if (PyErr_Occurred()) SWIG_fail
;
3281 Py_INCREF(Py_None
); resultobj
= Py_None
;
3288 static PyObject
*_wrap_PyShape_RemoveFromCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3289 PyObject
*resultobj
;
3290 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3291 wxPyShapeCanvas
*arg2
= (wxPyShapeCanvas
*) 0 ;
3292 PyObject
* obj0
= 0 ;
3293 PyObject
* obj1
= 0 ;
3295 (char *) "self",(char *) "the_canvas", NULL
3298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_RemoveFromCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
3299 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3300 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3303 (arg1
)->RemoveFromCanvas(arg2
);
3305 wxPyEndAllowThreads(__tstate
);
3306 if (PyErr_Occurred()) SWIG_fail
;
3308 Py_INCREF(Py_None
); resultobj
= Py_None
;
3315 static PyObject
*_wrap_PyShape_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3316 PyObject
*resultobj
;
3317 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3319 PyObject
* obj0
= 0 ;
3321 (char *) "self", NULL
3324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetX",kwnames
,&obj0
)) goto fail
;
3325 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3328 result
= (double)(arg1
)->GetX();
3330 wxPyEndAllowThreads(__tstate
);
3331 if (PyErr_Occurred()) SWIG_fail
;
3333 resultobj
= PyFloat_FromDouble(result
);
3340 static PyObject
*_wrap_PyShape_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3341 PyObject
*resultobj
;
3342 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3344 PyObject
* obj0
= 0 ;
3346 (char *) "self", NULL
3349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetY",kwnames
,&obj0
)) goto fail
;
3350 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3353 result
= (double)(arg1
)->GetY();
3355 wxPyEndAllowThreads(__tstate
);
3356 if (PyErr_Occurred()) SWIG_fail
;
3358 resultobj
= PyFloat_FromDouble(result
);
3365 static PyObject
*_wrap_PyShape_SetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3366 PyObject
*resultobj
;
3367 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3369 PyObject
* obj0
= 0 ;
3371 (char *) "self",(char *) "x", NULL
3374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Od:PyShape_SetX",kwnames
,&obj0
,&arg2
)) goto fail
;
3375 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3380 wxPyEndAllowThreads(__tstate
);
3381 if (PyErr_Occurred()) SWIG_fail
;
3383 Py_INCREF(Py_None
); resultobj
= Py_None
;
3390 static PyObject
*_wrap_PyShape_SetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3391 PyObject
*resultobj
;
3392 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3394 PyObject
* obj0
= 0 ;
3396 (char *) "self",(char *) "y", NULL
3399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Od:PyShape_SetY",kwnames
,&obj0
,&arg2
)) goto fail
;
3400 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3405 wxPyEndAllowThreads(__tstate
);
3406 if (PyErr_Occurred()) SWIG_fail
;
3408 Py_INCREF(Py_None
); resultobj
= Py_None
;
3415 static PyObject
*_wrap_PyShape_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3416 PyObject
*resultobj
;
3417 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3419 PyObject
* obj0
= 0 ;
3421 (char *) "self", NULL
3424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetParent",kwnames
,&obj0
)) goto fail
;
3425 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3428 result
= (wxPyShape
*)(arg1
)->GetParent();
3430 wxPyEndAllowThreads(__tstate
);
3431 if (PyErr_Occurred()) SWIG_fail
;
3434 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
3442 static PyObject
*_wrap_PyShape_SetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3443 PyObject
*resultobj
;
3444 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3445 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
3446 PyObject
* obj0
= 0 ;
3447 PyObject
* obj1
= 0 ;
3449 (char *) "self",(char *) "p", NULL
3452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetParent",kwnames
,&obj0
,&obj1
)) goto fail
;
3453 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3454 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3457 (arg1
)->SetParent(arg2
);
3459 wxPyEndAllowThreads(__tstate
);
3460 if (PyErr_Occurred()) SWIG_fail
;
3462 Py_INCREF(Py_None
); resultobj
= Py_None
;
3469 static PyObject
*_wrap_PyShape_GetTopAncestor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3470 PyObject
*resultobj
;
3471 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3473 PyObject
* obj0
= 0 ;
3475 (char *) "self", NULL
3478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetTopAncestor",kwnames
,&obj0
)) goto fail
;
3479 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3482 result
= (wxPyShape
*)(arg1
)->GetTopAncestor();
3484 wxPyEndAllowThreads(__tstate
);
3485 if (PyErr_Occurred()) SWIG_fail
;
3488 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
3496 static PyObject
*_wrap_PyShape_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3497 PyObject
*resultobj
;
3498 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3500 PyObject
* obj0
= 0 ;
3502 (char *) "self", NULL
3505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetChildren",kwnames
,&obj0
)) goto fail
;
3506 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3509 result
= (PyObject
*)wxPyShape_GetChildren(arg1
);
3511 wxPyEndAllowThreads(__tstate
);
3512 if (PyErr_Occurred()) SWIG_fail
;
3521 static PyObject
*_wrap_PyShape_Unlink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3522 PyObject
*resultobj
;
3523 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3524 PyObject
* obj0
= 0 ;
3526 (char *) "self", NULL
3529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_Unlink",kwnames
,&obj0
)) goto fail
;
3530 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3535 wxPyEndAllowThreads(__tstate
);
3536 if (PyErr_Occurred()) SWIG_fail
;
3538 Py_INCREF(Py_None
); resultobj
= Py_None
;
3545 static PyObject
*_wrap_PyShape_SetDrawHandles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3546 PyObject
*resultobj
;
3547 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3549 PyObject
* obj0
= 0 ;
3550 PyObject
* obj1
= 0 ;
3552 (char *) "self",(char *) "drawH", NULL
3555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetDrawHandles",kwnames
,&obj0
,&obj1
)) goto fail
;
3556 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3558 arg2
= (bool) SPyObj_AsBool(obj1
);
3559 if (PyErr_Occurred()) SWIG_fail
;
3562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3563 (arg1
)->SetDrawHandles(arg2
);
3565 wxPyEndAllowThreads(__tstate
);
3566 if (PyErr_Occurred()) SWIG_fail
;
3568 Py_INCREF(Py_None
); resultobj
= Py_None
;
3575 static PyObject
*_wrap_PyShape_GetDrawHandles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3576 PyObject
*resultobj
;
3577 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3579 PyObject
* obj0
= 0 ;
3581 (char *) "self", NULL
3584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetDrawHandles",kwnames
,&obj0
)) goto fail
;
3585 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3588 result
= (bool)(arg1
)->GetDrawHandles();
3590 wxPyEndAllowThreads(__tstate
);
3591 if (PyErr_Occurred()) SWIG_fail
;
3593 resultobj
= PyInt_FromLong((long)result
);
3600 static PyObject
*_wrap_PyShape_MakeControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3601 PyObject
*resultobj
;
3602 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3603 PyObject
* obj0
= 0 ;
3605 (char *) "self", NULL
3608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_MakeControlPoints",kwnames
,&obj0
)) goto fail
;
3609 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3612 (arg1
)->MakeControlPoints();
3614 wxPyEndAllowThreads(__tstate
);
3615 if (PyErr_Occurred()) SWIG_fail
;
3617 Py_INCREF(Py_None
); resultobj
= Py_None
;
3624 static PyObject
*_wrap_PyShape_DeleteControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3625 PyObject
*resultobj
;
3626 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3627 wxDC
*arg2
= (wxDC
*) NULL
;
3628 PyObject
* obj0
= 0 ;
3629 PyObject
* obj1
= 0 ;
3631 (char *) "self",(char *) "dc", NULL
3634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyShape_DeleteControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
3635 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3637 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3641 (arg1
)->DeleteControlPoints(arg2
);
3643 wxPyEndAllowThreads(__tstate
);
3644 if (PyErr_Occurred()) SWIG_fail
;
3646 Py_INCREF(Py_None
); resultobj
= Py_None
;
3653 static PyObject
*_wrap_PyShape_ResetControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3654 PyObject
*resultobj
;
3655 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3656 PyObject
* obj0
= 0 ;
3658 (char *) "self", NULL
3661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_ResetControlPoints",kwnames
,&obj0
)) goto fail
;
3662 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3665 (arg1
)->ResetControlPoints();
3667 wxPyEndAllowThreads(__tstate
);
3668 if (PyErr_Occurred()) SWIG_fail
;
3670 Py_INCREF(Py_None
); resultobj
= Py_None
;
3677 static PyObject
*_wrap_PyShape_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3678 PyObject
*resultobj
;
3679 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3680 wxPyShapeEvtHandler
*result
;
3681 PyObject
* obj0
= 0 ;
3683 (char *) "self", NULL
3686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetEventHandler",kwnames
,&obj0
)) goto fail
;
3687 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3690 result
= (wxPyShapeEvtHandler
*)(arg1
)->GetEventHandler();
3692 wxPyEndAllowThreads(__tstate
);
3693 if (PyErr_Occurred()) SWIG_fail
;
3696 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
3704 static PyObject
*_wrap_PyShape_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3705 PyObject
*resultobj
;
3706 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3707 wxPyShapeEvtHandler
*arg2
= (wxPyShapeEvtHandler
*) 0 ;
3708 PyObject
* obj0
= 0 ;
3709 PyObject
* obj1
= 0 ;
3711 (char *) "self",(char *) "handler", NULL
3714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
3715 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3716 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShapeEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3719 (arg1
)->SetEventHandler(arg2
);
3721 wxPyEndAllowThreads(__tstate
);
3722 if (PyErr_Occurred()) SWIG_fail
;
3724 Py_INCREF(Py_None
); resultobj
= Py_None
;
3731 static PyObject
*_wrap_PyShape_MakeMandatoryControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3732 PyObject
*resultobj
;
3733 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3734 PyObject
* obj0
= 0 ;
3736 (char *) "self", NULL
3739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_MakeMandatoryControlPoints",kwnames
,&obj0
)) goto fail
;
3740 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3743 (arg1
)->MakeMandatoryControlPoints();
3745 wxPyEndAllowThreads(__tstate
);
3746 if (PyErr_Occurred()) SWIG_fail
;
3748 Py_INCREF(Py_None
); resultobj
= Py_None
;
3755 static PyObject
*_wrap_PyShape_ResetMandatoryControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3756 PyObject
*resultobj
;
3757 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3758 PyObject
* obj0
= 0 ;
3760 (char *) "self", NULL
3763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_ResetMandatoryControlPoints",kwnames
,&obj0
)) goto fail
;
3764 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3767 (arg1
)->ResetMandatoryControlPoints();
3769 wxPyEndAllowThreads(__tstate
);
3770 if (PyErr_Occurred()) SWIG_fail
;
3772 Py_INCREF(Py_None
); resultobj
= Py_None
;
3779 static PyObject
*_wrap_PyShape_Recompute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3780 PyObject
*resultobj
;
3781 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3783 PyObject
* obj0
= 0 ;
3785 (char *) "self", NULL
3788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_Recompute",kwnames
,&obj0
)) goto fail
;
3789 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3792 result
= (bool)(arg1
)->Recompute();
3794 wxPyEndAllowThreads(__tstate
);
3795 if (PyErr_Occurred()) SWIG_fail
;
3797 resultobj
= PyInt_FromLong((long)result
);
3804 static PyObject
*_wrap_PyShape_CalculateSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3805 PyObject
*resultobj
;
3806 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3807 PyObject
* obj0
= 0 ;
3809 (char *) "self", NULL
3812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_CalculateSize",kwnames
,&obj0
)) goto fail
;
3813 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3816 (arg1
)->CalculateSize();
3818 wxPyEndAllowThreads(__tstate
);
3819 if (PyErr_Occurred()) SWIG_fail
;
3821 Py_INCREF(Py_None
); resultobj
= Py_None
;
3828 static PyObject
*_wrap_PyShape_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3829 PyObject
*resultobj
;
3830 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3831 bool arg2
= (bool) True
;
3832 wxDC
*arg3
= (wxDC
*) NULL
;
3833 PyObject
* obj0
= 0 ;
3834 PyObject
* obj1
= 0 ;
3835 PyObject
* obj2
= 0 ;
3837 (char *) "self",(char *) "select",(char *) "dc", NULL
3840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyShape_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3841 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3844 arg2
= (bool) SPyObj_AsBool(obj1
);
3845 if (PyErr_Occurred()) SWIG_fail
;
3849 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3853 (arg1
)->Select(arg2
,arg3
);
3855 wxPyEndAllowThreads(__tstate
);
3856 if (PyErr_Occurred()) SWIG_fail
;
3858 Py_INCREF(Py_None
); resultobj
= Py_None
;
3865 static PyObject
*_wrap_PyShape_SetHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3866 PyObject
*resultobj
;
3867 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3868 bool arg2
= (bool) True
;
3869 bool arg3
= (bool) False
;
3870 PyObject
* obj0
= 0 ;
3871 PyObject
* obj1
= 0 ;
3872 PyObject
* obj2
= 0 ;
3874 (char *) "self",(char *) "hi",(char *) "recurse", NULL
3877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyShape_SetHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3878 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3881 arg2
= (bool) SPyObj_AsBool(obj1
);
3882 if (PyErr_Occurred()) SWIG_fail
;
3887 arg3
= (bool) SPyObj_AsBool(obj2
);
3888 if (PyErr_Occurred()) SWIG_fail
;
3892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3893 (arg1
)->SetHighlight(arg2
,arg3
);
3895 wxPyEndAllowThreads(__tstate
);
3896 if (PyErr_Occurred()) SWIG_fail
;
3898 Py_INCREF(Py_None
); resultobj
= Py_None
;
3905 static PyObject
*_wrap_PyShape_IsHighlighted(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3906 PyObject
*resultobj
;
3907 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3909 PyObject
* obj0
= 0 ;
3911 (char *) "self", NULL
3914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_IsHighlighted",kwnames
,&obj0
)) goto fail
;
3915 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3918 result
= (bool)(arg1
)->IsHighlighted();
3920 wxPyEndAllowThreads(__tstate
);
3921 if (PyErr_Occurred()) SWIG_fail
;
3923 resultobj
= PyInt_FromLong((long)result
);
3930 static PyObject
*_wrap_PyShape_Selected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3931 PyObject
*resultobj
;
3932 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3934 PyObject
* obj0
= 0 ;
3936 (char *) "self", NULL
3939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_Selected",kwnames
,&obj0
)) goto fail
;
3940 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3943 result
= (bool)(arg1
)->Selected();
3945 wxPyEndAllowThreads(__tstate
);
3946 if (PyErr_Occurred()) SWIG_fail
;
3948 resultobj
= PyInt_FromLong((long)result
);
3955 static PyObject
*_wrap_PyShape_AncestorSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3956 PyObject
*resultobj
;
3957 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3959 PyObject
* obj0
= 0 ;
3961 (char *) "self", NULL
3964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_AncestorSelected",kwnames
,&obj0
)) goto fail
;
3965 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3968 result
= (bool)(arg1
)->AncestorSelected();
3970 wxPyEndAllowThreads(__tstate
);
3971 if (PyErr_Occurred()) SWIG_fail
;
3973 resultobj
= PyInt_FromLong((long)result
);
3980 static PyObject
*_wrap_PyShape_SetSensitivityFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3981 PyObject
*resultobj
;
3982 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3983 int arg2
= (int) OP_ALL
;
3984 bool arg3
= (bool) False
;
3985 PyObject
* obj0
= 0 ;
3986 PyObject
* obj2
= 0 ;
3988 (char *) "self",(char *) "sens",(char *) "recursive", NULL
3991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iO:PyShape_SetSensitivityFilter",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
3992 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3995 arg3
= (bool) SPyObj_AsBool(obj2
);
3996 if (PyErr_Occurred()) SWIG_fail
;
4000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4001 (arg1
)->SetSensitivityFilter(arg2
,arg3
);
4003 wxPyEndAllowThreads(__tstate
);
4004 if (PyErr_Occurred()) SWIG_fail
;
4006 Py_INCREF(Py_None
); resultobj
= Py_None
;
4013 static PyObject
*_wrap_PyShape_GetSensitivityFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4014 PyObject
*resultobj
;
4015 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4017 PyObject
* obj0
= 0 ;
4019 (char *) "self", NULL
4022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetSensitivityFilter",kwnames
,&obj0
)) goto fail
;
4023 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4026 result
= (int)(arg1
)->GetSensitivityFilter();
4028 wxPyEndAllowThreads(__tstate
);
4029 if (PyErr_Occurred()) SWIG_fail
;
4031 resultobj
= PyInt_FromLong((long)result
);
4038 static PyObject
*_wrap_PyShape_SetDraggable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4039 PyObject
*resultobj
;
4040 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4042 bool arg3
= (bool) False
;
4043 PyObject
* obj0
= 0 ;
4044 PyObject
* obj1
= 0 ;
4045 PyObject
* obj2
= 0 ;
4047 (char *) "self",(char *) "drag",(char *) "recursive", NULL
4050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShape_SetDraggable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4051 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4053 arg2
= (bool) SPyObj_AsBool(obj1
);
4054 if (PyErr_Occurred()) SWIG_fail
;
4058 arg3
= (bool) SPyObj_AsBool(obj2
);
4059 if (PyErr_Occurred()) SWIG_fail
;
4063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4064 (arg1
)->SetDraggable(arg2
,arg3
);
4066 wxPyEndAllowThreads(__tstate
);
4067 if (PyErr_Occurred()) SWIG_fail
;
4069 Py_INCREF(Py_None
); resultobj
= Py_None
;
4076 static PyObject
*_wrap_PyShape_SetFixedSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4077 PyObject
*resultobj
;
4078 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4081 PyObject
* obj0
= 0 ;
4082 PyObject
* obj1
= 0 ;
4083 PyObject
* obj2
= 0 ;
4085 (char *) "self",(char *) "x",(char *) "y", NULL
4088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShape_SetFixedSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4089 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4091 arg2
= (bool) SPyObj_AsBool(obj1
);
4092 if (PyErr_Occurred()) SWIG_fail
;
4095 arg3
= (bool) SPyObj_AsBool(obj2
);
4096 if (PyErr_Occurred()) SWIG_fail
;
4099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4100 (arg1
)->SetFixedSize(arg2
,arg3
);
4102 wxPyEndAllowThreads(__tstate
);
4103 if (PyErr_Occurred()) SWIG_fail
;
4105 Py_INCREF(Py_None
); resultobj
= Py_None
;
4112 static PyObject
*_wrap_PyShape_GetFixedSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4113 PyObject
*resultobj
;
4114 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4115 bool *arg2
= (bool *) 0 ;
4116 bool *arg3
= (bool *) 0 ;
4119 PyObject
* obj0
= 0 ;
4121 (char *) "self", NULL
4126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetFixedSize",kwnames
,&obj0
)) goto fail
;
4127 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4130 (arg1
)->GetFixedSize(arg2
,arg3
);
4132 wxPyEndAllowThreads(__tstate
);
4133 if (PyErr_Occurred()) SWIG_fail
;
4135 Py_INCREF(Py_None
); resultobj
= Py_None
;
4137 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4138 resultobj
= t_output_helper(resultobj
,o
);
4141 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4142 resultobj
= t_output_helper(resultobj
,o
);
4150 static PyObject
*_wrap_PyShape_GetFixedWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4151 PyObject
*resultobj
;
4152 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4154 PyObject
* obj0
= 0 ;
4156 (char *) "self", NULL
4159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetFixedWidth",kwnames
,&obj0
)) goto fail
;
4160 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4163 result
= (bool)(arg1
)->GetFixedWidth();
4165 wxPyEndAllowThreads(__tstate
);
4166 if (PyErr_Occurred()) SWIG_fail
;
4168 resultobj
= PyInt_FromLong((long)result
);
4175 static PyObject
*_wrap_PyShape_GetFixedHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4176 PyObject
*resultobj
;
4177 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4179 PyObject
* obj0
= 0 ;
4181 (char *) "self", NULL
4184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetFixedHeight",kwnames
,&obj0
)) goto fail
;
4185 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4188 result
= (bool)(arg1
)->GetFixedHeight();
4190 wxPyEndAllowThreads(__tstate
);
4191 if (PyErr_Occurred()) SWIG_fail
;
4193 resultobj
= PyInt_FromLong((long)result
);
4200 static PyObject
*_wrap_PyShape_SetSpaceAttachments(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4201 PyObject
*resultobj
;
4202 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4204 PyObject
* obj0
= 0 ;
4205 PyObject
* obj1
= 0 ;
4207 (char *) "self",(char *) "sp", NULL
4210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetSpaceAttachments",kwnames
,&obj0
,&obj1
)) goto fail
;
4211 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4213 arg2
= (bool) SPyObj_AsBool(obj1
);
4214 if (PyErr_Occurred()) SWIG_fail
;
4217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4218 (arg1
)->SetSpaceAttachments(arg2
);
4220 wxPyEndAllowThreads(__tstate
);
4221 if (PyErr_Occurred()) SWIG_fail
;
4223 Py_INCREF(Py_None
); resultobj
= Py_None
;
4230 static PyObject
*_wrap_PyShape_GetSpaceAttachments(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4231 PyObject
*resultobj
;
4232 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4234 PyObject
* obj0
= 0 ;
4236 (char *) "self", NULL
4239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetSpaceAttachments",kwnames
,&obj0
)) goto fail
;
4240 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4243 result
= (bool)(arg1
)->GetSpaceAttachments();
4245 wxPyEndAllowThreads(__tstate
);
4246 if (PyErr_Occurred()) SWIG_fail
;
4248 resultobj
= PyInt_FromLong((long)result
);
4255 static PyObject
*_wrap_PyShape_SetShadowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4256 PyObject
*resultobj
;
4257 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4259 bool arg3
= (bool) False
;
4260 PyObject
* obj0
= 0 ;
4261 PyObject
* obj2
= 0 ;
4263 (char *) "self",(char *) "mode",(char *) "redraw", NULL
4266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|O:PyShape_SetShadowMode",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
4267 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4270 arg3
= (bool) SPyObj_AsBool(obj2
);
4271 if (PyErr_Occurred()) SWIG_fail
;
4275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4276 (arg1
)->SetShadowMode(arg2
,arg3
);
4278 wxPyEndAllowThreads(__tstate
);
4279 if (PyErr_Occurred()) SWIG_fail
;
4281 Py_INCREF(Py_None
); resultobj
= Py_None
;
4288 static PyObject
*_wrap_PyShape_GetShadowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4289 PyObject
*resultobj
;
4290 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4292 PyObject
* obj0
= 0 ;
4294 (char *) "self", NULL
4297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetShadowMode",kwnames
,&obj0
)) goto fail
;
4298 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4301 result
= (int)(arg1
)->GetShadowMode();
4303 wxPyEndAllowThreads(__tstate
);
4304 if (PyErr_Occurred()) SWIG_fail
;
4306 resultobj
= PyInt_FromLong((long)result
);
4313 static PyObject
*_wrap_PyShape_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4314 PyObject
*resultobj
;
4315 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4318 int *arg4
= (int *) 0 ;
4319 double *arg5
= (double *) 0 ;
4323 PyObject
* obj0
= 0 ;
4325 (char *) "self",(char *) "x",(char *) "y", NULL
4330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyShape_HitTest",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
4331 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4334 result
= (bool)(arg1
)->HitTest(arg2
,arg3
,arg4
,arg5
);
4336 wxPyEndAllowThreads(__tstate
);
4337 if (PyErr_Occurred()) SWIG_fail
;
4339 resultobj
= PyInt_FromLong((long)result
);
4341 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
4342 resultobj
= t_output_helper(resultobj
,o
);
4345 PyObject
*o
= PyFloat_FromDouble((double) (*arg5
));
4346 resultobj
= t_output_helper(resultobj
,o
);
4354 static PyObject
*_wrap_PyShape_SetCentreResize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4355 PyObject
*resultobj
;
4356 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4358 PyObject
* obj0
= 0 ;
4359 PyObject
* obj1
= 0 ;
4361 (char *) "self",(char *) "cr", NULL
4364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetCentreResize",kwnames
,&obj0
,&obj1
)) goto fail
;
4365 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4367 arg2
= (bool) SPyObj_AsBool(obj1
);
4368 if (PyErr_Occurred()) SWIG_fail
;
4371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4372 (arg1
)->SetCentreResize(arg2
);
4374 wxPyEndAllowThreads(__tstate
);
4375 if (PyErr_Occurred()) SWIG_fail
;
4377 Py_INCREF(Py_None
); resultobj
= Py_None
;
4384 static PyObject
*_wrap_PyShape_GetCentreResize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4385 PyObject
*resultobj
;
4386 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4388 PyObject
* obj0
= 0 ;
4390 (char *) "self", NULL
4393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetCentreResize",kwnames
,&obj0
)) goto fail
;
4394 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4397 result
= (bool)(arg1
)->GetCentreResize();
4399 wxPyEndAllowThreads(__tstate
);
4400 if (PyErr_Occurred()) SWIG_fail
;
4402 resultobj
= PyInt_FromLong((long)result
);
4409 static PyObject
*_wrap_PyShape_SetMaintainAspectRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4410 PyObject
*resultobj
;
4411 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4413 PyObject
* obj0
= 0 ;
4414 PyObject
* obj1
= 0 ;
4416 (char *) "self",(char *) "ar", NULL
4419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetMaintainAspectRatio",kwnames
,&obj0
,&obj1
)) goto fail
;
4420 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4422 arg2
= (bool) SPyObj_AsBool(obj1
);
4423 if (PyErr_Occurred()) SWIG_fail
;
4426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4427 (arg1
)->SetMaintainAspectRatio(arg2
);
4429 wxPyEndAllowThreads(__tstate
);
4430 if (PyErr_Occurred()) SWIG_fail
;
4432 Py_INCREF(Py_None
); resultobj
= Py_None
;
4439 static PyObject
*_wrap_PyShape_GetMaintainAspectRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4440 PyObject
*resultobj
;
4441 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4443 PyObject
* obj0
= 0 ;
4445 (char *) "self", NULL
4448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetMaintainAspectRatio",kwnames
,&obj0
)) goto fail
;
4449 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4452 result
= (bool)(arg1
)->GetMaintainAspectRatio();
4454 wxPyEndAllowThreads(__tstate
);
4455 if (PyErr_Occurred()) SWIG_fail
;
4457 resultobj
= PyInt_FromLong((long)result
);
4464 static PyObject
*_wrap_PyShape_GetLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4465 PyObject
*resultobj
;
4466 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4468 PyObject
* obj0
= 0 ;
4470 (char *) "self", NULL
4473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetLines",kwnames
,&obj0
)) goto fail
;
4474 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4477 result
= (PyObject
*)wxPyShape_GetLines(arg1
);
4479 wxPyEndAllowThreads(__tstate
);
4480 if (PyErr_Occurred()) SWIG_fail
;
4489 static PyObject
*_wrap_PyShape_SetDisableLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4490 PyObject
*resultobj
;
4491 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4493 PyObject
* obj0
= 0 ;
4494 PyObject
* obj1
= 0 ;
4496 (char *) "self",(char *) "flag", NULL
4499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetDisableLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
4500 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4502 arg2
= (bool) SPyObj_AsBool(obj1
);
4503 if (PyErr_Occurred()) SWIG_fail
;
4506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4507 (arg1
)->SetDisableLabel(arg2
);
4509 wxPyEndAllowThreads(__tstate
);
4510 if (PyErr_Occurred()) SWIG_fail
;
4512 Py_INCREF(Py_None
); resultobj
= Py_None
;
4519 static PyObject
*_wrap_PyShape_GetDisableLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4520 PyObject
*resultobj
;
4521 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4523 PyObject
* obj0
= 0 ;
4525 (char *) "self", NULL
4528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetDisableLabel",kwnames
,&obj0
)) goto fail
;
4529 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4532 result
= (bool)(arg1
)->GetDisableLabel();
4534 wxPyEndAllowThreads(__tstate
);
4535 if (PyErr_Occurred()) SWIG_fail
;
4537 resultobj
= PyInt_FromLong((long)result
);
4544 static PyObject
*_wrap_PyShape_SetAttachmentMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4545 PyObject
*resultobj
;
4546 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4548 PyObject
* obj0
= 0 ;
4550 (char *) "self",(char *) "mode", NULL
4553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyShape_SetAttachmentMode",kwnames
,&obj0
,&arg2
)) goto fail
;
4554 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4557 (arg1
)->SetAttachmentMode(arg2
);
4559 wxPyEndAllowThreads(__tstate
);
4560 if (PyErr_Occurred()) SWIG_fail
;
4562 Py_INCREF(Py_None
); resultobj
= Py_None
;
4569 static PyObject
*_wrap_PyShape_GetAttachmentMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4570 PyObject
*resultobj
;
4571 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4573 PyObject
* obj0
= 0 ;
4575 (char *) "self", NULL
4578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetAttachmentMode",kwnames
,&obj0
)) goto fail
;
4579 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4582 result
= (int)(arg1
)->GetAttachmentMode();
4584 wxPyEndAllowThreads(__tstate
);
4585 if (PyErr_Occurred()) SWIG_fail
;
4587 resultobj
= PyInt_FromLong((long)result
);
4594 static PyObject
*_wrap_PyShape_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4595 PyObject
*resultobj
;
4596 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4598 PyObject
* obj0
= 0 ;
4600 (char *) "self",(char *) "i", NULL
4603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:PyShape_SetId",kwnames
,&obj0
,&arg2
)) goto fail
;
4604 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4607 (arg1
)->SetId(arg2
);
4609 wxPyEndAllowThreads(__tstate
);
4610 if (PyErr_Occurred()) SWIG_fail
;
4612 Py_INCREF(Py_None
); resultobj
= Py_None
;
4619 static PyObject
*_wrap_PyShape_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4620 PyObject
*resultobj
;
4621 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4623 PyObject
* obj0
= 0 ;
4625 (char *) "self", NULL
4628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetId",kwnames
,&obj0
)) goto fail
;
4629 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4632 result
= (long)(arg1
)->GetId();
4634 wxPyEndAllowThreads(__tstate
);
4635 if (PyErr_Occurred()) SWIG_fail
;
4637 resultobj
= PyInt_FromLong((long)result
);
4644 static PyObject
*_wrap_PyShape_SetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4645 PyObject
*resultobj
;
4646 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4647 wxPen
*arg2
= (wxPen
*) 0 ;
4648 PyObject
* obj0
= 0 ;
4649 PyObject
* obj1
= 0 ;
4651 (char *) "self",(char *) "pen", NULL
4654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetPen",kwnames
,&obj0
,&obj1
)) goto fail
;
4655 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4659 if (obj1
== Py_None
) {
4662 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxPen"))) {
4663 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxPen.");
4668 arg2
= wxThePenList
->FindOrCreatePen(temp
->GetColour(),
4675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4676 (arg1
)->SetPen(arg2
);
4678 wxPyEndAllowThreads(__tstate
);
4679 if (PyErr_Occurred()) SWIG_fail
;
4681 Py_INCREF(Py_None
); resultobj
= Py_None
;
4688 static PyObject
*_wrap_PyShape_SetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4689 PyObject
*resultobj
;
4690 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4691 wxBrush
*arg2
= (wxBrush
*) 0 ;
4692 PyObject
* obj0
= 0 ;
4693 PyObject
* obj1
= 0 ;
4695 (char *) "self",(char *) "brush", NULL
4698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
4699 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4703 if (obj1
== Py_None
) {
4706 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxBrush"))) {
4707 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxBrush.");
4712 arg2
= wxTheBrushList
->FindOrCreateBrush(temp
->GetColour(), temp
->GetStyle());
4717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4718 (arg1
)->SetBrush(arg2
);
4720 wxPyEndAllowThreads(__tstate
);
4721 if (PyErr_Occurred()) SWIG_fail
;
4723 Py_INCREF(Py_None
); resultobj
= Py_None
;
4730 static PyObject
*_wrap_PyShape_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4731 PyObject
*resultobj
;
4732 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4734 PyObject
* obj0
= 0 ;
4735 PyObject
* obj1
= 0 ;
4737 (char *) "self",(char *) "show", NULL
4740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
4741 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4743 arg2
= (bool) SPyObj_AsBool(obj1
);
4744 if (PyErr_Occurred()) SWIG_fail
;
4747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4750 wxPyEndAllowThreads(__tstate
);
4751 if (PyErr_Occurred()) SWIG_fail
;
4753 Py_INCREF(Py_None
); resultobj
= Py_None
;
4760 static PyObject
*_wrap_PyShape_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4761 PyObject
*resultobj
;
4762 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4764 PyObject
* obj0
= 0 ;
4766 (char *) "self", NULL
4769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_IsShown",kwnames
,&obj0
)) goto fail
;
4770 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4773 result
= (bool)(arg1
)->IsShown();
4775 wxPyEndAllowThreads(__tstate
);
4776 if (PyErr_Occurred()) SWIG_fail
;
4778 resultobj
= PyInt_FromLong((long)result
);
4785 static PyObject
*_wrap_PyShape_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4786 PyObject
*resultobj
;
4787 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4791 bool arg5
= (bool) True
;
4792 PyObject
* obj0
= 0 ;
4793 PyObject
* obj1
= 0 ;
4794 PyObject
* obj4
= 0 ;
4796 (char *) "self",(char *) "dc",(char *) "x1",(char *) "y1",(char *) "display", NULL
4799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|O:PyShape_Move",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&obj4
)) goto fail
;
4800 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4801 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4803 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4807 arg5
= (bool) SPyObj_AsBool(obj4
);
4808 if (PyErr_Occurred()) SWIG_fail
;
4812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4813 (arg1
)->Move(*arg2
,arg3
,arg4
,arg5
);
4815 wxPyEndAllowThreads(__tstate
);
4816 if (PyErr_Occurred()) SWIG_fail
;
4818 Py_INCREF(Py_None
); resultobj
= Py_None
;
4825 static PyObject
*_wrap_PyShape_Erase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4826 PyObject
*resultobj
;
4827 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4829 PyObject
* obj0
= 0 ;
4830 PyObject
* obj1
= 0 ;
4832 (char *) "self",(char *) "dc", NULL
4835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_Erase",kwnames
,&obj0
,&obj1
)) goto fail
;
4836 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4837 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4839 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4843 (arg1
)->Erase(*arg2
);
4845 wxPyEndAllowThreads(__tstate
);
4846 if (PyErr_Occurred()) SWIG_fail
;
4848 Py_INCREF(Py_None
); resultobj
= Py_None
;
4855 static PyObject
*_wrap_PyShape_EraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4856 PyObject
*resultobj
;
4857 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4859 PyObject
* obj0
= 0 ;
4860 PyObject
* obj1
= 0 ;
4862 (char *) "self",(char *) "dc", NULL
4865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_EraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
4866 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4867 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4869 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4873 (arg1
)->EraseContents(*arg2
);
4875 wxPyEndAllowThreads(__tstate
);
4876 if (PyErr_Occurred()) SWIG_fail
;
4878 Py_INCREF(Py_None
); resultobj
= Py_None
;
4885 static PyObject
*_wrap_PyShape_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4886 PyObject
*resultobj
;
4887 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4889 PyObject
* obj0
= 0 ;
4890 PyObject
* obj1
= 0 ;
4892 (char *) "self",(char *) "dc", NULL
4895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_Draw",kwnames
,&obj0
,&obj1
)) goto fail
;
4896 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4897 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4899 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4903 (arg1
)->Draw(*arg2
);
4905 wxPyEndAllowThreads(__tstate
);
4906 if (PyErr_Occurred()) SWIG_fail
;
4908 Py_INCREF(Py_None
); resultobj
= Py_None
;
4915 static PyObject
*_wrap_PyShape_Flash(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4916 PyObject
*resultobj
;
4917 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4918 PyObject
* obj0
= 0 ;
4920 (char *) "self", NULL
4923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_Flash",kwnames
,&obj0
)) goto fail
;
4924 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4929 wxPyEndAllowThreads(__tstate
);
4930 if (PyErr_Occurred()) SWIG_fail
;
4932 Py_INCREF(Py_None
); resultobj
= Py_None
;
4939 static PyObject
*_wrap_PyShape_MoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4940 PyObject
*resultobj
;
4941 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4943 PyObject
* obj0
= 0 ;
4944 PyObject
* obj1
= 0 ;
4946 (char *) "self",(char *) "dc", NULL
4949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_MoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
4950 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4951 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4953 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4957 (arg1
)->MoveLinks(*arg2
);
4959 wxPyEndAllowThreads(__tstate
);
4960 if (PyErr_Occurred()) SWIG_fail
;
4962 Py_INCREF(Py_None
); resultobj
= Py_None
;
4969 static PyObject
*_wrap_PyShape_DrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4970 PyObject
*resultobj
;
4971 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4973 PyObject
* obj0
= 0 ;
4974 PyObject
* obj1
= 0 ;
4976 (char *) "self",(char *) "dc", NULL
4979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_DrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
4980 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4981 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4983 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4987 (arg1
)->DrawContents(*arg2
);
4989 wxPyEndAllowThreads(__tstate
);
4990 if (PyErr_Occurred()) SWIG_fail
;
4992 Py_INCREF(Py_None
); resultobj
= Py_None
;
4999 static PyObject
*_wrap_PyShape_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5000 PyObject
*resultobj
;
5001 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5004 bool arg4
= (bool) True
;
5005 PyObject
* obj0
= 0 ;
5006 PyObject
* obj3
= 0 ;
5008 (char *) "self",(char *) "x",(char *) "y",(char *) "recursive", NULL
5011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|O:PyShape_SetSize",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
5012 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5015 arg4
= (bool) SPyObj_AsBool(obj3
);
5016 if (PyErr_Occurred()) SWIG_fail
;
5020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5021 (arg1
)->SetSize(arg2
,arg3
,arg4
);
5023 wxPyEndAllowThreads(__tstate
);
5024 if (PyErr_Occurred()) SWIG_fail
;
5026 Py_INCREF(Py_None
); resultobj
= Py_None
;
5033 static PyObject
*_wrap_PyShape_SetAttachmentSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5034 PyObject
*resultobj
;
5035 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5038 PyObject
* obj0
= 0 ;
5040 (char *) "self",(char *) "x",(char *) "y", NULL
5043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyShape_SetAttachmentSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
5044 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5047 (arg1
)->SetAttachmentSize(arg2
,arg3
);
5049 wxPyEndAllowThreads(__tstate
);
5050 if (PyErr_Occurred()) SWIG_fail
;
5052 Py_INCREF(Py_None
); resultobj
= Py_None
;
5059 static PyObject
*_wrap_PyShape_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5060 PyObject
*resultobj
;
5061 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5062 wxPyShapeCanvas
*arg2
= (wxPyShapeCanvas
*) 0 ;
5063 PyObject
* obj0
= 0 ;
5064 PyObject
* obj1
= 0 ;
5066 (char *) "self",(char *) "can", NULL
5069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
5070 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5071 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5074 (arg1
)->Attach(arg2
);
5076 wxPyEndAllowThreads(__tstate
);
5077 if (PyErr_Occurred()) SWIG_fail
;
5079 Py_INCREF(Py_None
); resultobj
= Py_None
;
5086 static PyObject
*_wrap_PyShape_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5087 PyObject
*resultobj
;
5088 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5089 PyObject
* obj0
= 0 ;
5091 (char *) "self", NULL
5094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_Detach",kwnames
,&obj0
)) goto fail
;
5095 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5100 wxPyEndAllowThreads(__tstate
);
5101 if (PyErr_Occurred()) SWIG_fail
;
5103 Py_INCREF(Py_None
); resultobj
= Py_None
;
5110 static PyObject
*_wrap_PyShape_Constrain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5111 PyObject
*resultobj
;
5112 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5114 PyObject
* obj0
= 0 ;
5116 (char *) "self", NULL
5119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_Constrain",kwnames
,&obj0
)) goto fail
;
5120 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5123 result
= (bool)(arg1
)->Constrain();
5125 wxPyEndAllowThreads(__tstate
);
5126 if (PyErr_Occurred()) SWIG_fail
;
5128 resultobj
= PyInt_FromLong((long)result
);
5135 static PyObject
*_wrap_PyShape_AddLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5136 PyObject
*resultobj
;
5137 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5138 wxPyLineShape
*arg2
= (wxPyLineShape
*) 0 ;
5139 wxPyShape
*arg3
= (wxPyShape
*) 0 ;
5140 int arg4
= (int) 0 ;
5141 int arg5
= (int) 0 ;
5142 int arg6
= (int) -1 ;
5143 int arg7
= (int) -1 ;
5144 PyObject
* obj0
= 0 ;
5145 PyObject
* obj1
= 0 ;
5146 PyObject
* obj2
= 0 ;
5148 (char *) "self",(char *) "line",(char *) "other",(char *) "attachFrom",(char *) "attachTo",(char *) "positionFrom",(char *) "positionTo", NULL
5151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|iiii:PyShape_AddLine",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
,&arg6
,&arg7
)) goto fail
;
5152 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5153 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5154 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5157 (arg1
)->AddLine(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
5159 wxPyEndAllowThreads(__tstate
);
5160 if (PyErr_Occurred()) SWIG_fail
;
5162 Py_INCREF(Py_None
); resultobj
= Py_None
;
5169 static PyObject
*_wrap_PyShape_GetLinePosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5170 PyObject
*resultobj
;
5171 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5172 wxPyLineShape
*arg2
= (wxPyLineShape
*) 0 ;
5174 PyObject
* obj0
= 0 ;
5175 PyObject
* obj1
= 0 ;
5177 (char *) "self",(char *) "line", NULL
5180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_GetLinePosition",kwnames
,&obj0
,&obj1
)) goto fail
;
5181 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5182 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5185 result
= (int)(arg1
)->GetLinePosition(arg2
);
5187 wxPyEndAllowThreads(__tstate
);
5188 if (PyErr_Occurred()) SWIG_fail
;
5190 resultobj
= PyInt_FromLong((long)result
);
5197 static PyObject
*_wrap_PyShape_AddText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5198 PyObject
*resultobj
;
5199 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5200 wxString
*arg2
= 0 ;
5201 bool temp2
= False
;
5202 PyObject
* obj0
= 0 ;
5203 PyObject
* obj1
= 0 ;
5205 (char *) "self",(char *) "string", NULL
5208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_AddText",kwnames
,&obj0
,&obj1
)) goto fail
;
5209 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5211 arg2
= wxString_in_helper(obj1
);
5212 if (arg2
== NULL
) SWIG_fail
;
5216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5217 (arg1
)->AddText((wxString
const &)*arg2
);
5219 wxPyEndAllowThreads(__tstate
);
5220 if (PyErr_Occurred()) SWIG_fail
;
5222 Py_INCREF(Py_None
); resultobj
= Py_None
;
5237 static PyObject
*_wrap_PyShape_GetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5238 PyObject
*resultobj
;
5239 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5241 PyObject
* obj0
= 0 ;
5243 (char *) "self", NULL
5246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetPen",kwnames
,&obj0
)) goto fail
;
5247 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5250 result
= (wxPen
*)(arg1
)->GetPen();
5252 wxPyEndAllowThreads(__tstate
);
5253 if (PyErr_Occurred()) SWIG_fail
;
5255 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPen
, 0);
5262 static PyObject
*_wrap_PyShape_GetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5263 PyObject
*resultobj
;
5264 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5266 PyObject
* obj0
= 0 ;
5268 (char *) "self", NULL
5271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetBrush",kwnames
,&obj0
)) goto fail
;
5272 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5275 result
= (wxBrush
*)(arg1
)->GetBrush();
5277 wxPyEndAllowThreads(__tstate
);
5278 if (PyErr_Occurred()) SWIG_fail
;
5280 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBrush
, 0);
5287 static PyObject
*_wrap_PyShape_SetDefaultRegionSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5288 PyObject
*resultobj
;
5289 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5290 PyObject
* obj0
= 0 ;
5292 (char *) "self", NULL
5295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_SetDefaultRegionSize",kwnames
,&obj0
)) goto fail
;
5296 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5299 (arg1
)->SetDefaultRegionSize();
5301 wxPyEndAllowThreads(__tstate
);
5302 if (PyErr_Occurred()) SWIG_fail
;
5304 Py_INCREF(Py_None
); resultobj
= Py_None
;
5311 static PyObject
*_wrap_PyShape_FormatText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5312 PyObject
*resultobj
;
5313 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5315 wxString
*arg3
= 0 ;
5316 int arg4
= (int) 0 ;
5317 bool temp3
= False
;
5318 PyObject
* obj0
= 0 ;
5319 PyObject
* obj1
= 0 ;
5320 PyObject
* obj2
= 0 ;
5322 (char *) "self",(char *) "dc",(char *) "s",(char *) "regionId", NULL
5325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|i:PyShape_FormatText",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
)) goto fail
;
5326 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5327 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5329 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5332 arg3
= wxString_in_helper(obj2
);
5333 if (arg3
== NULL
) SWIG_fail
;
5337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5338 (arg1
)->FormatText(*arg2
,(wxString
const &)*arg3
,arg4
);
5340 wxPyEndAllowThreads(__tstate
);
5341 if (PyErr_Occurred()) SWIG_fail
;
5343 Py_INCREF(Py_None
); resultobj
= Py_None
;
5358 static PyObject
*_wrap_PyShape_SetFormatMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5359 PyObject
*resultobj
;
5360 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5362 int arg3
= (int) 0 ;
5363 PyObject
* obj0
= 0 ;
5365 (char *) "self",(char *) "mode",(char *) "regionId", NULL
5368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|i:PyShape_SetFormatMode",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
5369 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5372 (arg1
)->SetFormatMode(arg2
,arg3
);
5374 wxPyEndAllowThreads(__tstate
);
5375 if (PyErr_Occurred()) SWIG_fail
;
5377 Py_INCREF(Py_None
); resultobj
= Py_None
;
5384 static PyObject
*_wrap_PyShape_GetFormatMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5385 PyObject
*resultobj
;
5386 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5387 int arg2
= (int) 0 ;
5389 PyObject
* obj0
= 0 ;
5391 (char *) "self",(char *) "regionId", NULL
5394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:PyShape_GetFormatMode",kwnames
,&obj0
,&arg2
)) goto fail
;
5395 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5398 result
= (int)(arg1
)->GetFormatMode(arg2
);
5400 wxPyEndAllowThreads(__tstate
);
5401 if (PyErr_Occurred()) SWIG_fail
;
5403 resultobj
= PyInt_FromLong((long)result
);
5410 static PyObject
*_wrap_PyShape_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5411 PyObject
*resultobj
;
5412 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5413 wxFont
*arg2
= (wxFont
*) 0 ;
5414 int arg3
= (int) 0 ;
5415 PyObject
* obj0
= 0 ;
5416 PyObject
* obj1
= 0 ;
5418 (char *) "self",(char *) "font",(char *) "regionId", NULL
5421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:PyShape_SetFont",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
5422 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5426 if (obj1
== Py_None
) {
5429 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxFont"))) {
5430 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxFont.");
5435 arg2
= wxTheFontList
->FindOrCreateFont(temp
->GetPointSize(),
5439 temp
->GetUnderlined(),
5440 temp
->GetFaceName(),
5441 temp
->GetEncoding());
5446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5447 (arg1
)->SetFont(arg2
,arg3
);
5449 wxPyEndAllowThreads(__tstate
);
5450 if (PyErr_Occurred()) SWIG_fail
;
5452 Py_INCREF(Py_None
); resultobj
= Py_None
;
5459 static PyObject
*_wrap_PyShape_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5460 PyObject
*resultobj
;
5461 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5462 int arg2
= (int) 0 ;
5464 PyObject
* obj0
= 0 ;
5466 (char *) "self",(char *) "regionId", NULL
5469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:PyShape_GetFont",kwnames
,&obj0
,&arg2
)) goto fail
;
5470 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5473 result
= (wxFont
*)(arg1
)->GetFont(arg2
);
5475 wxPyEndAllowThreads(__tstate
);
5476 if (PyErr_Occurred()) SWIG_fail
;
5478 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFont
, 0);
5485 static PyObject
*_wrap_PyShape_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5486 PyObject
*resultobj
;
5487 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5488 wxString
*arg2
= 0 ;
5489 int arg3
= (int) 0 ;
5490 bool temp2
= False
;
5491 PyObject
* obj0
= 0 ;
5492 PyObject
* obj1
= 0 ;
5494 (char *) "self",(char *) "colour",(char *) "regionId", NULL
5497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:PyShape_SetTextColour",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
5498 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5500 arg2
= wxString_in_helper(obj1
);
5501 if (arg2
== NULL
) SWIG_fail
;
5505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5506 (arg1
)->SetTextColour((wxString
const &)*arg2
,arg3
);
5508 wxPyEndAllowThreads(__tstate
);
5509 if (PyErr_Occurred()) SWIG_fail
;
5511 Py_INCREF(Py_None
); resultobj
= Py_None
;
5526 static PyObject
*_wrap_PyShape_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5527 PyObject
*resultobj
;
5528 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5529 int arg2
= (int) 0 ;
5531 PyObject
* obj0
= 0 ;
5533 (char *) "self",(char *) "regionId", NULL
5536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:PyShape_GetTextColour",kwnames
,&obj0
,&arg2
)) goto fail
;
5537 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5540 result
= (arg1
)->GetTextColour(arg2
);
5542 wxPyEndAllowThreads(__tstate
);
5543 if (PyErr_Occurred()) SWIG_fail
;
5547 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5549 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5558 static PyObject
*_wrap_PyShape_GetNumberOfTextRegions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5559 PyObject
*resultobj
;
5560 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5562 PyObject
* obj0
= 0 ;
5564 (char *) "self", NULL
5567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetNumberOfTextRegions",kwnames
,&obj0
)) goto fail
;
5568 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5571 result
= (int)(arg1
)->GetNumberOfTextRegions();
5573 wxPyEndAllowThreads(__tstate
);
5574 if (PyErr_Occurred()) SWIG_fail
;
5576 resultobj
= PyInt_FromLong((long)result
);
5583 static PyObject
*_wrap_PyShape_SetRegionName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5584 PyObject
*resultobj
;
5585 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5586 wxString
*arg2
= 0 ;
5587 int arg3
= (int) 0 ;
5588 bool temp2
= False
;
5589 PyObject
* obj0
= 0 ;
5590 PyObject
* obj1
= 0 ;
5592 (char *) "self",(char *) "name",(char *) "regionId", NULL
5595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:PyShape_SetRegionName",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
5596 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5598 arg2
= wxString_in_helper(obj1
);
5599 if (arg2
== NULL
) SWIG_fail
;
5603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5604 (arg1
)->SetRegionName((wxString
const &)*arg2
,arg3
);
5606 wxPyEndAllowThreads(__tstate
);
5607 if (PyErr_Occurred()) SWIG_fail
;
5609 Py_INCREF(Py_None
); resultobj
= Py_None
;
5624 static PyObject
*_wrap_PyShape_GetRegionName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5625 PyObject
*resultobj
;
5626 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5629 PyObject
* obj0
= 0 ;
5631 (char *) "self",(char *) "regionId", NULL
5634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyShape_GetRegionName",kwnames
,&obj0
,&arg2
)) goto fail
;
5635 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5638 result
= (arg1
)->GetRegionName(arg2
);
5640 wxPyEndAllowThreads(__tstate
);
5641 if (PyErr_Occurred()) SWIG_fail
;
5645 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5647 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5656 static PyObject
*_wrap_PyShape_GetRegionId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5657 PyObject
*resultobj
;
5658 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5659 wxString
*arg2
= 0 ;
5661 bool temp2
= False
;
5662 PyObject
* obj0
= 0 ;
5663 PyObject
* obj1
= 0 ;
5665 (char *) "self",(char *) "name", NULL
5668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_GetRegionId",kwnames
,&obj0
,&obj1
)) goto fail
;
5669 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5671 arg2
= wxString_in_helper(obj1
);
5672 if (arg2
== NULL
) SWIG_fail
;
5676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5677 result
= (int)(arg1
)->GetRegionId((wxString
const &)*arg2
);
5679 wxPyEndAllowThreads(__tstate
);
5680 if (PyErr_Occurred()) SWIG_fail
;
5682 resultobj
= PyInt_FromLong((long)result
);
5697 static PyObject
*_wrap_PyShape_NameRegions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5698 PyObject
*resultobj
;
5699 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5700 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5701 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5702 bool temp2
= False
;
5703 PyObject
* obj0
= 0 ;
5704 PyObject
* obj1
= 0 ;
5706 (char *) "self",(char *) "parentName", NULL
5709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyShape_NameRegions",kwnames
,&obj0
,&obj1
)) goto fail
;
5710 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5713 arg2
= wxString_in_helper(obj1
);
5714 if (arg2
== NULL
) SWIG_fail
;
5719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5720 (arg1
)->NameRegions((wxString
const &)*arg2
);
5722 wxPyEndAllowThreads(__tstate
);
5723 if (PyErr_Occurred()) SWIG_fail
;
5725 Py_INCREF(Py_None
); resultobj
= Py_None
;
5740 static PyObject
*_wrap_PyShape_GetRegions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5741 PyObject
*resultobj
;
5742 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5744 PyObject
* obj0
= 0 ;
5746 (char *) "self", NULL
5749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetRegions",kwnames
,&obj0
)) goto fail
;
5750 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5753 result
= (PyObject
*)wxPyShape_GetRegions(arg1
);
5755 wxPyEndAllowThreads(__tstate
);
5756 if (PyErr_Occurred()) SWIG_fail
;
5765 static PyObject
*_wrap_PyShape_AddRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5766 PyObject
*resultobj
;
5767 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5768 wxShapeRegion
*arg2
= (wxShapeRegion
*) 0 ;
5769 PyObject
* obj0
= 0 ;
5770 PyObject
* obj1
= 0 ;
5772 (char *) "self",(char *) "region", NULL
5775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_AddRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5776 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5777 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5780 (arg1
)->AddRegion(arg2
);
5782 wxPyEndAllowThreads(__tstate
);
5783 if (PyErr_Occurred()) SWIG_fail
;
5785 Py_INCREF(Py_None
); resultobj
= Py_None
;
5792 static PyObject
*_wrap_PyShape_ClearRegions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5793 PyObject
*resultobj
;
5794 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5795 PyObject
* obj0
= 0 ;
5797 (char *) "self", NULL
5800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_ClearRegions",kwnames
,&obj0
)) goto fail
;
5801 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5804 (arg1
)->ClearRegions();
5806 wxPyEndAllowThreads(__tstate
);
5807 if (PyErr_Occurred()) SWIG_fail
;
5809 Py_INCREF(Py_None
); resultobj
= Py_None
;
5816 static PyObject
*_wrap_PyShape_AssignNewIds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5817 PyObject
*resultobj
;
5818 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5819 PyObject
* obj0
= 0 ;
5821 (char *) "self", NULL
5824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_AssignNewIds",kwnames
,&obj0
)) goto fail
;
5825 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5828 (arg1
)->AssignNewIds();
5830 wxPyEndAllowThreads(__tstate
);
5831 if (PyErr_Occurred()) SWIG_fail
;
5833 Py_INCREF(Py_None
); resultobj
= Py_None
;
5840 static PyObject
*_wrap_PyShape_FindRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5841 PyObject
*resultobj
;
5842 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5843 wxString
*arg2
= 0 ;
5844 int *arg3
= (int *) 0 ;
5846 bool temp2
= False
;
5848 PyObject
* obj0
= 0 ;
5849 PyObject
* obj1
= 0 ;
5851 (char *) "self",(char *) "regionName", NULL
5855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_FindRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5856 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5858 arg2
= wxString_in_helper(obj1
);
5859 if (arg2
== NULL
) SWIG_fail
;
5863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5864 result
= (wxPyShape
*)(arg1
)->FindRegion((wxString
const &)*arg2
,arg3
);
5866 wxPyEndAllowThreads(__tstate
);
5867 if (PyErr_Occurred()) SWIG_fail
;
5870 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
5873 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
5874 resultobj
= t_output_helper(resultobj
,o
);
5890 static PyObject
*_wrap_PyShape_FindRegionNames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5891 PyObject
*resultobj
;
5892 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5893 wxStringList
*arg2
= 0 ;
5894 PyObject
* obj0
= 0 ;
5895 PyObject
* obj1
= 0 ;
5897 (char *) "self",(char *) "list", NULL
5900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_FindRegionNames",kwnames
,&obj0
,&obj1
)) goto fail
;
5901 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5902 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxStringList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5904 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5908 (arg1
)->FindRegionNames(*arg2
);
5910 wxPyEndAllowThreads(__tstate
);
5911 if (PyErr_Occurred()) SWIG_fail
;
5913 Py_INCREF(Py_None
); resultobj
= Py_None
;
5920 static PyObject
*_wrap_PyShape_ClearText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5921 PyObject
*resultobj
;
5922 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5923 int arg2
= (int) 0 ;
5924 PyObject
* obj0
= 0 ;
5926 (char *) "self",(char *) "regionId", NULL
5929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:PyShape_ClearText",kwnames
,&obj0
,&arg2
)) goto fail
;
5930 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5933 (arg1
)->ClearText(arg2
);
5935 wxPyEndAllowThreads(__tstate
);
5936 if (PyErr_Occurred()) SWIG_fail
;
5938 Py_INCREF(Py_None
); resultobj
= Py_None
;
5945 static PyObject
*_wrap_PyShape_RemoveLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5946 PyObject
*resultobj
;
5947 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5948 wxPyLineShape
*arg2
= (wxPyLineShape
*) 0 ;
5949 PyObject
* obj0
= 0 ;
5950 PyObject
* obj1
= 0 ;
5952 (char *) "self",(char *) "line", NULL
5955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_RemoveLine",kwnames
,&obj0
,&obj1
)) goto fail
;
5956 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5957 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5960 (arg1
)->RemoveLine(arg2
);
5962 wxPyEndAllowThreads(__tstate
);
5963 if (PyErr_Occurred()) SWIG_fail
;
5965 Py_INCREF(Py_None
); resultobj
= Py_None
;
5972 static PyObject
*_wrap_PyShape_GetAttachmentPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5973 PyObject
*resultobj
;
5974 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5976 double *arg3
= (double *) 0 ;
5977 double *arg4
= (double *) 0 ;
5978 int arg5
= (int) 0 ;
5979 int arg6
= (int) 1 ;
5980 wxPyLineShape
*arg7
= (wxPyLineShape
*) NULL
;
5984 PyObject
* obj0
= 0 ;
5985 PyObject
* obj4
= 0 ;
5987 (char *) "self",(char *) "attachment",(char *) "nth",(char *) "no_arcs",(char *) "line", NULL
5992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|iiO:PyShape_GetAttachmentPosition",kwnames
,&obj0
,&arg2
,&arg5
,&arg6
,&obj4
)) goto fail
;
5993 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5995 if ((SWIG_ConvertPtr(obj4
,(void **) &arg7
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5999 result
= (bool)(arg1
)->GetAttachmentPosition(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
6001 wxPyEndAllowThreads(__tstate
);
6002 if (PyErr_Occurred()) SWIG_fail
;
6004 resultobj
= PyInt_FromLong((long)result
);
6006 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
6007 resultobj
= t_output_helper(resultobj
,o
);
6010 PyObject
*o
= PyFloat_FromDouble((double) (*arg4
));
6011 resultobj
= t_output_helper(resultobj
,o
);
6019 static PyObject
*_wrap_PyShape_GetNumberOfAttachments(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6020 PyObject
*resultobj
;
6021 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6023 PyObject
* obj0
= 0 ;
6025 (char *) "self", NULL
6028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetNumberOfAttachments",kwnames
,&obj0
)) goto fail
;
6029 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6032 result
= (int)(arg1
)->GetNumberOfAttachments();
6034 wxPyEndAllowThreads(__tstate
);
6035 if (PyErr_Occurred()) SWIG_fail
;
6037 resultobj
= PyInt_FromLong((long)result
);
6044 static PyObject
*_wrap_PyShape_AttachmentIsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6045 PyObject
*resultobj
;
6046 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6049 PyObject
* obj0
= 0 ;
6051 (char *) "self",(char *) "attachment", NULL
6054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyShape_AttachmentIsValid",kwnames
,&obj0
,&arg2
)) goto fail
;
6055 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6058 result
= (bool)(arg1
)->AttachmentIsValid(arg2
);
6060 wxPyEndAllowThreads(__tstate
);
6061 if (PyErr_Occurred()) SWIG_fail
;
6063 resultobj
= PyInt_FromLong((long)result
);
6070 static PyObject
*_wrap_PyShape_GetAttachments(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6071 PyObject
*resultobj
;
6072 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6074 PyObject
* obj0
= 0 ;
6076 (char *) "self", NULL
6079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetAttachments",kwnames
,&obj0
)) goto fail
;
6080 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6083 result
= (PyObject
*)wxPyShape_GetAttachments(arg1
);
6085 wxPyEndAllowThreads(__tstate
);
6086 if (PyErr_Occurred()) SWIG_fail
;
6095 static PyObject
*_wrap_PyShape_GetAttachmentPositionEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6096 PyObject
*resultobj
;
6097 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6099 double *arg3
= (double *) 0 ;
6100 double *arg4
= (double *) 0 ;
6101 int arg5
= (int) 0 ;
6102 int arg6
= (int) 1 ;
6103 wxPyLineShape
*arg7
= (wxPyLineShape
*) NULL
;
6107 PyObject
* obj0
= 0 ;
6108 PyObject
* obj4
= 0 ;
6110 (char *) "self",(char *) "attachment",(char *) "nth",(char *) "no_arcs",(char *) "line", NULL
6115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|iiO:PyShape_GetAttachmentPositionEdge",kwnames
,&obj0
,&arg2
,&arg5
,&arg6
,&obj4
)) goto fail
;
6116 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6118 if ((SWIG_ConvertPtr(obj4
,(void **) &arg7
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6122 result
= (bool)(arg1
)->GetAttachmentPositionEdge(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
6124 wxPyEndAllowThreads(__tstate
);
6125 if (PyErr_Occurred()) SWIG_fail
;
6127 resultobj
= PyInt_FromLong((long)result
);
6129 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
6130 resultobj
= t_output_helper(resultobj
,o
);
6133 PyObject
*o
= PyFloat_FromDouble((double) (*arg4
));
6134 resultobj
= t_output_helper(resultobj
,o
);
6142 static PyObject
*_wrap_PyShape_CalcSimpleAttachment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6143 PyObject
*resultobj
;
6144 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6145 wxRealPoint
*arg2
= 0 ;
6146 wxRealPoint
*arg3
= 0 ;
6149 wxPyLineShape
*arg6
= (wxPyLineShape
*) 0 ;
6153 PyObject
* obj0
= 0 ;
6154 PyObject
* obj1
= 0 ;
6155 PyObject
* obj2
= 0 ;
6156 PyObject
* obj5
= 0 ;
6158 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "nth",(char *) "noArcs",(char *) "line", NULL
6161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOiiO:PyShape_CalcSimpleAttachment",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
,&obj5
)) goto fail
;
6162 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6165 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6169 if ( ! wxRealPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6171 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6174 result
= (arg1
)->CalcSimpleAttachment((wxRealPoint
const &)*arg2
,(wxRealPoint
const &)*arg3
,arg4
,arg5
,arg6
);
6176 wxPyEndAllowThreads(__tstate
);
6177 if (PyErr_Occurred()) SWIG_fail
;
6180 wxRealPoint
* resultptr
;
6181 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
6182 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRealPoint
, 1);
6190 static PyObject
*_wrap_PyShape_AttachmentSortTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6191 PyObject
*resultobj
;
6192 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6194 wxRealPoint
*arg3
= 0 ;
6195 wxRealPoint
*arg4
= 0 ;
6199 PyObject
* obj0
= 0 ;
6200 PyObject
* obj2
= 0 ;
6201 PyObject
* obj3
= 0 ;
6203 (char *) "self",(char *) "attachmentPoint",(char *) "pt1",(char *) "pt2", NULL
6206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiOO:PyShape_AttachmentSortTest",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
)) goto fail
;
6207 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6210 if ( ! wxRealPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6214 if ( ! wxRealPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6218 result
= (bool)(arg1
)->AttachmentSortTest(arg2
,(wxRealPoint
const &)*arg3
,(wxRealPoint
const &)*arg4
);
6220 wxPyEndAllowThreads(__tstate
);
6221 if (PyErr_Occurred()) SWIG_fail
;
6223 resultobj
= PyInt_FromLong((long)result
);
6230 static PyObject
*_wrap_PyShape_EraseLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6231 PyObject
*resultobj
;
6232 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6234 int arg3
= (int) -1 ;
6235 bool arg4
= (bool) False
;
6236 PyObject
* obj0
= 0 ;
6237 PyObject
* obj1
= 0 ;
6238 PyObject
* obj3
= 0 ;
6240 (char *) "self",(char *) "dc",(char *) "attachment",(char *) "recurse", NULL
6243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iO:PyShape_EraseLinks",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
)) goto fail
;
6244 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6245 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6247 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6251 arg4
= (bool) SPyObj_AsBool(obj3
);
6252 if (PyErr_Occurred()) SWIG_fail
;
6256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6257 (arg1
)->EraseLinks(*arg2
,arg3
,arg4
);
6259 wxPyEndAllowThreads(__tstate
);
6260 if (PyErr_Occurred()) SWIG_fail
;
6262 Py_INCREF(Py_None
); resultobj
= Py_None
;
6269 static PyObject
*_wrap_PyShape_DrawLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6270 PyObject
*resultobj
;
6271 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6273 int arg3
= (int) -1 ;
6274 bool arg4
= (bool) False
;
6275 PyObject
* obj0
= 0 ;
6276 PyObject
* obj1
= 0 ;
6277 PyObject
* obj3
= 0 ;
6279 (char *) "self",(char *) "dc",(char *) "attachment",(char *) "recurse", NULL
6282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iO:PyShape_DrawLinks",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
)) goto fail
;
6283 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6284 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6286 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6290 arg4
= (bool) SPyObj_AsBool(obj3
);
6291 if (PyErr_Occurred()) SWIG_fail
;
6295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6296 (arg1
)->DrawLinks(*arg2
,arg3
,arg4
);
6298 wxPyEndAllowThreads(__tstate
);
6299 if (PyErr_Occurred()) SWIG_fail
;
6301 Py_INCREF(Py_None
); resultobj
= Py_None
;
6308 static PyObject
*_wrap_PyShape_MoveLineToNewAttachment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6309 PyObject
*resultobj
;
6310 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6312 wxPyLineShape
*arg3
= (wxPyLineShape
*) 0 ;
6316 PyObject
* obj0
= 0 ;
6317 PyObject
* obj1
= 0 ;
6318 PyObject
* obj2
= 0 ;
6320 (char *) "self",(char *) "dc",(char *) "to_move",(char *) "x",(char *) "y", NULL
6323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOdd:PyShape_MoveLineToNewAttachment",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
)) goto fail
;
6324 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6325 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6327 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6329 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6332 result
= (bool)(arg1
)->MoveLineToNewAttachment(*arg2
,arg3
,arg4
,arg5
);
6334 wxPyEndAllowThreads(__tstate
);
6335 if (PyErr_Occurred()) SWIG_fail
;
6337 resultobj
= PyInt_FromLong((long)result
);
6344 static PyObject
*_wrap_PyShape_ApplyAttachmentOrdering(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6345 PyObject
*resultobj
;
6346 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6347 PyObject
*arg2
= (PyObject
*) 0 ;
6348 PyObject
* obj0
= 0 ;
6349 PyObject
* obj1
= 0 ;
6351 (char *) "self",(char *) "linesToSort", NULL
6354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_ApplyAttachmentOrdering",kwnames
,&obj0
,&obj1
)) goto fail
;
6355 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6359 wxPyShape_ApplyAttachmentOrdering(arg1
,arg2
);
6361 wxPyEndAllowThreads(__tstate
);
6362 if (PyErr_Occurred()) SWIG_fail
;
6364 Py_INCREF(Py_None
); resultobj
= Py_None
;
6371 static PyObject
*_wrap_PyShape_GetBranchingAttachmentRoot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6372 PyObject
*resultobj
;
6373 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6376 PyObject
* obj0
= 0 ;
6378 (char *) "self",(char *) "attachment", NULL
6381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyShape_GetBranchingAttachmentRoot",kwnames
,&obj0
,&arg2
)) goto fail
;
6382 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6385 result
= (arg1
)->GetBranchingAttachmentRoot(arg2
);
6387 wxPyEndAllowThreads(__tstate
);
6388 if (PyErr_Occurred()) SWIG_fail
;
6391 wxRealPoint
* resultptr
;
6392 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
6393 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRealPoint
, 1);
6401 static PyObject
*_wrap_PyShape_GetBranchingAttachmentInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6402 PyObject
*resultobj
;
6403 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6405 wxRealPoint
*arg3
= 0 ;
6406 wxRealPoint
*arg4
= 0 ;
6407 wxRealPoint
*arg5
= 0 ;
6408 wxRealPoint
*arg6
= 0 ;
6414 PyObject
* obj0
= 0 ;
6415 PyObject
* obj2
= 0 ;
6416 PyObject
* obj3
= 0 ;
6417 PyObject
* obj4
= 0 ;
6418 PyObject
* obj5
= 0 ;
6420 (char *) "self",(char *) "attachment",(char *) "root",(char *) "neck",(char *) "shoulder1",(char *) "shoulder2", NULL
6423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiOOOO:PyShape_GetBranchingAttachmentInfo",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
6424 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6427 if ( ! wxRealPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6431 if ( ! wxRealPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6435 if ( ! wxRealPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6439 if ( ! wxRealPoint_helper(obj5
, &arg6
)) SWIG_fail
;
6442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6443 result
= (bool)(arg1
)->GetBranchingAttachmentInfo(arg2
,*arg3
,*arg4
,*arg5
,*arg6
);
6445 wxPyEndAllowThreads(__tstate
);
6446 if (PyErr_Occurred()) SWIG_fail
;
6448 resultobj
= PyInt_FromLong((long)result
);
6455 static PyObject
*_wrap_PyShape_GetBranchingAttachmentPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6456 PyObject
*resultobj
;
6457 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6460 wxRealPoint
*arg4
= 0 ;
6461 wxRealPoint
*arg5
= 0 ;
6465 PyObject
* obj0
= 0 ;
6466 PyObject
* obj3
= 0 ;
6467 PyObject
* obj4
= 0 ;
6469 (char *) "self",(char *) "attachment",(char *) "n",(char *) "attachmentPoint",(char *) "stemPoint", NULL
6472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiiOO:PyShape_GetBranchingAttachmentPoint",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
,&obj4
)) goto fail
;
6473 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6476 if ( ! wxRealPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6480 if ( ! wxRealPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6484 result
= (bool)(arg1
)->GetBranchingAttachmentPoint(arg2
,arg3
,*arg4
,*arg5
);
6486 wxPyEndAllowThreads(__tstate
);
6487 if (PyErr_Occurred()) SWIG_fail
;
6489 resultobj
= PyInt_FromLong((long)result
);
6496 static PyObject
*_wrap_PyShape_GetAttachmentLineCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6497 PyObject
*resultobj
;
6498 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6501 PyObject
* obj0
= 0 ;
6503 (char *) "self",(char *) "attachment", NULL
6506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyShape_GetAttachmentLineCount",kwnames
,&obj0
,&arg2
)) goto fail
;
6507 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6510 result
= (int)(arg1
)->GetAttachmentLineCount(arg2
);
6512 wxPyEndAllowThreads(__tstate
);
6513 if (PyErr_Occurred()) SWIG_fail
;
6515 resultobj
= PyInt_FromLong((long)result
);
6522 static PyObject
*_wrap_PyShape_SetBranchNeckLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6523 PyObject
*resultobj
;
6524 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6526 PyObject
* obj0
= 0 ;
6528 (char *) "self",(char *) "len", NULL
6531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyShape_SetBranchNeckLength",kwnames
,&obj0
,&arg2
)) goto fail
;
6532 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6535 (arg1
)->SetBranchNeckLength(arg2
);
6537 wxPyEndAllowThreads(__tstate
);
6538 if (PyErr_Occurred()) SWIG_fail
;
6540 Py_INCREF(Py_None
); resultobj
= Py_None
;
6547 static PyObject
*_wrap_PyShape_GetBranchNeckLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6548 PyObject
*resultobj
;
6549 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6551 PyObject
* obj0
= 0 ;
6553 (char *) "self", NULL
6556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetBranchNeckLength",kwnames
,&obj0
)) goto fail
;
6557 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6560 result
= (int)(arg1
)->GetBranchNeckLength();
6562 wxPyEndAllowThreads(__tstate
);
6563 if (PyErr_Occurred()) SWIG_fail
;
6565 resultobj
= PyInt_FromLong((long)result
);
6572 static PyObject
*_wrap_PyShape_SetBranchStemLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6573 PyObject
*resultobj
;
6574 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6576 PyObject
* obj0
= 0 ;
6578 (char *) "self",(char *) "len", NULL
6581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyShape_SetBranchStemLength",kwnames
,&obj0
,&arg2
)) goto fail
;
6582 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6585 (arg1
)->SetBranchStemLength(arg2
);
6587 wxPyEndAllowThreads(__tstate
);
6588 if (PyErr_Occurred()) SWIG_fail
;
6590 Py_INCREF(Py_None
); resultobj
= Py_None
;
6597 static PyObject
*_wrap_PyShape_GetBranchStemLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6598 PyObject
*resultobj
;
6599 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6601 PyObject
* obj0
= 0 ;
6603 (char *) "self", NULL
6606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetBranchStemLength",kwnames
,&obj0
)) goto fail
;
6607 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6610 result
= (int)(arg1
)->GetBranchStemLength();
6612 wxPyEndAllowThreads(__tstate
);
6613 if (PyErr_Occurred()) SWIG_fail
;
6615 resultobj
= PyInt_FromLong((long)result
);
6622 static PyObject
*_wrap_PyShape_SetBranchSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6623 PyObject
*resultobj
;
6624 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6626 PyObject
* obj0
= 0 ;
6628 (char *) "self",(char *) "len", NULL
6631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyShape_SetBranchSpacing",kwnames
,&obj0
,&arg2
)) goto fail
;
6632 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6635 (arg1
)->SetBranchSpacing(arg2
);
6637 wxPyEndAllowThreads(__tstate
);
6638 if (PyErr_Occurred()) SWIG_fail
;
6640 Py_INCREF(Py_None
); resultobj
= Py_None
;
6647 static PyObject
*_wrap_PyShape_GetBranchSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6648 PyObject
*resultobj
;
6649 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6651 PyObject
* obj0
= 0 ;
6653 (char *) "self", NULL
6656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetBranchSpacing",kwnames
,&obj0
)) goto fail
;
6657 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6660 result
= (int)(arg1
)->GetBranchSpacing();
6662 wxPyEndAllowThreads(__tstate
);
6663 if (PyErr_Occurred()) SWIG_fail
;
6665 resultobj
= PyInt_FromLong((long)result
);
6672 static PyObject
*_wrap_PyShape_SetBranchStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6673 PyObject
*resultobj
;
6674 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6676 PyObject
* obj0
= 0 ;
6678 (char *) "self",(char *) "style", NULL
6681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:PyShape_SetBranchStyle",kwnames
,&obj0
,&arg2
)) goto fail
;
6682 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6685 (arg1
)->SetBranchStyle(arg2
);
6687 wxPyEndAllowThreads(__tstate
);
6688 if (PyErr_Occurred()) SWIG_fail
;
6690 Py_INCREF(Py_None
); resultobj
= Py_None
;
6697 static PyObject
*_wrap_PyShape_GetBranchStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6698 PyObject
*resultobj
;
6699 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6701 PyObject
* obj0
= 0 ;
6703 (char *) "self", NULL
6706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetBranchStyle",kwnames
,&obj0
)) goto fail
;
6707 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6710 result
= (long)(arg1
)->GetBranchStyle();
6712 wxPyEndAllowThreads(__tstate
);
6713 if (PyErr_Occurred()) SWIG_fail
;
6715 resultobj
= PyInt_FromLong((long)result
);
6722 static PyObject
*_wrap_PyShape_PhysicalToLogicalAttachment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6723 PyObject
*resultobj
;
6724 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6727 PyObject
* obj0
= 0 ;
6729 (char *) "self",(char *) "physicalAttachment", NULL
6732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyShape_PhysicalToLogicalAttachment",kwnames
,&obj0
,&arg2
)) goto fail
;
6733 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6736 result
= (int)(arg1
)->PhysicalToLogicalAttachment(arg2
);
6738 wxPyEndAllowThreads(__tstate
);
6739 if (PyErr_Occurred()) SWIG_fail
;
6741 resultobj
= PyInt_FromLong((long)result
);
6748 static PyObject
*_wrap_PyShape_LogicalToPhysicalAttachment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6749 PyObject
*resultobj
;
6750 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6753 PyObject
* obj0
= 0 ;
6755 (char *) "self",(char *) "logicalAttachment", NULL
6758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyShape_LogicalToPhysicalAttachment",kwnames
,&obj0
,&arg2
)) goto fail
;
6759 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6762 result
= (int)(arg1
)->LogicalToPhysicalAttachment(arg2
);
6764 wxPyEndAllowThreads(__tstate
);
6765 if (PyErr_Occurred()) SWIG_fail
;
6767 resultobj
= PyInt_FromLong((long)result
);
6774 static PyObject
*_wrap_PyShape_Draggable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6775 PyObject
*resultobj
;
6776 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6778 PyObject
* obj0
= 0 ;
6780 (char *) "self", NULL
6783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_Draggable",kwnames
,&obj0
)) goto fail
;
6784 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6787 result
= (bool)(arg1
)->Draggable();
6789 wxPyEndAllowThreads(__tstate
);
6790 if (PyErr_Occurred()) SWIG_fail
;
6792 resultobj
= PyInt_FromLong((long)result
);
6799 static PyObject
*_wrap_PyShape_HasDescendant(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6800 PyObject
*resultobj
;
6801 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6802 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
6804 PyObject
* obj0
= 0 ;
6805 PyObject
* obj1
= 0 ;
6807 (char *) "self",(char *) "image", NULL
6810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_HasDescendant",kwnames
,&obj0
,&obj1
)) goto fail
;
6811 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6812 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6815 result
= (bool)(arg1
)->HasDescendant(arg2
);
6817 wxPyEndAllowThreads(__tstate
);
6818 if (PyErr_Occurred()) SWIG_fail
;
6820 resultobj
= PyInt_FromLong((long)result
);
6827 static PyObject
*_wrap_PyShape_CreateNewCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6828 PyObject
*resultobj
;
6829 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6830 bool arg2
= (bool) True
;
6831 bool arg3
= (bool) True
;
6833 PyObject
* obj0
= 0 ;
6834 PyObject
* obj1
= 0 ;
6835 PyObject
* obj2
= 0 ;
6837 (char *) "self",(char *) "resetMapping",(char *) "recompute", NULL
6840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyShape_CreateNewCopy",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6841 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6844 arg2
= (bool) SPyObj_AsBool(obj1
);
6845 if (PyErr_Occurred()) SWIG_fail
;
6850 arg3
= (bool) SPyObj_AsBool(obj2
);
6851 if (PyErr_Occurred()) SWIG_fail
;
6855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6856 result
= (wxPyShape
*)(arg1
)->CreateNewCopy(arg2
,arg3
);
6858 wxPyEndAllowThreads(__tstate
);
6859 if (PyErr_Occurred()) SWIG_fail
;
6862 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
6870 static PyObject
*_wrap_PyShape_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6871 PyObject
*resultobj
;
6872 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6873 wxPyShape
*arg2
= 0 ;
6874 PyObject
* obj0
= 0 ;
6875 PyObject
* obj1
= 0 ;
6877 (char *) "self",(char *) "copy", NULL
6880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_Copy",kwnames
,&obj0
,&obj1
)) goto fail
;
6881 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6882 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6884 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6888 (arg1
)->Copy(*arg2
);
6890 wxPyEndAllowThreads(__tstate
);
6891 if (PyErr_Occurred()) SWIG_fail
;
6893 Py_INCREF(Py_None
); resultobj
= Py_None
;
6900 static PyObject
*_wrap_PyShape_CopyWithHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6901 PyObject
*resultobj
;
6902 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6903 wxPyShape
*arg2
= 0 ;
6904 PyObject
* obj0
= 0 ;
6905 PyObject
* obj1
= 0 ;
6907 (char *) "self",(char *) "copy", NULL
6910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_CopyWithHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
6911 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6912 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6914 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6918 (arg1
)->CopyWithHandler(*arg2
);
6920 wxPyEndAllowThreads(__tstate
);
6921 if (PyErr_Occurred()) SWIG_fail
;
6923 Py_INCREF(Py_None
); resultobj
= Py_None
;
6930 static PyObject
*_wrap_PyShape_Rotate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6931 PyObject
*resultobj
;
6932 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6936 PyObject
* obj0
= 0 ;
6938 (char *) "self",(char *) "x",(char *) "y",(char *) "theta", NULL
6941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oddd:PyShape_Rotate",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
6942 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6945 (arg1
)->Rotate(arg2
,arg3
,arg4
);
6947 wxPyEndAllowThreads(__tstate
);
6948 if (PyErr_Occurred()) SWIG_fail
;
6950 Py_INCREF(Py_None
); resultobj
= Py_None
;
6957 static PyObject
*_wrap_PyShape_GetRotation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6958 PyObject
*resultobj
;
6959 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6961 PyObject
* obj0
= 0 ;
6963 (char *) "self", NULL
6966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetRotation",kwnames
,&obj0
)) goto fail
;
6967 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6970 result
= (double)(arg1
)->GetRotation();
6972 wxPyEndAllowThreads(__tstate
);
6973 if (PyErr_Occurred()) SWIG_fail
;
6975 resultobj
= PyFloat_FromDouble(result
);
6982 static PyObject
*_wrap_PyShape_SetRotation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6983 PyObject
*resultobj
;
6984 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6986 PyObject
* obj0
= 0 ;
6988 (char *) "self",(char *) "rotation", NULL
6991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Od:PyShape_SetRotation",kwnames
,&obj0
,&arg2
)) goto fail
;
6992 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6995 (arg1
)->SetRotation(arg2
);
6997 wxPyEndAllowThreads(__tstate
);
6998 if (PyErr_Occurred()) SWIG_fail
;
7000 Py_INCREF(Py_None
); resultobj
= Py_None
;
7007 static PyObject
*_wrap_PyShape_ClearAttachments(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7008 PyObject
*resultobj
;
7009 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7010 PyObject
* obj0
= 0 ;
7012 (char *) "self", NULL
7015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_ClearAttachments",kwnames
,&obj0
)) goto fail
;
7016 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7019 (arg1
)->ClearAttachments();
7021 wxPyEndAllowThreads(__tstate
);
7022 if (PyErr_Occurred()) SWIG_fail
;
7024 Py_INCREF(Py_None
); resultobj
= Py_None
;
7031 static PyObject
*_wrap_PyShape_Recentre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7032 PyObject
*resultobj
;
7033 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7035 PyObject
* obj0
= 0 ;
7036 PyObject
* obj1
= 0 ;
7038 (char *) "self",(char *) "dc", NULL
7041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_Recentre",kwnames
,&obj0
,&obj1
)) goto fail
;
7042 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7043 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7045 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7049 (arg1
)->Recentre(*arg2
);
7051 wxPyEndAllowThreads(__tstate
);
7052 if (PyErr_Occurred()) SWIG_fail
;
7054 Py_INCREF(Py_None
); resultobj
= Py_None
;
7061 static PyObject
*_wrap_PyShape_ClearPointList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7062 PyObject
*resultobj
;
7063 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7065 PyObject
* obj0
= 0 ;
7066 PyObject
* obj1
= 0 ;
7068 (char *) "self",(char *) "list", NULL
7071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_ClearPointList",kwnames
,&obj0
,&obj1
)) goto fail
;
7072 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7073 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7075 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7079 (arg1
)->ClearPointList(*arg2
);
7081 wxPyEndAllowThreads(__tstate
);
7082 if (PyErr_Occurred()) SWIG_fail
;
7084 Py_INCREF(Py_None
); resultobj
= Py_None
;
7091 static PyObject
*_wrap_PyShape_GetBackgroundPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7092 PyObject
*resultobj
;
7093 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7095 PyObject
* obj0
= 0 ;
7097 (char *) "self", NULL
7100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetBackgroundPen",kwnames
,&obj0
)) goto fail
;
7101 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7104 result
= (arg1
)->GetBackgroundPen();
7106 wxPyEndAllowThreads(__tstate
);
7107 if (PyErr_Occurred()) SWIG_fail
;
7111 resultptr
= new wxPen((wxPen
&) result
);
7112 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPen
, 1);
7120 static PyObject
*_wrap_PyShape_GetBackgroundBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7121 PyObject
*resultobj
;
7122 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7124 PyObject
* obj0
= 0 ;
7126 (char *) "self", NULL
7129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetBackgroundBrush",kwnames
,&obj0
)) goto fail
;
7130 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7133 result
= (arg1
)->GetBackgroundBrush();
7135 wxPyEndAllowThreads(__tstate
);
7136 if (PyErr_Occurred()) SWIG_fail
;
7139 wxBrush
* resultptr
;
7140 resultptr
= new wxBrush((wxBrush
&) result
);
7141 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBrush
, 1);
7149 static PyObject
*_wrap_PyShape_base_OnDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7150 PyObject
*resultobj
;
7151 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7152 PyObject
* obj0
= 0 ;
7154 (char *) "self", NULL
7157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_base_OnDelete",kwnames
,&obj0
)) goto fail
;
7158 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7161 (arg1
)->base_OnDelete();
7163 wxPyEndAllowThreads(__tstate
);
7164 if (PyErr_Occurred()) SWIG_fail
;
7166 Py_INCREF(Py_None
); resultobj
= Py_None
;
7173 static PyObject
*_wrap_PyShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7174 PyObject
*resultobj
;
7175 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7177 PyObject
* obj0
= 0 ;
7178 PyObject
* obj1
= 0 ;
7180 (char *) "self",(char *) "dc", NULL
7183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
7184 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7185 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7187 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7191 (arg1
)->base_OnDraw(*arg2
);
7193 wxPyEndAllowThreads(__tstate
);
7194 if (PyErr_Occurred()) SWIG_fail
;
7196 Py_INCREF(Py_None
); resultobj
= Py_None
;
7203 static PyObject
*_wrap_PyShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7204 PyObject
*resultobj
;
7205 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7207 PyObject
* obj0
= 0 ;
7208 PyObject
* obj1
= 0 ;
7210 (char *) "self",(char *) "dc", NULL
7213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
7214 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7215 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7217 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7221 (arg1
)->base_OnDrawContents(*arg2
);
7223 wxPyEndAllowThreads(__tstate
);
7224 if (PyErr_Occurred()) SWIG_fail
;
7226 Py_INCREF(Py_None
); resultobj
= Py_None
;
7233 static PyObject
*_wrap_PyShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7234 PyObject
*resultobj
;
7235 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7237 bool arg3
= (bool) False
;
7238 PyObject
* obj0
= 0 ;
7239 PyObject
* obj1
= 0 ;
7240 PyObject
* obj2
= 0 ;
7242 (char *) "self",(char *) "dc",(char *) "erase", NULL
7245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7246 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7247 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7249 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7253 arg3
= (bool) SPyObj_AsBool(obj2
);
7254 if (PyErr_Occurred()) SWIG_fail
;
7258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7259 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
7261 wxPyEndAllowThreads(__tstate
);
7262 if (PyErr_Occurred()) SWIG_fail
;
7264 Py_INCREF(Py_None
); resultobj
= Py_None
;
7271 static PyObject
*_wrap_PyShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7272 PyObject
*resultobj
;
7273 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7275 PyObject
* obj0
= 0 ;
7276 PyObject
* obj1
= 0 ;
7278 (char *) "self",(char *) "dc", NULL
7281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
7282 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7283 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7285 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7289 (arg1
)->base_OnMoveLinks(*arg2
);
7291 wxPyEndAllowThreads(__tstate
);
7292 if (PyErr_Occurred()) SWIG_fail
;
7294 Py_INCREF(Py_None
); resultobj
= Py_None
;
7301 static PyObject
*_wrap_PyShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7302 PyObject
*resultobj
;
7303 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7305 PyObject
* obj0
= 0 ;
7306 PyObject
* obj1
= 0 ;
7308 (char *) "self",(char *) "dc", NULL
7311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
7312 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7313 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7315 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7319 (arg1
)->base_OnErase(*arg2
);
7321 wxPyEndAllowThreads(__tstate
);
7322 if (PyErr_Occurred()) SWIG_fail
;
7324 Py_INCREF(Py_None
); resultobj
= Py_None
;
7331 static PyObject
*_wrap_PyShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7332 PyObject
*resultobj
;
7333 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7335 PyObject
* obj0
= 0 ;
7336 PyObject
* obj1
= 0 ;
7338 (char *) "self",(char *) "dc", NULL
7341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
7342 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7343 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7345 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7349 (arg1
)->base_OnEraseContents(*arg2
);
7351 wxPyEndAllowThreads(__tstate
);
7352 if (PyErr_Occurred()) SWIG_fail
;
7354 Py_INCREF(Py_None
); resultobj
= Py_None
;
7361 static PyObject
*_wrap_PyShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7362 PyObject
*resultobj
;
7363 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7365 PyObject
* obj0
= 0 ;
7366 PyObject
* obj1
= 0 ;
7368 (char *) "self",(char *) "dc", NULL
7371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
7372 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7373 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7375 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7379 (arg1
)->base_OnHighlight(*arg2
);
7381 wxPyEndAllowThreads(__tstate
);
7382 if (PyErr_Occurred()) SWIG_fail
;
7384 Py_INCREF(Py_None
); resultobj
= Py_None
;
7391 static PyObject
*_wrap_PyShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7392 PyObject
*resultobj
;
7393 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7396 int arg4
= (int) 0 ;
7397 int arg5
= (int) 0 ;
7398 PyObject
* obj0
= 0 ;
7400 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
7403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyShape_base_OnLeftClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
7404 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7407 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
7409 wxPyEndAllowThreads(__tstate
);
7410 if (PyErr_Occurred()) SWIG_fail
;
7412 Py_INCREF(Py_None
); resultobj
= Py_None
;
7419 static PyObject
*_wrap_PyShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7420 PyObject
*resultobj
;
7421 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7424 int arg4
= (int) 0 ;
7425 int arg5
= (int) 0 ;
7426 PyObject
* obj0
= 0 ;
7428 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
7431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
7432 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7435 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
7437 wxPyEndAllowThreads(__tstate
);
7438 if (PyErr_Occurred()) SWIG_fail
;
7440 Py_INCREF(Py_None
); resultobj
= Py_None
;
7447 static PyObject
*_wrap_PyShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7448 PyObject
*resultobj
;
7449 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7452 int arg4
= (int) 0 ;
7453 int arg5
= (int) 0 ;
7454 PyObject
* obj0
= 0 ;
7456 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
7459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyShape_base_OnRightClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
7460 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7463 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
7465 wxPyEndAllowThreads(__tstate
);
7466 if (PyErr_Occurred()) SWIG_fail
;
7468 Py_INCREF(Py_None
); resultobj
= Py_None
;
7475 static PyObject
*_wrap_PyShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7476 PyObject
*resultobj
;
7477 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7480 PyObject
* obj0
= 0 ;
7482 (char *) "self",(char *) "x",(char *) "y", NULL
7485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyShape_base_OnSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
7486 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7489 (arg1
)->base_OnSize(arg2
,arg3
);
7491 wxPyEndAllowThreads(__tstate
);
7492 if (PyErr_Occurred()) SWIG_fail
;
7494 Py_INCREF(Py_None
); resultobj
= Py_None
;
7501 static PyObject
*_wrap_PyShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7502 PyObject
*resultobj
;
7503 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7509 bool arg7
= (bool) True
;
7511 PyObject
* obj0
= 0 ;
7512 PyObject
* obj1
= 0 ;
7513 PyObject
* obj6
= 0 ;
7515 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
7518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd|O:PyShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
)) goto fail
;
7519 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7520 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7522 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7526 arg7
= (bool) SPyObj_AsBool(obj6
);
7527 if (PyErr_Occurred()) SWIG_fail
;
7531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7532 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
7534 wxPyEndAllowThreads(__tstate
);
7535 if (PyErr_Occurred()) SWIG_fail
;
7537 resultobj
= PyInt_FromLong((long)result
);
7544 static PyObject
*_wrap_PyShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7545 PyObject
*resultobj
;
7546 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7552 bool arg7
= (bool) True
;
7553 PyObject
* obj0
= 0 ;
7554 PyObject
* obj1
= 0 ;
7555 PyObject
* obj6
= 0 ;
7557 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
7560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd|O:PyShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
)) goto fail
;
7561 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7562 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7564 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7568 arg7
= (bool) SPyObj_AsBool(obj6
);
7569 if (PyErr_Occurred()) SWIG_fail
;
7573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7574 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
7576 wxPyEndAllowThreads(__tstate
);
7577 if (PyErr_Occurred()) SWIG_fail
;
7579 Py_INCREF(Py_None
); resultobj
= Py_None
;
7586 static PyObject
*_wrap_PyShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7587 PyObject
*resultobj
;
7588 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7592 int arg5
= (int) 0 ;
7593 int arg6
= (int) 0 ;
7594 PyObject
* obj0
= 0 ;
7595 PyObject
* obj1
= 0 ;
7597 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
7600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
7601 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7603 arg2
= (bool) SPyObj_AsBool(obj1
);
7604 if (PyErr_Occurred()) SWIG_fail
;
7607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7608 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
7610 wxPyEndAllowThreads(__tstate
);
7611 if (PyErr_Occurred()) SWIG_fail
;
7613 Py_INCREF(Py_None
); resultobj
= Py_None
;
7620 static PyObject
*_wrap_PyShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7621 PyObject
*resultobj
;
7622 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7625 int arg4
= (int) 0 ;
7626 int arg5
= (int) 0 ;
7627 PyObject
* obj0
= 0 ;
7629 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
7632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyShape_base_OnBeginDragLeft",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
7633 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7636 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
7638 wxPyEndAllowThreads(__tstate
);
7639 if (PyErr_Occurred()) SWIG_fail
;
7641 Py_INCREF(Py_None
); resultobj
= Py_None
;
7648 static PyObject
*_wrap_PyShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7649 PyObject
*resultobj
;
7650 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7653 int arg4
= (int) 0 ;
7654 int arg5
= (int) 0 ;
7655 PyObject
* obj0
= 0 ;
7657 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
7660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyShape_base_OnEndDragLeft",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
7661 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7664 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
7666 wxPyEndAllowThreads(__tstate
);
7667 if (PyErr_Occurred()) SWIG_fail
;
7669 Py_INCREF(Py_None
); resultobj
= Py_None
;
7676 static PyObject
*_wrap_PyShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7677 PyObject
*resultobj
;
7678 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7682 int arg5
= (int) 0 ;
7683 int arg6
= (int) 0 ;
7684 PyObject
* obj0
= 0 ;
7685 PyObject
* obj1
= 0 ;
7687 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
7690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
7691 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7693 arg2
= (bool) SPyObj_AsBool(obj1
);
7694 if (PyErr_Occurred()) SWIG_fail
;
7697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7698 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
7700 wxPyEndAllowThreads(__tstate
);
7701 if (PyErr_Occurred()) SWIG_fail
;
7703 Py_INCREF(Py_None
); resultobj
= Py_None
;
7710 static PyObject
*_wrap_PyShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7711 PyObject
*resultobj
;
7712 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7715 int arg4
= (int) 0 ;
7716 int arg5
= (int) 0 ;
7717 PyObject
* obj0
= 0 ;
7719 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
7722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyShape_base_OnBeginDragRight",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
7723 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7726 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
7728 wxPyEndAllowThreads(__tstate
);
7729 if (PyErr_Occurred()) SWIG_fail
;
7731 Py_INCREF(Py_None
); resultobj
= Py_None
;
7738 static PyObject
*_wrap_PyShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7739 PyObject
*resultobj
;
7740 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7743 int arg4
= (int) 0 ;
7744 int arg5
= (int) 0 ;
7745 PyObject
* obj0
= 0 ;
7747 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
7750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyShape_base_OnEndDragRight",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
7751 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7754 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
7756 wxPyEndAllowThreads(__tstate
);
7757 if (PyErr_Occurred()) SWIG_fail
;
7759 Py_INCREF(Py_None
); resultobj
= Py_None
;
7766 static PyObject
*_wrap_PyShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7767 PyObject
*resultobj
;
7768 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7774 PyObject
* obj0
= 0 ;
7775 PyObject
* obj1
= 0 ;
7777 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
7780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd:PyShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
7781 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7782 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7784 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7788 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
7790 wxPyEndAllowThreads(__tstate
);
7791 if (PyErr_Occurred()) SWIG_fail
;
7793 Py_INCREF(Py_None
); resultobj
= Py_None
;
7800 static PyObject
*_wrap_PyShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7801 PyObject
*resultobj
;
7802 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7804 PyObject
* obj0
= 0 ;
7805 PyObject
* obj1
= 0 ;
7807 (char *) "self",(char *) "dc", NULL
7810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
7811 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7812 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7814 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7818 (arg1
)->base_OnDrawControlPoints(*arg2
);
7820 wxPyEndAllowThreads(__tstate
);
7821 if (PyErr_Occurred()) SWIG_fail
;
7823 Py_INCREF(Py_None
); resultobj
= Py_None
;
7830 static PyObject
*_wrap_PyShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7831 PyObject
*resultobj
;
7832 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7834 PyObject
* obj0
= 0 ;
7835 PyObject
* obj1
= 0 ;
7837 (char *) "self",(char *) "dc", NULL
7840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
7841 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7842 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7844 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7848 (arg1
)->base_OnEraseControlPoints(*arg2
);
7850 wxPyEndAllowThreads(__tstate
);
7851 if (PyErr_Occurred()) SWIG_fail
;
7853 Py_INCREF(Py_None
); resultobj
= Py_None
;
7860 static PyObject
*_wrap_PyShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7861 PyObject
*resultobj
;
7862 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7864 bool arg3
= (bool) True
;
7865 PyObject
* obj0
= 0 ;
7866 PyObject
* obj1
= 0 ;
7867 PyObject
* obj2
= 0 ;
7869 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
7872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7873 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7874 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7876 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7880 arg3
= (bool) SPyObj_AsBool(obj2
);
7881 if (PyErr_Occurred()) SWIG_fail
;
7885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7886 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
7888 wxPyEndAllowThreads(__tstate
);
7889 if (PyErr_Occurred()) SWIG_fail
;
7891 Py_INCREF(Py_None
); resultobj
= Py_None
;
7898 static PyObject
*_wrap_PyShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7899 PyObject
*resultobj
;
7900 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7901 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
7905 int arg6
= (int) 0 ;
7906 int arg7
= (int) 0 ;
7907 PyObject
* obj0
= 0 ;
7908 PyObject
* obj1
= 0 ;
7909 PyObject
* obj2
= 0 ;
7911 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
7914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOdd|ii:PyShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
,&arg6
,&arg7
)) goto fail
;
7915 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7916 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7918 arg3
= (bool) SPyObj_AsBool(obj2
);
7919 if (PyErr_Occurred()) SWIG_fail
;
7922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7923 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
7925 wxPyEndAllowThreads(__tstate
);
7926 if (PyErr_Occurred()) SWIG_fail
;
7928 Py_INCREF(Py_None
); resultobj
= Py_None
;
7935 static PyObject
*_wrap_PyShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7936 PyObject
*resultobj
;
7937 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7938 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
7941 int arg5
= (int) 0 ;
7942 int arg6
= (int) 0 ;
7943 PyObject
* obj0
= 0 ;
7944 PyObject
* obj1
= 0 ;
7946 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
7949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
7950 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7951 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7954 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
7956 wxPyEndAllowThreads(__tstate
);
7957 if (PyErr_Occurred()) SWIG_fail
;
7959 Py_INCREF(Py_None
); resultobj
= Py_None
;
7966 static PyObject
*_wrap_PyShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7967 PyObject
*resultobj
;
7968 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7969 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
7972 int arg5
= (int) 0 ;
7973 int arg6
= (int) 0 ;
7974 PyObject
* obj0
= 0 ;
7975 PyObject
* obj1
= 0 ;
7977 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
7980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
7981 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7982 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7985 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
7987 wxPyEndAllowThreads(__tstate
);
7988 if (PyErr_Occurred()) SWIG_fail
;
7990 Py_INCREF(Py_None
); resultobj
= Py_None
;
7997 static PyObject
*_wrap_PyShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7998 PyObject
*resultobj
;
7999 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8002 PyObject
* obj0
= 0 ;
8004 (char *) "self",(char *) "w",(char *) "h", NULL
8007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyShape_base_OnBeginSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
8008 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8011 (arg1
)->base_OnBeginSize(arg2
,arg3
);
8013 wxPyEndAllowThreads(__tstate
);
8014 if (PyErr_Occurred()) SWIG_fail
;
8016 Py_INCREF(Py_None
); resultobj
= Py_None
;
8023 static PyObject
*_wrap_PyShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8024 PyObject
*resultobj
;
8025 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8028 PyObject
* obj0
= 0 ;
8030 (char *) "self",(char *) "w",(char *) "h", NULL
8033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyShape_base_OnEndSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
8034 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8037 (arg1
)->base_OnEndSize(arg2
,arg3
);
8039 wxPyEndAllowThreads(__tstate
);
8040 if (PyErr_Occurred()) SWIG_fail
;
8042 Py_INCREF(Py_None
); resultobj
= Py_None
;
8049 static PyObject
* PyShape_swigregister(PyObject
*self
, PyObject
*args
) {
8051 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8052 SWIG_TypeClientData(SWIGTYPE_p_wxPyShape
, obj
);
8054 return Py_BuildValue((char *)"");
8056 static PyObject
*_wrap_new_PseudoMetaFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8057 PyObject
*resultobj
;
8058 wxPseudoMetaFile
*result
;
8063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PseudoMetaFile",kwnames
)) goto fail
;
8065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8066 result
= (wxPseudoMetaFile
*)new wxPseudoMetaFile();
8068 wxPyEndAllowThreads(__tstate
);
8069 if (PyErr_Occurred()) SWIG_fail
;
8072 resultobj
= wxPyMake_wxObject(result
);
8080 static PyObject
*_wrap_delete_PseudoMetaFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8081 PyObject
*resultobj
;
8082 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
8083 PyObject
* obj0
= 0 ;
8085 (char *) "self", NULL
8088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PseudoMetaFile",kwnames
,&obj0
)) goto fail
;
8089 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8094 wxPyEndAllowThreads(__tstate
);
8095 if (PyErr_Occurred()) SWIG_fail
;
8097 Py_INCREF(Py_None
); resultobj
= Py_None
;
8104 static PyObject
*_wrap_PseudoMetaFile_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8105 PyObject
*resultobj
;
8106 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
8110 PyObject
* obj0
= 0 ;
8111 PyObject
* obj1
= 0 ;
8113 (char *) "self",(char *) "dc",(char *) "xoffset",(char *) "yoffset", NULL
8116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd:PseudoMetaFile_Draw",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
)) goto fail
;
8117 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8118 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8120 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8124 (arg1
)->Draw(*arg2
,arg3
,arg4
);
8126 wxPyEndAllowThreads(__tstate
);
8127 if (PyErr_Occurred()) SWIG_fail
;
8129 Py_INCREF(Py_None
); resultobj
= Py_None
;
8136 static PyObject
*_wrap_PseudoMetaFile_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8137 PyObject
*resultobj
;
8138 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
8139 PyObject
* obj0
= 0 ;
8141 (char *) "self", NULL
8144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PseudoMetaFile_Clear",kwnames
,&obj0
)) goto fail
;
8145 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8150 wxPyEndAllowThreads(__tstate
);
8151 if (PyErr_Occurred()) SWIG_fail
;
8153 Py_INCREF(Py_None
); resultobj
= Py_None
;
8160 static PyObject
*_wrap_PseudoMetaFile_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8161 PyObject
*resultobj
;
8162 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
8163 wxPseudoMetaFile
*arg2
= 0 ;
8164 PyObject
* obj0
= 0 ;
8165 PyObject
* obj1
= 0 ;
8167 (char *) "self",(char *) "copy", NULL
8170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_Copy",kwnames
,&obj0
,&obj1
)) goto fail
;
8171 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8172 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8174 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8178 (arg1
)->Copy(*arg2
);
8180 wxPyEndAllowThreads(__tstate
);
8181 if (PyErr_Occurred()) SWIG_fail
;
8183 Py_INCREF(Py_None
); resultobj
= Py_None
;
8190 static PyObject
*_wrap_PseudoMetaFile_Scale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8191 PyObject
*resultobj
;
8192 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
8195 PyObject
* obj0
= 0 ;
8197 (char *) "self",(char *) "sx",(char *) "sy", NULL
8200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PseudoMetaFile_Scale",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
8201 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8204 (arg1
)->Scale(arg2
,arg3
);
8206 wxPyEndAllowThreads(__tstate
);
8207 if (PyErr_Occurred()) SWIG_fail
;
8209 Py_INCREF(Py_None
); resultobj
= Py_None
;
8216 static PyObject
*_wrap_PseudoMetaFile_ScaleTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8217 PyObject
*resultobj
;
8218 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
8221 PyObject
* obj0
= 0 ;
8223 (char *) "self",(char *) "w",(char *) "h", NULL
8226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PseudoMetaFile_ScaleTo",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
8227 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8230 (arg1
)->ScaleTo(arg2
,arg3
);
8232 wxPyEndAllowThreads(__tstate
);
8233 if (PyErr_Occurred()) SWIG_fail
;
8235 Py_INCREF(Py_None
); resultobj
= Py_None
;
8242 static PyObject
*_wrap_PseudoMetaFile_Translate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8243 PyObject
*resultobj
;
8244 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
8247 PyObject
* obj0
= 0 ;
8249 (char *) "self",(char *) "x",(char *) "y", NULL
8252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PseudoMetaFile_Translate",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
8253 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8256 (arg1
)->Translate(arg2
,arg3
);
8258 wxPyEndAllowThreads(__tstate
);
8259 if (PyErr_Occurred()) SWIG_fail
;
8261 Py_INCREF(Py_None
); resultobj
= Py_None
;
8268 static PyObject
*_wrap_PseudoMetaFile_Rotate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8269 PyObject
*resultobj
;
8270 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
8274 PyObject
* obj0
= 0 ;
8276 (char *) "self",(char *) "x",(char *) "y",(char *) "theta", NULL
8279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oddd:PseudoMetaFile_Rotate",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
8280 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8283 (arg1
)->Rotate(arg2
,arg3
,arg4
);
8285 wxPyEndAllowThreads(__tstate
);
8286 if (PyErr_Occurred()) SWIG_fail
;
8288 Py_INCREF(Py_None
); resultobj
= Py_None
;
8295 static PyObject
*_wrap_PseudoMetaFile_LoadFromMetaFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8296 PyObject
*resultobj
;
8297 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
8298 wxString
*arg2
= 0 ;
8299 double *arg3
= (double *) 0 ;
8300 double *arg4
= (double *) 0 ;
8302 bool temp2
= False
;
8303 PyObject
* obj0
= 0 ;
8304 PyObject
* obj1
= 0 ;
8305 PyObject
* obj2
= 0 ;
8306 PyObject
* obj3
= 0 ;
8308 (char *) "self",(char *) "filename",(char *) "width",(char *) "height", NULL
8311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoMetaFile_LoadFromMetaFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8312 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8314 arg2
= wxString_in_helper(obj1
);
8315 if (arg2
== NULL
) SWIG_fail
;
8318 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_double
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8319 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_double
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8322 result
= (bool)(arg1
)->LoadFromMetaFile((wxString
const &)*arg2
,arg3
,arg4
);
8324 wxPyEndAllowThreads(__tstate
);
8325 if (PyErr_Occurred()) SWIG_fail
;
8327 resultobj
= PyInt_FromLong((long)result
);
8342 static PyObject
*_wrap_PseudoMetaFile_GetBounds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8343 PyObject
*resultobj
;
8344 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
8345 double *arg2
= (double *) 0 ;
8346 double *arg3
= (double *) 0 ;
8347 double *arg4
= (double *) 0 ;
8348 double *arg5
= (double *) 0 ;
8349 PyObject
* obj0
= 0 ;
8350 PyObject
* obj1
= 0 ;
8351 PyObject
* obj2
= 0 ;
8352 PyObject
* obj3
= 0 ;
8353 PyObject
* obj4
= 0 ;
8355 (char *) "self",(char *) "minX",(char *) "minY",(char *) "maxX",(char *) "maxY", NULL
8358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoMetaFile_GetBounds",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
8359 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8360 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_double
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8361 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_double
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8362 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_double
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8363 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_double
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8366 (arg1
)->GetBounds(arg2
,arg3
,arg4
,arg5
);
8368 wxPyEndAllowThreads(__tstate
);
8369 if (PyErr_Occurred()) SWIG_fail
;
8371 Py_INCREF(Py_None
); resultobj
= Py_None
;
8378 static PyObject
*_wrap_PseudoMetaFile_CalculateSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8379 PyObject
*resultobj
;
8380 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
8381 wxPyDrawnShape
*arg2
= (wxPyDrawnShape
*) 0 ;
8382 PyObject
* obj0
= 0 ;
8383 PyObject
* obj1
= 0 ;
8385 (char *) "self",(char *) "shape", NULL
8388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_CalculateSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8389 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8390 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8393 (arg1
)->CalculateSize(arg2
);
8395 wxPyEndAllowThreads(__tstate
);
8396 if (PyErr_Occurred()) SWIG_fail
;
8398 Py_INCREF(Py_None
); resultobj
= Py_None
;
8405 static PyObject
*_wrap_PseudoMetaFile_SetRotateable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8406 PyObject
*resultobj
;
8407 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
8409 PyObject
* obj0
= 0 ;
8410 PyObject
* obj1
= 0 ;
8412 (char *) "self",(char *) "rot", NULL
8415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_SetRotateable",kwnames
,&obj0
,&obj1
)) goto fail
;
8416 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8418 arg2
= (bool) SPyObj_AsBool(obj1
);
8419 if (PyErr_Occurred()) SWIG_fail
;
8422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8423 (arg1
)->SetRotateable(arg2
);
8425 wxPyEndAllowThreads(__tstate
);
8426 if (PyErr_Occurred()) SWIG_fail
;
8428 Py_INCREF(Py_None
); resultobj
= Py_None
;
8435 static PyObject
*_wrap_PseudoMetaFile_GetRotateable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8436 PyObject
*resultobj
;
8437 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
8439 PyObject
* obj0
= 0 ;
8441 (char *) "self", NULL
8444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PseudoMetaFile_GetRotateable",kwnames
,&obj0
)) goto fail
;
8445 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8448 result
= (bool)(arg1
)->GetRotateable();
8450 wxPyEndAllowThreads(__tstate
);
8451 if (PyErr_Occurred()) SWIG_fail
;
8453 resultobj
= PyInt_FromLong((long)result
);
8460 static PyObject
*_wrap_PseudoMetaFile_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8461 PyObject
*resultobj
;
8462 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
8465 PyObject
* obj0
= 0 ;
8467 (char *) "self",(char *) "w",(char *) "h", NULL
8470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PseudoMetaFile_SetSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
8471 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8474 (arg1
)->SetSize(arg2
,arg3
);
8476 wxPyEndAllowThreads(__tstate
);
8477 if (PyErr_Occurred()) SWIG_fail
;
8479 Py_INCREF(Py_None
); resultobj
= Py_None
;
8486 static PyObject
*_wrap_PseudoMetaFile_SetFillBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8487 PyObject
*resultobj
;
8488 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
8489 wxBrush
*arg2
= (wxBrush
*) 0 ;
8490 PyObject
* obj0
= 0 ;
8491 PyObject
* obj1
= 0 ;
8493 (char *) "self",(char *) "brush", NULL
8496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_SetFillBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
8497 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8501 if (obj1
== Py_None
) {
8504 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxBrush"))) {
8505 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxBrush.");
8510 arg2
= wxTheBrushList
->FindOrCreateBrush(temp
->GetColour(), temp
->GetStyle());
8515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8516 (arg1
)->SetFillBrush(arg2
);
8518 wxPyEndAllowThreads(__tstate
);
8519 if (PyErr_Occurred()) SWIG_fail
;
8521 Py_INCREF(Py_None
); resultobj
= Py_None
;
8528 static PyObject
*_wrap_PseudoMetaFile_GetFillBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8529 PyObject
*resultobj
;
8530 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
8532 PyObject
* obj0
= 0 ;
8534 (char *) "self", NULL
8537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PseudoMetaFile_GetFillBrush",kwnames
,&obj0
)) goto fail
;
8538 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8541 result
= (wxBrush
*)(arg1
)->GetFillBrush();
8543 wxPyEndAllowThreads(__tstate
);
8544 if (PyErr_Occurred()) SWIG_fail
;
8546 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBrush
, 0);
8553 static PyObject
*_wrap_PseudoMetaFile_SetOutlinePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8554 PyObject
*resultobj
;
8555 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
8556 wxPen
*arg2
= (wxPen
*) 0 ;
8557 PyObject
* obj0
= 0 ;
8558 PyObject
* obj1
= 0 ;
8560 (char *) "self",(char *) "pen", NULL
8563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_SetOutlinePen",kwnames
,&obj0
,&obj1
)) goto fail
;
8564 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8568 if (obj1
== Py_None
) {
8571 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxPen"))) {
8572 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxPen.");
8577 arg2
= wxThePenList
->FindOrCreatePen(temp
->GetColour(),
8584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8585 (arg1
)->SetOutlinePen(arg2
);
8587 wxPyEndAllowThreads(__tstate
);
8588 if (PyErr_Occurred()) SWIG_fail
;
8590 Py_INCREF(Py_None
); resultobj
= Py_None
;
8597 static PyObject
*_wrap_PseudoMetaFile_GetOutlinePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8598 PyObject
*resultobj
;
8599 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
8601 PyObject
* obj0
= 0 ;
8603 (char *) "self", NULL
8606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PseudoMetaFile_GetOutlinePen",kwnames
,&obj0
)) goto fail
;
8607 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8610 result
= (wxPen
*)(arg1
)->GetOutlinePen();
8612 wxPyEndAllowThreads(__tstate
);
8613 if (PyErr_Occurred()) SWIG_fail
;
8615 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPen
, 0);
8622 static PyObject
*_wrap_PseudoMetaFile_SetOutlineOp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8623 PyObject
*resultobj
;
8624 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
8626 PyObject
* obj0
= 0 ;
8628 (char *) "self",(char *) "op", NULL
8631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PseudoMetaFile_SetOutlineOp",kwnames
,&obj0
,&arg2
)) goto fail
;
8632 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8635 (arg1
)->SetOutlineOp(arg2
);
8637 wxPyEndAllowThreads(__tstate
);
8638 if (PyErr_Occurred()) SWIG_fail
;
8640 Py_INCREF(Py_None
); resultobj
= Py_None
;
8647 static PyObject
*_wrap_PseudoMetaFile_GetOutlineOp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8648 PyObject
*resultobj
;
8649 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
8651 PyObject
* obj0
= 0 ;
8653 (char *) "self", NULL
8656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PseudoMetaFile_GetOutlineOp",kwnames
,&obj0
)) goto fail
;
8657 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8660 result
= (int)(arg1
)->GetOutlineOp();
8662 wxPyEndAllowThreads(__tstate
);
8663 if (PyErr_Occurred()) SWIG_fail
;
8665 resultobj
= PyInt_FromLong((long)result
);
8672 static PyObject
*_wrap_PseudoMetaFile_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8673 PyObject
*resultobj
;
8674 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
8676 PyObject
* obj0
= 0 ;
8678 (char *) "self", NULL
8681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PseudoMetaFile_IsValid",kwnames
,&obj0
)) goto fail
;
8682 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8685 result
= (bool)(arg1
)->IsValid();
8687 wxPyEndAllowThreads(__tstate
);
8688 if (PyErr_Occurred()) SWIG_fail
;
8690 resultobj
= PyInt_FromLong((long)result
);
8697 static PyObject
*_wrap_PseudoMetaFile_DrawLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8698 PyObject
*resultobj
;
8699 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
8704 PyObject
* obj0
= 0 ;
8705 PyObject
* obj1
= 0 ;
8706 PyObject
* obj2
= 0 ;
8708 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
8711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoMetaFile_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8712 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8715 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8719 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8723 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
8725 wxPyEndAllowThreads(__tstate
);
8726 if (PyErr_Occurred()) SWIG_fail
;
8728 Py_INCREF(Py_None
); resultobj
= Py_None
;
8735 static PyObject
*_wrap_PseudoMetaFile_DrawRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8736 PyObject
*resultobj
;
8737 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
8740 PyObject
* obj0
= 0 ;
8741 PyObject
* obj1
= 0 ;
8743 (char *) "self",(char *) "rect", NULL
8746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_DrawRectangle",kwnames
,&obj0
,&obj1
)) goto fail
;
8747 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8750 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8754 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
8756 wxPyEndAllowThreads(__tstate
);
8757 if (PyErr_Occurred()) SWIG_fail
;
8759 Py_INCREF(Py_None
); resultobj
= Py_None
;
8766 static PyObject
*_wrap_PseudoMetaFile_DrawRoundedRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8767 PyObject
*resultobj
;
8768 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
8772 PyObject
* obj0
= 0 ;
8773 PyObject
* obj1
= 0 ;
8775 (char *) "self",(char *) "rect",(char *) "radius", NULL
8778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOd:PseudoMetaFile_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
8779 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8782 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8786 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
8788 wxPyEndAllowThreads(__tstate
);
8789 if (PyErr_Occurred()) SWIG_fail
;
8791 Py_INCREF(Py_None
); resultobj
= Py_None
;
8798 static PyObject
*_wrap_PseudoMetaFile_DrawArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8799 PyObject
*resultobj
;
8800 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
8807 PyObject
* obj0
= 0 ;
8808 PyObject
* obj1
= 0 ;
8809 PyObject
* obj2
= 0 ;
8810 PyObject
* obj3
= 0 ;
8812 (char *) "self",(char *) "centrePt",(char *) "startPt",(char *) "endPt", NULL
8815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoMetaFile_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8816 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8819 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8823 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8827 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8831 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
8833 wxPyEndAllowThreads(__tstate
);
8834 if (PyErr_Occurred()) SWIG_fail
;
8836 Py_INCREF(Py_None
); resultobj
= Py_None
;
8843 static PyObject
*_wrap_PseudoMetaFile_DrawEllipticArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8844 PyObject
*resultobj
;
8845 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
8850 PyObject
* obj0
= 0 ;
8851 PyObject
* obj1
= 0 ;
8853 (char *) "self",(char *) "rect",(char *) "startAngle",(char *) "endAngle", NULL
8856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd:PseudoMetaFile_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
)) goto fail
;
8857 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8860 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8864 (arg1
)->DrawEllipticArc((wxRect
const &)*arg2
,arg3
,arg4
);
8866 wxPyEndAllowThreads(__tstate
);
8867 if (PyErr_Occurred()) SWIG_fail
;
8869 Py_INCREF(Py_None
); resultobj
= Py_None
;
8876 static PyObject
*_wrap_PseudoMetaFile_DrawEllipse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8877 PyObject
*resultobj
;
8878 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
8881 PyObject
* obj0
= 0 ;
8882 PyObject
* obj1
= 0 ;
8884 (char *) "self",(char *) "rect", NULL
8887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_DrawEllipse",kwnames
,&obj0
,&obj1
)) goto fail
;
8888 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8891 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8895 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
8897 wxPyEndAllowThreads(__tstate
);
8898 if (PyErr_Occurred()) SWIG_fail
;
8900 Py_INCREF(Py_None
); resultobj
= Py_None
;
8907 static PyObject
*_wrap_PseudoMetaFile_DrawPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8908 PyObject
*resultobj
;
8909 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
8912 PyObject
* obj0
= 0 ;
8913 PyObject
* obj1
= 0 ;
8915 (char *) "self",(char *) "pt", NULL
8918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_DrawPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
8919 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8922 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8926 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
8928 wxPyEndAllowThreads(__tstate
);
8929 if (PyErr_Occurred()) SWIG_fail
;
8931 Py_INCREF(Py_None
); resultobj
= Py_None
;
8938 static PyObject
*_wrap_PseudoMetaFile_DrawText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8939 PyObject
*resultobj
;
8940 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
8941 wxString
*arg2
= 0 ;
8943 bool temp2
= False
;
8945 PyObject
* obj0
= 0 ;
8946 PyObject
* obj1
= 0 ;
8947 PyObject
* obj2
= 0 ;
8949 (char *) "self",(char *) "text",(char *) "pt", NULL
8952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoMetaFile_DrawText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8953 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8955 arg2
= wxString_in_helper(obj1
);
8956 if (arg2
== NULL
) SWIG_fail
;
8961 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8965 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
8967 wxPyEndAllowThreads(__tstate
);
8968 if (PyErr_Occurred()) SWIG_fail
;
8970 Py_INCREF(Py_None
); resultobj
= Py_None
;
8985 static PyObject
*_wrap_PseudoMetaFile_DrawLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8986 PyObject
*resultobj
;
8987 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
8989 wxPoint
*arg3
= (wxPoint
*) 0 ;
8990 PyObject
* obj0
= 0 ;
8991 PyObject
* obj2
= 0 ;
8993 (char *) "self",(char *) "PCOUNT",(char *) "points", NULL
8996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:PseudoMetaFile_DrawLines",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
8997 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8998 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9001 (arg1
)->DrawLines(arg2
,arg3
);
9003 wxPyEndAllowThreads(__tstate
);
9004 if (PyErr_Occurred()) SWIG_fail
;
9006 Py_INCREF(Py_None
); resultobj
= Py_None
;
9013 static PyObject
*_wrap_PseudoMetaFile_DrawPolygon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9014 PyObject
*resultobj
;
9015 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9017 wxPoint
*arg3
= (wxPoint
*) 0 ;
9018 int arg4
= (int) 0 ;
9019 PyObject
* obj0
= 0 ;
9020 PyObject
* obj2
= 0 ;
9022 (char *) "self",(char *) "PCOUNT",(char *) "points",(char *) "flags", NULL
9025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|i:PseudoMetaFile_DrawPolygon",kwnames
,&obj0
,&arg2
,&obj2
,&arg4
)) goto fail
;
9026 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9027 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9030 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
);
9032 wxPyEndAllowThreads(__tstate
);
9033 if (PyErr_Occurred()) SWIG_fail
;
9035 Py_INCREF(Py_None
); resultobj
= Py_None
;
9042 static PyObject
*_wrap_PseudoMetaFile_DrawSpline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9043 PyObject
*resultobj
;
9044 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9046 wxPoint
*arg3
= (wxPoint
*) 0 ;
9047 PyObject
* obj0
= 0 ;
9048 PyObject
* obj2
= 0 ;
9050 (char *) "self",(char *) "PCOUNT",(char *) "points", NULL
9053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:PseudoMetaFile_DrawSpline",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
9054 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9055 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9058 (arg1
)->DrawSpline(arg2
,arg3
);
9060 wxPyEndAllowThreads(__tstate
);
9061 if (PyErr_Occurred()) SWIG_fail
;
9063 Py_INCREF(Py_None
); resultobj
= Py_None
;
9070 static PyObject
*_wrap_PseudoMetaFile_SetClippingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9071 PyObject
*resultobj
;
9072 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9075 PyObject
* obj0
= 0 ;
9076 PyObject
* obj1
= 0 ;
9078 (char *) "self",(char *) "rect", NULL
9081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_SetClippingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
9082 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9085 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
9088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9089 (arg1
)->SetClippingRect((wxRect
const &)*arg2
);
9091 wxPyEndAllowThreads(__tstate
);
9092 if (PyErr_Occurred()) SWIG_fail
;
9094 Py_INCREF(Py_None
); resultobj
= Py_None
;
9101 static PyObject
*_wrap_PseudoMetaFile_DestroyClippingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9102 PyObject
*resultobj
;
9103 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9104 PyObject
* obj0
= 0 ;
9106 (char *) "self", NULL
9109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PseudoMetaFile_DestroyClippingRect",kwnames
,&obj0
)) goto fail
;
9110 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9113 (arg1
)->DestroyClippingRect();
9115 wxPyEndAllowThreads(__tstate
);
9116 if (PyErr_Occurred()) SWIG_fail
;
9118 Py_INCREF(Py_None
); resultobj
= Py_None
;
9125 static PyObject
*_wrap_PseudoMetaFile_SetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9126 PyObject
*resultobj
;
9127 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9128 wxPen
*arg2
= (wxPen
*) 0 ;
9129 bool arg3
= (bool) FALSE
;
9130 PyObject
* obj0
= 0 ;
9131 PyObject
* obj1
= 0 ;
9132 PyObject
* obj2
= 0 ;
9134 (char *) "self",(char *) "pen",(char *) "isOutline", NULL
9137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PseudoMetaFile_SetPen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9138 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9142 if (obj1
== Py_None
) {
9145 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxPen"))) {
9146 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxPen.");
9151 arg2
= wxThePenList
->FindOrCreatePen(temp
->GetColour(),
9159 arg3
= (bool) SPyObj_AsBool(obj2
);
9160 if (PyErr_Occurred()) SWIG_fail
;
9164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9165 (arg1
)->SetPen(arg2
,arg3
);
9167 wxPyEndAllowThreads(__tstate
);
9168 if (PyErr_Occurred()) SWIG_fail
;
9170 Py_INCREF(Py_None
); resultobj
= Py_None
;
9177 static PyObject
*_wrap_PseudoMetaFile_SetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9178 PyObject
*resultobj
;
9179 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9180 wxBrush
*arg2
= (wxBrush
*) 0 ;
9181 bool arg3
= (bool) FALSE
;
9182 PyObject
* obj0
= 0 ;
9183 PyObject
* obj1
= 0 ;
9184 PyObject
* obj2
= 0 ;
9186 (char *) "self",(char *) "brush",(char *) "isFill", NULL
9189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PseudoMetaFile_SetBrush",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9190 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9194 if (obj1
== Py_None
) {
9197 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxBrush"))) {
9198 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxBrush.");
9203 arg2
= wxTheBrushList
->FindOrCreateBrush(temp
->GetColour(), temp
->GetStyle());
9209 arg3
= (bool) SPyObj_AsBool(obj2
);
9210 if (PyErr_Occurred()) SWIG_fail
;
9214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9215 (arg1
)->SetBrush(arg2
,arg3
);
9217 wxPyEndAllowThreads(__tstate
);
9218 if (PyErr_Occurred()) SWIG_fail
;
9220 Py_INCREF(Py_None
); resultobj
= Py_None
;
9227 static PyObject
*_wrap_PseudoMetaFile_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9228 PyObject
*resultobj
;
9229 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9230 wxFont
*arg2
= (wxFont
*) 0 ;
9231 PyObject
* obj0
= 0 ;
9232 PyObject
* obj1
= 0 ;
9234 (char *) "self",(char *) "font", NULL
9237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
9238 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9242 if (obj1
== Py_None
) {
9245 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxFont"))) {
9246 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxFont.");
9251 arg2
= wxTheFontList
->FindOrCreateFont(temp
->GetPointSize(),
9255 temp
->GetUnderlined(),
9256 temp
->GetFaceName(),
9257 temp
->GetEncoding());
9262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9263 (arg1
)->SetFont(arg2
);
9265 wxPyEndAllowThreads(__tstate
);
9266 if (PyErr_Occurred()) SWIG_fail
;
9268 Py_INCREF(Py_None
); resultobj
= Py_None
;
9275 static PyObject
*_wrap_PseudoMetaFile_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9276 PyObject
*resultobj
;
9277 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9278 wxColour
*arg2
= 0 ;
9280 PyObject
* obj0
= 0 ;
9281 PyObject
* obj1
= 0 ;
9283 (char *) "self",(char *) "colour", NULL
9286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
9287 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9290 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
9293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9294 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
9296 wxPyEndAllowThreads(__tstate
);
9297 if (PyErr_Occurred()) SWIG_fail
;
9299 Py_INCREF(Py_None
); resultobj
= Py_None
;
9306 static PyObject
*_wrap_PseudoMetaFile_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9307 PyObject
*resultobj
;
9308 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9309 wxColour
*arg2
= 0 ;
9311 PyObject
* obj0
= 0 ;
9312 PyObject
* obj1
= 0 ;
9314 (char *) "self",(char *) "colour", NULL
9317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
9318 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9321 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
9324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9325 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
9327 wxPyEndAllowThreads(__tstate
);
9328 if (PyErr_Occurred()) SWIG_fail
;
9330 Py_INCREF(Py_None
); resultobj
= Py_None
;
9337 static PyObject
*_wrap_PseudoMetaFile_SetBackgroundMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9338 PyObject
*resultobj
;
9339 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9341 PyObject
* obj0
= 0 ;
9343 (char *) "self",(char *) "mode", NULL
9346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PseudoMetaFile_SetBackgroundMode",kwnames
,&obj0
,&arg2
)) goto fail
;
9347 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9350 (arg1
)->SetBackgroundMode(arg2
);
9352 wxPyEndAllowThreads(__tstate
);
9353 if (PyErr_Occurred()) SWIG_fail
;
9355 Py_INCREF(Py_None
); resultobj
= Py_None
;
9362 static PyObject
* PseudoMetaFile_swigregister(PyObject
*self
, PyObject
*args
) {
9364 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9365 SWIG_TypeClientData(SWIGTYPE_p_wxPseudoMetaFile
, obj
);
9367 return Py_BuildValue((char *)"");
9369 static PyObject
*_wrap_new_PyRectangleShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9370 PyObject
*resultobj
;
9371 double arg1
= (double) 0.0 ;
9372 double arg2
= (double) 0.0 ;
9373 wxPyRectangleShape
*result
;
9375 (char *) "width",(char *) "height", NULL
9378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|dd:new_PyRectangleShape",kwnames
,&arg1
,&arg2
)) goto fail
;
9380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9381 result
= (wxPyRectangleShape
*)new wxPyRectangleShape(arg1
,arg2
);
9383 wxPyEndAllowThreads(__tstate
);
9384 if (PyErr_Occurred()) SWIG_fail
;
9386 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyRectangleShape
, 1);
9393 static PyObject
*_wrap_PyRectangleShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9394 PyObject
*resultobj
;
9395 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
9396 PyObject
*arg2
= (PyObject
*) 0 ;
9397 PyObject
*arg3
= (PyObject
*) 0 ;
9398 PyObject
* obj0
= 0 ;
9399 PyObject
* obj1
= 0 ;
9400 PyObject
* obj2
= 0 ;
9402 (char *) "self",(char *) "self",(char *) "_class", NULL
9405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyRectangleShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9406 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9411 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9413 wxPyEndAllowThreads(__tstate
);
9414 if (PyErr_Occurred()) SWIG_fail
;
9416 Py_INCREF(Py_None
); resultobj
= Py_None
;
9423 static PyObject
*_wrap_PyRectangleShape_SetCornerRadius(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9424 PyObject
*resultobj
;
9425 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
9427 PyObject
* obj0
= 0 ;
9429 (char *) "self",(char *) "radius", NULL
9432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Od:PyRectangleShape_SetCornerRadius",kwnames
,&obj0
,&arg2
)) goto fail
;
9433 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9436 (arg1
)->SetCornerRadius(arg2
);
9438 wxPyEndAllowThreads(__tstate
);
9439 if (PyErr_Occurred()) SWIG_fail
;
9441 Py_INCREF(Py_None
); resultobj
= Py_None
;
9448 static PyObject
*_wrap_PyRectangleShape_GetCornerRadius(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9449 PyObject
*resultobj
;
9450 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
9452 PyObject
* obj0
= 0 ;
9454 (char *) "self", NULL
9457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyRectangleShape_GetCornerRadius",kwnames
,&obj0
)) goto fail
;
9458 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9461 result
= (double)(arg1
)->GetCornerRadius();
9463 wxPyEndAllowThreads(__tstate
);
9464 if (PyErr_Occurred()) SWIG_fail
;
9466 resultobj
= PyFloat_FromDouble(result
);
9473 static PyObject
*_wrap_PyRectangleShape_base_OnDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9474 PyObject
*resultobj
;
9475 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
9476 PyObject
* obj0
= 0 ;
9478 (char *) "self", NULL
9481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyRectangleShape_base_OnDelete",kwnames
,&obj0
)) goto fail
;
9482 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9485 (arg1
)->base_OnDelete();
9487 wxPyEndAllowThreads(__tstate
);
9488 if (PyErr_Occurred()) SWIG_fail
;
9490 Py_INCREF(Py_None
); resultobj
= Py_None
;
9497 static PyObject
*_wrap_PyRectangleShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9498 PyObject
*resultobj
;
9499 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
9501 PyObject
* obj0
= 0 ;
9502 PyObject
* obj1
= 0 ;
9504 (char *) "self",(char *) "dc", NULL
9507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyRectangleShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
9508 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9509 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9511 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9515 (arg1
)->base_OnDraw(*arg2
);
9517 wxPyEndAllowThreads(__tstate
);
9518 if (PyErr_Occurred()) SWIG_fail
;
9520 Py_INCREF(Py_None
); resultobj
= Py_None
;
9527 static PyObject
*_wrap_PyRectangleShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9528 PyObject
*resultobj
;
9529 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
9531 PyObject
* obj0
= 0 ;
9532 PyObject
* obj1
= 0 ;
9534 (char *) "self",(char *) "dc", NULL
9537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyRectangleShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
9538 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9539 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9541 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9545 (arg1
)->base_OnDrawContents(*arg2
);
9547 wxPyEndAllowThreads(__tstate
);
9548 if (PyErr_Occurred()) SWIG_fail
;
9550 Py_INCREF(Py_None
); resultobj
= Py_None
;
9557 static PyObject
*_wrap_PyRectangleShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9558 PyObject
*resultobj
;
9559 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
9561 bool arg3
= (bool) FALSE
;
9562 PyObject
* obj0
= 0 ;
9563 PyObject
* obj1
= 0 ;
9564 PyObject
* obj2
= 0 ;
9566 (char *) "self",(char *) "dc",(char *) "erase", NULL
9569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyRectangleShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9570 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9571 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9573 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9577 arg3
= (bool) SPyObj_AsBool(obj2
);
9578 if (PyErr_Occurred()) SWIG_fail
;
9582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9583 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
9585 wxPyEndAllowThreads(__tstate
);
9586 if (PyErr_Occurred()) SWIG_fail
;
9588 Py_INCREF(Py_None
); resultobj
= Py_None
;
9595 static PyObject
*_wrap_PyRectangleShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9596 PyObject
*resultobj
;
9597 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
9599 PyObject
* obj0
= 0 ;
9600 PyObject
* obj1
= 0 ;
9602 (char *) "self",(char *) "dc", NULL
9605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyRectangleShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
9606 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9607 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9609 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9613 (arg1
)->base_OnMoveLinks(*arg2
);
9615 wxPyEndAllowThreads(__tstate
);
9616 if (PyErr_Occurred()) SWIG_fail
;
9618 Py_INCREF(Py_None
); resultobj
= Py_None
;
9625 static PyObject
*_wrap_PyRectangleShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9626 PyObject
*resultobj
;
9627 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
9629 PyObject
* obj0
= 0 ;
9630 PyObject
* obj1
= 0 ;
9632 (char *) "self",(char *) "dc", NULL
9635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyRectangleShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
9636 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9637 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9639 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9643 (arg1
)->base_OnErase(*arg2
);
9645 wxPyEndAllowThreads(__tstate
);
9646 if (PyErr_Occurred()) SWIG_fail
;
9648 Py_INCREF(Py_None
); resultobj
= Py_None
;
9655 static PyObject
*_wrap_PyRectangleShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9656 PyObject
*resultobj
;
9657 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
9659 PyObject
* obj0
= 0 ;
9660 PyObject
* obj1
= 0 ;
9662 (char *) "self",(char *) "dc", NULL
9665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyRectangleShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
9666 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9667 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9669 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9673 (arg1
)->base_OnEraseContents(*arg2
);
9675 wxPyEndAllowThreads(__tstate
);
9676 if (PyErr_Occurred()) SWIG_fail
;
9678 Py_INCREF(Py_None
); resultobj
= Py_None
;
9685 static PyObject
*_wrap_PyRectangleShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9686 PyObject
*resultobj
;
9687 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
9689 PyObject
* obj0
= 0 ;
9690 PyObject
* obj1
= 0 ;
9692 (char *) "self",(char *) "dc", NULL
9695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyRectangleShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
9696 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9697 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9699 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9703 (arg1
)->base_OnHighlight(*arg2
);
9705 wxPyEndAllowThreads(__tstate
);
9706 if (PyErr_Occurred()) SWIG_fail
;
9708 Py_INCREF(Py_None
); resultobj
= Py_None
;
9715 static PyObject
*_wrap_PyRectangleShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9716 PyObject
*resultobj
;
9717 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
9720 int arg4
= (int) 0 ;
9721 int arg5
= (int) 0 ;
9722 PyObject
* obj0
= 0 ;
9724 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
9727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyRectangleShape_base_OnLeftClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
9728 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9731 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
9733 wxPyEndAllowThreads(__tstate
);
9734 if (PyErr_Occurred()) SWIG_fail
;
9736 Py_INCREF(Py_None
); resultobj
= Py_None
;
9743 static PyObject
*_wrap_PyRectangleShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9744 PyObject
*resultobj
;
9745 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
9748 int arg4
= (int) 0 ;
9749 int arg5
= (int) 0 ;
9750 PyObject
* obj0
= 0 ;
9752 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
9755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyRectangleShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
9756 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9759 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
9761 wxPyEndAllowThreads(__tstate
);
9762 if (PyErr_Occurred()) SWIG_fail
;
9764 Py_INCREF(Py_None
); resultobj
= Py_None
;
9771 static PyObject
*_wrap_PyRectangleShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9772 PyObject
*resultobj
;
9773 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
9776 int arg4
= (int) 0 ;
9777 int arg5
= (int) 0 ;
9778 PyObject
* obj0
= 0 ;
9780 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
9783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyRectangleShape_base_OnRightClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
9784 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9787 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
9789 wxPyEndAllowThreads(__tstate
);
9790 if (PyErr_Occurred()) SWIG_fail
;
9792 Py_INCREF(Py_None
); resultobj
= Py_None
;
9799 static PyObject
*_wrap_PyRectangleShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9800 PyObject
*resultobj
;
9801 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
9804 PyObject
* obj0
= 0 ;
9806 (char *) "self",(char *) "x",(char *) "y", NULL
9809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyRectangleShape_base_OnSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
9810 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9813 (arg1
)->base_OnSize(arg2
,arg3
);
9815 wxPyEndAllowThreads(__tstate
);
9816 if (PyErr_Occurred()) SWIG_fail
;
9818 Py_INCREF(Py_None
); resultobj
= Py_None
;
9825 static PyObject
*_wrap_PyRectangleShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9826 PyObject
*resultobj
;
9827 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
9833 bool arg7
= (bool) True
;
9835 PyObject
* obj0
= 0 ;
9836 PyObject
* obj1
= 0 ;
9837 PyObject
* obj6
= 0 ;
9839 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
9842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd|O:PyRectangleShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
)) goto fail
;
9843 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9844 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9846 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9850 arg7
= (bool) SPyObj_AsBool(obj6
);
9851 if (PyErr_Occurred()) SWIG_fail
;
9855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9856 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
9858 wxPyEndAllowThreads(__tstate
);
9859 if (PyErr_Occurred()) SWIG_fail
;
9861 resultobj
= PyInt_FromLong((long)result
);
9868 static PyObject
*_wrap_PyRectangleShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9869 PyObject
*resultobj
;
9870 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
9876 bool arg7
= (bool) True
;
9877 PyObject
* obj0
= 0 ;
9878 PyObject
* obj1
= 0 ;
9879 PyObject
* obj6
= 0 ;
9881 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
9884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd|O:PyRectangleShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
)) goto fail
;
9885 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9886 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9888 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9892 arg7
= (bool) SPyObj_AsBool(obj6
);
9893 if (PyErr_Occurred()) SWIG_fail
;
9897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9898 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
9900 wxPyEndAllowThreads(__tstate
);
9901 if (PyErr_Occurred()) SWIG_fail
;
9903 Py_INCREF(Py_None
); resultobj
= Py_None
;
9910 static PyObject
*_wrap_PyRectangleShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9911 PyObject
*resultobj
;
9912 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
9916 int arg5
= (int) 0 ;
9917 int arg6
= (int) 0 ;
9918 PyObject
* obj0
= 0 ;
9919 PyObject
* obj1
= 0 ;
9921 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
9924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyRectangleShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
9925 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9927 arg2
= (bool) SPyObj_AsBool(obj1
);
9928 if (PyErr_Occurred()) SWIG_fail
;
9931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9932 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
9934 wxPyEndAllowThreads(__tstate
);
9935 if (PyErr_Occurred()) SWIG_fail
;
9937 Py_INCREF(Py_None
); resultobj
= Py_None
;
9944 static PyObject
*_wrap_PyRectangleShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9945 PyObject
*resultobj
;
9946 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
9949 int arg4
= (int) 0 ;
9950 int arg5
= (int) 0 ;
9951 PyObject
* obj0
= 0 ;
9953 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
9956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyRectangleShape_base_OnBeginDragLeft",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
9957 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9960 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
9962 wxPyEndAllowThreads(__tstate
);
9963 if (PyErr_Occurred()) SWIG_fail
;
9965 Py_INCREF(Py_None
); resultobj
= Py_None
;
9972 static PyObject
*_wrap_PyRectangleShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9973 PyObject
*resultobj
;
9974 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
9977 int arg4
= (int) 0 ;
9978 int arg5
= (int) 0 ;
9979 PyObject
* obj0
= 0 ;
9981 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
9984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyRectangleShape_base_OnEndDragLeft",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
9985 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9988 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
9990 wxPyEndAllowThreads(__tstate
);
9991 if (PyErr_Occurred()) SWIG_fail
;
9993 Py_INCREF(Py_None
); resultobj
= Py_None
;
10000 static PyObject
*_wrap_PyRectangleShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10001 PyObject
*resultobj
;
10002 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
10006 int arg5
= (int) 0 ;
10007 int arg6
= (int) 0 ;
10008 PyObject
* obj0
= 0 ;
10009 PyObject
* obj1
= 0 ;
10010 char *kwnames
[] = {
10011 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
10014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyRectangleShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
10015 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10017 arg2
= (bool) SPyObj_AsBool(obj1
);
10018 if (PyErr_Occurred()) SWIG_fail
;
10021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10022 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
10024 wxPyEndAllowThreads(__tstate
);
10025 if (PyErr_Occurred()) SWIG_fail
;
10027 Py_INCREF(Py_None
); resultobj
= Py_None
;
10034 static PyObject
*_wrap_PyRectangleShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10035 PyObject
*resultobj
;
10036 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
10039 int arg4
= (int) 0 ;
10040 int arg5
= (int) 0 ;
10041 PyObject
* obj0
= 0 ;
10042 char *kwnames
[] = {
10043 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
10046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyRectangleShape_base_OnBeginDragRight",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
10047 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10050 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
10052 wxPyEndAllowThreads(__tstate
);
10053 if (PyErr_Occurred()) SWIG_fail
;
10055 Py_INCREF(Py_None
); resultobj
= Py_None
;
10062 static PyObject
*_wrap_PyRectangleShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10063 PyObject
*resultobj
;
10064 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
10067 int arg4
= (int) 0 ;
10068 int arg5
= (int) 0 ;
10069 PyObject
* obj0
= 0 ;
10070 char *kwnames
[] = {
10071 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
10074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyRectangleShape_base_OnEndDragRight",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
10075 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10078 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
10080 wxPyEndAllowThreads(__tstate
);
10081 if (PyErr_Occurred()) SWIG_fail
;
10083 Py_INCREF(Py_None
); resultobj
= Py_None
;
10090 static PyObject
*_wrap_PyRectangleShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10091 PyObject
*resultobj
;
10092 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
10098 PyObject
* obj0
= 0 ;
10099 PyObject
* obj1
= 0 ;
10100 char *kwnames
[] = {
10101 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
10104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd:PyRectangleShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
10105 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10106 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10107 if (arg2
== NULL
) {
10108 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10112 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
10114 wxPyEndAllowThreads(__tstate
);
10115 if (PyErr_Occurred()) SWIG_fail
;
10117 Py_INCREF(Py_None
); resultobj
= Py_None
;
10124 static PyObject
*_wrap_PyRectangleShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10125 PyObject
*resultobj
;
10126 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
10128 PyObject
* obj0
= 0 ;
10129 PyObject
* obj1
= 0 ;
10130 char *kwnames
[] = {
10131 (char *) "self",(char *) "dc", NULL
10134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyRectangleShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
10135 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10136 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10137 if (arg2
== NULL
) {
10138 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10142 (arg1
)->base_OnDrawControlPoints(*arg2
);
10144 wxPyEndAllowThreads(__tstate
);
10145 if (PyErr_Occurred()) SWIG_fail
;
10147 Py_INCREF(Py_None
); resultobj
= Py_None
;
10154 static PyObject
*_wrap_PyRectangleShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10155 PyObject
*resultobj
;
10156 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
10158 PyObject
* obj0
= 0 ;
10159 PyObject
* obj1
= 0 ;
10160 char *kwnames
[] = {
10161 (char *) "self",(char *) "dc", NULL
10164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyRectangleShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
10165 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10166 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10167 if (arg2
== NULL
) {
10168 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10172 (arg1
)->base_OnEraseControlPoints(*arg2
);
10174 wxPyEndAllowThreads(__tstate
);
10175 if (PyErr_Occurred()) SWIG_fail
;
10177 Py_INCREF(Py_None
); resultobj
= Py_None
;
10184 static PyObject
*_wrap_PyRectangleShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10185 PyObject
*resultobj
;
10186 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
10188 bool arg3
= (bool) True
;
10189 PyObject
* obj0
= 0 ;
10190 PyObject
* obj1
= 0 ;
10191 PyObject
* obj2
= 0 ;
10192 char *kwnames
[] = {
10193 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
10196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyRectangleShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10197 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10198 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10199 if (arg2
== NULL
) {
10200 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10204 arg3
= (bool) SPyObj_AsBool(obj2
);
10205 if (PyErr_Occurred()) SWIG_fail
;
10209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10210 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
10212 wxPyEndAllowThreads(__tstate
);
10213 if (PyErr_Occurred()) SWIG_fail
;
10215 Py_INCREF(Py_None
); resultobj
= Py_None
;
10222 static PyObject
*_wrap_PyRectangleShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10223 PyObject
*resultobj
;
10224 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
10225 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
10229 int arg6
= (int) 0 ;
10230 int arg7
= (int) 0 ;
10231 PyObject
* obj0
= 0 ;
10232 PyObject
* obj1
= 0 ;
10233 PyObject
* obj2
= 0 ;
10234 char *kwnames
[] = {
10235 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
10238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOdd|ii:PyRectangleShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
,&arg6
,&arg7
)) goto fail
;
10239 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10240 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10242 arg3
= (bool) SPyObj_AsBool(obj2
);
10243 if (PyErr_Occurred()) SWIG_fail
;
10246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10247 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10249 wxPyEndAllowThreads(__tstate
);
10250 if (PyErr_Occurred()) SWIG_fail
;
10252 Py_INCREF(Py_None
); resultobj
= Py_None
;
10259 static PyObject
*_wrap_PyRectangleShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10260 PyObject
*resultobj
;
10261 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
10262 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
10265 int arg5
= (int) 0 ;
10266 int arg6
= (int) 0 ;
10267 PyObject
* obj0
= 0 ;
10268 PyObject
* obj1
= 0 ;
10269 char *kwnames
[] = {
10270 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
10273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyRectangleShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
10274 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10275 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10278 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
10280 wxPyEndAllowThreads(__tstate
);
10281 if (PyErr_Occurred()) SWIG_fail
;
10283 Py_INCREF(Py_None
); resultobj
= Py_None
;
10290 static PyObject
*_wrap_PyRectangleShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10291 PyObject
*resultobj
;
10292 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
10293 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
10296 int arg5
= (int) 0 ;
10297 int arg6
= (int) 0 ;
10298 PyObject
* obj0
= 0 ;
10299 PyObject
* obj1
= 0 ;
10300 char *kwnames
[] = {
10301 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
10304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyRectangleShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
10305 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10306 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10309 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
10311 wxPyEndAllowThreads(__tstate
);
10312 if (PyErr_Occurred()) SWIG_fail
;
10314 Py_INCREF(Py_None
); resultobj
= Py_None
;
10321 static PyObject
*_wrap_PyRectangleShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10322 PyObject
*resultobj
;
10323 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
10326 PyObject
* obj0
= 0 ;
10327 char *kwnames
[] = {
10328 (char *) "self",(char *) "w",(char *) "h", NULL
10331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyRectangleShape_base_OnBeginSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
10332 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10335 (arg1
)->base_OnBeginSize(arg2
,arg3
);
10337 wxPyEndAllowThreads(__tstate
);
10338 if (PyErr_Occurred()) SWIG_fail
;
10340 Py_INCREF(Py_None
); resultobj
= Py_None
;
10347 static PyObject
*_wrap_PyRectangleShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10348 PyObject
*resultobj
;
10349 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
10352 PyObject
* obj0
= 0 ;
10353 char *kwnames
[] = {
10354 (char *) "self",(char *) "w",(char *) "h", NULL
10357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyRectangleShape_base_OnEndSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
10358 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyRectangleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10361 (arg1
)->base_OnEndSize(arg2
,arg3
);
10363 wxPyEndAllowThreads(__tstate
);
10364 if (PyErr_Occurred()) SWIG_fail
;
10366 Py_INCREF(Py_None
); resultobj
= Py_None
;
10373 static PyObject
* PyRectangleShape_swigregister(PyObject
*self
, PyObject
*args
) {
10375 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10376 SWIG_TypeClientData(SWIGTYPE_p_wxPyRectangleShape
, obj
);
10378 return Py_BuildValue((char *)"");
10380 static PyObject
*_wrap_new_PyControlPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10381 PyObject
*resultobj
;
10382 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) NULL
;
10383 wxPyShape
*arg2
= (wxPyShape
*) NULL
;
10384 double arg3
= (double) 0.0 ;
10385 double arg4
= (double) 0.0 ;
10386 double arg5
= (double) 0.0 ;
10387 int arg6
= (int) 0 ;
10388 wxPyControlPoint
*result
;
10389 PyObject
* obj0
= 0 ;
10390 PyObject
* obj1
= 0 ;
10391 char *kwnames
[] = {
10392 (char *) "the_canvas",(char *) "object",(char *) "size",(char *) "the_xoffset",(char *) "the_yoffset",(char *) "the_type", NULL
10395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOdddi:new_PyControlPoint",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
10397 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10400 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10404 result
= (wxPyControlPoint
*)new wxPyControlPoint(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
10406 wxPyEndAllowThreads(__tstate
);
10407 if (PyErr_Occurred()) SWIG_fail
;
10409 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyControlPoint
, 1);
10416 static PyObject
*_wrap_PyControlPoint__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10417 PyObject
*resultobj
;
10418 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
10419 PyObject
*arg2
= (PyObject
*) 0 ;
10420 PyObject
*arg3
= (PyObject
*) 0 ;
10421 PyObject
* obj0
= 0 ;
10422 PyObject
* obj1
= 0 ;
10423 PyObject
* obj2
= 0 ;
10424 char *kwnames
[] = {
10425 (char *) "self",(char *) "self",(char *) "_class", NULL
10428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControlPoint__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10429 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10434 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10436 wxPyEndAllowThreads(__tstate
);
10437 if (PyErr_Occurred()) SWIG_fail
;
10439 Py_INCREF(Py_None
); resultobj
= Py_None
;
10446 static PyObject
*_wrap_PyControlPoint_SetCornerRadius(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10447 PyObject
*resultobj
;
10448 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
10450 PyObject
* obj0
= 0 ;
10451 char *kwnames
[] = {
10452 (char *) "self",(char *) "radius", NULL
10455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Od:PyControlPoint_SetCornerRadius",kwnames
,&obj0
,&arg2
)) goto fail
;
10456 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10459 (arg1
)->SetCornerRadius(arg2
);
10461 wxPyEndAllowThreads(__tstate
);
10462 if (PyErr_Occurred()) SWIG_fail
;
10464 Py_INCREF(Py_None
); resultobj
= Py_None
;
10471 static PyObject
*_wrap_PyControlPoint_base_OnDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10472 PyObject
*resultobj
;
10473 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
10474 PyObject
* obj0
= 0 ;
10475 char *kwnames
[] = {
10476 (char *) "self", NULL
10479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControlPoint_base_OnDelete",kwnames
,&obj0
)) goto fail
;
10480 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10483 (arg1
)->base_OnDelete();
10485 wxPyEndAllowThreads(__tstate
);
10486 if (PyErr_Occurred()) SWIG_fail
;
10488 Py_INCREF(Py_None
); resultobj
= Py_None
;
10495 static PyObject
*_wrap_PyControlPoint_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10496 PyObject
*resultobj
;
10497 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
10499 PyObject
* obj0
= 0 ;
10500 PyObject
* obj1
= 0 ;
10501 char *kwnames
[] = {
10502 (char *) "self",(char *) "dc", NULL
10505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControlPoint_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
10506 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10507 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10508 if (arg2
== NULL
) {
10509 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10513 (arg1
)->base_OnDraw(*arg2
);
10515 wxPyEndAllowThreads(__tstate
);
10516 if (PyErr_Occurred()) SWIG_fail
;
10518 Py_INCREF(Py_None
); resultobj
= Py_None
;
10525 static PyObject
*_wrap_PyControlPoint_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10526 PyObject
*resultobj
;
10527 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
10529 PyObject
* obj0
= 0 ;
10530 PyObject
* obj1
= 0 ;
10531 char *kwnames
[] = {
10532 (char *) "self",(char *) "dc", NULL
10535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControlPoint_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
10536 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10537 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10538 if (arg2
== NULL
) {
10539 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10543 (arg1
)->base_OnDrawContents(*arg2
);
10545 wxPyEndAllowThreads(__tstate
);
10546 if (PyErr_Occurred()) SWIG_fail
;
10548 Py_INCREF(Py_None
); resultobj
= Py_None
;
10555 static PyObject
*_wrap_PyControlPoint_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10556 PyObject
*resultobj
;
10557 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
10559 bool arg3
= (bool) FALSE
;
10560 PyObject
* obj0
= 0 ;
10561 PyObject
* obj1
= 0 ;
10562 PyObject
* obj2
= 0 ;
10563 char *kwnames
[] = {
10564 (char *) "self",(char *) "dc",(char *) "erase", NULL
10567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyControlPoint_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10568 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10569 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10570 if (arg2
== NULL
) {
10571 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10575 arg3
= (bool) SPyObj_AsBool(obj2
);
10576 if (PyErr_Occurred()) SWIG_fail
;
10580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10581 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
10583 wxPyEndAllowThreads(__tstate
);
10584 if (PyErr_Occurred()) SWIG_fail
;
10586 Py_INCREF(Py_None
); resultobj
= Py_None
;
10593 static PyObject
*_wrap_PyControlPoint_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10594 PyObject
*resultobj
;
10595 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
10597 PyObject
* obj0
= 0 ;
10598 PyObject
* obj1
= 0 ;
10599 char *kwnames
[] = {
10600 (char *) "self",(char *) "dc", NULL
10603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControlPoint_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
10604 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10605 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10606 if (arg2
== NULL
) {
10607 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10611 (arg1
)->base_OnMoveLinks(*arg2
);
10613 wxPyEndAllowThreads(__tstate
);
10614 if (PyErr_Occurred()) SWIG_fail
;
10616 Py_INCREF(Py_None
); resultobj
= Py_None
;
10623 static PyObject
*_wrap_PyControlPoint_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10624 PyObject
*resultobj
;
10625 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
10627 PyObject
* obj0
= 0 ;
10628 PyObject
* obj1
= 0 ;
10629 char *kwnames
[] = {
10630 (char *) "self",(char *) "dc", NULL
10633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControlPoint_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
10634 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10635 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10636 if (arg2
== NULL
) {
10637 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10641 (arg1
)->base_OnErase(*arg2
);
10643 wxPyEndAllowThreads(__tstate
);
10644 if (PyErr_Occurred()) SWIG_fail
;
10646 Py_INCREF(Py_None
); resultobj
= Py_None
;
10653 static PyObject
*_wrap_PyControlPoint_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10654 PyObject
*resultobj
;
10655 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
10657 PyObject
* obj0
= 0 ;
10658 PyObject
* obj1
= 0 ;
10659 char *kwnames
[] = {
10660 (char *) "self",(char *) "dc", NULL
10663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControlPoint_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
10664 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10665 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10666 if (arg2
== NULL
) {
10667 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10671 (arg1
)->base_OnEraseContents(*arg2
);
10673 wxPyEndAllowThreads(__tstate
);
10674 if (PyErr_Occurred()) SWIG_fail
;
10676 Py_INCREF(Py_None
); resultobj
= Py_None
;
10683 static PyObject
*_wrap_PyControlPoint_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10684 PyObject
*resultobj
;
10685 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
10687 PyObject
* obj0
= 0 ;
10688 PyObject
* obj1
= 0 ;
10689 char *kwnames
[] = {
10690 (char *) "self",(char *) "dc", NULL
10693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControlPoint_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
10694 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10695 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10696 if (arg2
== NULL
) {
10697 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10701 (arg1
)->base_OnHighlight(*arg2
);
10703 wxPyEndAllowThreads(__tstate
);
10704 if (PyErr_Occurred()) SWIG_fail
;
10706 Py_INCREF(Py_None
); resultobj
= Py_None
;
10713 static PyObject
*_wrap_PyControlPoint_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10714 PyObject
*resultobj
;
10715 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
10718 int arg4
= (int) 0 ;
10719 int arg5
= (int) 0 ;
10720 PyObject
* obj0
= 0 ;
10721 char *kwnames
[] = {
10722 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
10725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyControlPoint_base_OnLeftClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
10726 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10729 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
10731 wxPyEndAllowThreads(__tstate
);
10732 if (PyErr_Occurred()) SWIG_fail
;
10734 Py_INCREF(Py_None
); resultobj
= Py_None
;
10741 static PyObject
*_wrap_PyControlPoint_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10742 PyObject
*resultobj
;
10743 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
10746 int arg4
= (int) 0 ;
10747 int arg5
= (int) 0 ;
10748 PyObject
* obj0
= 0 ;
10749 char *kwnames
[] = {
10750 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
10753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyControlPoint_base_OnLeftDoubleClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
10754 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10757 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
10759 wxPyEndAllowThreads(__tstate
);
10760 if (PyErr_Occurred()) SWIG_fail
;
10762 Py_INCREF(Py_None
); resultobj
= Py_None
;
10769 static PyObject
*_wrap_PyControlPoint_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10770 PyObject
*resultobj
;
10771 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
10774 int arg4
= (int) 0 ;
10775 int arg5
= (int) 0 ;
10776 PyObject
* obj0
= 0 ;
10777 char *kwnames
[] = {
10778 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
10781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyControlPoint_base_OnRightClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
10782 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10785 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
10787 wxPyEndAllowThreads(__tstate
);
10788 if (PyErr_Occurred()) SWIG_fail
;
10790 Py_INCREF(Py_None
); resultobj
= Py_None
;
10797 static PyObject
*_wrap_PyControlPoint_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10798 PyObject
*resultobj
;
10799 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
10802 PyObject
* obj0
= 0 ;
10803 char *kwnames
[] = {
10804 (char *) "self",(char *) "x",(char *) "y", NULL
10807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyControlPoint_base_OnSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
10808 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10811 (arg1
)->base_OnSize(arg2
,arg3
);
10813 wxPyEndAllowThreads(__tstate
);
10814 if (PyErr_Occurred()) SWIG_fail
;
10816 Py_INCREF(Py_None
); resultobj
= Py_None
;
10823 static PyObject
*_wrap_PyControlPoint_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10824 PyObject
*resultobj
;
10825 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
10831 bool arg7
= (bool) True
;
10833 PyObject
* obj0
= 0 ;
10834 PyObject
* obj1
= 0 ;
10835 PyObject
* obj6
= 0 ;
10836 char *kwnames
[] = {
10837 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
10840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd|O:PyControlPoint_base_OnMovePre",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
)) goto fail
;
10841 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10842 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10843 if (arg2
== NULL
) {
10844 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10848 arg7
= (bool) SPyObj_AsBool(obj6
);
10849 if (PyErr_Occurred()) SWIG_fail
;
10853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10854 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10856 wxPyEndAllowThreads(__tstate
);
10857 if (PyErr_Occurred()) SWIG_fail
;
10859 resultobj
= PyInt_FromLong((long)result
);
10866 static PyObject
*_wrap_PyControlPoint_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10867 PyObject
*resultobj
;
10868 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
10874 bool arg7
= (bool) True
;
10875 PyObject
* obj0
= 0 ;
10876 PyObject
* obj1
= 0 ;
10877 PyObject
* obj6
= 0 ;
10878 char *kwnames
[] = {
10879 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
10882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd|O:PyControlPoint_base_OnMovePost",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
)) goto fail
;
10883 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10884 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10885 if (arg2
== NULL
) {
10886 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10890 arg7
= (bool) SPyObj_AsBool(obj6
);
10891 if (PyErr_Occurred()) SWIG_fail
;
10895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10896 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10898 wxPyEndAllowThreads(__tstate
);
10899 if (PyErr_Occurred()) SWIG_fail
;
10901 Py_INCREF(Py_None
); resultobj
= Py_None
;
10908 static PyObject
*_wrap_PyControlPoint_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10909 PyObject
*resultobj
;
10910 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
10914 int arg5
= (int) 0 ;
10915 int arg6
= (int) 0 ;
10916 PyObject
* obj0
= 0 ;
10917 PyObject
* obj1
= 0 ;
10918 char *kwnames
[] = {
10919 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
10922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyControlPoint_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
10923 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10925 arg2
= (bool) SPyObj_AsBool(obj1
);
10926 if (PyErr_Occurred()) SWIG_fail
;
10929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10930 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
10932 wxPyEndAllowThreads(__tstate
);
10933 if (PyErr_Occurred()) SWIG_fail
;
10935 Py_INCREF(Py_None
); resultobj
= Py_None
;
10942 static PyObject
*_wrap_PyControlPoint_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10943 PyObject
*resultobj
;
10944 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
10947 int arg4
= (int) 0 ;
10948 int arg5
= (int) 0 ;
10949 PyObject
* obj0
= 0 ;
10950 char *kwnames
[] = {
10951 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
10954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyControlPoint_base_OnBeginDragLeft",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
10955 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10958 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
10960 wxPyEndAllowThreads(__tstate
);
10961 if (PyErr_Occurred()) SWIG_fail
;
10963 Py_INCREF(Py_None
); resultobj
= Py_None
;
10970 static PyObject
*_wrap_PyControlPoint_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10971 PyObject
*resultobj
;
10972 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
10975 int arg4
= (int) 0 ;
10976 int arg5
= (int) 0 ;
10977 PyObject
* obj0
= 0 ;
10978 char *kwnames
[] = {
10979 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
10982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyControlPoint_base_OnEndDragLeft",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
10983 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10986 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
10988 wxPyEndAllowThreads(__tstate
);
10989 if (PyErr_Occurred()) SWIG_fail
;
10991 Py_INCREF(Py_None
); resultobj
= Py_None
;
10998 static PyObject
*_wrap_PyControlPoint_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10999 PyObject
*resultobj
;
11000 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
11004 int arg5
= (int) 0 ;
11005 int arg6
= (int) 0 ;
11006 PyObject
* obj0
= 0 ;
11007 PyObject
* obj1
= 0 ;
11008 char *kwnames
[] = {
11009 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyControlPoint_base_OnDragRight",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
11013 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11015 arg2
= (bool) SPyObj_AsBool(obj1
);
11016 if (PyErr_Occurred()) SWIG_fail
;
11019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11020 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
11022 wxPyEndAllowThreads(__tstate
);
11023 if (PyErr_Occurred()) SWIG_fail
;
11025 Py_INCREF(Py_None
); resultobj
= Py_None
;
11032 static PyObject
*_wrap_PyControlPoint_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11033 PyObject
*resultobj
;
11034 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
11037 int arg4
= (int) 0 ;
11038 int arg5
= (int) 0 ;
11039 PyObject
* obj0
= 0 ;
11040 char *kwnames
[] = {
11041 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyControlPoint_base_OnBeginDragRight",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
11045 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11048 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
11050 wxPyEndAllowThreads(__tstate
);
11051 if (PyErr_Occurred()) SWIG_fail
;
11053 Py_INCREF(Py_None
); resultobj
= Py_None
;
11060 static PyObject
*_wrap_PyControlPoint_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11061 PyObject
*resultobj
;
11062 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
11065 int arg4
= (int) 0 ;
11066 int arg5
= (int) 0 ;
11067 PyObject
* obj0
= 0 ;
11068 char *kwnames
[] = {
11069 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyControlPoint_base_OnEndDragRight",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
11073 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11076 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
11078 wxPyEndAllowThreads(__tstate
);
11079 if (PyErr_Occurred()) SWIG_fail
;
11081 Py_INCREF(Py_None
); resultobj
= Py_None
;
11088 static PyObject
*_wrap_PyControlPoint_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11089 PyObject
*resultobj
;
11090 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
11096 PyObject
* obj0
= 0 ;
11097 PyObject
* obj1
= 0 ;
11098 char *kwnames
[] = {
11099 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
11102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd:PyControlPoint_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
11103 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11104 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11105 if (arg2
== NULL
) {
11106 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11110 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
11112 wxPyEndAllowThreads(__tstate
);
11113 if (PyErr_Occurred()) SWIG_fail
;
11115 Py_INCREF(Py_None
); resultobj
= Py_None
;
11122 static PyObject
*_wrap_PyControlPoint_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11123 PyObject
*resultobj
;
11124 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
11126 PyObject
* obj0
= 0 ;
11127 PyObject
* obj1
= 0 ;
11128 char *kwnames
[] = {
11129 (char *) "self",(char *) "dc", NULL
11132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControlPoint_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
11133 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11134 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11135 if (arg2
== NULL
) {
11136 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11140 (arg1
)->base_OnDrawControlPoints(*arg2
);
11142 wxPyEndAllowThreads(__tstate
);
11143 if (PyErr_Occurred()) SWIG_fail
;
11145 Py_INCREF(Py_None
); resultobj
= Py_None
;
11152 static PyObject
*_wrap_PyControlPoint_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11153 PyObject
*resultobj
;
11154 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
11156 PyObject
* obj0
= 0 ;
11157 PyObject
* obj1
= 0 ;
11158 char *kwnames
[] = {
11159 (char *) "self",(char *) "dc", NULL
11162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControlPoint_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
11163 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11164 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11165 if (arg2
== NULL
) {
11166 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11170 (arg1
)->base_OnEraseControlPoints(*arg2
);
11172 wxPyEndAllowThreads(__tstate
);
11173 if (PyErr_Occurred()) SWIG_fail
;
11175 Py_INCREF(Py_None
); resultobj
= Py_None
;
11182 static PyObject
*_wrap_PyControlPoint_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11183 PyObject
*resultobj
;
11184 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
11186 bool arg3
= (bool) True
;
11187 PyObject
* obj0
= 0 ;
11188 PyObject
* obj1
= 0 ;
11189 PyObject
* obj2
= 0 ;
11190 char *kwnames
[] = {
11191 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
11194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyControlPoint_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11195 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11196 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11197 if (arg2
== NULL
) {
11198 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11202 arg3
= (bool) SPyObj_AsBool(obj2
);
11203 if (PyErr_Occurred()) SWIG_fail
;
11207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11208 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
11210 wxPyEndAllowThreads(__tstate
);
11211 if (PyErr_Occurred()) SWIG_fail
;
11213 Py_INCREF(Py_None
); resultobj
= Py_None
;
11220 static PyObject
*_wrap_PyControlPoint_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11221 PyObject
*resultobj
;
11222 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
11223 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
11227 int arg6
= (int) 0 ;
11228 int arg7
= (int) 0 ;
11229 PyObject
* obj0
= 0 ;
11230 PyObject
* obj1
= 0 ;
11231 PyObject
* obj2
= 0 ;
11232 char *kwnames
[] = {
11233 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOdd|ii:PyControlPoint_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
,&arg6
,&arg7
)) goto fail
;
11237 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11238 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11240 arg3
= (bool) SPyObj_AsBool(obj2
);
11241 if (PyErr_Occurred()) SWIG_fail
;
11244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11245 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
11247 wxPyEndAllowThreads(__tstate
);
11248 if (PyErr_Occurred()) SWIG_fail
;
11250 Py_INCREF(Py_None
); resultobj
= Py_None
;
11257 static PyObject
*_wrap_PyControlPoint_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11258 PyObject
*resultobj
;
11259 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
11260 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
11263 int arg5
= (int) 0 ;
11264 int arg6
= (int) 0 ;
11265 PyObject
* obj0
= 0 ;
11266 PyObject
* obj1
= 0 ;
11267 char *kwnames
[] = {
11268 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyControlPoint_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
11272 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11273 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11276 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
11278 wxPyEndAllowThreads(__tstate
);
11279 if (PyErr_Occurred()) SWIG_fail
;
11281 Py_INCREF(Py_None
); resultobj
= Py_None
;
11288 static PyObject
*_wrap_PyControlPoint_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11289 PyObject
*resultobj
;
11290 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
11291 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
11294 int arg5
= (int) 0 ;
11295 int arg6
= (int) 0 ;
11296 PyObject
* obj0
= 0 ;
11297 PyObject
* obj1
= 0 ;
11298 char *kwnames
[] = {
11299 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyControlPoint_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
11303 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11304 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11307 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
11309 wxPyEndAllowThreads(__tstate
);
11310 if (PyErr_Occurred()) SWIG_fail
;
11312 Py_INCREF(Py_None
); resultobj
= Py_None
;
11319 static PyObject
*_wrap_PyControlPoint_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11320 PyObject
*resultobj
;
11321 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
11324 PyObject
* obj0
= 0 ;
11325 char *kwnames
[] = {
11326 (char *) "self",(char *) "w",(char *) "h", NULL
11329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyControlPoint_base_OnBeginSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
11330 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11333 (arg1
)->base_OnBeginSize(arg2
,arg3
);
11335 wxPyEndAllowThreads(__tstate
);
11336 if (PyErr_Occurred()) SWIG_fail
;
11338 Py_INCREF(Py_None
); resultobj
= Py_None
;
11345 static PyObject
*_wrap_PyControlPoint_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11346 PyObject
*resultobj
;
11347 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
11350 PyObject
* obj0
= 0 ;
11351 char *kwnames
[] = {
11352 (char *) "self",(char *) "w",(char *) "h", NULL
11355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyControlPoint_base_OnEndSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
11356 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11359 (arg1
)->base_OnEndSize(arg2
,arg3
);
11361 wxPyEndAllowThreads(__tstate
);
11362 if (PyErr_Occurred()) SWIG_fail
;
11364 Py_INCREF(Py_None
); resultobj
= Py_None
;
11371 static PyObject
* PyControlPoint_swigregister(PyObject
*self
, PyObject
*args
) {
11373 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11374 SWIG_TypeClientData(SWIGTYPE_p_wxPyControlPoint
, obj
);
11376 return Py_BuildValue((char *)"");
11378 static PyObject
*_wrap_new_PyBitmapShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11379 PyObject
*resultobj
;
11380 wxPyBitmapShape
*result
;
11381 char *kwnames
[] = {
11385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyBitmapShape",kwnames
)) goto fail
;
11387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11388 result
= (wxPyBitmapShape
*)new wxPyBitmapShape();
11390 wxPyEndAllowThreads(__tstate
);
11391 if (PyErr_Occurred()) SWIG_fail
;
11393 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyBitmapShape
, 1);
11400 static PyObject
*_wrap_PyBitmapShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11401 PyObject
*resultobj
;
11402 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
11403 PyObject
*arg2
= (PyObject
*) 0 ;
11404 PyObject
*arg3
= (PyObject
*) 0 ;
11405 PyObject
* obj0
= 0 ;
11406 PyObject
* obj1
= 0 ;
11407 PyObject
* obj2
= 0 ;
11408 char *kwnames
[] = {
11409 (char *) "self",(char *) "self",(char *) "_class", NULL
11412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11413 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11418 (arg1
)->_setCallbackInfo(arg2
,arg3
);
11420 wxPyEndAllowThreads(__tstate
);
11421 if (PyErr_Occurred()) SWIG_fail
;
11423 Py_INCREF(Py_None
); resultobj
= Py_None
;
11430 static PyObject
*_wrap_PyBitmapShape_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11431 PyObject
*resultobj
;
11432 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
11434 PyObject
* obj0
= 0 ;
11435 char *kwnames
[] = {
11436 (char *) "self", NULL
11439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyBitmapShape_GetBitmap",kwnames
,&obj0
)) goto fail
;
11440 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11444 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
11445 result
= (wxBitmap
*) &_result_ref
;
11448 wxPyEndAllowThreads(__tstate
);
11449 if (PyErr_Occurred()) SWIG_fail
;
11451 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 0);
11458 static PyObject
*_wrap_PyBitmapShape_GetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11459 PyObject
*resultobj
;
11460 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
11462 PyObject
* obj0
= 0 ;
11463 char *kwnames
[] = {
11464 (char *) "self", NULL
11467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyBitmapShape_GetFilename",kwnames
,&obj0
)) goto fail
;
11468 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11471 result
= (arg1
)->GetFilename();
11473 wxPyEndAllowThreads(__tstate
);
11474 if (PyErr_Occurred()) SWIG_fail
;
11478 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11480 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11489 static PyObject
*_wrap_PyBitmapShape_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11490 PyObject
*resultobj
;
11491 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
11492 wxBitmap
*arg2
= 0 ;
11493 PyObject
* obj0
= 0 ;
11494 PyObject
* obj1
= 0 ;
11495 char *kwnames
[] = {
11496 (char *) "self",(char *) "bitmap", NULL
11499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
11500 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11501 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11502 if (arg2
== NULL
) {
11503 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11507 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
11509 wxPyEndAllowThreads(__tstate
);
11510 if (PyErr_Occurred()) SWIG_fail
;
11512 Py_INCREF(Py_None
); resultobj
= Py_None
;
11519 static PyObject
*_wrap_PyBitmapShape_SetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11520 PyObject
*resultobj
;
11521 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
11522 wxString
*arg2
= 0 ;
11523 bool temp2
= False
;
11524 PyObject
* obj0
= 0 ;
11525 PyObject
* obj1
= 0 ;
11526 char *kwnames
[] = {
11527 (char *) "self",(char *) "filename", NULL
11530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
11531 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11533 arg2
= wxString_in_helper(obj1
);
11534 if (arg2
== NULL
) SWIG_fail
;
11538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11539 (arg1
)->SetFilename((wxString
const &)*arg2
);
11541 wxPyEndAllowThreads(__tstate
);
11542 if (PyErr_Occurred()) SWIG_fail
;
11544 Py_INCREF(Py_None
); resultobj
= Py_None
;
11559 static PyObject
*_wrap_PyBitmapShape_base_OnDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11560 PyObject
*resultobj
;
11561 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
11562 PyObject
* obj0
= 0 ;
11563 char *kwnames
[] = {
11564 (char *) "self", NULL
11567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyBitmapShape_base_OnDelete",kwnames
,&obj0
)) goto fail
;
11568 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11571 (arg1
)->base_OnDelete();
11573 wxPyEndAllowThreads(__tstate
);
11574 if (PyErr_Occurred()) SWIG_fail
;
11576 Py_INCREF(Py_None
); resultobj
= Py_None
;
11583 static PyObject
*_wrap_PyBitmapShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11584 PyObject
*resultobj
;
11585 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
11587 PyObject
* obj0
= 0 ;
11588 PyObject
* obj1
= 0 ;
11589 char *kwnames
[] = {
11590 (char *) "self",(char *) "dc", NULL
11593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
11594 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11595 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11596 if (arg2
== NULL
) {
11597 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11601 (arg1
)->base_OnDraw(*arg2
);
11603 wxPyEndAllowThreads(__tstate
);
11604 if (PyErr_Occurred()) SWIG_fail
;
11606 Py_INCREF(Py_None
); resultobj
= Py_None
;
11613 static PyObject
*_wrap_PyBitmapShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11614 PyObject
*resultobj
;
11615 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
11617 PyObject
* obj0
= 0 ;
11618 PyObject
* obj1
= 0 ;
11619 char *kwnames
[] = {
11620 (char *) "self",(char *) "dc", NULL
11623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
11624 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11625 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11626 if (arg2
== NULL
) {
11627 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11631 (arg1
)->base_OnDrawContents(*arg2
);
11633 wxPyEndAllowThreads(__tstate
);
11634 if (PyErr_Occurred()) SWIG_fail
;
11636 Py_INCREF(Py_None
); resultobj
= Py_None
;
11643 static PyObject
*_wrap_PyBitmapShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11644 PyObject
*resultobj
;
11645 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
11647 bool arg3
= (bool) FALSE
;
11648 PyObject
* obj0
= 0 ;
11649 PyObject
* obj1
= 0 ;
11650 PyObject
* obj2
= 0 ;
11651 char *kwnames
[] = {
11652 (char *) "self",(char *) "dc",(char *) "erase", NULL
11655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyBitmapShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11656 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11657 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11658 if (arg2
== NULL
) {
11659 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11663 arg3
= (bool) SPyObj_AsBool(obj2
);
11664 if (PyErr_Occurred()) SWIG_fail
;
11668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11669 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
11671 wxPyEndAllowThreads(__tstate
);
11672 if (PyErr_Occurred()) SWIG_fail
;
11674 Py_INCREF(Py_None
); resultobj
= Py_None
;
11681 static PyObject
*_wrap_PyBitmapShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11682 PyObject
*resultobj
;
11683 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
11685 PyObject
* obj0
= 0 ;
11686 PyObject
* obj1
= 0 ;
11687 char *kwnames
[] = {
11688 (char *) "self",(char *) "dc", NULL
11691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
11692 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11693 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11694 if (arg2
== NULL
) {
11695 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11699 (arg1
)->base_OnMoveLinks(*arg2
);
11701 wxPyEndAllowThreads(__tstate
);
11702 if (PyErr_Occurred()) SWIG_fail
;
11704 Py_INCREF(Py_None
); resultobj
= Py_None
;
11711 static PyObject
*_wrap_PyBitmapShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11712 PyObject
*resultobj
;
11713 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
11715 PyObject
* obj0
= 0 ;
11716 PyObject
* obj1
= 0 ;
11717 char *kwnames
[] = {
11718 (char *) "self",(char *) "dc", NULL
11721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
11722 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11723 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11724 if (arg2
== NULL
) {
11725 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11729 (arg1
)->base_OnErase(*arg2
);
11731 wxPyEndAllowThreads(__tstate
);
11732 if (PyErr_Occurred()) SWIG_fail
;
11734 Py_INCREF(Py_None
); resultobj
= Py_None
;
11741 static PyObject
*_wrap_PyBitmapShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11742 PyObject
*resultobj
;
11743 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
11745 PyObject
* obj0
= 0 ;
11746 PyObject
* obj1
= 0 ;
11747 char *kwnames
[] = {
11748 (char *) "self",(char *) "dc", NULL
11751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
11752 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11753 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11754 if (arg2
== NULL
) {
11755 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11759 (arg1
)->base_OnEraseContents(*arg2
);
11761 wxPyEndAllowThreads(__tstate
);
11762 if (PyErr_Occurred()) SWIG_fail
;
11764 Py_INCREF(Py_None
); resultobj
= Py_None
;
11771 static PyObject
*_wrap_PyBitmapShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11772 PyObject
*resultobj
;
11773 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
11775 PyObject
* obj0
= 0 ;
11776 PyObject
* obj1
= 0 ;
11777 char *kwnames
[] = {
11778 (char *) "self",(char *) "dc", NULL
11781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
11782 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11783 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11784 if (arg2
== NULL
) {
11785 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11789 (arg1
)->base_OnHighlight(*arg2
);
11791 wxPyEndAllowThreads(__tstate
);
11792 if (PyErr_Occurred()) SWIG_fail
;
11794 Py_INCREF(Py_None
); resultobj
= Py_None
;
11801 static PyObject
*_wrap_PyBitmapShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11802 PyObject
*resultobj
;
11803 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
11806 int arg4
= (int) 0 ;
11807 int arg5
= (int) 0 ;
11808 PyObject
* obj0
= 0 ;
11809 char *kwnames
[] = {
11810 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyBitmapShape_base_OnLeftClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
11814 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11817 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
11819 wxPyEndAllowThreads(__tstate
);
11820 if (PyErr_Occurred()) SWIG_fail
;
11822 Py_INCREF(Py_None
); resultobj
= Py_None
;
11829 static PyObject
*_wrap_PyBitmapShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11830 PyObject
*resultobj
;
11831 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
11834 int arg4
= (int) 0 ;
11835 int arg5
= (int) 0 ;
11836 PyObject
* obj0
= 0 ;
11837 char *kwnames
[] = {
11838 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyBitmapShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
11842 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11845 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
11847 wxPyEndAllowThreads(__tstate
);
11848 if (PyErr_Occurred()) SWIG_fail
;
11850 Py_INCREF(Py_None
); resultobj
= Py_None
;
11857 static PyObject
*_wrap_PyBitmapShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11858 PyObject
*resultobj
;
11859 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
11862 int arg4
= (int) 0 ;
11863 int arg5
= (int) 0 ;
11864 PyObject
* obj0
= 0 ;
11865 char *kwnames
[] = {
11866 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyBitmapShape_base_OnRightClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
11870 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11873 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
11875 wxPyEndAllowThreads(__tstate
);
11876 if (PyErr_Occurred()) SWIG_fail
;
11878 Py_INCREF(Py_None
); resultobj
= Py_None
;
11885 static PyObject
*_wrap_PyBitmapShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11886 PyObject
*resultobj
;
11887 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
11890 PyObject
* obj0
= 0 ;
11891 char *kwnames
[] = {
11892 (char *) "self",(char *) "x",(char *) "y", NULL
11895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyBitmapShape_base_OnSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
11896 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11899 (arg1
)->base_OnSize(arg2
,arg3
);
11901 wxPyEndAllowThreads(__tstate
);
11902 if (PyErr_Occurred()) SWIG_fail
;
11904 Py_INCREF(Py_None
); resultobj
= Py_None
;
11911 static PyObject
*_wrap_PyBitmapShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11912 PyObject
*resultobj
;
11913 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
11919 bool arg7
= (bool) True
;
11921 PyObject
* obj0
= 0 ;
11922 PyObject
* obj1
= 0 ;
11923 PyObject
* obj6
= 0 ;
11924 char *kwnames
[] = {
11925 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
11928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd|O:PyBitmapShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
)) goto fail
;
11929 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11930 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11931 if (arg2
== NULL
) {
11932 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11936 arg7
= (bool) SPyObj_AsBool(obj6
);
11937 if (PyErr_Occurred()) SWIG_fail
;
11941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11942 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
11944 wxPyEndAllowThreads(__tstate
);
11945 if (PyErr_Occurred()) SWIG_fail
;
11947 resultobj
= PyInt_FromLong((long)result
);
11954 static PyObject
*_wrap_PyBitmapShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11955 PyObject
*resultobj
;
11956 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
11962 bool arg7
= (bool) True
;
11963 PyObject
* obj0
= 0 ;
11964 PyObject
* obj1
= 0 ;
11965 PyObject
* obj6
= 0 ;
11966 char *kwnames
[] = {
11967 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
11970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd|O:PyBitmapShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
)) goto fail
;
11971 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11972 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11973 if (arg2
== NULL
) {
11974 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11978 arg7
= (bool) SPyObj_AsBool(obj6
);
11979 if (PyErr_Occurred()) SWIG_fail
;
11983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11984 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
11986 wxPyEndAllowThreads(__tstate
);
11987 if (PyErr_Occurred()) SWIG_fail
;
11989 Py_INCREF(Py_None
); resultobj
= Py_None
;
11996 static PyObject
*_wrap_PyBitmapShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11997 PyObject
*resultobj
;
11998 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
12002 int arg5
= (int) 0 ;
12003 int arg6
= (int) 0 ;
12004 PyObject
* obj0
= 0 ;
12005 PyObject
* obj1
= 0 ;
12006 char *kwnames
[] = {
12007 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyBitmapShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
12011 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12013 arg2
= (bool) SPyObj_AsBool(obj1
);
12014 if (PyErr_Occurred()) SWIG_fail
;
12017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12018 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
12020 wxPyEndAllowThreads(__tstate
);
12021 if (PyErr_Occurred()) SWIG_fail
;
12023 Py_INCREF(Py_None
); resultobj
= Py_None
;
12030 static PyObject
*_wrap_PyBitmapShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12031 PyObject
*resultobj
;
12032 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
12035 int arg4
= (int) 0 ;
12036 int arg5
= (int) 0 ;
12037 PyObject
* obj0
= 0 ;
12038 char *kwnames
[] = {
12039 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyBitmapShape_base_OnBeginDragLeft",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
12043 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12046 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
12048 wxPyEndAllowThreads(__tstate
);
12049 if (PyErr_Occurred()) SWIG_fail
;
12051 Py_INCREF(Py_None
); resultobj
= Py_None
;
12058 static PyObject
*_wrap_PyBitmapShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12059 PyObject
*resultobj
;
12060 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
12063 int arg4
= (int) 0 ;
12064 int arg5
= (int) 0 ;
12065 PyObject
* obj0
= 0 ;
12066 char *kwnames
[] = {
12067 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyBitmapShape_base_OnEndDragLeft",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
12071 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12074 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
12076 wxPyEndAllowThreads(__tstate
);
12077 if (PyErr_Occurred()) SWIG_fail
;
12079 Py_INCREF(Py_None
); resultobj
= Py_None
;
12086 static PyObject
*_wrap_PyBitmapShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12087 PyObject
*resultobj
;
12088 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
12092 int arg5
= (int) 0 ;
12093 int arg6
= (int) 0 ;
12094 PyObject
* obj0
= 0 ;
12095 PyObject
* obj1
= 0 ;
12096 char *kwnames
[] = {
12097 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyBitmapShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
12101 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12103 arg2
= (bool) SPyObj_AsBool(obj1
);
12104 if (PyErr_Occurred()) SWIG_fail
;
12107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12108 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
12110 wxPyEndAllowThreads(__tstate
);
12111 if (PyErr_Occurred()) SWIG_fail
;
12113 Py_INCREF(Py_None
); resultobj
= Py_None
;
12120 static PyObject
*_wrap_PyBitmapShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12121 PyObject
*resultobj
;
12122 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
12125 int arg4
= (int) 0 ;
12126 int arg5
= (int) 0 ;
12127 PyObject
* obj0
= 0 ;
12128 char *kwnames
[] = {
12129 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyBitmapShape_base_OnBeginDragRight",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
12133 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12136 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
12138 wxPyEndAllowThreads(__tstate
);
12139 if (PyErr_Occurred()) SWIG_fail
;
12141 Py_INCREF(Py_None
); resultobj
= Py_None
;
12148 static PyObject
*_wrap_PyBitmapShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12149 PyObject
*resultobj
;
12150 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
12153 int arg4
= (int) 0 ;
12154 int arg5
= (int) 0 ;
12155 PyObject
* obj0
= 0 ;
12156 char *kwnames
[] = {
12157 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyBitmapShape_base_OnEndDragRight",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
12161 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12164 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
12166 wxPyEndAllowThreads(__tstate
);
12167 if (PyErr_Occurred()) SWIG_fail
;
12169 Py_INCREF(Py_None
); resultobj
= Py_None
;
12176 static PyObject
*_wrap_PyBitmapShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12177 PyObject
*resultobj
;
12178 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
12184 PyObject
* obj0
= 0 ;
12185 PyObject
* obj1
= 0 ;
12186 char *kwnames
[] = {
12187 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
12190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd:PyBitmapShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
12191 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12192 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12193 if (arg2
== NULL
) {
12194 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12198 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
12200 wxPyEndAllowThreads(__tstate
);
12201 if (PyErr_Occurred()) SWIG_fail
;
12203 Py_INCREF(Py_None
); resultobj
= Py_None
;
12210 static PyObject
*_wrap_PyBitmapShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12211 PyObject
*resultobj
;
12212 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
12214 PyObject
* obj0
= 0 ;
12215 PyObject
* obj1
= 0 ;
12216 char *kwnames
[] = {
12217 (char *) "self",(char *) "dc", NULL
12220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
12221 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12222 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12223 if (arg2
== NULL
) {
12224 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12228 (arg1
)->base_OnDrawControlPoints(*arg2
);
12230 wxPyEndAllowThreads(__tstate
);
12231 if (PyErr_Occurred()) SWIG_fail
;
12233 Py_INCREF(Py_None
); resultobj
= Py_None
;
12240 static PyObject
*_wrap_PyBitmapShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12241 PyObject
*resultobj
;
12242 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
12244 PyObject
* obj0
= 0 ;
12245 PyObject
* obj1
= 0 ;
12246 char *kwnames
[] = {
12247 (char *) "self",(char *) "dc", NULL
12250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
12251 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12252 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12253 if (arg2
== NULL
) {
12254 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12258 (arg1
)->base_OnEraseControlPoints(*arg2
);
12260 wxPyEndAllowThreads(__tstate
);
12261 if (PyErr_Occurred()) SWIG_fail
;
12263 Py_INCREF(Py_None
); resultobj
= Py_None
;
12270 static PyObject
*_wrap_PyBitmapShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12271 PyObject
*resultobj
;
12272 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
12274 bool arg3
= (bool) True
;
12275 PyObject
* obj0
= 0 ;
12276 PyObject
* obj1
= 0 ;
12277 PyObject
* obj2
= 0 ;
12278 char *kwnames
[] = {
12279 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
12282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyBitmapShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12283 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12284 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12285 if (arg2
== NULL
) {
12286 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12290 arg3
= (bool) SPyObj_AsBool(obj2
);
12291 if (PyErr_Occurred()) SWIG_fail
;
12295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12296 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
12298 wxPyEndAllowThreads(__tstate
);
12299 if (PyErr_Occurred()) SWIG_fail
;
12301 Py_INCREF(Py_None
); resultobj
= Py_None
;
12308 static PyObject
*_wrap_PyBitmapShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12309 PyObject
*resultobj
;
12310 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
12311 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
12315 int arg6
= (int) 0 ;
12316 int arg7
= (int) 0 ;
12317 PyObject
* obj0
= 0 ;
12318 PyObject
* obj1
= 0 ;
12319 PyObject
* obj2
= 0 ;
12320 char *kwnames
[] = {
12321 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOdd|ii:PyBitmapShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
,&arg6
,&arg7
)) goto fail
;
12325 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12326 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12328 arg3
= (bool) SPyObj_AsBool(obj2
);
12329 if (PyErr_Occurred()) SWIG_fail
;
12332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12333 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
12335 wxPyEndAllowThreads(__tstate
);
12336 if (PyErr_Occurred()) SWIG_fail
;
12338 Py_INCREF(Py_None
); resultobj
= Py_None
;
12345 static PyObject
*_wrap_PyBitmapShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12346 PyObject
*resultobj
;
12347 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
12348 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
12351 int arg5
= (int) 0 ;
12352 int arg6
= (int) 0 ;
12353 PyObject
* obj0
= 0 ;
12354 PyObject
* obj1
= 0 ;
12355 char *kwnames
[] = {
12356 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyBitmapShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
12360 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12361 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12364 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
12366 wxPyEndAllowThreads(__tstate
);
12367 if (PyErr_Occurred()) SWIG_fail
;
12369 Py_INCREF(Py_None
); resultobj
= Py_None
;
12376 static PyObject
*_wrap_PyBitmapShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12377 PyObject
*resultobj
;
12378 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
12379 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
12382 int arg5
= (int) 0 ;
12383 int arg6
= (int) 0 ;
12384 PyObject
* obj0
= 0 ;
12385 PyObject
* obj1
= 0 ;
12386 char *kwnames
[] = {
12387 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyBitmapShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
12391 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12392 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12395 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
12397 wxPyEndAllowThreads(__tstate
);
12398 if (PyErr_Occurred()) SWIG_fail
;
12400 Py_INCREF(Py_None
); resultobj
= Py_None
;
12407 static PyObject
*_wrap_PyBitmapShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12408 PyObject
*resultobj
;
12409 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
12412 PyObject
* obj0
= 0 ;
12413 char *kwnames
[] = {
12414 (char *) "self",(char *) "w",(char *) "h", NULL
12417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyBitmapShape_base_OnBeginSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
12418 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12421 (arg1
)->base_OnBeginSize(arg2
,arg3
);
12423 wxPyEndAllowThreads(__tstate
);
12424 if (PyErr_Occurred()) SWIG_fail
;
12426 Py_INCREF(Py_None
); resultobj
= Py_None
;
12433 static PyObject
*_wrap_PyBitmapShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12434 PyObject
*resultobj
;
12435 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
12438 PyObject
* obj0
= 0 ;
12439 char *kwnames
[] = {
12440 (char *) "self",(char *) "w",(char *) "h", NULL
12443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyBitmapShape_base_OnEndSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
12444 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12447 (arg1
)->base_OnEndSize(arg2
,arg3
);
12449 wxPyEndAllowThreads(__tstate
);
12450 if (PyErr_Occurred()) SWIG_fail
;
12452 Py_INCREF(Py_None
); resultobj
= Py_None
;
12459 static PyObject
* PyBitmapShape_swigregister(PyObject
*self
, PyObject
*args
) {
12461 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12462 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapShape
, obj
);
12464 return Py_BuildValue((char *)"");
12466 static PyObject
*_wrap_new_PyDrawnShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12467 PyObject
*resultobj
;
12468 wxPyDrawnShape
*result
;
12469 char *kwnames
[] = {
12473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyDrawnShape",kwnames
)) goto fail
;
12475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12476 result
= (wxPyDrawnShape
*)new wxPyDrawnShape();
12478 wxPyEndAllowThreads(__tstate
);
12479 if (PyErr_Occurred()) SWIG_fail
;
12481 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyDrawnShape
, 1);
12488 static PyObject
*_wrap_PyDrawnShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12489 PyObject
*resultobj
;
12490 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
12491 PyObject
*arg2
= (PyObject
*) 0 ;
12492 PyObject
*arg3
= (PyObject
*) 0 ;
12493 PyObject
* obj0
= 0 ;
12494 PyObject
* obj1
= 0 ;
12495 PyObject
* obj2
= 0 ;
12496 char *kwnames
[] = {
12497 (char *) "self",(char *) "self",(char *) "_class", NULL
12500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDrawnShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12501 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12506 (arg1
)->_setCallbackInfo(arg2
,arg3
);
12508 wxPyEndAllowThreads(__tstate
);
12509 if (PyErr_Occurred()) SWIG_fail
;
12511 Py_INCREF(Py_None
); resultobj
= Py_None
;
12518 static PyObject
*_wrap_PyDrawnShape_CalculateSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12519 PyObject
*resultobj
;
12520 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
12521 PyObject
* obj0
= 0 ;
12522 char *kwnames
[] = {
12523 (char *) "self", NULL
12526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDrawnShape_CalculateSize",kwnames
,&obj0
)) goto fail
;
12527 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12530 (arg1
)->CalculateSize();
12532 wxPyEndAllowThreads(__tstate
);
12533 if (PyErr_Occurred()) SWIG_fail
;
12535 Py_INCREF(Py_None
); resultobj
= Py_None
;
12542 static PyObject
*_wrap_PyDrawnShape_DestroyClippingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12543 PyObject
*resultobj
;
12544 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
12545 PyObject
* obj0
= 0 ;
12546 char *kwnames
[] = {
12547 (char *) "self", NULL
12550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDrawnShape_DestroyClippingRect",kwnames
,&obj0
)) goto fail
;
12551 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12554 (arg1
)->DestroyClippingRect();
12556 wxPyEndAllowThreads(__tstate
);
12557 if (PyErr_Occurred()) SWIG_fail
;
12559 Py_INCREF(Py_None
); resultobj
= Py_None
;
12566 static PyObject
*_wrap_PyDrawnShape_DrawArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12567 PyObject
*resultobj
;
12568 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
12569 wxPoint
*arg2
= 0 ;
12570 wxPoint
*arg3
= 0 ;
12571 wxPoint
*arg4
= 0 ;
12575 PyObject
* obj0
= 0 ;
12576 PyObject
* obj1
= 0 ;
12577 PyObject
* obj2
= 0 ;
12578 PyObject
* obj3
= 0 ;
12579 char *kwnames
[] = {
12580 (char *) "self",(char *) "centrePoint",(char *) "startPoint",(char *) "endPoint", NULL
12583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyDrawnShape_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12584 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12587 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12591 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12595 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12599 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
12601 wxPyEndAllowThreads(__tstate
);
12602 if (PyErr_Occurred()) SWIG_fail
;
12604 Py_INCREF(Py_None
); resultobj
= Py_None
;
12611 static PyObject
*_wrap_PyDrawnShape_DrawAtAngle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12612 PyObject
*resultobj
;
12613 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
12615 PyObject
* obj0
= 0 ;
12616 char *kwnames
[] = {
12617 (char *) "self",(char *) "angle", NULL
12620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyDrawnShape_DrawAtAngle",kwnames
,&obj0
,&arg2
)) goto fail
;
12621 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12624 (arg1
)->DrawAtAngle(arg2
);
12626 wxPyEndAllowThreads(__tstate
);
12627 if (PyErr_Occurred()) SWIG_fail
;
12629 Py_INCREF(Py_None
); resultobj
= Py_None
;
12636 static PyObject
*_wrap_PyDrawnShape_DrawEllipticArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12637 PyObject
*resultobj
;
12638 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
12643 PyObject
* obj0
= 0 ;
12644 PyObject
* obj1
= 0 ;
12645 char *kwnames
[] = {
12646 (char *) "self",(char *) "rect",(char *) "startAngle",(char *) "endAngle", NULL
12649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd:PyDrawnShape_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
)) goto fail
;
12650 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12653 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12657 (arg1
)->DrawEllipticArc((wxRect
const &)*arg2
,arg3
,arg4
);
12659 wxPyEndAllowThreads(__tstate
);
12660 if (PyErr_Occurred()) SWIG_fail
;
12662 Py_INCREF(Py_None
); resultobj
= Py_None
;
12669 static PyObject
*_wrap_PyDrawnShape_DrawLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12670 PyObject
*resultobj
;
12671 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
12672 wxPoint
*arg2
= 0 ;
12673 wxPoint
*arg3
= 0 ;
12676 PyObject
* obj0
= 0 ;
12677 PyObject
* obj1
= 0 ;
12678 PyObject
* obj2
= 0 ;
12679 char *kwnames
[] = {
12680 (char *) "self",(char *) "point1",(char *) "point2", NULL
12683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDrawnShape_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12684 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12687 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12691 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12695 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
12697 wxPyEndAllowThreads(__tstate
);
12698 if (PyErr_Occurred()) SWIG_fail
;
12700 Py_INCREF(Py_None
); resultobj
= Py_None
;
12707 static PyObject
*_wrap_PyDrawnShape_DrawLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12708 PyObject
*resultobj
;
12709 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
12711 wxPoint
*arg3
= (wxPoint
*) 0 ;
12712 PyObject
* obj0
= 0 ;
12713 PyObject
* obj2
= 0 ;
12714 char *kwnames
[] = {
12715 (char *) "self",(char *) "PCOUNT",(char *) "points", NULL
12718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:PyDrawnShape_DrawLines",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
12719 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12720 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12723 (arg1
)->DrawLines(arg2
,arg3
);
12725 wxPyEndAllowThreads(__tstate
);
12726 if (PyErr_Occurred()) SWIG_fail
;
12728 Py_INCREF(Py_None
); resultobj
= Py_None
;
12735 static PyObject
*_wrap_PyDrawnShape_DrawPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12736 PyObject
*resultobj
;
12737 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
12738 wxPoint
*arg2
= 0 ;
12740 PyObject
* obj0
= 0 ;
12741 PyObject
* obj1
= 0 ;
12742 char *kwnames
[] = {
12743 (char *) "self",(char *) "point", NULL
12746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_DrawPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
12747 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12750 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12754 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
12756 wxPyEndAllowThreads(__tstate
);
12757 if (PyErr_Occurred()) SWIG_fail
;
12759 Py_INCREF(Py_None
); resultobj
= Py_None
;
12766 static PyObject
*_wrap_PyDrawnShape_DrawPolygon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12767 PyObject
*resultobj
;
12768 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
12770 wxPoint
*arg3
= (wxPoint
*) 0 ;
12771 int arg4
= (int) 0 ;
12772 PyObject
* obj0
= 0 ;
12773 PyObject
* obj2
= 0 ;
12774 char *kwnames
[] = {
12775 (char *) "self",(char *) "PCOUNT",(char *) "points",(char *) "flags", NULL
12778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|i:PyDrawnShape_DrawPolygon",kwnames
,&obj0
,&arg2
,&obj2
,&arg4
)) goto fail
;
12779 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12780 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12783 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
);
12785 wxPyEndAllowThreads(__tstate
);
12786 if (PyErr_Occurred()) SWIG_fail
;
12788 Py_INCREF(Py_None
); resultobj
= Py_None
;
12795 static PyObject
*_wrap_PyDrawnShape_DrawRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12796 PyObject
*resultobj
;
12797 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
12800 PyObject
* obj0
= 0 ;
12801 PyObject
* obj1
= 0 ;
12802 char *kwnames
[] = {
12803 (char *) "self",(char *) "rect", NULL
12806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_DrawRectangle",kwnames
,&obj0
,&obj1
)) goto fail
;
12807 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12810 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12814 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
12816 wxPyEndAllowThreads(__tstate
);
12817 if (PyErr_Occurred()) SWIG_fail
;
12819 Py_INCREF(Py_None
); resultobj
= Py_None
;
12826 static PyObject
*_wrap_PyDrawnShape_DrawRoundedRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12827 PyObject
*resultobj
;
12828 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
12832 PyObject
* obj0
= 0 ;
12833 PyObject
* obj1
= 0 ;
12834 char *kwnames
[] = {
12835 (char *) "self",(char *) "rect",(char *) "radius", NULL
12838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOd:PyDrawnShape_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
12839 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12842 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12846 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
12848 wxPyEndAllowThreads(__tstate
);
12849 if (PyErr_Occurred()) SWIG_fail
;
12851 Py_INCREF(Py_None
); resultobj
= Py_None
;
12858 static PyObject
*_wrap_PyDrawnShape_DrawSpline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12859 PyObject
*resultobj
;
12860 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
12862 wxPoint
*arg3
= (wxPoint
*) 0 ;
12863 PyObject
* obj0
= 0 ;
12864 PyObject
* obj2
= 0 ;
12865 char *kwnames
[] = {
12866 (char *) "self",(char *) "PCOUNT",(char *) "points", NULL
12869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:PyDrawnShape_DrawSpline",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
12870 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12871 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12874 (arg1
)->DrawSpline(arg2
,arg3
);
12876 wxPyEndAllowThreads(__tstate
);
12877 if (PyErr_Occurred()) SWIG_fail
;
12879 Py_INCREF(Py_None
); resultobj
= Py_None
;
12886 static PyObject
*_wrap_PyDrawnShape_DrawText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12887 PyObject
*resultobj
;
12888 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
12889 wxString
*arg2
= 0 ;
12890 wxPoint
*arg3
= 0 ;
12891 bool temp2
= False
;
12893 PyObject
* obj0
= 0 ;
12894 PyObject
* obj1
= 0 ;
12895 PyObject
* obj2
= 0 ;
12896 char *kwnames
[] = {
12897 (char *) "self",(char *) "text",(char *) "point", NULL
12900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDrawnShape_DrawText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12901 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12903 arg2
= wxString_in_helper(obj1
);
12904 if (arg2
== NULL
) SWIG_fail
;
12909 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12913 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
12915 wxPyEndAllowThreads(__tstate
);
12916 if (PyErr_Occurred()) SWIG_fail
;
12918 Py_INCREF(Py_None
); resultobj
= Py_None
;
12933 static PyObject
*_wrap_PyDrawnShape_GetAngle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12934 PyObject
*resultobj
;
12935 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
12937 PyObject
* obj0
= 0 ;
12938 char *kwnames
[] = {
12939 (char *) "self", NULL
12942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDrawnShape_GetAngle",kwnames
,&obj0
)) goto fail
;
12943 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12946 result
= (int)(arg1
)->GetAngle();
12948 wxPyEndAllowThreads(__tstate
);
12949 if (PyErr_Occurred()) SWIG_fail
;
12951 resultobj
= PyInt_FromLong((long)result
);
12958 static PyObject
*_wrap_PyDrawnShape_GetMetaFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12959 PyObject
*resultobj
;
12960 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
12961 wxPseudoMetaFile
*result
;
12962 PyObject
* obj0
= 0 ;
12963 char *kwnames
[] = {
12964 (char *) "self", NULL
12967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDrawnShape_GetMetaFile",kwnames
,&obj0
)) goto fail
;
12968 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12972 wxPseudoMetaFile
&_result_ref
= (arg1
)->GetMetaFile();
12973 result
= (wxPseudoMetaFile
*) &_result_ref
;
12976 wxPyEndAllowThreads(__tstate
);
12977 if (PyErr_Occurred()) SWIG_fail
;
12979 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPseudoMetaFile
, 0);
12986 static PyObject
*_wrap_PyDrawnShape_GetRotation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12987 PyObject
*resultobj
;
12988 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
12990 PyObject
* obj0
= 0 ;
12991 char *kwnames
[] = {
12992 (char *) "self", NULL
12995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDrawnShape_GetRotation",kwnames
,&obj0
)) goto fail
;
12996 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12999 result
= (double)(arg1
)->GetRotation();
13001 wxPyEndAllowThreads(__tstate
);
13002 if (PyErr_Occurred()) SWIG_fail
;
13004 resultobj
= PyFloat_FromDouble(result
);
13011 static PyObject
*_wrap_PyDrawnShape_LoadFromMetaFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13012 PyObject
*resultobj
;
13013 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
13014 wxString
*arg2
= 0 ;
13016 bool temp2
= False
;
13017 PyObject
* obj0
= 0 ;
13018 PyObject
* obj1
= 0 ;
13019 char *kwnames
[] = {
13020 (char *) "self",(char *) "filename", NULL
13023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_LoadFromMetaFile",kwnames
,&obj0
,&obj1
)) goto fail
;
13024 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13026 arg2
= wxString_in_helper(obj1
);
13027 if (arg2
== NULL
) SWIG_fail
;
13031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13032 result
= (bool)(arg1
)->LoadFromMetaFile((wxString
const &)*arg2
);
13034 wxPyEndAllowThreads(__tstate
);
13035 if (PyErr_Occurred()) SWIG_fail
;
13037 resultobj
= PyInt_FromLong((long)result
);
13052 static PyObject
*_wrap_PyDrawnShape_Rotate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13053 PyObject
*resultobj
;
13054 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
13058 PyObject
* obj0
= 0 ;
13059 char *kwnames
[] = {
13060 (char *) "self",(char *) "x",(char *) "y",(char *) "theta", NULL
13063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oddd:PyDrawnShape_Rotate",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
13064 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13067 (arg1
)->Rotate(arg2
,arg3
,arg4
);
13069 wxPyEndAllowThreads(__tstate
);
13070 if (PyErr_Occurred()) SWIG_fail
;
13072 Py_INCREF(Py_None
); resultobj
= Py_None
;
13079 static PyObject
*_wrap_PyDrawnShape_SetClippingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13080 PyObject
*resultobj
;
13081 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
13084 PyObject
* obj0
= 0 ;
13085 PyObject
* obj1
= 0 ;
13086 char *kwnames
[] = {
13087 (char *) "self",(char *) "rect", NULL
13090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_SetClippingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
13091 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13094 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
13097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13098 (arg1
)->SetClippingRect((wxRect
const &)*arg2
);
13100 wxPyEndAllowThreads(__tstate
);
13101 if (PyErr_Occurred()) SWIG_fail
;
13103 Py_INCREF(Py_None
); resultobj
= Py_None
;
13110 static PyObject
*_wrap_PyDrawnShape_SetDrawnBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13111 PyObject
*resultobj
;
13112 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
13113 wxColour
*arg2
= 0 ;
13115 PyObject
* obj0
= 0 ;
13116 PyObject
* obj1
= 0 ;
13117 char *kwnames
[] = {
13118 (char *) "self",(char *) "colour", NULL
13121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_SetDrawnBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
13122 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13125 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13129 (arg1
)->SetDrawnBackgroundColour((wxColour
const &)*arg2
);
13131 wxPyEndAllowThreads(__tstate
);
13132 if (PyErr_Occurred()) SWIG_fail
;
13134 Py_INCREF(Py_None
); resultobj
= Py_None
;
13141 static PyObject
*_wrap_PyDrawnShape_SetDrawnBackgroundMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13142 PyObject
*resultobj
;
13143 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
13145 PyObject
* obj0
= 0 ;
13146 char *kwnames
[] = {
13147 (char *) "self",(char *) "mode", NULL
13150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyDrawnShape_SetDrawnBackgroundMode",kwnames
,&obj0
,&arg2
)) goto fail
;
13151 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13154 (arg1
)->SetDrawnBackgroundMode(arg2
);
13156 wxPyEndAllowThreads(__tstate
);
13157 if (PyErr_Occurred()) SWIG_fail
;
13159 Py_INCREF(Py_None
); resultobj
= Py_None
;
13166 static PyObject
*_wrap_PyDrawnShape_SetDrawnBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13167 PyObject
*resultobj
;
13168 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
13169 wxBrush
*arg2
= (wxBrush
*) 0 ;
13170 bool arg3
= (bool) FALSE
;
13171 PyObject
* obj0
= 0 ;
13172 PyObject
* obj1
= 0 ;
13173 PyObject
* obj2
= 0 ;
13174 char *kwnames
[] = {
13175 (char *) "self",(char *) "pen",(char *) "isOutline", NULL
13178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyDrawnShape_SetDrawnBrush",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13179 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13183 if (obj1
== Py_None
) {
13186 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxBrush"))) {
13187 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxBrush.");
13192 arg2
= wxTheBrushList
->FindOrCreateBrush(temp
->GetColour(), temp
->GetStyle());
13198 arg3
= (bool) SPyObj_AsBool(obj2
);
13199 if (PyErr_Occurred()) SWIG_fail
;
13203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13204 (arg1
)->SetDrawnBrush(arg2
,arg3
);
13206 wxPyEndAllowThreads(__tstate
);
13207 if (PyErr_Occurred()) SWIG_fail
;
13209 Py_INCREF(Py_None
); resultobj
= Py_None
;
13216 static PyObject
*_wrap_PyDrawnShape_SetDrawnFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13217 PyObject
*resultobj
;
13218 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
13219 wxFont
*arg2
= (wxFont
*) 0 ;
13220 PyObject
* obj0
= 0 ;
13221 PyObject
* obj1
= 0 ;
13222 char *kwnames
[] = {
13223 (char *) "self",(char *) "font", NULL
13226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_SetDrawnFont",kwnames
,&obj0
,&obj1
)) goto fail
;
13227 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13231 if (obj1
== Py_None
) {
13234 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxFont"))) {
13235 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxFont.");
13240 arg2
= wxTheFontList
->FindOrCreateFont(temp
->GetPointSize(),
13244 temp
->GetUnderlined(),
13245 temp
->GetFaceName(),
13246 temp
->GetEncoding());
13251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13252 (arg1
)->SetDrawnFont(arg2
);
13254 wxPyEndAllowThreads(__tstate
);
13255 if (PyErr_Occurred()) SWIG_fail
;
13257 Py_INCREF(Py_None
); resultobj
= Py_None
;
13264 static PyObject
*_wrap_PyDrawnShape_SetDrawnPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13265 PyObject
*resultobj
;
13266 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
13267 wxPen
*arg2
= (wxPen
*) 0 ;
13268 bool arg3
= (bool) FALSE
;
13269 PyObject
* obj0
= 0 ;
13270 PyObject
* obj1
= 0 ;
13271 PyObject
* obj2
= 0 ;
13272 char *kwnames
[] = {
13273 (char *) "self",(char *) "pen",(char *) "isOutline", NULL
13276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyDrawnShape_SetDrawnPen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13277 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13281 if (obj1
== Py_None
) {
13284 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxPen"))) {
13285 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxPen.");
13290 arg2
= wxThePenList
->FindOrCreatePen(temp
->GetColour(),
13298 arg3
= (bool) SPyObj_AsBool(obj2
);
13299 if (PyErr_Occurred()) SWIG_fail
;
13303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13304 (arg1
)->SetDrawnPen(arg2
,arg3
);
13306 wxPyEndAllowThreads(__tstate
);
13307 if (PyErr_Occurred()) SWIG_fail
;
13309 Py_INCREF(Py_None
); resultobj
= Py_None
;
13316 static PyObject
*_wrap_PyDrawnShape_SetDrawnTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13317 PyObject
*resultobj
;
13318 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
13319 wxColour
*arg2
= 0 ;
13321 PyObject
* obj0
= 0 ;
13322 PyObject
* obj1
= 0 ;
13323 char *kwnames
[] = {
13324 (char *) "self",(char *) "colour", NULL
13327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_SetDrawnTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
13328 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13331 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13335 (arg1
)->SetDrawnTextColour((wxColour
const &)*arg2
);
13337 wxPyEndAllowThreads(__tstate
);
13338 if (PyErr_Occurred()) SWIG_fail
;
13340 Py_INCREF(Py_None
); resultobj
= Py_None
;
13347 static PyObject
*_wrap_PyDrawnShape_Scale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13348 PyObject
*resultobj
;
13349 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
13352 PyObject
* obj0
= 0 ;
13353 char *kwnames
[] = {
13354 (char *) "self",(char *) "sx",(char *) "sy", NULL
13357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyDrawnShape_Scale",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
13358 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13361 (arg1
)->Scale(arg2
,arg3
);
13363 wxPyEndAllowThreads(__tstate
);
13364 if (PyErr_Occurred()) SWIG_fail
;
13366 Py_INCREF(Py_None
); resultobj
= Py_None
;
13373 static PyObject
*_wrap_PyDrawnShape_SetSaveToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13374 PyObject
*resultobj
;
13375 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
13377 PyObject
* obj0
= 0 ;
13378 PyObject
* obj1
= 0 ;
13379 char *kwnames
[] = {
13380 (char *) "self",(char *) "save", NULL
13383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_SetSaveToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
13384 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13386 arg2
= (bool) SPyObj_AsBool(obj1
);
13387 if (PyErr_Occurred()) SWIG_fail
;
13390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13391 (arg1
)->SetSaveToFile(arg2
);
13393 wxPyEndAllowThreads(__tstate
);
13394 if (PyErr_Occurred()) SWIG_fail
;
13396 Py_INCREF(Py_None
); resultobj
= Py_None
;
13403 static PyObject
*_wrap_PyDrawnShape_Translate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13404 PyObject
*resultobj
;
13405 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
13408 PyObject
* obj0
= 0 ;
13409 char *kwnames
[] = {
13410 (char *) "self",(char *) "x",(char *) "y", NULL
13413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyDrawnShape_Translate",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
13414 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13417 (arg1
)->Translate(arg2
,arg3
);
13419 wxPyEndAllowThreads(__tstate
);
13420 if (PyErr_Occurred()) SWIG_fail
;
13422 Py_INCREF(Py_None
); resultobj
= Py_None
;
13429 static PyObject
*_wrap_PyDrawnShape_base_OnDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13430 PyObject
*resultobj
;
13431 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
13432 PyObject
* obj0
= 0 ;
13433 char *kwnames
[] = {
13434 (char *) "self", NULL
13437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDrawnShape_base_OnDelete",kwnames
,&obj0
)) goto fail
;
13438 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13441 (arg1
)->base_OnDelete();
13443 wxPyEndAllowThreads(__tstate
);
13444 if (PyErr_Occurred()) SWIG_fail
;
13446 Py_INCREF(Py_None
); resultobj
= Py_None
;
13453 static PyObject
*_wrap_PyDrawnShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13454 PyObject
*resultobj
;
13455 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
13457 PyObject
* obj0
= 0 ;
13458 PyObject
* obj1
= 0 ;
13459 char *kwnames
[] = {
13460 (char *) "self",(char *) "dc", NULL
13463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
13464 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13465 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13466 if (arg2
== NULL
) {
13467 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13471 (arg1
)->base_OnDraw(*arg2
);
13473 wxPyEndAllowThreads(__tstate
);
13474 if (PyErr_Occurred()) SWIG_fail
;
13476 Py_INCREF(Py_None
); resultobj
= Py_None
;
13483 static PyObject
*_wrap_PyDrawnShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13484 PyObject
*resultobj
;
13485 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
13487 PyObject
* obj0
= 0 ;
13488 PyObject
* obj1
= 0 ;
13489 char *kwnames
[] = {
13490 (char *) "self",(char *) "dc", NULL
13493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
13494 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13495 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13496 if (arg2
== NULL
) {
13497 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13501 (arg1
)->base_OnDrawContents(*arg2
);
13503 wxPyEndAllowThreads(__tstate
);
13504 if (PyErr_Occurred()) SWIG_fail
;
13506 Py_INCREF(Py_None
); resultobj
= Py_None
;
13513 static PyObject
*_wrap_PyDrawnShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13514 PyObject
*resultobj
;
13515 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
13517 bool arg3
= (bool) FALSE
;
13518 PyObject
* obj0
= 0 ;
13519 PyObject
* obj1
= 0 ;
13520 PyObject
* obj2
= 0 ;
13521 char *kwnames
[] = {
13522 (char *) "self",(char *) "dc",(char *) "erase", NULL
13525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyDrawnShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13526 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13527 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13528 if (arg2
== NULL
) {
13529 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13533 arg3
= (bool) SPyObj_AsBool(obj2
);
13534 if (PyErr_Occurred()) SWIG_fail
;
13538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13539 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
13541 wxPyEndAllowThreads(__tstate
);
13542 if (PyErr_Occurred()) SWIG_fail
;
13544 Py_INCREF(Py_None
); resultobj
= Py_None
;
13551 static PyObject
*_wrap_PyDrawnShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13552 PyObject
*resultobj
;
13553 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
13555 PyObject
* obj0
= 0 ;
13556 PyObject
* obj1
= 0 ;
13557 char *kwnames
[] = {
13558 (char *) "self",(char *) "dc", NULL
13561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
13562 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13563 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13564 if (arg2
== NULL
) {
13565 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13569 (arg1
)->base_OnMoveLinks(*arg2
);
13571 wxPyEndAllowThreads(__tstate
);
13572 if (PyErr_Occurred()) SWIG_fail
;
13574 Py_INCREF(Py_None
); resultobj
= Py_None
;
13581 static PyObject
*_wrap_PyDrawnShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13582 PyObject
*resultobj
;
13583 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
13585 PyObject
* obj0
= 0 ;
13586 PyObject
* obj1
= 0 ;
13587 char *kwnames
[] = {
13588 (char *) "self",(char *) "dc", NULL
13591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
13592 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13593 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13594 if (arg2
== NULL
) {
13595 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13599 (arg1
)->base_OnErase(*arg2
);
13601 wxPyEndAllowThreads(__tstate
);
13602 if (PyErr_Occurred()) SWIG_fail
;
13604 Py_INCREF(Py_None
); resultobj
= Py_None
;
13611 static PyObject
*_wrap_PyDrawnShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13612 PyObject
*resultobj
;
13613 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
13615 PyObject
* obj0
= 0 ;
13616 PyObject
* obj1
= 0 ;
13617 char *kwnames
[] = {
13618 (char *) "self",(char *) "dc", NULL
13621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
13622 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13623 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13624 if (arg2
== NULL
) {
13625 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13629 (arg1
)->base_OnEraseContents(*arg2
);
13631 wxPyEndAllowThreads(__tstate
);
13632 if (PyErr_Occurred()) SWIG_fail
;
13634 Py_INCREF(Py_None
); resultobj
= Py_None
;
13641 static PyObject
*_wrap_PyDrawnShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13642 PyObject
*resultobj
;
13643 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
13645 PyObject
* obj0
= 0 ;
13646 PyObject
* obj1
= 0 ;
13647 char *kwnames
[] = {
13648 (char *) "self",(char *) "dc", NULL
13651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
13652 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13653 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13654 if (arg2
== NULL
) {
13655 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13659 (arg1
)->base_OnHighlight(*arg2
);
13661 wxPyEndAllowThreads(__tstate
);
13662 if (PyErr_Occurred()) SWIG_fail
;
13664 Py_INCREF(Py_None
); resultobj
= Py_None
;
13671 static PyObject
*_wrap_PyDrawnShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13672 PyObject
*resultobj
;
13673 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
13676 int arg4
= (int) 0 ;
13677 int arg5
= (int) 0 ;
13678 PyObject
* obj0
= 0 ;
13679 char *kwnames
[] = {
13680 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyDrawnShape_base_OnLeftClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
13684 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13687 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
13689 wxPyEndAllowThreads(__tstate
);
13690 if (PyErr_Occurred()) SWIG_fail
;
13692 Py_INCREF(Py_None
); resultobj
= Py_None
;
13699 static PyObject
*_wrap_PyDrawnShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13700 PyObject
*resultobj
;
13701 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
13704 int arg4
= (int) 0 ;
13705 int arg5
= (int) 0 ;
13706 PyObject
* obj0
= 0 ;
13707 char *kwnames
[] = {
13708 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyDrawnShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
13712 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13715 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
13717 wxPyEndAllowThreads(__tstate
);
13718 if (PyErr_Occurred()) SWIG_fail
;
13720 Py_INCREF(Py_None
); resultobj
= Py_None
;
13727 static PyObject
*_wrap_PyDrawnShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13728 PyObject
*resultobj
;
13729 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
13732 int arg4
= (int) 0 ;
13733 int arg5
= (int) 0 ;
13734 PyObject
* obj0
= 0 ;
13735 char *kwnames
[] = {
13736 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyDrawnShape_base_OnRightClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
13740 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13743 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
13745 wxPyEndAllowThreads(__tstate
);
13746 if (PyErr_Occurred()) SWIG_fail
;
13748 Py_INCREF(Py_None
); resultobj
= Py_None
;
13755 static PyObject
*_wrap_PyDrawnShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13756 PyObject
*resultobj
;
13757 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
13760 PyObject
* obj0
= 0 ;
13761 char *kwnames
[] = {
13762 (char *) "self",(char *) "x",(char *) "y", NULL
13765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyDrawnShape_base_OnSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
13766 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13769 (arg1
)->base_OnSize(arg2
,arg3
);
13771 wxPyEndAllowThreads(__tstate
);
13772 if (PyErr_Occurred()) SWIG_fail
;
13774 Py_INCREF(Py_None
); resultobj
= Py_None
;
13781 static PyObject
*_wrap_PyDrawnShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13782 PyObject
*resultobj
;
13783 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
13789 bool arg7
= (bool) True
;
13791 PyObject
* obj0
= 0 ;
13792 PyObject
* obj1
= 0 ;
13793 PyObject
* obj6
= 0 ;
13794 char *kwnames
[] = {
13795 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
13798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd|O:PyDrawnShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
)) goto fail
;
13799 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13800 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13801 if (arg2
== NULL
) {
13802 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13806 arg7
= (bool) SPyObj_AsBool(obj6
);
13807 if (PyErr_Occurred()) SWIG_fail
;
13811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13812 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
13814 wxPyEndAllowThreads(__tstate
);
13815 if (PyErr_Occurred()) SWIG_fail
;
13817 resultobj
= PyInt_FromLong((long)result
);
13824 static PyObject
*_wrap_PyDrawnShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13825 PyObject
*resultobj
;
13826 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
13832 bool arg7
= (bool) True
;
13833 PyObject
* obj0
= 0 ;
13834 PyObject
* obj1
= 0 ;
13835 PyObject
* obj6
= 0 ;
13836 char *kwnames
[] = {
13837 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
13840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd|O:PyDrawnShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
)) goto fail
;
13841 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13842 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13843 if (arg2
== NULL
) {
13844 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13848 arg7
= (bool) SPyObj_AsBool(obj6
);
13849 if (PyErr_Occurred()) SWIG_fail
;
13853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13854 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
13856 wxPyEndAllowThreads(__tstate
);
13857 if (PyErr_Occurred()) SWIG_fail
;
13859 Py_INCREF(Py_None
); resultobj
= Py_None
;
13866 static PyObject
*_wrap_PyDrawnShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13867 PyObject
*resultobj
;
13868 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
13872 int arg5
= (int) 0 ;
13873 int arg6
= (int) 0 ;
13874 PyObject
* obj0
= 0 ;
13875 PyObject
* obj1
= 0 ;
13876 char *kwnames
[] = {
13877 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyDrawnShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
13881 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13883 arg2
= (bool) SPyObj_AsBool(obj1
);
13884 if (PyErr_Occurred()) SWIG_fail
;
13887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13888 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
13890 wxPyEndAllowThreads(__tstate
);
13891 if (PyErr_Occurred()) SWIG_fail
;
13893 Py_INCREF(Py_None
); resultobj
= Py_None
;
13900 static PyObject
*_wrap_PyDrawnShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13901 PyObject
*resultobj
;
13902 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
13905 int arg4
= (int) 0 ;
13906 int arg5
= (int) 0 ;
13907 PyObject
* obj0
= 0 ;
13908 char *kwnames
[] = {
13909 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyDrawnShape_base_OnBeginDragLeft",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
13913 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13916 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
13918 wxPyEndAllowThreads(__tstate
);
13919 if (PyErr_Occurred()) SWIG_fail
;
13921 Py_INCREF(Py_None
); resultobj
= Py_None
;
13928 static PyObject
*_wrap_PyDrawnShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13929 PyObject
*resultobj
;
13930 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
13933 int arg4
= (int) 0 ;
13934 int arg5
= (int) 0 ;
13935 PyObject
* obj0
= 0 ;
13936 char *kwnames
[] = {
13937 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyDrawnShape_base_OnEndDragLeft",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
13941 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13944 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
13946 wxPyEndAllowThreads(__tstate
);
13947 if (PyErr_Occurred()) SWIG_fail
;
13949 Py_INCREF(Py_None
); resultobj
= Py_None
;
13956 static PyObject
*_wrap_PyDrawnShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13957 PyObject
*resultobj
;
13958 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
13962 int arg5
= (int) 0 ;
13963 int arg6
= (int) 0 ;
13964 PyObject
* obj0
= 0 ;
13965 PyObject
* obj1
= 0 ;
13966 char *kwnames
[] = {
13967 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyDrawnShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
13971 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13973 arg2
= (bool) SPyObj_AsBool(obj1
);
13974 if (PyErr_Occurred()) SWIG_fail
;
13977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13978 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
13980 wxPyEndAllowThreads(__tstate
);
13981 if (PyErr_Occurred()) SWIG_fail
;
13983 Py_INCREF(Py_None
); resultobj
= Py_None
;
13990 static PyObject
*_wrap_PyDrawnShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13991 PyObject
*resultobj
;
13992 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
13995 int arg4
= (int) 0 ;
13996 int arg5
= (int) 0 ;
13997 PyObject
* obj0
= 0 ;
13998 char *kwnames
[] = {
13999 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyDrawnShape_base_OnBeginDragRight",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
14003 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14006 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
14008 wxPyEndAllowThreads(__tstate
);
14009 if (PyErr_Occurred()) SWIG_fail
;
14011 Py_INCREF(Py_None
); resultobj
= Py_None
;
14018 static PyObject
*_wrap_PyDrawnShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14019 PyObject
*resultobj
;
14020 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
14023 int arg4
= (int) 0 ;
14024 int arg5
= (int) 0 ;
14025 PyObject
* obj0
= 0 ;
14026 char *kwnames
[] = {
14027 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyDrawnShape_base_OnEndDragRight",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
14031 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14034 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
14036 wxPyEndAllowThreads(__tstate
);
14037 if (PyErr_Occurred()) SWIG_fail
;
14039 Py_INCREF(Py_None
); resultobj
= Py_None
;
14046 static PyObject
*_wrap_PyDrawnShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14047 PyObject
*resultobj
;
14048 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
14054 PyObject
* obj0
= 0 ;
14055 PyObject
* obj1
= 0 ;
14056 char *kwnames
[] = {
14057 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
14060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd:PyDrawnShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
14061 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14062 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14063 if (arg2
== NULL
) {
14064 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
14067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14068 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
14070 wxPyEndAllowThreads(__tstate
);
14071 if (PyErr_Occurred()) SWIG_fail
;
14073 Py_INCREF(Py_None
); resultobj
= Py_None
;
14080 static PyObject
*_wrap_PyDrawnShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14081 PyObject
*resultobj
;
14082 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
14084 PyObject
* obj0
= 0 ;
14085 PyObject
* obj1
= 0 ;
14086 char *kwnames
[] = {
14087 (char *) "self",(char *) "dc", NULL
14090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
14091 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14092 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14093 if (arg2
== NULL
) {
14094 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
14097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14098 (arg1
)->base_OnDrawControlPoints(*arg2
);
14100 wxPyEndAllowThreads(__tstate
);
14101 if (PyErr_Occurred()) SWIG_fail
;
14103 Py_INCREF(Py_None
); resultobj
= Py_None
;
14110 static PyObject
*_wrap_PyDrawnShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14111 PyObject
*resultobj
;
14112 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
14114 PyObject
* obj0
= 0 ;
14115 PyObject
* obj1
= 0 ;
14116 char *kwnames
[] = {
14117 (char *) "self",(char *) "dc", NULL
14120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
14121 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14122 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14123 if (arg2
== NULL
) {
14124 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
14127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14128 (arg1
)->base_OnEraseControlPoints(*arg2
);
14130 wxPyEndAllowThreads(__tstate
);
14131 if (PyErr_Occurred()) SWIG_fail
;
14133 Py_INCREF(Py_None
); resultobj
= Py_None
;
14140 static PyObject
*_wrap_PyDrawnShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14141 PyObject
*resultobj
;
14142 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
14144 bool arg3
= (bool) True
;
14145 PyObject
* obj0
= 0 ;
14146 PyObject
* obj1
= 0 ;
14147 PyObject
* obj2
= 0 ;
14148 char *kwnames
[] = {
14149 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
14152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyDrawnShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14153 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14154 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14155 if (arg2
== NULL
) {
14156 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
14160 arg3
= (bool) SPyObj_AsBool(obj2
);
14161 if (PyErr_Occurred()) SWIG_fail
;
14165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14166 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
14168 wxPyEndAllowThreads(__tstate
);
14169 if (PyErr_Occurred()) SWIG_fail
;
14171 Py_INCREF(Py_None
); resultobj
= Py_None
;
14178 static PyObject
*_wrap_PyDrawnShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14179 PyObject
*resultobj
;
14180 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
14181 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
14185 int arg6
= (int) 0 ;
14186 int arg7
= (int) 0 ;
14187 PyObject
* obj0
= 0 ;
14188 PyObject
* obj1
= 0 ;
14189 PyObject
* obj2
= 0 ;
14190 char *kwnames
[] = {
14191 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOdd|ii:PyDrawnShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
,&arg6
,&arg7
)) goto fail
;
14195 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14196 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14198 arg3
= (bool) SPyObj_AsBool(obj2
);
14199 if (PyErr_Occurred()) SWIG_fail
;
14202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14203 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
14205 wxPyEndAllowThreads(__tstate
);
14206 if (PyErr_Occurred()) SWIG_fail
;
14208 Py_INCREF(Py_None
); resultobj
= Py_None
;
14215 static PyObject
*_wrap_PyDrawnShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14216 PyObject
*resultobj
;
14217 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
14218 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
14221 int arg5
= (int) 0 ;
14222 int arg6
= (int) 0 ;
14223 PyObject
* obj0
= 0 ;
14224 PyObject
* obj1
= 0 ;
14225 char *kwnames
[] = {
14226 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyDrawnShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
14230 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14231 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14234 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
14236 wxPyEndAllowThreads(__tstate
);
14237 if (PyErr_Occurred()) SWIG_fail
;
14239 Py_INCREF(Py_None
); resultobj
= Py_None
;
14246 static PyObject
*_wrap_PyDrawnShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14247 PyObject
*resultobj
;
14248 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
14249 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
14252 int arg5
= (int) 0 ;
14253 int arg6
= (int) 0 ;
14254 PyObject
* obj0
= 0 ;
14255 PyObject
* obj1
= 0 ;
14256 char *kwnames
[] = {
14257 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyDrawnShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
14261 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14262 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14265 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
14267 wxPyEndAllowThreads(__tstate
);
14268 if (PyErr_Occurred()) SWIG_fail
;
14270 Py_INCREF(Py_None
); resultobj
= Py_None
;
14277 static PyObject
*_wrap_PyDrawnShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14278 PyObject
*resultobj
;
14279 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
14282 PyObject
* obj0
= 0 ;
14283 char *kwnames
[] = {
14284 (char *) "self",(char *) "w",(char *) "h", NULL
14287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyDrawnShape_base_OnBeginSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
14288 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14291 (arg1
)->base_OnBeginSize(arg2
,arg3
);
14293 wxPyEndAllowThreads(__tstate
);
14294 if (PyErr_Occurred()) SWIG_fail
;
14296 Py_INCREF(Py_None
); resultobj
= Py_None
;
14303 static PyObject
*_wrap_PyDrawnShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14304 PyObject
*resultobj
;
14305 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
14308 PyObject
* obj0
= 0 ;
14309 char *kwnames
[] = {
14310 (char *) "self",(char *) "w",(char *) "h", NULL
14313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyDrawnShape_base_OnEndSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
14314 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDrawnShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14317 (arg1
)->base_OnEndSize(arg2
,arg3
);
14319 wxPyEndAllowThreads(__tstate
);
14320 if (PyErr_Occurred()) SWIG_fail
;
14322 Py_INCREF(Py_None
); resultobj
= Py_None
;
14329 static PyObject
* PyDrawnShape_swigregister(PyObject
*self
, PyObject
*args
) {
14331 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14332 SWIG_TypeClientData(SWIGTYPE_p_wxPyDrawnShape
, obj
);
14334 return Py_BuildValue((char *)"");
14336 static PyObject
*_wrap_new_OGLConstraint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14337 PyObject
*resultobj
;
14339 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
14340 PyObject
*arg3
= (PyObject
*) 0 ;
14341 wxOGLConstraint
*result
;
14342 PyObject
* obj1
= 0 ;
14343 PyObject
* obj2
= 0 ;
14344 char *kwnames
[] = {
14345 (char *) "type",(char *) "constraining",(char *) "constrained", NULL
14348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"iOO:new_OGLConstraint",kwnames
,&arg1
,&obj1
,&obj2
)) goto fail
;
14349 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14353 result
= (wxOGLConstraint
*)new_wxOGLConstraint(arg1
,arg2
,arg3
);
14355 wxPyEndAllowThreads(__tstate
);
14356 if (PyErr_Occurred()) SWIG_fail
;
14359 resultobj
= wxPyMake_wxObject(result
);
14367 static PyObject
*_wrap_OGLConstraint_Evaluate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14368 PyObject
*resultobj
;
14369 wxOGLConstraint
*arg1
= (wxOGLConstraint
*) 0 ;
14371 PyObject
* obj0
= 0 ;
14372 char *kwnames
[] = {
14373 (char *) "self", NULL
14376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:OGLConstraint_Evaluate",kwnames
,&obj0
)) goto fail
;
14377 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxOGLConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14380 result
= (bool)(arg1
)->Evaluate();
14382 wxPyEndAllowThreads(__tstate
);
14383 if (PyErr_Occurred()) SWIG_fail
;
14385 resultobj
= PyInt_FromLong((long)result
);
14392 static PyObject
*_wrap_OGLConstraint_SetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14393 PyObject
*resultobj
;
14394 wxOGLConstraint
*arg1
= (wxOGLConstraint
*) 0 ;
14397 PyObject
* obj0
= 0 ;
14398 char *kwnames
[] = {
14399 (char *) "self",(char *) "x",(char *) "y", NULL
14402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:OGLConstraint_SetSpacing",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
14403 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxOGLConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14406 (arg1
)->SetSpacing(arg2
,arg3
);
14408 wxPyEndAllowThreads(__tstate
);
14409 if (PyErr_Occurred()) SWIG_fail
;
14411 Py_INCREF(Py_None
); resultobj
= Py_None
;
14418 static PyObject
*_wrap_OGLConstraint_Equals(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14419 PyObject
*resultobj
;
14420 wxOGLConstraint
*arg1
= (wxOGLConstraint
*) 0 ;
14424 PyObject
* obj0
= 0 ;
14425 char *kwnames
[] = {
14426 (char *) "self",(char *) "a",(char *) "b", NULL
14429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:OGLConstraint_Equals",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
14430 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxOGLConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14433 result
= (bool)(arg1
)->Equals(arg2
,arg3
);
14435 wxPyEndAllowThreads(__tstate
);
14436 if (PyErr_Occurred()) SWIG_fail
;
14438 resultobj
= PyInt_FromLong((long)result
);
14445 static PyObject
* OGLConstraint_swigregister(PyObject
*self
, PyObject
*args
) {
14447 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14448 SWIG_TypeClientData(SWIGTYPE_p_wxOGLConstraint
, obj
);
14450 return Py_BuildValue((char *)"");
14452 static PyObject
*_wrap_new_PyCompositeShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14453 PyObject
*resultobj
;
14454 wxPyCompositeShape
*result
;
14455 char *kwnames
[] = {
14459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyCompositeShape",kwnames
)) goto fail
;
14461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14462 result
= (wxPyCompositeShape
*)new wxPyCompositeShape();
14464 wxPyEndAllowThreads(__tstate
);
14465 if (PyErr_Occurred()) SWIG_fail
;
14467 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyCompositeShape
, 1);
14474 static PyObject
*_wrap_PyCompositeShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14475 PyObject
*resultobj
;
14476 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
14477 PyObject
*arg2
= (PyObject
*) 0 ;
14478 PyObject
*arg3
= (PyObject
*) 0 ;
14479 PyObject
* obj0
= 0 ;
14480 PyObject
* obj1
= 0 ;
14481 PyObject
* obj2
= 0 ;
14482 char *kwnames
[] = {
14483 (char *) "self",(char *) "self",(char *) "_class", NULL
14486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyCompositeShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14487 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14492 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14494 wxPyEndAllowThreads(__tstate
);
14495 if (PyErr_Occurred()) SWIG_fail
;
14497 Py_INCREF(Py_None
); resultobj
= Py_None
;
14504 static PyObject
*_wrap_PyCompositeShape_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14505 PyObject
*resultobj
;
14506 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
14507 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
14508 wxPyShape
*arg3
= (wxPyShape
*) NULL
;
14509 PyObject
* obj0
= 0 ;
14510 PyObject
* obj1
= 0 ;
14511 PyObject
* obj2
= 0 ;
14512 char *kwnames
[] = {
14513 (char *) "self",(char *) "child",(char *) "addAfter", NULL
14516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyCompositeShape_AddChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14517 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14518 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14520 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14524 (arg1
)->AddChild(arg2
,arg3
);
14526 wxPyEndAllowThreads(__tstate
);
14527 if (PyErr_Occurred()) SWIG_fail
;
14529 Py_INCREF(Py_None
); resultobj
= Py_None
;
14536 static PyObject
*_wrap_PyCompositeShape_AddConstraint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14537 PyObject
*resultobj
;
14538 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
14539 wxOGLConstraint
*arg2
= (wxOGLConstraint
*) 0 ;
14540 wxOGLConstraint
*result
;
14541 PyObject
* obj0
= 0 ;
14542 PyObject
* obj1
= 0 ;
14543 char *kwnames
[] = {
14544 (char *) "self",(char *) "constraint", NULL
14547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_AddConstraint",kwnames
,&obj0
,&obj1
)) goto fail
;
14548 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14549 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxOGLConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14552 result
= (wxOGLConstraint
*)(arg1
)->AddConstraint(arg2
);
14554 wxPyEndAllowThreads(__tstate
);
14555 if (PyErr_Occurred()) SWIG_fail
;
14558 resultobj
= wxPyMake_wxObject(result
);
14566 static PyObject
*_wrap_PyCompositeShape_AddConstrainedShapes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14567 PyObject
*resultobj
;
14568 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
14570 wxPyShape
*arg3
= (wxPyShape
*) 0 ;
14571 PyObject
*arg4
= (PyObject
*) 0 ;
14572 wxOGLConstraint
*result
;
14573 PyObject
* obj0
= 0 ;
14574 PyObject
* obj2
= 0 ;
14575 PyObject
* obj3
= 0 ;
14576 char *kwnames
[] = {
14577 (char *) "self",(char *) "type",(char *) "constraining",(char *) "constrained", NULL
14580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiOO:PyCompositeShape_AddConstrainedShapes",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
)) goto fail
;
14581 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14582 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14586 result
= (wxOGLConstraint
*)wxPyCompositeShape_AddConstrainedShapes(arg1
,arg2
,arg3
,arg4
);
14588 wxPyEndAllowThreads(__tstate
);
14589 if (PyErr_Occurred()) SWIG_fail
;
14592 resultobj
= wxPyMake_wxObject(result
);
14600 static PyObject
*_wrap_PyCompositeShape_AddSimpleConstraint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14601 PyObject
*resultobj
;
14602 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
14604 wxPyShape
*arg3
= (wxPyShape
*) 0 ;
14605 wxPyShape
*arg4
= (wxPyShape
*) 0 ;
14606 wxOGLConstraint
*result
;
14607 PyObject
* obj0
= 0 ;
14608 PyObject
* obj2
= 0 ;
14609 PyObject
* obj3
= 0 ;
14610 char *kwnames
[] = {
14611 (char *) "self",(char *) "type",(char *) "constraining",(char *) "constrained", NULL
14614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiOO:PyCompositeShape_AddSimpleConstraint",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
)) goto fail
;
14615 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14616 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14617 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14620 result
= (wxOGLConstraint
*)(arg1
)->AddConstraint(arg2
,arg3
,arg4
);
14622 wxPyEndAllowThreads(__tstate
);
14623 if (PyErr_Occurred()) SWIG_fail
;
14626 resultobj
= wxPyMake_wxObject(result
);
14634 static PyObject
*_wrap_PyCompositeShape_CalculateSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14635 PyObject
*resultobj
;
14636 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
14637 PyObject
* obj0
= 0 ;
14638 char *kwnames
[] = {
14639 (char *) "self", NULL
14642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCompositeShape_CalculateSize",kwnames
,&obj0
)) goto fail
;
14643 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14646 (arg1
)->CalculateSize();
14648 wxPyEndAllowThreads(__tstate
);
14649 if (PyErr_Occurred()) SWIG_fail
;
14651 Py_INCREF(Py_None
); resultobj
= Py_None
;
14658 static PyObject
*_wrap_PyCompositeShape_ContainsDivision(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14659 PyObject
*resultobj
;
14660 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
14661 wxPyDivisionShape
*arg2
= (wxPyDivisionShape
*) 0 ;
14663 PyObject
* obj0
= 0 ;
14664 PyObject
* obj1
= 0 ;
14665 char *kwnames
[] = {
14666 (char *) "self",(char *) "division", NULL
14669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_ContainsDivision",kwnames
,&obj0
,&obj1
)) goto fail
;
14670 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14671 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14674 result
= (bool)(arg1
)->ContainsDivision(arg2
);
14676 wxPyEndAllowThreads(__tstate
);
14677 if (PyErr_Occurred()) SWIG_fail
;
14679 resultobj
= PyInt_FromLong((long)result
);
14686 static PyObject
*_wrap_PyCompositeShape_DeleteConstraint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14687 PyObject
*resultobj
;
14688 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
14689 wxOGLConstraint
*arg2
= (wxOGLConstraint
*) 0 ;
14690 PyObject
* obj0
= 0 ;
14691 PyObject
* obj1
= 0 ;
14692 char *kwnames
[] = {
14693 (char *) "self",(char *) "constraint", NULL
14696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_DeleteConstraint",kwnames
,&obj0
,&obj1
)) 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_wxOGLConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14701 (arg1
)->DeleteConstraint(arg2
);
14703 wxPyEndAllowThreads(__tstate
);
14704 if (PyErr_Occurred()) SWIG_fail
;
14706 Py_INCREF(Py_None
); resultobj
= Py_None
;
14713 static PyObject
*_wrap_PyCompositeShape_DeleteConstraintsInvolvingChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14714 PyObject
*resultobj
;
14715 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
14716 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
14717 PyObject
* obj0
= 0 ;
14718 PyObject
* obj1
= 0 ;
14719 char *kwnames
[] = {
14720 (char *) "self",(char *) "child", NULL
14723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_DeleteConstraintsInvolvingChild",kwnames
,&obj0
,&obj1
)) goto fail
;
14724 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14725 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14728 (arg1
)->DeleteConstraintsInvolvingChild(arg2
);
14730 wxPyEndAllowThreads(__tstate
);
14731 if (PyErr_Occurred()) SWIG_fail
;
14733 Py_INCREF(Py_None
); resultobj
= Py_None
;
14740 static PyObject
*_wrap_PyCompositeShape_FindContainerImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14741 PyObject
*resultobj
;
14742 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
14744 PyObject
* obj0
= 0 ;
14745 char *kwnames
[] = {
14746 (char *) "self", NULL
14749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCompositeShape_FindContainerImage",kwnames
,&obj0
)) goto fail
;
14750 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14753 result
= (wxPyShape
*)(arg1
)->FindContainerImage();
14755 wxPyEndAllowThreads(__tstate
);
14756 if (PyErr_Occurred()) SWIG_fail
;
14759 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
14767 static PyObject
*_wrap_PyCompositeShape_GetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14768 PyObject
*resultobj
;
14769 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
14771 PyObject
* obj0
= 0 ;
14772 char *kwnames
[] = {
14773 (char *) "self", NULL
14776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCompositeShape_GetConstraints",kwnames
,&obj0
)) goto fail
;
14777 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14780 result
= (PyObject
*)wxPyCompositeShape_GetConstraints(arg1
);
14782 wxPyEndAllowThreads(__tstate
);
14783 if (PyErr_Occurred()) SWIG_fail
;
14785 resultobj
= result
;
14792 static PyObject
*_wrap_PyCompositeShape_GetDivisions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14793 PyObject
*resultobj
;
14794 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
14796 PyObject
* obj0
= 0 ;
14797 char *kwnames
[] = {
14798 (char *) "self", NULL
14801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCompositeShape_GetDivisions",kwnames
,&obj0
)) goto fail
;
14802 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14805 result
= (PyObject
*)wxPyCompositeShape_GetDivisions(arg1
);
14807 wxPyEndAllowThreads(__tstate
);
14808 if (PyErr_Occurred()) SWIG_fail
;
14810 resultobj
= result
;
14817 static PyObject
*_wrap_PyCompositeShape_MakeContainer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14818 PyObject
*resultobj
;
14819 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
14820 PyObject
* obj0
= 0 ;
14821 char *kwnames
[] = {
14822 (char *) "self", NULL
14825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCompositeShape_MakeContainer",kwnames
,&obj0
)) goto fail
;
14826 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14829 (arg1
)->MakeContainer();
14831 wxPyEndAllowThreads(__tstate
);
14832 if (PyErr_Occurred()) SWIG_fail
;
14834 Py_INCREF(Py_None
); resultobj
= Py_None
;
14841 static PyObject
*_wrap_PyCompositeShape_Recompute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14842 PyObject
*resultobj
;
14843 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
14845 PyObject
* obj0
= 0 ;
14846 char *kwnames
[] = {
14847 (char *) "self", NULL
14850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCompositeShape_Recompute",kwnames
,&obj0
)) goto fail
;
14851 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14854 result
= (bool)(arg1
)->Recompute();
14856 wxPyEndAllowThreads(__tstate
);
14857 if (PyErr_Occurred()) SWIG_fail
;
14859 resultobj
= PyInt_FromLong((long)result
);
14866 static PyObject
*_wrap_PyCompositeShape_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14867 PyObject
*resultobj
;
14868 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
14869 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
14870 PyObject
* obj0
= 0 ;
14871 PyObject
* obj1
= 0 ;
14872 char *kwnames
[] = {
14873 (char *) "self",(char *) "child", NULL
14876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
14877 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14878 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14881 (arg1
)->RemoveChild(arg2
);
14883 wxPyEndAllowThreads(__tstate
);
14884 if (PyErr_Occurred()) SWIG_fail
;
14886 Py_INCREF(Py_None
); resultobj
= Py_None
;
14893 static PyObject
*_wrap_PyCompositeShape_base_OnDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14894 PyObject
*resultobj
;
14895 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
14896 PyObject
* obj0
= 0 ;
14897 char *kwnames
[] = {
14898 (char *) "self", NULL
14901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCompositeShape_base_OnDelete",kwnames
,&obj0
)) goto fail
;
14902 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14905 (arg1
)->base_OnDelete();
14907 wxPyEndAllowThreads(__tstate
);
14908 if (PyErr_Occurred()) SWIG_fail
;
14910 Py_INCREF(Py_None
); resultobj
= Py_None
;
14917 static PyObject
*_wrap_PyCompositeShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14918 PyObject
*resultobj
;
14919 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
14921 PyObject
* obj0
= 0 ;
14922 PyObject
* obj1
= 0 ;
14923 char *kwnames
[] = {
14924 (char *) "self",(char *) "dc", NULL
14927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
14928 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14929 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14930 if (arg2
== NULL
) {
14931 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
14934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14935 (arg1
)->base_OnDraw(*arg2
);
14937 wxPyEndAllowThreads(__tstate
);
14938 if (PyErr_Occurred()) SWIG_fail
;
14940 Py_INCREF(Py_None
); resultobj
= Py_None
;
14947 static PyObject
*_wrap_PyCompositeShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14948 PyObject
*resultobj
;
14949 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
14951 PyObject
* obj0
= 0 ;
14952 PyObject
* obj1
= 0 ;
14953 char *kwnames
[] = {
14954 (char *) "self",(char *) "dc", NULL
14957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
14958 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14959 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14960 if (arg2
== NULL
) {
14961 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
14964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14965 (arg1
)->base_OnDrawContents(*arg2
);
14967 wxPyEndAllowThreads(__tstate
);
14968 if (PyErr_Occurred()) SWIG_fail
;
14970 Py_INCREF(Py_None
); resultobj
= Py_None
;
14977 static PyObject
*_wrap_PyCompositeShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14978 PyObject
*resultobj
;
14979 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
14981 bool arg3
= (bool) FALSE
;
14982 PyObject
* obj0
= 0 ;
14983 PyObject
* obj1
= 0 ;
14984 PyObject
* obj2
= 0 ;
14985 char *kwnames
[] = {
14986 (char *) "self",(char *) "dc",(char *) "erase", NULL
14989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyCompositeShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14990 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14991 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14992 if (arg2
== NULL
) {
14993 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
14997 arg3
= (bool) SPyObj_AsBool(obj2
);
14998 if (PyErr_Occurred()) SWIG_fail
;
15002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15003 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
15005 wxPyEndAllowThreads(__tstate
);
15006 if (PyErr_Occurred()) SWIG_fail
;
15008 Py_INCREF(Py_None
); resultobj
= Py_None
;
15015 static PyObject
*_wrap_PyCompositeShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15016 PyObject
*resultobj
;
15017 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
15019 PyObject
* obj0
= 0 ;
15020 PyObject
* obj1
= 0 ;
15021 char *kwnames
[] = {
15022 (char *) "self",(char *) "dc", NULL
15025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
15026 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15027 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15028 if (arg2
== NULL
) {
15029 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15033 (arg1
)->base_OnMoveLinks(*arg2
);
15035 wxPyEndAllowThreads(__tstate
);
15036 if (PyErr_Occurred()) SWIG_fail
;
15038 Py_INCREF(Py_None
); resultobj
= Py_None
;
15045 static PyObject
*_wrap_PyCompositeShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15046 PyObject
*resultobj
;
15047 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
15049 PyObject
* obj0
= 0 ;
15050 PyObject
* obj1
= 0 ;
15051 char *kwnames
[] = {
15052 (char *) "self",(char *) "dc", NULL
15055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
15056 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15057 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15058 if (arg2
== NULL
) {
15059 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15063 (arg1
)->base_OnErase(*arg2
);
15065 wxPyEndAllowThreads(__tstate
);
15066 if (PyErr_Occurred()) SWIG_fail
;
15068 Py_INCREF(Py_None
); resultobj
= Py_None
;
15075 static PyObject
*_wrap_PyCompositeShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15076 PyObject
*resultobj
;
15077 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
15079 PyObject
* obj0
= 0 ;
15080 PyObject
* obj1
= 0 ;
15081 char *kwnames
[] = {
15082 (char *) "self",(char *) "dc", NULL
15085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
15086 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15087 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15088 if (arg2
== NULL
) {
15089 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15093 (arg1
)->base_OnEraseContents(*arg2
);
15095 wxPyEndAllowThreads(__tstate
);
15096 if (PyErr_Occurred()) SWIG_fail
;
15098 Py_INCREF(Py_None
); resultobj
= Py_None
;
15105 static PyObject
*_wrap_PyCompositeShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15106 PyObject
*resultobj
;
15107 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
15109 PyObject
* obj0
= 0 ;
15110 PyObject
* obj1
= 0 ;
15111 char *kwnames
[] = {
15112 (char *) "self",(char *) "dc", NULL
15115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) 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_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15118 if (arg2
== NULL
) {
15119 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15123 (arg1
)->base_OnHighlight(*arg2
);
15125 wxPyEndAllowThreads(__tstate
);
15126 if (PyErr_Occurred()) SWIG_fail
;
15128 Py_INCREF(Py_None
); resultobj
= Py_None
;
15135 static PyObject
*_wrap_PyCompositeShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15136 PyObject
*resultobj
;
15137 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
15140 int arg4
= (int) 0 ;
15141 int arg5
= (int) 0 ;
15142 PyObject
* obj0
= 0 ;
15143 char *kwnames
[] = {
15144 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
15147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyCompositeShape_base_OnLeftClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
15148 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15151 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
15153 wxPyEndAllowThreads(__tstate
);
15154 if (PyErr_Occurred()) SWIG_fail
;
15156 Py_INCREF(Py_None
); resultobj
= Py_None
;
15163 static PyObject
*_wrap_PyCompositeShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15164 PyObject
*resultobj
;
15165 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
15168 int arg4
= (int) 0 ;
15169 int arg5
= (int) 0 ;
15170 PyObject
* obj0
= 0 ;
15171 char *kwnames
[] = {
15172 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
15175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyCompositeShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
15176 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15179 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
15181 wxPyEndAllowThreads(__tstate
);
15182 if (PyErr_Occurred()) SWIG_fail
;
15184 Py_INCREF(Py_None
); resultobj
= Py_None
;
15191 static PyObject
*_wrap_PyCompositeShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15192 PyObject
*resultobj
;
15193 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
15196 int arg4
= (int) 0 ;
15197 int arg5
= (int) 0 ;
15198 PyObject
* obj0
= 0 ;
15199 char *kwnames
[] = {
15200 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
15203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyCompositeShape_base_OnRightClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
15204 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15207 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
15209 wxPyEndAllowThreads(__tstate
);
15210 if (PyErr_Occurred()) SWIG_fail
;
15212 Py_INCREF(Py_None
); resultobj
= Py_None
;
15219 static PyObject
*_wrap_PyCompositeShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15220 PyObject
*resultobj
;
15221 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
15224 PyObject
* obj0
= 0 ;
15225 char *kwnames
[] = {
15226 (char *) "self",(char *) "x",(char *) "y", NULL
15229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyCompositeShape_base_OnSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
15230 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15233 (arg1
)->base_OnSize(arg2
,arg3
);
15235 wxPyEndAllowThreads(__tstate
);
15236 if (PyErr_Occurred()) SWIG_fail
;
15238 Py_INCREF(Py_None
); resultobj
= Py_None
;
15245 static PyObject
*_wrap_PyCompositeShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15246 PyObject
*resultobj
;
15247 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
15253 bool arg7
= (bool) True
;
15255 PyObject
* obj0
= 0 ;
15256 PyObject
* obj1
= 0 ;
15257 PyObject
* obj6
= 0 ;
15258 char *kwnames
[] = {
15259 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
15262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd|O:PyCompositeShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
)) goto fail
;
15263 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15264 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15265 if (arg2
== NULL
) {
15266 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15270 arg7
= (bool) SPyObj_AsBool(obj6
);
15271 if (PyErr_Occurred()) SWIG_fail
;
15275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15276 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
15278 wxPyEndAllowThreads(__tstate
);
15279 if (PyErr_Occurred()) SWIG_fail
;
15281 resultobj
= PyInt_FromLong((long)result
);
15288 static PyObject
*_wrap_PyCompositeShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15289 PyObject
*resultobj
;
15290 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
15296 bool arg7
= (bool) True
;
15297 PyObject
* obj0
= 0 ;
15298 PyObject
* obj1
= 0 ;
15299 PyObject
* obj6
= 0 ;
15300 char *kwnames
[] = {
15301 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
15304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd|O:PyCompositeShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
)) goto fail
;
15305 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15306 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15307 if (arg2
== NULL
) {
15308 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15312 arg7
= (bool) SPyObj_AsBool(obj6
);
15313 if (PyErr_Occurred()) SWIG_fail
;
15317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15318 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
15320 wxPyEndAllowThreads(__tstate
);
15321 if (PyErr_Occurred()) SWIG_fail
;
15323 Py_INCREF(Py_None
); resultobj
= Py_None
;
15330 static PyObject
*_wrap_PyCompositeShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15331 PyObject
*resultobj
;
15332 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
15336 int arg5
= (int) 0 ;
15337 int arg6
= (int) 0 ;
15338 PyObject
* obj0
= 0 ;
15339 PyObject
* obj1
= 0 ;
15340 char *kwnames
[] = {
15341 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
15344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyCompositeShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
15345 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15347 arg2
= (bool) SPyObj_AsBool(obj1
);
15348 if (PyErr_Occurred()) SWIG_fail
;
15351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15352 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
15354 wxPyEndAllowThreads(__tstate
);
15355 if (PyErr_Occurred()) SWIG_fail
;
15357 Py_INCREF(Py_None
); resultobj
= Py_None
;
15364 static PyObject
*_wrap_PyCompositeShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15365 PyObject
*resultobj
;
15366 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
15369 int arg4
= (int) 0 ;
15370 int arg5
= (int) 0 ;
15371 PyObject
* obj0
= 0 ;
15372 char *kwnames
[] = {
15373 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
15376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyCompositeShape_base_OnBeginDragLeft",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
15377 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15380 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
15382 wxPyEndAllowThreads(__tstate
);
15383 if (PyErr_Occurred()) SWIG_fail
;
15385 Py_INCREF(Py_None
); resultobj
= Py_None
;
15392 static PyObject
*_wrap_PyCompositeShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15393 PyObject
*resultobj
;
15394 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
15397 int arg4
= (int) 0 ;
15398 int arg5
= (int) 0 ;
15399 PyObject
* obj0
= 0 ;
15400 char *kwnames
[] = {
15401 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
15404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyCompositeShape_base_OnEndDragLeft",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
15405 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15408 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
15410 wxPyEndAllowThreads(__tstate
);
15411 if (PyErr_Occurred()) SWIG_fail
;
15413 Py_INCREF(Py_None
); resultobj
= Py_None
;
15420 static PyObject
*_wrap_PyCompositeShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15421 PyObject
*resultobj
;
15422 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
15426 int arg5
= (int) 0 ;
15427 int arg6
= (int) 0 ;
15428 PyObject
* obj0
= 0 ;
15429 PyObject
* obj1
= 0 ;
15430 char *kwnames
[] = {
15431 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
15434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyCompositeShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
15435 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15437 arg2
= (bool) SPyObj_AsBool(obj1
);
15438 if (PyErr_Occurred()) SWIG_fail
;
15441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15442 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
15444 wxPyEndAllowThreads(__tstate
);
15445 if (PyErr_Occurred()) SWIG_fail
;
15447 Py_INCREF(Py_None
); resultobj
= Py_None
;
15454 static PyObject
*_wrap_PyCompositeShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15455 PyObject
*resultobj
;
15456 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
15459 int arg4
= (int) 0 ;
15460 int arg5
= (int) 0 ;
15461 PyObject
* obj0
= 0 ;
15462 char *kwnames
[] = {
15463 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
15466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyCompositeShape_base_OnBeginDragRight",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
15467 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15470 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
15472 wxPyEndAllowThreads(__tstate
);
15473 if (PyErr_Occurred()) SWIG_fail
;
15475 Py_INCREF(Py_None
); resultobj
= Py_None
;
15482 static PyObject
*_wrap_PyCompositeShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15483 PyObject
*resultobj
;
15484 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
15487 int arg4
= (int) 0 ;
15488 int arg5
= (int) 0 ;
15489 PyObject
* obj0
= 0 ;
15490 char *kwnames
[] = {
15491 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
15494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyCompositeShape_base_OnEndDragRight",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
15495 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15498 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
15500 wxPyEndAllowThreads(__tstate
);
15501 if (PyErr_Occurred()) SWIG_fail
;
15503 Py_INCREF(Py_None
); resultobj
= Py_None
;
15510 static PyObject
*_wrap_PyCompositeShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15511 PyObject
*resultobj
;
15512 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
15518 PyObject
* obj0
= 0 ;
15519 PyObject
* obj1
= 0 ;
15520 char *kwnames
[] = {
15521 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
15524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd:PyCompositeShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
15525 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15526 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15527 if (arg2
== NULL
) {
15528 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15532 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
15534 wxPyEndAllowThreads(__tstate
);
15535 if (PyErr_Occurred()) SWIG_fail
;
15537 Py_INCREF(Py_None
); resultobj
= Py_None
;
15544 static PyObject
*_wrap_PyCompositeShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15545 PyObject
*resultobj
;
15546 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
15548 PyObject
* obj0
= 0 ;
15549 PyObject
* obj1
= 0 ;
15550 char *kwnames
[] = {
15551 (char *) "self",(char *) "dc", NULL
15554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
15555 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15556 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15557 if (arg2
== NULL
) {
15558 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15562 (arg1
)->base_OnDrawControlPoints(*arg2
);
15564 wxPyEndAllowThreads(__tstate
);
15565 if (PyErr_Occurred()) SWIG_fail
;
15567 Py_INCREF(Py_None
); resultobj
= Py_None
;
15574 static PyObject
*_wrap_PyCompositeShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15575 PyObject
*resultobj
;
15576 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
15578 PyObject
* obj0
= 0 ;
15579 PyObject
* obj1
= 0 ;
15580 char *kwnames
[] = {
15581 (char *) "self",(char *) "dc", NULL
15584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
15585 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15586 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15587 if (arg2
== NULL
) {
15588 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15592 (arg1
)->base_OnEraseControlPoints(*arg2
);
15594 wxPyEndAllowThreads(__tstate
);
15595 if (PyErr_Occurred()) SWIG_fail
;
15597 Py_INCREF(Py_None
); resultobj
= Py_None
;
15604 static PyObject
*_wrap_PyCompositeShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15605 PyObject
*resultobj
;
15606 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
15608 bool arg3
= (bool) True
;
15609 PyObject
* obj0
= 0 ;
15610 PyObject
* obj1
= 0 ;
15611 PyObject
* obj2
= 0 ;
15612 char *kwnames
[] = {
15613 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
15616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyCompositeShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15617 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15618 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15619 if (arg2
== NULL
) {
15620 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15624 arg3
= (bool) SPyObj_AsBool(obj2
);
15625 if (PyErr_Occurred()) SWIG_fail
;
15629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15630 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
15632 wxPyEndAllowThreads(__tstate
);
15633 if (PyErr_Occurred()) SWIG_fail
;
15635 Py_INCREF(Py_None
); resultobj
= Py_None
;
15642 static PyObject
*_wrap_PyCompositeShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15643 PyObject
*resultobj
;
15644 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
15645 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
15649 int arg6
= (int) 0 ;
15650 int arg7
= (int) 0 ;
15651 PyObject
* obj0
= 0 ;
15652 PyObject
* obj1
= 0 ;
15653 PyObject
* obj2
= 0 ;
15654 char *kwnames
[] = {
15655 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
15658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOdd|ii:PyCompositeShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
,&arg6
,&arg7
)) goto fail
;
15659 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15660 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15662 arg3
= (bool) SPyObj_AsBool(obj2
);
15663 if (PyErr_Occurred()) SWIG_fail
;
15666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15667 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
15669 wxPyEndAllowThreads(__tstate
);
15670 if (PyErr_Occurred()) SWIG_fail
;
15672 Py_INCREF(Py_None
); resultobj
= Py_None
;
15679 static PyObject
*_wrap_PyCompositeShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15680 PyObject
*resultobj
;
15681 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
15682 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
15685 int arg5
= (int) 0 ;
15686 int arg6
= (int) 0 ;
15687 PyObject
* obj0
= 0 ;
15688 PyObject
* obj1
= 0 ;
15689 char *kwnames
[] = {
15690 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
15693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyCompositeShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
15694 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15695 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15698 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
15700 wxPyEndAllowThreads(__tstate
);
15701 if (PyErr_Occurred()) SWIG_fail
;
15703 Py_INCREF(Py_None
); resultobj
= Py_None
;
15710 static PyObject
*_wrap_PyCompositeShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15711 PyObject
*resultobj
;
15712 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
15713 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
15716 int arg5
= (int) 0 ;
15717 int arg6
= (int) 0 ;
15718 PyObject
* obj0
= 0 ;
15719 PyObject
* obj1
= 0 ;
15720 char *kwnames
[] = {
15721 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
15724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyCompositeShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
15725 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15726 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15729 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
15731 wxPyEndAllowThreads(__tstate
);
15732 if (PyErr_Occurred()) SWIG_fail
;
15734 Py_INCREF(Py_None
); resultobj
= Py_None
;
15741 static PyObject
*_wrap_PyCompositeShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15742 PyObject
*resultobj
;
15743 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
15746 PyObject
* obj0
= 0 ;
15747 char *kwnames
[] = {
15748 (char *) "self",(char *) "w",(char *) "h", NULL
15751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyCompositeShape_base_OnBeginSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
15752 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15755 (arg1
)->base_OnBeginSize(arg2
,arg3
);
15757 wxPyEndAllowThreads(__tstate
);
15758 if (PyErr_Occurred()) SWIG_fail
;
15760 Py_INCREF(Py_None
); resultobj
= Py_None
;
15767 static PyObject
*_wrap_PyCompositeShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15768 PyObject
*resultobj
;
15769 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
15772 PyObject
* obj0
= 0 ;
15773 char *kwnames
[] = {
15774 (char *) "self",(char *) "w",(char *) "h", NULL
15777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyCompositeShape_base_OnEndSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
15778 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCompositeShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15781 (arg1
)->base_OnEndSize(arg2
,arg3
);
15783 wxPyEndAllowThreads(__tstate
);
15784 if (PyErr_Occurred()) SWIG_fail
;
15786 Py_INCREF(Py_None
); resultobj
= Py_None
;
15793 static PyObject
* PyCompositeShape_swigregister(PyObject
*self
, PyObject
*args
) {
15795 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15796 SWIG_TypeClientData(SWIGTYPE_p_wxPyCompositeShape
, obj
);
15798 return Py_BuildValue((char *)"");
15800 static PyObject
*_wrap_new_PyDividedShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15801 PyObject
*resultobj
;
15802 double arg1
= (double) 0.0 ;
15803 double arg2
= (double) 0.0 ;
15804 wxPyDividedShape
*result
;
15805 char *kwnames
[] = {
15806 (char *) "width",(char *) "height", NULL
15809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|dd:new_PyDividedShape",kwnames
,&arg1
,&arg2
)) goto fail
;
15811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15812 result
= (wxPyDividedShape
*)new wxPyDividedShape(arg1
,arg2
);
15814 wxPyEndAllowThreads(__tstate
);
15815 if (PyErr_Occurred()) SWIG_fail
;
15817 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyDividedShape
, 1);
15824 static PyObject
*_wrap_PyDividedShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15825 PyObject
*resultobj
;
15826 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
15827 PyObject
*arg2
= (PyObject
*) 0 ;
15828 PyObject
*arg3
= (PyObject
*) 0 ;
15829 PyObject
* obj0
= 0 ;
15830 PyObject
* obj1
= 0 ;
15831 PyObject
* obj2
= 0 ;
15832 char *kwnames
[] = {
15833 (char *) "self",(char *) "self",(char *) "_class", NULL
15836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDividedShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15837 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15842 (arg1
)->_setCallbackInfo(arg2
,arg3
);
15844 wxPyEndAllowThreads(__tstate
);
15845 if (PyErr_Occurred()) SWIG_fail
;
15847 Py_INCREF(Py_None
); resultobj
= Py_None
;
15854 static PyObject
*_wrap_PyDividedShape_EditRegions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15855 PyObject
*resultobj
;
15856 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
15857 PyObject
* obj0
= 0 ;
15858 char *kwnames
[] = {
15859 (char *) "self", NULL
15862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDividedShape_EditRegions",kwnames
,&obj0
)) goto fail
;
15863 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15866 (arg1
)->EditRegions();
15868 wxPyEndAllowThreads(__tstate
);
15869 if (PyErr_Occurred()) SWIG_fail
;
15871 Py_INCREF(Py_None
); resultobj
= Py_None
;
15878 static PyObject
*_wrap_PyDividedShape_SetRegionSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15879 PyObject
*resultobj
;
15880 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
15881 PyObject
* obj0
= 0 ;
15882 char *kwnames
[] = {
15883 (char *) "self", NULL
15886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDividedShape_SetRegionSizes",kwnames
,&obj0
)) goto fail
;
15887 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15890 (arg1
)->SetRegionSizes();
15892 wxPyEndAllowThreads(__tstate
);
15893 if (PyErr_Occurred()) SWIG_fail
;
15895 Py_INCREF(Py_None
); resultobj
= Py_None
;
15902 static PyObject
*_wrap_PyDividedShape_base_OnDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15903 PyObject
*resultobj
;
15904 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
15905 PyObject
* obj0
= 0 ;
15906 char *kwnames
[] = {
15907 (char *) "self", NULL
15910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDividedShape_base_OnDelete",kwnames
,&obj0
)) goto fail
;
15911 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15914 (arg1
)->base_OnDelete();
15916 wxPyEndAllowThreads(__tstate
);
15917 if (PyErr_Occurred()) SWIG_fail
;
15919 Py_INCREF(Py_None
); resultobj
= Py_None
;
15926 static PyObject
*_wrap_PyDividedShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15927 PyObject
*resultobj
;
15928 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
15930 PyObject
* obj0
= 0 ;
15931 PyObject
* obj1
= 0 ;
15932 char *kwnames
[] = {
15933 (char *) "self",(char *) "dc", NULL
15936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDividedShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
15937 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15938 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15939 if (arg2
== NULL
) {
15940 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15944 (arg1
)->base_OnDraw(*arg2
);
15946 wxPyEndAllowThreads(__tstate
);
15947 if (PyErr_Occurred()) SWIG_fail
;
15949 Py_INCREF(Py_None
); resultobj
= Py_None
;
15956 static PyObject
*_wrap_PyDividedShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15957 PyObject
*resultobj
;
15958 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
15960 PyObject
* obj0
= 0 ;
15961 PyObject
* obj1
= 0 ;
15962 char *kwnames
[] = {
15963 (char *) "self",(char *) "dc", NULL
15966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDividedShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
15967 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15968 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15969 if (arg2
== NULL
) {
15970 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15974 (arg1
)->base_OnDrawContents(*arg2
);
15976 wxPyEndAllowThreads(__tstate
);
15977 if (PyErr_Occurred()) SWIG_fail
;
15979 Py_INCREF(Py_None
); resultobj
= Py_None
;
15986 static PyObject
*_wrap_PyDividedShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15987 PyObject
*resultobj
;
15988 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
15990 bool arg3
= (bool) FALSE
;
15991 PyObject
* obj0
= 0 ;
15992 PyObject
* obj1
= 0 ;
15993 PyObject
* obj2
= 0 ;
15994 char *kwnames
[] = {
15995 (char *) "self",(char *) "dc",(char *) "erase", NULL
15998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyDividedShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15999 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16000 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16001 if (arg2
== NULL
) {
16002 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
16006 arg3
= (bool) SPyObj_AsBool(obj2
);
16007 if (PyErr_Occurred()) SWIG_fail
;
16011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16012 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
16014 wxPyEndAllowThreads(__tstate
);
16015 if (PyErr_Occurred()) SWIG_fail
;
16017 Py_INCREF(Py_None
); resultobj
= Py_None
;
16024 static PyObject
*_wrap_PyDividedShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16025 PyObject
*resultobj
;
16026 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
16028 PyObject
* obj0
= 0 ;
16029 PyObject
* obj1
= 0 ;
16030 char *kwnames
[] = {
16031 (char *) "self",(char *) "dc", NULL
16034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDividedShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
16035 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16036 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16037 if (arg2
== NULL
) {
16038 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
16041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16042 (arg1
)->base_OnMoveLinks(*arg2
);
16044 wxPyEndAllowThreads(__tstate
);
16045 if (PyErr_Occurred()) SWIG_fail
;
16047 Py_INCREF(Py_None
); resultobj
= Py_None
;
16054 static PyObject
*_wrap_PyDividedShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16055 PyObject
*resultobj
;
16056 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
16058 PyObject
* obj0
= 0 ;
16059 PyObject
* obj1
= 0 ;
16060 char *kwnames
[] = {
16061 (char *) "self",(char *) "dc", NULL
16064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDividedShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
16065 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16066 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16067 if (arg2
== NULL
) {
16068 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
16071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16072 (arg1
)->base_OnErase(*arg2
);
16074 wxPyEndAllowThreads(__tstate
);
16075 if (PyErr_Occurred()) SWIG_fail
;
16077 Py_INCREF(Py_None
); resultobj
= Py_None
;
16084 static PyObject
*_wrap_PyDividedShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16085 PyObject
*resultobj
;
16086 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
16088 PyObject
* obj0
= 0 ;
16089 PyObject
* obj1
= 0 ;
16090 char *kwnames
[] = {
16091 (char *) "self",(char *) "dc", NULL
16094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDividedShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
16095 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16096 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16097 if (arg2
== NULL
) {
16098 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
16101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16102 (arg1
)->base_OnEraseContents(*arg2
);
16104 wxPyEndAllowThreads(__tstate
);
16105 if (PyErr_Occurred()) SWIG_fail
;
16107 Py_INCREF(Py_None
); resultobj
= Py_None
;
16114 static PyObject
*_wrap_PyDividedShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16115 PyObject
*resultobj
;
16116 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
16118 PyObject
* obj0
= 0 ;
16119 PyObject
* obj1
= 0 ;
16120 char *kwnames
[] = {
16121 (char *) "self",(char *) "dc", NULL
16124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDividedShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
16125 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16126 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16127 if (arg2
== NULL
) {
16128 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
16131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16132 (arg1
)->base_OnHighlight(*arg2
);
16134 wxPyEndAllowThreads(__tstate
);
16135 if (PyErr_Occurred()) SWIG_fail
;
16137 Py_INCREF(Py_None
); resultobj
= Py_None
;
16144 static PyObject
*_wrap_PyDividedShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16145 PyObject
*resultobj
;
16146 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
16149 int arg4
= (int) 0 ;
16150 int arg5
= (int) 0 ;
16151 PyObject
* obj0
= 0 ;
16152 char *kwnames
[] = {
16153 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyDividedShape_base_OnLeftClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
16157 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16160 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
16162 wxPyEndAllowThreads(__tstate
);
16163 if (PyErr_Occurred()) SWIG_fail
;
16165 Py_INCREF(Py_None
); resultobj
= Py_None
;
16172 static PyObject
*_wrap_PyDividedShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16173 PyObject
*resultobj
;
16174 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
16177 int arg4
= (int) 0 ;
16178 int arg5
= (int) 0 ;
16179 PyObject
* obj0
= 0 ;
16180 char *kwnames
[] = {
16181 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyDividedShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
16185 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16188 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
16190 wxPyEndAllowThreads(__tstate
);
16191 if (PyErr_Occurred()) SWIG_fail
;
16193 Py_INCREF(Py_None
); resultobj
= Py_None
;
16200 static PyObject
*_wrap_PyDividedShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16201 PyObject
*resultobj
;
16202 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
16205 int arg4
= (int) 0 ;
16206 int arg5
= (int) 0 ;
16207 PyObject
* obj0
= 0 ;
16208 char *kwnames
[] = {
16209 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyDividedShape_base_OnRightClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
16213 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16216 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
16218 wxPyEndAllowThreads(__tstate
);
16219 if (PyErr_Occurred()) SWIG_fail
;
16221 Py_INCREF(Py_None
); resultobj
= Py_None
;
16228 static PyObject
*_wrap_PyDividedShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16229 PyObject
*resultobj
;
16230 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
16233 PyObject
* obj0
= 0 ;
16234 char *kwnames
[] = {
16235 (char *) "self",(char *) "x",(char *) "y", NULL
16238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyDividedShape_base_OnSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
16239 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16242 (arg1
)->base_OnSize(arg2
,arg3
);
16244 wxPyEndAllowThreads(__tstate
);
16245 if (PyErr_Occurred()) SWIG_fail
;
16247 Py_INCREF(Py_None
); resultobj
= Py_None
;
16254 static PyObject
*_wrap_PyDividedShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16255 PyObject
*resultobj
;
16256 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
16262 bool arg7
= (bool) True
;
16264 PyObject
* obj0
= 0 ;
16265 PyObject
* obj1
= 0 ;
16266 PyObject
* obj6
= 0 ;
16267 char *kwnames
[] = {
16268 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
16271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd|O:PyDividedShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
)) goto fail
;
16272 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16273 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16274 if (arg2
== NULL
) {
16275 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
16279 arg7
= (bool) SPyObj_AsBool(obj6
);
16280 if (PyErr_Occurred()) SWIG_fail
;
16284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16285 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
16287 wxPyEndAllowThreads(__tstate
);
16288 if (PyErr_Occurred()) SWIG_fail
;
16290 resultobj
= PyInt_FromLong((long)result
);
16297 static PyObject
*_wrap_PyDividedShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16298 PyObject
*resultobj
;
16299 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
16305 bool arg7
= (bool) True
;
16306 PyObject
* obj0
= 0 ;
16307 PyObject
* obj1
= 0 ;
16308 PyObject
* obj6
= 0 ;
16309 char *kwnames
[] = {
16310 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
16313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd|O:PyDividedShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
)) goto fail
;
16314 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16315 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16316 if (arg2
== NULL
) {
16317 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
16321 arg7
= (bool) SPyObj_AsBool(obj6
);
16322 if (PyErr_Occurred()) SWIG_fail
;
16326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16327 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
16329 wxPyEndAllowThreads(__tstate
);
16330 if (PyErr_Occurred()) SWIG_fail
;
16332 Py_INCREF(Py_None
); resultobj
= Py_None
;
16339 static PyObject
*_wrap_PyDividedShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16340 PyObject
*resultobj
;
16341 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
16345 int arg5
= (int) 0 ;
16346 int arg6
= (int) 0 ;
16347 PyObject
* obj0
= 0 ;
16348 PyObject
* obj1
= 0 ;
16349 char *kwnames
[] = {
16350 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyDividedShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
16354 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16356 arg2
= (bool) SPyObj_AsBool(obj1
);
16357 if (PyErr_Occurred()) SWIG_fail
;
16360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16361 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
16363 wxPyEndAllowThreads(__tstate
);
16364 if (PyErr_Occurred()) SWIG_fail
;
16366 Py_INCREF(Py_None
); resultobj
= Py_None
;
16373 static PyObject
*_wrap_PyDividedShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16374 PyObject
*resultobj
;
16375 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
16378 int arg4
= (int) 0 ;
16379 int arg5
= (int) 0 ;
16380 PyObject
* obj0
= 0 ;
16381 char *kwnames
[] = {
16382 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyDividedShape_base_OnBeginDragLeft",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
16386 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16389 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
16391 wxPyEndAllowThreads(__tstate
);
16392 if (PyErr_Occurred()) SWIG_fail
;
16394 Py_INCREF(Py_None
); resultobj
= Py_None
;
16401 static PyObject
*_wrap_PyDividedShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16402 PyObject
*resultobj
;
16403 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
16406 int arg4
= (int) 0 ;
16407 int arg5
= (int) 0 ;
16408 PyObject
* obj0
= 0 ;
16409 char *kwnames
[] = {
16410 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyDividedShape_base_OnEndDragLeft",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
16414 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16417 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
16419 wxPyEndAllowThreads(__tstate
);
16420 if (PyErr_Occurred()) SWIG_fail
;
16422 Py_INCREF(Py_None
); resultobj
= Py_None
;
16429 static PyObject
*_wrap_PyDividedShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16430 PyObject
*resultobj
;
16431 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
16435 int arg5
= (int) 0 ;
16436 int arg6
= (int) 0 ;
16437 PyObject
* obj0
= 0 ;
16438 PyObject
* obj1
= 0 ;
16439 char *kwnames
[] = {
16440 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyDividedShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
16444 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16446 arg2
= (bool) SPyObj_AsBool(obj1
);
16447 if (PyErr_Occurred()) SWIG_fail
;
16450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16451 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
16453 wxPyEndAllowThreads(__tstate
);
16454 if (PyErr_Occurred()) SWIG_fail
;
16456 Py_INCREF(Py_None
); resultobj
= Py_None
;
16463 static PyObject
*_wrap_PyDividedShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16464 PyObject
*resultobj
;
16465 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
16468 int arg4
= (int) 0 ;
16469 int arg5
= (int) 0 ;
16470 PyObject
* obj0
= 0 ;
16471 char *kwnames
[] = {
16472 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyDividedShape_base_OnBeginDragRight",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
16476 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16479 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
16481 wxPyEndAllowThreads(__tstate
);
16482 if (PyErr_Occurred()) SWIG_fail
;
16484 Py_INCREF(Py_None
); resultobj
= Py_None
;
16491 static PyObject
*_wrap_PyDividedShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16492 PyObject
*resultobj
;
16493 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
16496 int arg4
= (int) 0 ;
16497 int arg5
= (int) 0 ;
16498 PyObject
* obj0
= 0 ;
16499 char *kwnames
[] = {
16500 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyDividedShape_base_OnEndDragRight",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
16504 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16507 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
16509 wxPyEndAllowThreads(__tstate
);
16510 if (PyErr_Occurred()) SWIG_fail
;
16512 Py_INCREF(Py_None
); resultobj
= Py_None
;
16519 static PyObject
*_wrap_PyDividedShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16520 PyObject
*resultobj
;
16521 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
16527 PyObject
* obj0
= 0 ;
16528 PyObject
* obj1
= 0 ;
16529 char *kwnames
[] = {
16530 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
16533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd:PyDividedShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
16534 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16535 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16536 if (arg2
== NULL
) {
16537 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
16540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16541 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
16543 wxPyEndAllowThreads(__tstate
);
16544 if (PyErr_Occurred()) SWIG_fail
;
16546 Py_INCREF(Py_None
); resultobj
= Py_None
;
16553 static PyObject
*_wrap_PyDividedShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16554 PyObject
*resultobj
;
16555 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
16557 PyObject
* obj0
= 0 ;
16558 PyObject
* obj1
= 0 ;
16559 char *kwnames
[] = {
16560 (char *) "self",(char *) "dc", NULL
16563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDividedShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
16564 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16565 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16566 if (arg2
== NULL
) {
16567 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
16570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16571 (arg1
)->base_OnDrawControlPoints(*arg2
);
16573 wxPyEndAllowThreads(__tstate
);
16574 if (PyErr_Occurred()) SWIG_fail
;
16576 Py_INCREF(Py_None
); resultobj
= Py_None
;
16583 static PyObject
*_wrap_PyDividedShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16584 PyObject
*resultobj
;
16585 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
16587 PyObject
* obj0
= 0 ;
16588 PyObject
* obj1
= 0 ;
16589 char *kwnames
[] = {
16590 (char *) "self",(char *) "dc", NULL
16593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDividedShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
16594 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16595 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16596 if (arg2
== NULL
) {
16597 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
16600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16601 (arg1
)->base_OnEraseControlPoints(*arg2
);
16603 wxPyEndAllowThreads(__tstate
);
16604 if (PyErr_Occurred()) SWIG_fail
;
16606 Py_INCREF(Py_None
); resultobj
= Py_None
;
16613 static PyObject
*_wrap_PyDividedShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16614 PyObject
*resultobj
;
16615 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
16617 bool arg3
= (bool) True
;
16618 PyObject
* obj0
= 0 ;
16619 PyObject
* obj1
= 0 ;
16620 PyObject
* obj2
= 0 ;
16621 char *kwnames
[] = {
16622 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
16625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyDividedShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16626 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16627 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16628 if (arg2
== NULL
) {
16629 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
16633 arg3
= (bool) SPyObj_AsBool(obj2
);
16634 if (PyErr_Occurred()) SWIG_fail
;
16638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16639 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
16641 wxPyEndAllowThreads(__tstate
);
16642 if (PyErr_Occurred()) SWIG_fail
;
16644 Py_INCREF(Py_None
); resultobj
= Py_None
;
16651 static PyObject
*_wrap_PyDividedShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16652 PyObject
*resultobj
;
16653 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
16654 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
16658 int arg6
= (int) 0 ;
16659 int arg7
= (int) 0 ;
16660 PyObject
* obj0
= 0 ;
16661 PyObject
* obj1
= 0 ;
16662 PyObject
* obj2
= 0 ;
16663 char *kwnames
[] = {
16664 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOdd|ii:PyDividedShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
,&arg6
,&arg7
)) goto fail
;
16668 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16669 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16671 arg3
= (bool) SPyObj_AsBool(obj2
);
16672 if (PyErr_Occurred()) SWIG_fail
;
16675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16676 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
16678 wxPyEndAllowThreads(__tstate
);
16679 if (PyErr_Occurred()) SWIG_fail
;
16681 Py_INCREF(Py_None
); resultobj
= Py_None
;
16688 static PyObject
*_wrap_PyDividedShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16689 PyObject
*resultobj
;
16690 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
16691 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
16694 int arg5
= (int) 0 ;
16695 int arg6
= (int) 0 ;
16696 PyObject
* obj0
= 0 ;
16697 PyObject
* obj1
= 0 ;
16698 char *kwnames
[] = {
16699 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyDividedShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
16703 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16704 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16707 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
16709 wxPyEndAllowThreads(__tstate
);
16710 if (PyErr_Occurred()) SWIG_fail
;
16712 Py_INCREF(Py_None
); resultobj
= Py_None
;
16719 static PyObject
*_wrap_PyDividedShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16720 PyObject
*resultobj
;
16721 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
16722 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
16725 int arg5
= (int) 0 ;
16726 int arg6
= (int) 0 ;
16727 PyObject
* obj0
= 0 ;
16728 PyObject
* obj1
= 0 ;
16729 char *kwnames
[] = {
16730 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyDividedShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
16734 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16735 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16738 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
16740 wxPyEndAllowThreads(__tstate
);
16741 if (PyErr_Occurred()) SWIG_fail
;
16743 Py_INCREF(Py_None
); resultobj
= Py_None
;
16750 static PyObject
*_wrap_PyDividedShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16751 PyObject
*resultobj
;
16752 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
16755 PyObject
* obj0
= 0 ;
16756 char *kwnames
[] = {
16757 (char *) "self",(char *) "w",(char *) "h", NULL
16760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyDividedShape_base_OnBeginSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
16761 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16764 (arg1
)->base_OnBeginSize(arg2
,arg3
);
16766 wxPyEndAllowThreads(__tstate
);
16767 if (PyErr_Occurred()) SWIG_fail
;
16769 Py_INCREF(Py_None
); resultobj
= Py_None
;
16776 static PyObject
*_wrap_PyDividedShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16777 PyObject
*resultobj
;
16778 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
16781 PyObject
* obj0
= 0 ;
16782 char *kwnames
[] = {
16783 (char *) "self",(char *) "w",(char *) "h", NULL
16786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyDividedShape_base_OnEndSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
16787 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDividedShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16790 (arg1
)->base_OnEndSize(arg2
,arg3
);
16792 wxPyEndAllowThreads(__tstate
);
16793 if (PyErr_Occurred()) SWIG_fail
;
16795 Py_INCREF(Py_None
); resultobj
= Py_None
;
16802 static PyObject
* PyDividedShape_swigregister(PyObject
*self
, PyObject
*args
) {
16804 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16805 SWIG_TypeClientData(SWIGTYPE_p_wxPyDividedShape
, obj
);
16807 return Py_BuildValue((char *)"");
16809 static PyObject
*_wrap_new_PyDivisionShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16810 PyObject
*resultobj
;
16811 wxPyDivisionShape
*result
;
16812 char *kwnames
[] = {
16816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyDivisionShape",kwnames
)) goto fail
;
16818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16819 result
= (wxPyDivisionShape
*)new wxPyDivisionShape();
16821 wxPyEndAllowThreads(__tstate
);
16822 if (PyErr_Occurred()) SWIG_fail
;
16825 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
16833 static PyObject
*_wrap_PyDivisionShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16834 PyObject
*resultobj
;
16835 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
16836 PyObject
*arg2
= (PyObject
*) 0 ;
16837 PyObject
*arg3
= (PyObject
*) 0 ;
16838 PyObject
* obj0
= 0 ;
16839 PyObject
* obj1
= 0 ;
16840 PyObject
* obj2
= 0 ;
16841 char *kwnames
[] = {
16842 (char *) "self",(char *) "self",(char *) "_class", NULL
16845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDivisionShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16846 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16851 (arg1
)->_setCallbackInfo(arg2
,arg3
);
16853 wxPyEndAllowThreads(__tstate
);
16854 if (PyErr_Occurred()) SWIG_fail
;
16856 Py_INCREF(Py_None
); resultobj
= Py_None
;
16863 static PyObject
*_wrap_PyDivisionShape_AdjustBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16864 PyObject
*resultobj
;
16865 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
16868 PyObject
* obj0
= 0 ;
16869 PyObject
* obj2
= 0 ;
16870 char *kwnames
[] = {
16871 (char *) "self",(char *) "bottom",(char *) "test", NULL
16874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OdO:PyDivisionShape_AdjustBottom",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
16875 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16877 arg3
= (bool) SPyObj_AsBool(obj2
);
16878 if (PyErr_Occurred()) SWIG_fail
;
16881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16882 (arg1
)->AdjustBottom(arg2
,arg3
);
16884 wxPyEndAllowThreads(__tstate
);
16885 if (PyErr_Occurred()) SWIG_fail
;
16887 Py_INCREF(Py_None
); resultobj
= Py_None
;
16894 static PyObject
*_wrap_PyDivisionShape_AdjustLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16895 PyObject
*resultobj
;
16896 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
16899 PyObject
* obj0
= 0 ;
16900 PyObject
* obj2
= 0 ;
16901 char *kwnames
[] = {
16902 (char *) "self",(char *) "left",(char *) "test", NULL
16905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OdO:PyDivisionShape_AdjustLeft",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
16906 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16908 arg3
= (bool) SPyObj_AsBool(obj2
);
16909 if (PyErr_Occurred()) SWIG_fail
;
16912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16913 (arg1
)->AdjustLeft(arg2
,arg3
);
16915 wxPyEndAllowThreads(__tstate
);
16916 if (PyErr_Occurred()) SWIG_fail
;
16918 Py_INCREF(Py_None
); resultobj
= Py_None
;
16925 static PyObject
*_wrap_PyDivisionShape_AdjustRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16926 PyObject
*resultobj
;
16927 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
16930 PyObject
* obj0
= 0 ;
16931 PyObject
* obj2
= 0 ;
16932 char *kwnames
[] = {
16933 (char *) "self",(char *) "right",(char *) "test", NULL
16936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OdO:PyDivisionShape_AdjustRight",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
16937 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16939 arg3
= (bool) SPyObj_AsBool(obj2
);
16940 if (PyErr_Occurred()) SWIG_fail
;
16943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16944 (arg1
)->AdjustRight(arg2
,arg3
);
16946 wxPyEndAllowThreads(__tstate
);
16947 if (PyErr_Occurred()) SWIG_fail
;
16949 Py_INCREF(Py_None
); resultobj
= Py_None
;
16956 static PyObject
*_wrap_PyDivisionShape_AdjustTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16957 PyObject
*resultobj
;
16958 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
16961 PyObject
* obj0
= 0 ;
16962 PyObject
* obj2
= 0 ;
16963 char *kwnames
[] = {
16964 (char *) "self",(char *) "top",(char *) "test", NULL
16967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OdO:PyDivisionShape_AdjustTop",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
16968 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16970 arg3
= (bool) SPyObj_AsBool(obj2
);
16971 if (PyErr_Occurred()) SWIG_fail
;
16974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16975 (arg1
)->AdjustTop(arg2
,arg3
);
16977 wxPyEndAllowThreads(__tstate
);
16978 if (PyErr_Occurred()) SWIG_fail
;
16980 Py_INCREF(Py_None
); resultobj
= Py_None
;
16987 static PyObject
*_wrap_PyDivisionShape_Divide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16988 PyObject
*resultobj
;
16989 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
16991 PyObject
* obj0
= 0 ;
16992 char *kwnames
[] = {
16993 (char *) "self",(char *) "direction", NULL
16996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyDivisionShape_Divide",kwnames
,&obj0
,&arg2
)) goto fail
;
16997 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17000 (arg1
)->Divide(arg2
);
17002 wxPyEndAllowThreads(__tstate
);
17003 if (PyErr_Occurred()) SWIG_fail
;
17005 Py_INCREF(Py_None
); resultobj
= Py_None
;
17012 static PyObject
*_wrap_PyDivisionShape_EditEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17013 PyObject
*resultobj
;
17014 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
17016 PyObject
* obj0
= 0 ;
17017 char *kwnames
[] = {
17018 (char *) "self",(char *) "side", NULL
17021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyDivisionShape_EditEdge",kwnames
,&obj0
,&arg2
)) goto fail
;
17022 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17025 (arg1
)->EditEdge(arg2
);
17027 wxPyEndAllowThreads(__tstate
);
17028 if (PyErr_Occurred()) SWIG_fail
;
17030 Py_INCREF(Py_None
); resultobj
= Py_None
;
17037 static PyObject
*_wrap_PyDivisionShape_GetBottomSide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17038 PyObject
*resultobj
;
17039 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
17040 wxPyDivisionShape
*result
;
17041 PyObject
* obj0
= 0 ;
17042 char *kwnames
[] = {
17043 (char *) "self", NULL
17046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDivisionShape_GetBottomSide",kwnames
,&obj0
)) goto fail
;
17047 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17050 result
= (wxPyDivisionShape
*)(arg1
)->GetBottomSide();
17052 wxPyEndAllowThreads(__tstate
);
17053 if (PyErr_Occurred()) SWIG_fail
;
17056 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
17064 static PyObject
*_wrap_PyDivisionShape_GetHandleSide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17065 PyObject
*resultobj
;
17066 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
17068 PyObject
* obj0
= 0 ;
17069 char *kwnames
[] = {
17070 (char *) "self", NULL
17073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDivisionShape_GetHandleSide",kwnames
,&obj0
)) goto fail
;
17074 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17077 result
= (int)(arg1
)->GetHandleSide();
17079 wxPyEndAllowThreads(__tstate
);
17080 if (PyErr_Occurred()) SWIG_fail
;
17082 resultobj
= PyInt_FromLong((long)result
);
17089 static PyObject
*_wrap_PyDivisionShape_GetLeftSide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17090 PyObject
*resultobj
;
17091 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
17092 wxPyDivisionShape
*result
;
17093 PyObject
* obj0
= 0 ;
17094 char *kwnames
[] = {
17095 (char *) "self", NULL
17098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDivisionShape_GetLeftSide",kwnames
,&obj0
)) goto fail
;
17099 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17102 result
= (wxPyDivisionShape
*)(arg1
)->GetLeftSide();
17104 wxPyEndAllowThreads(__tstate
);
17105 if (PyErr_Occurred()) SWIG_fail
;
17108 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
17116 static PyObject
*_wrap_PyDivisionShape_GetLeftSideColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17117 PyObject
*resultobj
;
17118 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
17120 PyObject
* obj0
= 0 ;
17121 char *kwnames
[] = {
17122 (char *) "self", NULL
17125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDivisionShape_GetLeftSideColour",kwnames
,&obj0
)) goto fail
;
17126 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17129 result
= (arg1
)->GetLeftSideColour();
17131 wxPyEndAllowThreads(__tstate
);
17132 if (PyErr_Occurred()) SWIG_fail
;
17136 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17138 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17147 static PyObject
*_wrap_PyDivisionShape_GetLeftSidePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17148 PyObject
*resultobj
;
17149 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
17151 PyObject
* obj0
= 0 ;
17152 char *kwnames
[] = {
17153 (char *) "self", NULL
17156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDivisionShape_GetLeftSidePen",kwnames
,&obj0
)) goto fail
;
17157 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17160 result
= (wxPen
*)(arg1
)->GetLeftSidePen();
17162 wxPyEndAllowThreads(__tstate
);
17163 if (PyErr_Occurred()) SWIG_fail
;
17165 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPen
, 0);
17172 static PyObject
*_wrap_PyDivisionShape_GetRightSide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17173 PyObject
*resultobj
;
17174 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
17175 wxPyDivisionShape
*result
;
17176 PyObject
* obj0
= 0 ;
17177 char *kwnames
[] = {
17178 (char *) "self", NULL
17181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDivisionShape_GetRightSide",kwnames
,&obj0
)) goto fail
;
17182 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17185 result
= (wxPyDivisionShape
*)(arg1
)->GetRightSide();
17187 wxPyEndAllowThreads(__tstate
);
17188 if (PyErr_Occurred()) SWIG_fail
;
17191 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
17199 static PyObject
*_wrap_PyDivisionShape_GetTopSide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17200 PyObject
*resultobj
;
17201 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
17202 wxPyDivisionShape
*result
;
17203 PyObject
* obj0
= 0 ;
17204 char *kwnames
[] = {
17205 (char *) "self", NULL
17208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDivisionShape_GetTopSide",kwnames
,&obj0
)) goto fail
;
17209 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17212 result
= (wxPyDivisionShape
*)(arg1
)->GetTopSide();
17214 wxPyEndAllowThreads(__tstate
);
17215 if (PyErr_Occurred()) SWIG_fail
;
17218 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
17226 static PyObject
*_wrap_PyDivisionShape_GetTopSidePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17227 PyObject
*resultobj
;
17228 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
17230 PyObject
* obj0
= 0 ;
17231 char *kwnames
[] = {
17232 (char *) "self", NULL
17235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDivisionShape_GetTopSidePen",kwnames
,&obj0
)) goto fail
;
17236 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17239 result
= (wxPen
*)(arg1
)->GetTopSidePen();
17241 wxPyEndAllowThreads(__tstate
);
17242 if (PyErr_Occurred()) SWIG_fail
;
17244 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPen
, 0);
17251 static PyObject
*_wrap_PyDivisionShape_ResizeAdjoining(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17252 PyObject
*resultobj
;
17253 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
17257 PyObject
* obj0
= 0 ;
17258 PyObject
* obj3
= 0 ;
17259 char *kwnames
[] = {
17260 (char *) "self",(char *) "side",(char *) "newPos",(char *) "test", NULL
17263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OidO:PyDivisionShape_ResizeAdjoining",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
17264 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17266 arg4
= (bool) SPyObj_AsBool(obj3
);
17267 if (PyErr_Occurred()) SWIG_fail
;
17270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17271 (arg1
)->ResizeAdjoining(arg2
,arg3
,arg4
);
17273 wxPyEndAllowThreads(__tstate
);
17274 if (PyErr_Occurred()) SWIG_fail
;
17276 Py_INCREF(Py_None
); resultobj
= Py_None
;
17283 static PyObject
*_wrap_PyDivisionShape_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17284 PyObject
*resultobj
;
17285 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
17288 PyObject
* obj0
= 0 ;
17289 char *kwnames
[] = {
17290 (char *) "self",(char *) "x",(char *) "y", NULL
17293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyDivisionShape_PopupMenu",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
17294 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17297 (arg1
)->PopupMenu(arg2
,arg3
);
17299 wxPyEndAllowThreads(__tstate
);
17300 if (PyErr_Occurred()) SWIG_fail
;
17302 Py_INCREF(Py_None
); resultobj
= Py_None
;
17309 static PyObject
*_wrap_PyDivisionShape_SetBottomSide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17310 PyObject
*resultobj
;
17311 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
17312 wxPyDivisionShape
*arg2
= (wxPyDivisionShape
*) 0 ;
17313 PyObject
* obj0
= 0 ;
17314 PyObject
* obj1
= 0 ;
17315 char *kwnames
[] = {
17316 (char *) "self",(char *) "shape", NULL
17319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_SetBottomSide",kwnames
,&obj0
,&obj1
)) goto fail
;
17320 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17321 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17324 (arg1
)->SetBottomSide(arg2
);
17326 wxPyEndAllowThreads(__tstate
);
17327 if (PyErr_Occurred()) SWIG_fail
;
17329 Py_INCREF(Py_None
); resultobj
= Py_None
;
17336 static PyObject
*_wrap_PyDivisionShape_SetHandleSide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17337 PyObject
*resultobj
;
17338 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
17340 PyObject
* obj0
= 0 ;
17341 char *kwnames
[] = {
17342 (char *) "self",(char *) "side", NULL
17345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyDivisionShape_SetHandleSide",kwnames
,&obj0
,&arg2
)) goto fail
;
17346 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17349 (arg1
)->SetHandleSide(arg2
);
17351 wxPyEndAllowThreads(__tstate
);
17352 if (PyErr_Occurred()) SWIG_fail
;
17354 Py_INCREF(Py_None
); resultobj
= Py_None
;
17361 static PyObject
*_wrap_PyDivisionShape_SetLeftSide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17362 PyObject
*resultobj
;
17363 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
17364 wxPyDivisionShape
*arg2
= (wxPyDivisionShape
*) 0 ;
17365 PyObject
* obj0
= 0 ;
17366 PyObject
* obj1
= 0 ;
17367 char *kwnames
[] = {
17368 (char *) "self",(char *) "shape", NULL
17371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_SetLeftSide",kwnames
,&obj0
,&obj1
)) goto fail
;
17372 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17373 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17376 (arg1
)->SetLeftSide(arg2
);
17378 wxPyEndAllowThreads(__tstate
);
17379 if (PyErr_Occurred()) SWIG_fail
;
17381 Py_INCREF(Py_None
); resultobj
= Py_None
;
17388 static PyObject
*_wrap_PyDivisionShape_SetLeftSideColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17389 PyObject
*resultobj
;
17390 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
17391 wxString
*arg2
= 0 ;
17392 bool temp2
= False
;
17393 PyObject
* obj0
= 0 ;
17394 PyObject
* obj1
= 0 ;
17395 char *kwnames
[] = {
17396 (char *) "self",(char *) "colour", NULL
17399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_SetLeftSideColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17400 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17402 arg2
= wxString_in_helper(obj1
);
17403 if (arg2
== NULL
) SWIG_fail
;
17407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17408 (arg1
)->SetLeftSideColour((wxString
const &)*arg2
);
17410 wxPyEndAllowThreads(__tstate
);
17411 if (PyErr_Occurred()) SWIG_fail
;
17413 Py_INCREF(Py_None
); resultobj
= Py_None
;
17428 static PyObject
*_wrap_PyDivisionShape_SetLeftSidePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17429 PyObject
*resultobj
;
17430 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
17431 wxPen
*arg2
= (wxPen
*) 0 ;
17432 PyObject
* obj0
= 0 ;
17433 PyObject
* obj1
= 0 ;
17434 char *kwnames
[] = {
17435 (char *) "self",(char *) "pen", NULL
17438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_SetLeftSidePen",kwnames
,&obj0
,&obj1
)) goto fail
;
17439 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17443 if (obj1
== Py_None
) {
17446 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxPen"))) {
17447 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxPen.");
17452 arg2
= wxThePenList
->FindOrCreatePen(temp
->GetColour(),
17459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17460 (arg1
)->SetLeftSidePen(arg2
);
17462 wxPyEndAllowThreads(__tstate
);
17463 if (PyErr_Occurred()) SWIG_fail
;
17465 Py_INCREF(Py_None
); resultobj
= Py_None
;
17472 static PyObject
*_wrap_PyDivisionShape_SetRightSide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17473 PyObject
*resultobj
;
17474 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
17475 wxPyDivisionShape
*arg2
= (wxPyDivisionShape
*) 0 ;
17476 PyObject
* obj0
= 0 ;
17477 PyObject
* obj1
= 0 ;
17478 char *kwnames
[] = {
17479 (char *) "self",(char *) "shape", NULL
17482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_SetRightSide",kwnames
,&obj0
,&obj1
)) goto fail
;
17483 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17484 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17487 (arg1
)->SetRightSide(arg2
);
17489 wxPyEndAllowThreads(__tstate
);
17490 if (PyErr_Occurred()) SWIG_fail
;
17492 Py_INCREF(Py_None
); resultobj
= Py_None
;
17499 static PyObject
*_wrap_PyDivisionShape_SetTopSide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17500 PyObject
*resultobj
;
17501 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
17502 wxPyDivisionShape
*arg2
= (wxPyDivisionShape
*) 0 ;
17503 PyObject
* obj0
= 0 ;
17504 PyObject
* obj1
= 0 ;
17505 char *kwnames
[] = {
17506 (char *) "self",(char *) "shape", NULL
17509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_SetTopSide",kwnames
,&obj0
,&obj1
)) goto fail
;
17510 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17511 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17514 (arg1
)->SetTopSide(arg2
);
17516 wxPyEndAllowThreads(__tstate
);
17517 if (PyErr_Occurred()) SWIG_fail
;
17519 Py_INCREF(Py_None
); resultobj
= Py_None
;
17526 static PyObject
*_wrap_PyDivisionShape_SetTopSideColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17527 PyObject
*resultobj
;
17528 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
17529 wxString
*arg2
= 0 ;
17530 bool temp2
= False
;
17531 PyObject
* obj0
= 0 ;
17532 PyObject
* obj1
= 0 ;
17533 char *kwnames
[] = {
17534 (char *) "self",(char *) "colour", NULL
17537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_SetTopSideColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17538 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17540 arg2
= wxString_in_helper(obj1
);
17541 if (arg2
== NULL
) SWIG_fail
;
17545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17546 (arg1
)->SetTopSideColour((wxString
const &)*arg2
);
17548 wxPyEndAllowThreads(__tstate
);
17549 if (PyErr_Occurred()) SWIG_fail
;
17551 Py_INCREF(Py_None
); resultobj
= Py_None
;
17566 static PyObject
*_wrap_PyDivisionShape_SetTopSidePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17567 PyObject
*resultobj
;
17568 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
17569 wxPen
*arg2
= (wxPen
*) 0 ;
17570 PyObject
* obj0
= 0 ;
17571 PyObject
* obj1
= 0 ;
17572 char *kwnames
[] = {
17573 (char *) "self",(char *) "pen", NULL
17576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_SetTopSidePen",kwnames
,&obj0
,&obj1
)) goto fail
;
17577 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17581 if (obj1
== Py_None
) {
17584 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxPen"))) {
17585 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxPen.");
17590 arg2
= wxThePenList
->FindOrCreatePen(temp
->GetColour(),
17597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17598 (arg1
)->SetTopSidePen(arg2
);
17600 wxPyEndAllowThreads(__tstate
);
17601 if (PyErr_Occurred()) SWIG_fail
;
17603 Py_INCREF(Py_None
); resultobj
= Py_None
;
17610 static PyObject
*_wrap_PyDivisionShape_base_OnDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17611 PyObject
*resultobj
;
17612 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
17613 PyObject
* obj0
= 0 ;
17614 char *kwnames
[] = {
17615 (char *) "self", NULL
17618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDivisionShape_base_OnDelete",kwnames
,&obj0
)) goto fail
;
17619 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17622 (arg1
)->base_OnDelete();
17624 wxPyEndAllowThreads(__tstate
);
17625 if (PyErr_Occurred()) SWIG_fail
;
17627 Py_INCREF(Py_None
); resultobj
= Py_None
;
17634 static PyObject
*_wrap_PyDivisionShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17635 PyObject
*resultobj
;
17636 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
17638 PyObject
* obj0
= 0 ;
17639 PyObject
* obj1
= 0 ;
17640 char *kwnames
[] = {
17641 (char *) "self",(char *) "dc", NULL
17644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
17645 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17646 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17647 if (arg2
== NULL
) {
17648 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17652 (arg1
)->base_OnDraw(*arg2
);
17654 wxPyEndAllowThreads(__tstate
);
17655 if (PyErr_Occurred()) SWIG_fail
;
17657 Py_INCREF(Py_None
); resultobj
= Py_None
;
17664 static PyObject
*_wrap_PyDivisionShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17665 PyObject
*resultobj
;
17666 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
17668 PyObject
* obj0
= 0 ;
17669 PyObject
* obj1
= 0 ;
17670 char *kwnames
[] = {
17671 (char *) "self",(char *) "dc", NULL
17674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
17675 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17676 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17677 if (arg2
== NULL
) {
17678 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17682 (arg1
)->base_OnDrawContents(*arg2
);
17684 wxPyEndAllowThreads(__tstate
);
17685 if (PyErr_Occurred()) SWIG_fail
;
17687 Py_INCREF(Py_None
); resultobj
= Py_None
;
17694 static PyObject
*_wrap_PyDivisionShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17695 PyObject
*resultobj
;
17696 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
17698 bool arg3
= (bool) FALSE
;
17699 PyObject
* obj0
= 0 ;
17700 PyObject
* obj1
= 0 ;
17701 PyObject
* obj2
= 0 ;
17702 char *kwnames
[] = {
17703 (char *) "self",(char *) "dc",(char *) "erase", NULL
17706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyDivisionShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17707 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17708 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17709 if (arg2
== NULL
) {
17710 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17714 arg3
= (bool) SPyObj_AsBool(obj2
);
17715 if (PyErr_Occurred()) SWIG_fail
;
17719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17720 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
17722 wxPyEndAllowThreads(__tstate
);
17723 if (PyErr_Occurred()) SWIG_fail
;
17725 Py_INCREF(Py_None
); resultobj
= Py_None
;
17732 static PyObject
*_wrap_PyDivisionShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17733 PyObject
*resultobj
;
17734 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
17736 PyObject
* obj0
= 0 ;
17737 PyObject
* obj1
= 0 ;
17738 char *kwnames
[] = {
17739 (char *) "self",(char *) "dc", NULL
17742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
17743 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17744 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17745 if (arg2
== NULL
) {
17746 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17750 (arg1
)->base_OnMoveLinks(*arg2
);
17752 wxPyEndAllowThreads(__tstate
);
17753 if (PyErr_Occurred()) SWIG_fail
;
17755 Py_INCREF(Py_None
); resultobj
= Py_None
;
17762 static PyObject
*_wrap_PyDivisionShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17763 PyObject
*resultobj
;
17764 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
17766 PyObject
* obj0
= 0 ;
17767 PyObject
* obj1
= 0 ;
17768 char *kwnames
[] = {
17769 (char *) "self",(char *) "dc", NULL
17772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
17773 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17774 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17775 if (arg2
== NULL
) {
17776 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17780 (arg1
)->base_OnErase(*arg2
);
17782 wxPyEndAllowThreads(__tstate
);
17783 if (PyErr_Occurred()) SWIG_fail
;
17785 Py_INCREF(Py_None
); resultobj
= Py_None
;
17792 static PyObject
*_wrap_PyDivisionShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17793 PyObject
*resultobj
;
17794 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
17796 PyObject
* obj0
= 0 ;
17797 PyObject
* obj1
= 0 ;
17798 char *kwnames
[] = {
17799 (char *) "self",(char *) "dc", NULL
17802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
17803 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17804 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17805 if (arg2
== NULL
) {
17806 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17810 (arg1
)->base_OnEraseContents(*arg2
);
17812 wxPyEndAllowThreads(__tstate
);
17813 if (PyErr_Occurred()) SWIG_fail
;
17815 Py_INCREF(Py_None
); resultobj
= Py_None
;
17822 static PyObject
*_wrap_PyDivisionShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17823 PyObject
*resultobj
;
17824 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
17826 PyObject
* obj0
= 0 ;
17827 PyObject
* obj1
= 0 ;
17828 char *kwnames
[] = {
17829 (char *) "self",(char *) "dc", NULL
17832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
17833 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17834 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17835 if (arg2
== NULL
) {
17836 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17840 (arg1
)->base_OnHighlight(*arg2
);
17842 wxPyEndAllowThreads(__tstate
);
17843 if (PyErr_Occurred()) SWIG_fail
;
17845 Py_INCREF(Py_None
); resultobj
= Py_None
;
17852 static PyObject
*_wrap_PyDivisionShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17853 PyObject
*resultobj
;
17854 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
17857 int arg4
= (int) 0 ;
17858 int arg5
= (int) 0 ;
17859 PyObject
* obj0
= 0 ;
17860 char *kwnames
[] = {
17861 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
17864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyDivisionShape_base_OnLeftClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
17865 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17868 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
17870 wxPyEndAllowThreads(__tstate
);
17871 if (PyErr_Occurred()) SWIG_fail
;
17873 Py_INCREF(Py_None
); resultobj
= Py_None
;
17880 static PyObject
*_wrap_PyDivisionShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17881 PyObject
*resultobj
;
17882 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
17885 int arg4
= (int) 0 ;
17886 int arg5
= (int) 0 ;
17887 PyObject
* obj0
= 0 ;
17888 char *kwnames
[] = {
17889 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
17892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyDivisionShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
17893 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17896 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
17898 wxPyEndAllowThreads(__tstate
);
17899 if (PyErr_Occurred()) SWIG_fail
;
17901 Py_INCREF(Py_None
); resultobj
= Py_None
;
17908 static PyObject
*_wrap_PyDivisionShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17909 PyObject
*resultobj
;
17910 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
17913 int arg4
= (int) 0 ;
17914 int arg5
= (int) 0 ;
17915 PyObject
* obj0
= 0 ;
17916 char *kwnames
[] = {
17917 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
17920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyDivisionShape_base_OnRightClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
17921 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17924 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
17926 wxPyEndAllowThreads(__tstate
);
17927 if (PyErr_Occurred()) SWIG_fail
;
17929 Py_INCREF(Py_None
); resultobj
= Py_None
;
17936 static PyObject
*_wrap_PyDivisionShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17937 PyObject
*resultobj
;
17938 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
17941 PyObject
* obj0
= 0 ;
17942 char *kwnames
[] = {
17943 (char *) "self",(char *) "x",(char *) "y", NULL
17946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyDivisionShape_base_OnSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
17947 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17950 (arg1
)->base_OnSize(arg2
,arg3
);
17952 wxPyEndAllowThreads(__tstate
);
17953 if (PyErr_Occurred()) SWIG_fail
;
17955 Py_INCREF(Py_None
); resultobj
= Py_None
;
17962 static PyObject
*_wrap_PyDivisionShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17963 PyObject
*resultobj
;
17964 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
17970 bool arg7
= (bool) True
;
17972 PyObject
* obj0
= 0 ;
17973 PyObject
* obj1
= 0 ;
17974 PyObject
* obj6
= 0 ;
17975 char *kwnames
[] = {
17976 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
17979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd|O:PyDivisionShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
)) goto fail
;
17980 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17981 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17982 if (arg2
== NULL
) {
17983 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17987 arg7
= (bool) SPyObj_AsBool(obj6
);
17988 if (PyErr_Occurred()) SWIG_fail
;
17992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17993 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
17995 wxPyEndAllowThreads(__tstate
);
17996 if (PyErr_Occurred()) SWIG_fail
;
17998 resultobj
= PyInt_FromLong((long)result
);
18005 static PyObject
*_wrap_PyDivisionShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18006 PyObject
*resultobj
;
18007 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
18013 bool arg7
= (bool) True
;
18014 PyObject
* obj0
= 0 ;
18015 PyObject
* obj1
= 0 ;
18016 PyObject
* obj6
= 0 ;
18017 char *kwnames
[] = {
18018 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
18021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd|O:PyDivisionShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
)) goto fail
;
18022 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18023 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18024 if (arg2
== NULL
) {
18025 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18029 arg7
= (bool) SPyObj_AsBool(obj6
);
18030 if (PyErr_Occurred()) SWIG_fail
;
18034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18035 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18037 wxPyEndAllowThreads(__tstate
);
18038 if (PyErr_Occurred()) SWIG_fail
;
18040 Py_INCREF(Py_None
); resultobj
= Py_None
;
18047 static PyObject
*_wrap_PyDivisionShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18048 PyObject
*resultobj
;
18049 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
18053 int arg5
= (int) 0 ;
18054 int arg6
= (int) 0 ;
18055 PyObject
* obj0
= 0 ;
18056 PyObject
* obj1
= 0 ;
18057 char *kwnames
[] = {
18058 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyDivisionShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
18062 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18064 arg2
= (bool) SPyObj_AsBool(obj1
);
18065 if (PyErr_Occurred()) SWIG_fail
;
18068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18069 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
18071 wxPyEndAllowThreads(__tstate
);
18072 if (PyErr_Occurred()) SWIG_fail
;
18074 Py_INCREF(Py_None
); resultobj
= Py_None
;
18081 static PyObject
*_wrap_PyDivisionShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18082 PyObject
*resultobj
;
18083 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
18086 int arg4
= (int) 0 ;
18087 int arg5
= (int) 0 ;
18088 PyObject
* obj0
= 0 ;
18089 char *kwnames
[] = {
18090 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyDivisionShape_base_OnBeginDragLeft",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
18094 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18097 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
18099 wxPyEndAllowThreads(__tstate
);
18100 if (PyErr_Occurred()) SWIG_fail
;
18102 Py_INCREF(Py_None
); resultobj
= Py_None
;
18109 static PyObject
*_wrap_PyDivisionShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18110 PyObject
*resultobj
;
18111 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
18114 int arg4
= (int) 0 ;
18115 int arg5
= (int) 0 ;
18116 PyObject
* obj0
= 0 ;
18117 char *kwnames
[] = {
18118 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyDivisionShape_base_OnEndDragLeft",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
18122 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18125 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
18127 wxPyEndAllowThreads(__tstate
);
18128 if (PyErr_Occurred()) SWIG_fail
;
18130 Py_INCREF(Py_None
); resultobj
= Py_None
;
18137 static PyObject
*_wrap_PyDivisionShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18138 PyObject
*resultobj
;
18139 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
18143 int arg5
= (int) 0 ;
18144 int arg6
= (int) 0 ;
18145 PyObject
* obj0
= 0 ;
18146 PyObject
* obj1
= 0 ;
18147 char *kwnames
[] = {
18148 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyDivisionShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
18152 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18154 arg2
= (bool) SPyObj_AsBool(obj1
);
18155 if (PyErr_Occurred()) SWIG_fail
;
18158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18159 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
18161 wxPyEndAllowThreads(__tstate
);
18162 if (PyErr_Occurred()) SWIG_fail
;
18164 Py_INCREF(Py_None
); resultobj
= Py_None
;
18171 static PyObject
*_wrap_PyDivisionShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18172 PyObject
*resultobj
;
18173 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 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:PyDivisionShape_base_OnBeginDragRight",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
18184 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18187 (arg1
)->base_OnBeginDragRight(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_PyDivisionShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18200 PyObject
*resultobj
;
18201 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 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:PyDivisionShape_base_OnEndDragRight",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
18212 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18215 (arg1
)->base_OnEndDragRight(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_PyDivisionShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18228 PyObject
*resultobj
;
18229 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
18235 PyObject
* obj0
= 0 ;
18236 PyObject
* obj1
= 0 ;
18237 char *kwnames
[] = {
18238 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
18241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd:PyDivisionShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
18242 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18243 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18244 if (arg2
== NULL
) {
18245 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18249 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
18251 wxPyEndAllowThreads(__tstate
);
18252 if (PyErr_Occurred()) SWIG_fail
;
18254 Py_INCREF(Py_None
); resultobj
= Py_None
;
18261 static PyObject
*_wrap_PyDivisionShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18262 PyObject
*resultobj
;
18263 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
18265 PyObject
* obj0
= 0 ;
18266 PyObject
* obj1
= 0 ;
18267 char *kwnames
[] = {
18268 (char *) "self",(char *) "dc", NULL
18271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
18272 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18273 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18274 if (arg2
== NULL
) {
18275 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18279 (arg1
)->base_OnDrawControlPoints(*arg2
);
18281 wxPyEndAllowThreads(__tstate
);
18282 if (PyErr_Occurred()) SWIG_fail
;
18284 Py_INCREF(Py_None
); resultobj
= Py_None
;
18291 static PyObject
*_wrap_PyDivisionShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18292 PyObject
*resultobj
;
18293 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
18295 PyObject
* obj0
= 0 ;
18296 PyObject
* obj1
= 0 ;
18297 char *kwnames
[] = {
18298 (char *) "self",(char *) "dc", NULL
18301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
18302 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18303 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18304 if (arg2
== NULL
) {
18305 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18309 (arg1
)->base_OnEraseControlPoints(*arg2
);
18311 wxPyEndAllowThreads(__tstate
);
18312 if (PyErr_Occurred()) SWIG_fail
;
18314 Py_INCREF(Py_None
); resultobj
= Py_None
;
18321 static PyObject
*_wrap_PyDivisionShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18322 PyObject
*resultobj
;
18323 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
18325 bool arg3
= (bool) True
;
18326 PyObject
* obj0
= 0 ;
18327 PyObject
* obj1
= 0 ;
18328 PyObject
* obj2
= 0 ;
18329 char *kwnames
[] = {
18330 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
18333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyDivisionShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18334 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18335 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18336 if (arg2
== NULL
) {
18337 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18341 arg3
= (bool) SPyObj_AsBool(obj2
);
18342 if (PyErr_Occurred()) SWIG_fail
;
18346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18347 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
18349 wxPyEndAllowThreads(__tstate
);
18350 if (PyErr_Occurred()) SWIG_fail
;
18352 Py_INCREF(Py_None
); resultobj
= Py_None
;
18359 static PyObject
*_wrap_PyDivisionShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18360 PyObject
*resultobj
;
18361 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
18362 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
18366 int arg6
= (int) 0 ;
18367 int arg7
= (int) 0 ;
18368 PyObject
* obj0
= 0 ;
18369 PyObject
* obj1
= 0 ;
18370 PyObject
* obj2
= 0 ;
18371 char *kwnames
[] = {
18372 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOdd|ii:PyDivisionShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
,&arg6
,&arg7
)) goto fail
;
18376 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18377 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18379 arg3
= (bool) SPyObj_AsBool(obj2
);
18380 if (PyErr_Occurred()) SWIG_fail
;
18383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18384 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18386 wxPyEndAllowThreads(__tstate
);
18387 if (PyErr_Occurred()) SWIG_fail
;
18389 Py_INCREF(Py_None
); resultobj
= Py_None
;
18396 static PyObject
*_wrap_PyDivisionShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18397 PyObject
*resultobj
;
18398 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
18399 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
18402 int arg5
= (int) 0 ;
18403 int arg6
= (int) 0 ;
18404 PyObject
* obj0
= 0 ;
18405 PyObject
* obj1
= 0 ;
18406 char *kwnames
[] = {
18407 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyDivisionShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
18411 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18412 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18415 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
18417 wxPyEndAllowThreads(__tstate
);
18418 if (PyErr_Occurred()) SWIG_fail
;
18420 Py_INCREF(Py_None
); resultobj
= Py_None
;
18427 static PyObject
*_wrap_PyDivisionShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18428 PyObject
*resultobj
;
18429 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
18430 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
18433 int arg5
= (int) 0 ;
18434 int arg6
= (int) 0 ;
18435 PyObject
* obj0
= 0 ;
18436 PyObject
* obj1
= 0 ;
18437 char *kwnames
[] = {
18438 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyDivisionShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
18442 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18443 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18446 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
18448 wxPyEndAllowThreads(__tstate
);
18449 if (PyErr_Occurred()) SWIG_fail
;
18451 Py_INCREF(Py_None
); resultobj
= Py_None
;
18458 static PyObject
*_wrap_PyDivisionShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18459 PyObject
*resultobj
;
18460 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
18463 PyObject
* obj0
= 0 ;
18464 char *kwnames
[] = {
18465 (char *) "self",(char *) "w",(char *) "h", NULL
18468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyDivisionShape_base_OnBeginSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
18469 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18472 (arg1
)->base_OnBeginSize(arg2
,arg3
);
18474 wxPyEndAllowThreads(__tstate
);
18475 if (PyErr_Occurred()) SWIG_fail
;
18477 Py_INCREF(Py_None
); resultobj
= Py_None
;
18484 static PyObject
*_wrap_PyDivisionShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18485 PyObject
*resultobj
;
18486 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
18489 PyObject
* obj0
= 0 ;
18490 char *kwnames
[] = {
18491 (char *) "self",(char *) "w",(char *) "h", NULL
18494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyDivisionShape_base_OnEndSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
18495 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDivisionShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18498 (arg1
)->base_OnEndSize(arg2
,arg3
);
18500 wxPyEndAllowThreads(__tstate
);
18501 if (PyErr_Occurred()) SWIG_fail
;
18503 Py_INCREF(Py_None
); resultobj
= Py_None
;
18510 static PyObject
* PyDivisionShape_swigregister(PyObject
*self
, PyObject
*args
) {
18512 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18513 SWIG_TypeClientData(SWIGTYPE_p_wxPyDivisionShape
, obj
);
18515 return Py_BuildValue((char *)"");
18517 static PyObject
*_wrap_new_PyEllipseShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18518 PyObject
*resultobj
;
18519 double arg1
= (double) 0.0 ;
18520 double arg2
= (double) 0.0 ;
18521 wxPyEllipseShape
*result
;
18522 char *kwnames
[] = {
18523 (char *) "width",(char *) "height", NULL
18526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|dd:new_PyEllipseShape",kwnames
,&arg1
,&arg2
)) goto fail
;
18528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18529 result
= (wxPyEllipseShape
*)new wxPyEllipseShape(arg1
,arg2
);
18531 wxPyEndAllowThreads(__tstate
);
18532 if (PyErr_Occurred()) SWIG_fail
;
18534 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyEllipseShape
, 1);
18541 static PyObject
*_wrap_PyEllipseShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18542 PyObject
*resultobj
;
18543 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
18544 PyObject
*arg2
= (PyObject
*) 0 ;
18545 PyObject
*arg3
= (PyObject
*) 0 ;
18546 PyObject
* obj0
= 0 ;
18547 PyObject
* obj1
= 0 ;
18548 PyObject
* obj2
= 0 ;
18549 char *kwnames
[] = {
18550 (char *) "self",(char *) "self",(char *) "_class", NULL
18553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyEllipseShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18554 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18559 (arg1
)->_setCallbackInfo(arg2
,arg3
);
18561 wxPyEndAllowThreads(__tstate
);
18562 if (PyErr_Occurred()) SWIG_fail
;
18564 Py_INCREF(Py_None
); resultobj
= Py_None
;
18571 static PyObject
*_wrap_PyEllipseShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18572 PyObject
*resultobj
;
18573 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
18575 PyObject
* obj0
= 0 ;
18576 PyObject
* obj1
= 0 ;
18577 char *kwnames
[] = {
18578 (char *) "self",(char *) "dc", NULL
18581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEllipseShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
18582 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18583 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18584 if (arg2
== NULL
) {
18585 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18589 (arg1
)->base_OnDraw(*arg2
);
18591 wxPyEndAllowThreads(__tstate
);
18592 if (PyErr_Occurred()) SWIG_fail
;
18594 Py_INCREF(Py_None
); resultobj
= Py_None
;
18601 static PyObject
*_wrap_PyEllipseShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18602 PyObject
*resultobj
;
18603 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
18605 PyObject
* obj0
= 0 ;
18606 PyObject
* obj1
= 0 ;
18607 char *kwnames
[] = {
18608 (char *) "self",(char *) "dc", NULL
18611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEllipseShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
18612 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18613 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18614 if (arg2
== NULL
) {
18615 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18619 (arg1
)->base_OnDrawContents(*arg2
);
18621 wxPyEndAllowThreads(__tstate
);
18622 if (PyErr_Occurred()) SWIG_fail
;
18624 Py_INCREF(Py_None
); resultobj
= Py_None
;
18631 static PyObject
*_wrap_PyEllipseShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18632 PyObject
*resultobj
;
18633 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
18635 bool arg3
= (bool) FALSE
;
18636 PyObject
* obj0
= 0 ;
18637 PyObject
* obj1
= 0 ;
18638 PyObject
* obj2
= 0 ;
18639 char *kwnames
[] = {
18640 (char *) "self",(char *) "dc",(char *) "erase", NULL
18643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyEllipseShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18644 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18645 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18646 if (arg2
== NULL
) {
18647 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18651 arg3
= (bool) SPyObj_AsBool(obj2
);
18652 if (PyErr_Occurred()) SWIG_fail
;
18656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18657 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
18659 wxPyEndAllowThreads(__tstate
);
18660 if (PyErr_Occurred()) SWIG_fail
;
18662 Py_INCREF(Py_None
); resultobj
= Py_None
;
18669 static PyObject
*_wrap_PyEllipseShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18670 PyObject
*resultobj
;
18671 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
18673 PyObject
* obj0
= 0 ;
18674 PyObject
* obj1
= 0 ;
18675 char *kwnames
[] = {
18676 (char *) "self",(char *) "dc", NULL
18679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEllipseShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
18680 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18681 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18682 if (arg2
== NULL
) {
18683 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18687 (arg1
)->base_OnMoveLinks(*arg2
);
18689 wxPyEndAllowThreads(__tstate
);
18690 if (PyErr_Occurred()) SWIG_fail
;
18692 Py_INCREF(Py_None
); resultobj
= Py_None
;
18699 static PyObject
*_wrap_PyEllipseShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18700 PyObject
*resultobj
;
18701 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
18703 PyObject
* obj0
= 0 ;
18704 PyObject
* obj1
= 0 ;
18705 char *kwnames
[] = {
18706 (char *) "self",(char *) "dc", NULL
18709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEllipseShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
18710 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18711 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18712 if (arg2
== NULL
) {
18713 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18717 (arg1
)->base_OnErase(*arg2
);
18719 wxPyEndAllowThreads(__tstate
);
18720 if (PyErr_Occurred()) SWIG_fail
;
18722 Py_INCREF(Py_None
); resultobj
= Py_None
;
18729 static PyObject
*_wrap_PyEllipseShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18730 PyObject
*resultobj
;
18731 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
18733 PyObject
* obj0
= 0 ;
18734 PyObject
* obj1
= 0 ;
18735 char *kwnames
[] = {
18736 (char *) "self",(char *) "dc", NULL
18739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEllipseShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
18740 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18741 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18742 if (arg2
== NULL
) {
18743 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18747 (arg1
)->base_OnEraseContents(*arg2
);
18749 wxPyEndAllowThreads(__tstate
);
18750 if (PyErr_Occurred()) SWIG_fail
;
18752 Py_INCREF(Py_None
); resultobj
= Py_None
;
18759 static PyObject
*_wrap_PyEllipseShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18760 PyObject
*resultobj
;
18761 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
18763 PyObject
* obj0
= 0 ;
18764 PyObject
* obj1
= 0 ;
18765 char *kwnames
[] = {
18766 (char *) "self",(char *) "dc", NULL
18769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEllipseShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
18770 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18771 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18772 if (arg2
== NULL
) {
18773 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18777 (arg1
)->base_OnHighlight(*arg2
);
18779 wxPyEndAllowThreads(__tstate
);
18780 if (PyErr_Occurred()) SWIG_fail
;
18782 Py_INCREF(Py_None
); resultobj
= Py_None
;
18789 static PyObject
*_wrap_PyEllipseShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18790 PyObject
*resultobj
;
18791 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
18794 int arg4
= (int) 0 ;
18795 int arg5
= (int) 0 ;
18796 PyObject
* obj0
= 0 ;
18797 char *kwnames
[] = {
18798 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyEllipseShape_base_OnLeftClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) 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_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
18807 wxPyEndAllowThreads(__tstate
);
18808 if (PyErr_Occurred()) SWIG_fail
;
18810 Py_INCREF(Py_None
); resultobj
= Py_None
;
18817 static PyObject
*_wrap_PyEllipseShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18818 PyObject
*resultobj
;
18819 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
18822 int arg4
= (int) 0 ;
18823 int arg5
= (int) 0 ;
18824 PyObject
* obj0
= 0 ;
18825 char *kwnames
[] = {
18826 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyEllipseShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
18830 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18833 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
18835 wxPyEndAllowThreads(__tstate
);
18836 if (PyErr_Occurred()) SWIG_fail
;
18838 Py_INCREF(Py_None
); resultobj
= Py_None
;
18845 static PyObject
*_wrap_PyEllipseShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18846 PyObject
*resultobj
;
18847 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
18850 int arg4
= (int) 0 ;
18851 int arg5
= (int) 0 ;
18852 PyObject
* obj0
= 0 ;
18853 char *kwnames
[] = {
18854 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyEllipseShape_base_OnRightClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
18858 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18861 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
18863 wxPyEndAllowThreads(__tstate
);
18864 if (PyErr_Occurred()) SWIG_fail
;
18866 Py_INCREF(Py_None
); resultobj
= Py_None
;
18873 static PyObject
*_wrap_PyEllipseShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18874 PyObject
*resultobj
;
18875 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
18878 PyObject
* obj0
= 0 ;
18879 char *kwnames
[] = {
18880 (char *) "self",(char *) "x",(char *) "y", NULL
18883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyEllipseShape_base_OnSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
18884 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18887 (arg1
)->base_OnSize(arg2
,arg3
);
18889 wxPyEndAllowThreads(__tstate
);
18890 if (PyErr_Occurred()) SWIG_fail
;
18892 Py_INCREF(Py_None
); resultobj
= Py_None
;
18899 static PyObject
*_wrap_PyEllipseShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18900 PyObject
*resultobj
;
18901 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
18907 bool arg7
= (bool) True
;
18909 PyObject
* obj0
= 0 ;
18910 PyObject
* obj1
= 0 ;
18911 PyObject
* obj6
= 0 ;
18912 char *kwnames
[] = {
18913 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
18916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd|O:PyEllipseShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
)) goto fail
;
18917 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18918 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18919 if (arg2
== NULL
) {
18920 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18924 arg7
= (bool) SPyObj_AsBool(obj6
);
18925 if (PyErr_Occurred()) SWIG_fail
;
18929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18930 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18932 wxPyEndAllowThreads(__tstate
);
18933 if (PyErr_Occurred()) SWIG_fail
;
18935 resultobj
= PyInt_FromLong((long)result
);
18942 static PyObject
*_wrap_PyEllipseShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18943 PyObject
*resultobj
;
18944 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
18950 bool arg7
= (bool) True
;
18951 PyObject
* obj0
= 0 ;
18952 PyObject
* obj1
= 0 ;
18953 PyObject
* obj6
= 0 ;
18954 char *kwnames
[] = {
18955 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
18958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd|O:PyEllipseShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
)) goto fail
;
18959 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18960 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18961 if (arg2
== NULL
) {
18962 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18966 arg7
= (bool) SPyObj_AsBool(obj6
);
18967 if (PyErr_Occurred()) SWIG_fail
;
18971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18972 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18974 wxPyEndAllowThreads(__tstate
);
18975 if (PyErr_Occurred()) SWIG_fail
;
18977 Py_INCREF(Py_None
); resultobj
= Py_None
;
18984 static PyObject
*_wrap_PyEllipseShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18985 PyObject
*resultobj
;
18986 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
18990 int arg5
= (int) 0 ;
18991 int arg6
= (int) 0 ;
18992 PyObject
* obj0
= 0 ;
18993 PyObject
* obj1
= 0 ;
18994 char *kwnames
[] = {
18995 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyEllipseShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
18999 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19001 arg2
= (bool) SPyObj_AsBool(obj1
);
19002 if (PyErr_Occurred()) SWIG_fail
;
19005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19006 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
19008 wxPyEndAllowThreads(__tstate
);
19009 if (PyErr_Occurred()) SWIG_fail
;
19011 Py_INCREF(Py_None
); resultobj
= Py_None
;
19018 static PyObject
*_wrap_PyEllipseShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19019 PyObject
*resultobj
;
19020 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
19023 int arg4
= (int) 0 ;
19024 int arg5
= (int) 0 ;
19025 PyObject
* obj0
= 0 ;
19026 char *kwnames
[] = {
19027 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyEllipseShape_base_OnBeginDragLeft",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
19031 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19034 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
19036 wxPyEndAllowThreads(__tstate
);
19037 if (PyErr_Occurred()) SWIG_fail
;
19039 Py_INCREF(Py_None
); resultobj
= Py_None
;
19046 static PyObject
*_wrap_PyEllipseShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19047 PyObject
*resultobj
;
19048 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
19051 int arg4
= (int) 0 ;
19052 int arg5
= (int) 0 ;
19053 PyObject
* obj0
= 0 ;
19054 char *kwnames
[] = {
19055 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyEllipseShape_base_OnEndDragLeft",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
19059 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19062 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
19064 wxPyEndAllowThreads(__tstate
);
19065 if (PyErr_Occurred()) SWIG_fail
;
19067 Py_INCREF(Py_None
); resultobj
= Py_None
;
19074 static PyObject
*_wrap_PyEllipseShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19075 PyObject
*resultobj
;
19076 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
19080 int arg5
= (int) 0 ;
19081 int arg6
= (int) 0 ;
19082 PyObject
* obj0
= 0 ;
19083 PyObject
* obj1
= 0 ;
19084 char *kwnames
[] = {
19085 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyEllipseShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
19089 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19091 arg2
= (bool) SPyObj_AsBool(obj1
);
19092 if (PyErr_Occurred()) SWIG_fail
;
19095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19096 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
19098 wxPyEndAllowThreads(__tstate
);
19099 if (PyErr_Occurred()) SWIG_fail
;
19101 Py_INCREF(Py_None
); resultobj
= Py_None
;
19108 static PyObject
*_wrap_PyEllipseShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19109 PyObject
*resultobj
;
19110 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
19113 int arg4
= (int) 0 ;
19114 int arg5
= (int) 0 ;
19115 PyObject
* obj0
= 0 ;
19116 char *kwnames
[] = {
19117 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyEllipseShape_base_OnBeginDragRight",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
19121 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19124 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
19126 wxPyEndAllowThreads(__tstate
);
19127 if (PyErr_Occurred()) SWIG_fail
;
19129 Py_INCREF(Py_None
); resultobj
= Py_None
;
19136 static PyObject
*_wrap_PyEllipseShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19137 PyObject
*resultobj
;
19138 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
19141 int arg4
= (int) 0 ;
19142 int arg5
= (int) 0 ;
19143 PyObject
* obj0
= 0 ;
19144 char *kwnames
[] = {
19145 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyEllipseShape_base_OnEndDragRight",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
19149 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19152 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
19154 wxPyEndAllowThreads(__tstate
);
19155 if (PyErr_Occurred()) SWIG_fail
;
19157 Py_INCREF(Py_None
); resultobj
= Py_None
;
19164 static PyObject
*_wrap_PyEllipseShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19165 PyObject
*resultobj
;
19166 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
19172 PyObject
* obj0
= 0 ;
19173 PyObject
* obj1
= 0 ;
19174 char *kwnames
[] = {
19175 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
19178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd:PyEllipseShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
19179 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19180 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19181 if (arg2
== NULL
) {
19182 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19186 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
19188 wxPyEndAllowThreads(__tstate
);
19189 if (PyErr_Occurred()) SWIG_fail
;
19191 Py_INCREF(Py_None
); resultobj
= Py_None
;
19198 static PyObject
*_wrap_PyEllipseShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19199 PyObject
*resultobj
;
19200 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
19202 PyObject
* obj0
= 0 ;
19203 PyObject
* obj1
= 0 ;
19204 char *kwnames
[] = {
19205 (char *) "self",(char *) "dc", NULL
19208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEllipseShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
19209 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19210 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19211 if (arg2
== NULL
) {
19212 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19216 (arg1
)->base_OnDrawControlPoints(*arg2
);
19218 wxPyEndAllowThreads(__tstate
);
19219 if (PyErr_Occurred()) SWIG_fail
;
19221 Py_INCREF(Py_None
); resultobj
= Py_None
;
19228 static PyObject
*_wrap_PyEllipseShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19229 PyObject
*resultobj
;
19230 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
19232 PyObject
* obj0
= 0 ;
19233 PyObject
* obj1
= 0 ;
19234 char *kwnames
[] = {
19235 (char *) "self",(char *) "dc", NULL
19238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEllipseShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
19239 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19240 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19241 if (arg2
== NULL
) {
19242 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19246 (arg1
)->base_OnEraseControlPoints(*arg2
);
19248 wxPyEndAllowThreads(__tstate
);
19249 if (PyErr_Occurred()) SWIG_fail
;
19251 Py_INCREF(Py_None
); resultobj
= Py_None
;
19258 static PyObject
*_wrap_PyEllipseShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19259 PyObject
*resultobj
;
19260 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
19262 bool arg3
= (bool) True
;
19263 PyObject
* obj0
= 0 ;
19264 PyObject
* obj1
= 0 ;
19265 PyObject
* obj2
= 0 ;
19266 char *kwnames
[] = {
19267 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
19270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyEllipseShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19271 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19272 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19273 if (arg2
== NULL
) {
19274 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19278 arg3
= (bool) SPyObj_AsBool(obj2
);
19279 if (PyErr_Occurred()) SWIG_fail
;
19283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19284 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
19286 wxPyEndAllowThreads(__tstate
);
19287 if (PyErr_Occurred()) SWIG_fail
;
19289 Py_INCREF(Py_None
); resultobj
= Py_None
;
19296 static PyObject
*_wrap_PyEllipseShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19297 PyObject
*resultobj
;
19298 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
19299 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
19303 int arg6
= (int) 0 ;
19304 int arg7
= (int) 0 ;
19305 PyObject
* obj0
= 0 ;
19306 PyObject
* obj1
= 0 ;
19307 PyObject
* obj2
= 0 ;
19308 char *kwnames
[] = {
19309 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOdd|ii:PyEllipseShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
,&arg6
,&arg7
)) goto fail
;
19313 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19314 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19316 arg3
= (bool) SPyObj_AsBool(obj2
);
19317 if (PyErr_Occurred()) SWIG_fail
;
19320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19321 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
19323 wxPyEndAllowThreads(__tstate
);
19324 if (PyErr_Occurred()) SWIG_fail
;
19326 Py_INCREF(Py_None
); resultobj
= Py_None
;
19333 static PyObject
*_wrap_PyEllipseShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19334 PyObject
*resultobj
;
19335 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
19336 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
19339 int arg5
= (int) 0 ;
19340 int arg6
= (int) 0 ;
19341 PyObject
* obj0
= 0 ;
19342 PyObject
* obj1
= 0 ;
19343 char *kwnames
[] = {
19344 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyEllipseShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
19348 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19349 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19352 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
19354 wxPyEndAllowThreads(__tstate
);
19355 if (PyErr_Occurred()) SWIG_fail
;
19357 Py_INCREF(Py_None
); resultobj
= Py_None
;
19364 static PyObject
*_wrap_PyEllipseShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19365 PyObject
*resultobj
;
19366 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
19367 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
19370 int arg5
= (int) 0 ;
19371 int arg6
= (int) 0 ;
19372 PyObject
* obj0
= 0 ;
19373 PyObject
* obj1
= 0 ;
19374 char *kwnames
[] = {
19375 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyEllipseShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
19379 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19380 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19383 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
19385 wxPyEndAllowThreads(__tstate
);
19386 if (PyErr_Occurred()) SWIG_fail
;
19388 Py_INCREF(Py_None
); resultobj
= Py_None
;
19395 static PyObject
*_wrap_PyEllipseShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19396 PyObject
*resultobj
;
19397 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
19400 PyObject
* obj0
= 0 ;
19401 char *kwnames
[] = {
19402 (char *) "self",(char *) "w",(char *) "h", NULL
19405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyEllipseShape_base_OnBeginSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
19406 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19409 (arg1
)->base_OnBeginSize(arg2
,arg3
);
19411 wxPyEndAllowThreads(__tstate
);
19412 if (PyErr_Occurred()) SWIG_fail
;
19414 Py_INCREF(Py_None
); resultobj
= Py_None
;
19421 static PyObject
*_wrap_PyEllipseShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19422 PyObject
*resultobj
;
19423 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
19426 PyObject
* obj0
= 0 ;
19427 char *kwnames
[] = {
19428 (char *) "self",(char *) "w",(char *) "h", NULL
19431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyEllipseShape_base_OnEndSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
19432 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEllipseShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19435 (arg1
)->base_OnEndSize(arg2
,arg3
);
19437 wxPyEndAllowThreads(__tstate
);
19438 if (PyErr_Occurred()) SWIG_fail
;
19440 Py_INCREF(Py_None
); resultobj
= Py_None
;
19447 static PyObject
* PyEllipseShape_swigregister(PyObject
*self
, PyObject
*args
) {
19449 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19450 SWIG_TypeClientData(SWIGTYPE_p_wxPyEllipseShape
, obj
);
19452 return Py_BuildValue((char *)"");
19454 static PyObject
*_wrap_new_PyCircleShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19455 PyObject
*resultobj
;
19456 double arg1
= (double) 0.0 ;
19457 wxPyCircleShape
*result
;
19458 char *kwnames
[] = {
19459 (char *) "width", NULL
19462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|d:new_PyCircleShape",kwnames
,&arg1
)) goto fail
;
19464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19465 result
= (wxPyCircleShape
*)new wxPyCircleShape(arg1
);
19467 wxPyEndAllowThreads(__tstate
);
19468 if (PyErr_Occurred()) SWIG_fail
;
19470 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyCircleShape
, 1);
19477 static PyObject
*_wrap_PyCircleShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19478 PyObject
*resultobj
;
19479 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
19480 PyObject
*arg2
= (PyObject
*) 0 ;
19481 PyObject
*arg3
= (PyObject
*) 0 ;
19482 PyObject
* obj0
= 0 ;
19483 PyObject
* obj1
= 0 ;
19484 PyObject
* obj2
= 0 ;
19485 char *kwnames
[] = {
19486 (char *) "self",(char *) "self",(char *) "_class", NULL
19489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyCircleShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19490 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19495 (arg1
)->_setCallbackInfo(arg2
,arg3
);
19497 wxPyEndAllowThreads(__tstate
);
19498 if (PyErr_Occurred()) SWIG_fail
;
19500 Py_INCREF(Py_None
); resultobj
= Py_None
;
19507 static PyObject
*_wrap_PyCircleShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19508 PyObject
*resultobj
;
19509 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
19511 PyObject
* obj0
= 0 ;
19512 PyObject
* obj1
= 0 ;
19513 char *kwnames
[] = {
19514 (char *) "self",(char *) "dc", NULL
19517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCircleShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
19518 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19519 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19520 if (arg2
== NULL
) {
19521 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19525 (arg1
)->base_OnDraw(*arg2
);
19527 wxPyEndAllowThreads(__tstate
);
19528 if (PyErr_Occurred()) SWIG_fail
;
19530 Py_INCREF(Py_None
); resultobj
= Py_None
;
19537 static PyObject
*_wrap_PyCircleShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19538 PyObject
*resultobj
;
19539 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
19541 PyObject
* obj0
= 0 ;
19542 PyObject
* obj1
= 0 ;
19543 char *kwnames
[] = {
19544 (char *) "self",(char *) "dc", NULL
19547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCircleShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
19548 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19549 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19550 if (arg2
== NULL
) {
19551 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19555 (arg1
)->base_OnDrawContents(*arg2
);
19557 wxPyEndAllowThreads(__tstate
);
19558 if (PyErr_Occurred()) SWIG_fail
;
19560 Py_INCREF(Py_None
); resultobj
= Py_None
;
19567 static PyObject
*_wrap_PyCircleShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19568 PyObject
*resultobj
;
19569 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
19571 bool arg3
= (bool) FALSE
;
19572 PyObject
* obj0
= 0 ;
19573 PyObject
* obj1
= 0 ;
19574 PyObject
* obj2
= 0 ;
19575 char *kwnames
[] = {
19576 (char *) "self",(char *) "dc",(char *) "erase", NULL
19579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyCircleShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19580 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19581 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19582 if (arg2
== NULL
) {
19583 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19587 arg3
= (bool) SPyObj_AsBool(obj2
);
19588 if (PyErr_Occurred()) SWIG_fail
;
19592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19593 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
19595 wxPyEndAllowThreads(__tstate
);
19596 if (PyErr_Occurred()) SWIG_fail
;
19598 Py_INCREF(Py_None
); resultobj
= Py_None
;
19605 static PyObject
*_wrap_PyCircleShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19606 PyObject
*resultobj
;
19607 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
19609 PyObject
* obj0
= 0 ;
19610 PyObject
* obj1
= 0 ;
19611 char *kwnames
[] = {
19612 (char *) "self",(char *) "dc", NULL
19615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCircleShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
19616 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19617 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19618 if (arg2
== NULL
) {
19619 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19623 (arg1
)->base_OnMoveLinks(*arg2
);
19625 wxPyEndAllowThreads(__tstate
);
19626 if (PyErr_Occurred()) SWIG_fail
;
19628 Py_INCREF(Py_None
); resultobj
= Py_None
;
19635 static PyObject
*_wrap_PyCircleShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19636 PyObject
*resultobj
;
19637 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
19639 PyObject
* obj0
= 0 ;
19640 PyObject
* obj1
= 0 ;
19641 char *kwnames
[] = {
19642 (char *) "self",(char *) "dc", NULL
19645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCircleShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
19646 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19647 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19648 if (arg2
== NULL
) {
19649 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19653 (arg1
)->base_OnErase(*arg2
);
19655 wxPyEndAllowThreads(__tstate
);
19656 if (PyErr_Occurred()) SWIG_fail
;
19658 Py_INCREF(Py_None
); resultobj
= Py_None
;
19665 static PyObject
*_wrap_PyCircleShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19666 PyObject
*resultobj
;
19667 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
19669 PyObject
* obj0
= 0 ;
19670 PyObject
* obj1
= 0 ;
19671 char *kwnames
[] = {
19672 (char *) "self",(char *) "dc", NULL
19675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCircleShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
19676 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19677 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19678 if (arg2
== NULL
) {
19679 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19683 (arg1
)->base_OnEraseContents(*arg2
);
19685 wxPyEndAllowThreads(__tstate
);
19686 if (PyErr_Occurred()) SWIG_fail
;
19688 Py_INCREF(Py_None
); resultobj
= Py_None
;
19695 static PyObject
*_wrap_PyCircleShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19696 PyObject
*resultobj
;
19697 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
19699 PyObject
* obj0
= 0 ;
19700 PyObject
* obj1
= 0 ;
19701 char *kwnames
[] = {
19702 (char *) "self",(char *) "dc", NULL
19705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCircleShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
19706 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19707 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19708 if (arg2
== NULL
) {
19709 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19713 (arg1
)->base_OnHighlight(*arg2
);
19715 wxPyEndAllowThreads(__tstate
);
19716 if (PyErr_Occurred()) SWIG_fail
;
19718 Py_INCREF(Py_None
); resultobj
= Py_None
;
19725 static PyObject
*_wrap_PyCircleShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19726 PyObject
*resultobj
;
19727 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
19730 int arg4
= (int) 0 ;
19731 int arg5
= (int) 0 ;
19732 PyObject
* obj0
= 0 ;
19733 char *kwnames
[] = {
19734 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyCircleShape_base_OnLeftClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
19738 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19741 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
19743 wxPyEndAllowThreads(__tstate
);
19744 if (PyErr_Occurred()) SWIG_fail
;
19746 Py_INCREF(Py_None
); resultobj
= Py_None
;
19753 static PyObject
*_wrap_PyCircleShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19754 PyObject
*resultobj
;
19755 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
19758 int arg4
= (int) 0 ;
19759 int arg5
= (int) 0 ;
19760 PyObject
* obj0
= 0 ;
19761 char *kwnames
[] = {
19762 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyCircleShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
19766 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19769 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
19771 wxPyEndAllowThreads(__tstate
);
19772 if (PyErr_Occurred()) SWIG_fail
;
19774 Py_INCREF(Py_None
); resultobj
= Py_None
;
19781 static PyObject
*_wrap_PyCircleShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19782 PyObject
*resultobj
;
19783 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
19786 int arg4
= (int) 0 ;
19787 int arg5
= (int) 0 ;
19788 PyObject
* obj0
= 0 ;
19789 char *kwnames
[] = {
19790 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyCircleShape_base_OnRightClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
19794 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19797 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
19799 wxPyEndAllowThreads(__tstate
);
19800 if (PyErr_Occurred()) SWIG_fail
;
19802 Py_INCREF(Py_None
); resultobj
= Py_None
;
19809 static PyObject
*_wrap_PyCircleShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19810 PyObject
*resultobj
;
19811 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
19814 PyObject
* obj0
= 0 ;
19815 char *kwnames
[] = {
19816 (char *) "self",(char *) "x",(char *) "y", NULL
19819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyCircleShape_base_OnSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
19820 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19823 (arg1
)->base_OnSize(arg2
,arg3
);
19825 wxPyEndAllowThreads(__tstate
);
19826 if (PyErr_Occurred()) SWIG_fail
;
19828 Py_INCREF(Py_None
); resultobj
= Py_None
;
19835 static PyObject
*_wrap_PyCircleShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19836 PyObject
*resultobj
;
19837 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
19843 bool arg7
= (bool) True
;
19845 PyObject
* obj0
= 0 ;
19846 PyObject
* obj1
= 0 ;
19847 PyObject
* obj6
= 0 ;
19848 char *kwnames
[] = {
19849 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
19852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd|O:PyCircleShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
)) goto fail
;
19853 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19854 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19855 if (arg2
== NULL
) {
19856 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19860 arg7
= (bool) SPyObj_AsBool(obj6
);
19861 if (PyErr_Occurred()) SWIG_fail
;
19865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19866 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
19868 wxPyEndAllowThreads(__tstate
);
19869 if (PyErr_Occurred()) SWIG_fail
;
19871 resultobj
= PyInt_FromLong((long)result
);
19878 static PyObject
*_wrap_PyCircleShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19879 PyObject
*resultobj
;
19880 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
19886 bool arg7
= (bool) True
;
19887 PyObject
* obj0
= 0 ;
19888 PyObject
* obj1
= 0 ;
19889 PyObject
* obj6
= 0 ;
19890 char *kwnames
[] = {
19891 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
19894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd|O:PyCircleShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
)) goto fail
;
19895 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19896 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19897 if (arg2
== NULL
) {
19898 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19902 arg7
= (bool) SPyObj_AsBool(obj6
);
19903 if (PyErr_Occurred()) SWIG_fail
;
19907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19908 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
19910 wxPyEndAllowThreads(__tstate
);
19911 if (PyErr_Occurred()) SWIG_fail
;
19913 Py_INCREF(Py_None
); resultobj
= Py_None
;
19920 static PyObject
*_wrap_PyCircleShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19921 PyObject
*resultobj
;
19922 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
19926 int arg5
= (int) 0 ;
19927 int arg6
= (int) 0 ;
19928 PyObject
* obj0
= 0 ;
19929 PyObject
* obj1
= 0 ;
19930 char *kwnames
[] = {
19931 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyCircleShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
19935 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19937 arg2
= (bool) SPyObj_AsBool(obj1
);
19938 if (PyErr_Occurred()) SWIG_fail
;
19941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19942 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
19944 wxPyEndAllowThreads(__tstate
);
19945 if (PyErr_Occurred()) SWIG_fail
;
19947 Py_INCREF(Py_None
); resultobj
= Py_None
;
19954 static PyObject
*_wrap_PyCircleShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19955 PyObject
*resultobj
;
19956 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
19959 int arg4
= (int) 0 ;
19960 int arg5
= (int) 0 ;
19961 PyObject
* obj0
= 0 ;
19962 char *kwnames
[] = {
19963 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyCircleShape_base_OnBeginDragLeft",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
19967 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19970 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
19972 wxPyEndAllowThreads(__tstate
);
19973 if (PyErr_Occurred()) SWIG_fail
;
19975 Py_INCREF(Py_None
); resultobj
= Py_None
;
19982 static PyObject
*_wrap_PyCircleShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19983 PyObject
*resultobj
;
19984 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
19987 int arg4
= (int) 0 ;
19988 int arg5
= (int) 0 ;
19989 PyObject
* obj0
= 0 ;
19990 char *kwnames
[] = {
19991 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyCircleShape_base_OnEndDragLeft",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
19995 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19998 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
20000 wxPyEndAllowThreads(__tstate
);
20001 if (PyErr_Occurred()) SWIG_fail
;
20003 Py_INCREF(Py_None
); resultobj
= Py_None
;
20010 static PyObject
*_wrap_PyCircleShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20011 PyObject
*resultobj
;
20012 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
20016 int arg5
= (int) 0 ;
20017 int arg6
= (int) 0 ;
20018 PyObject
* obj0
= 0 ;
20019 PyObject
* obj1
= 0 ;
20020 char *kwnames
[] = {
20021 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
20024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyCircleShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
20025 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20027 arg2
= (bool) SPyObj_AsBool(obj1
);
20028 if (PyErr_Occurred()) SWIG_fail
;
20031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20032 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
20034 wxPyEndAllowThreads(__tstate
);
20035 if (PyErr_Occurred()) SWIG_fail
;
20037 Py_INCREF(Py_None
); resultobj
= Py_None
;
20044 static PyObject
*_wrap_PyCircleShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20045 PyObject
*resultobj
;
20046 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
20049 int arg4
= (int) 0 ;
20050 int arg5
= (int) 0 ;
20051 PyObject
* obj0
= 0 ;
20052 char *kwnames
[] = {
20053 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
20056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyCircleShape_base_OnBeginDragRight",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
20057 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20060 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
20062 wxPyEndAllowThreads(__tstate
);
20063 if (PyErr_Occurred()) SWIG_fail
;
20065 Py_INCREF(Py_None
); resultobj
= Py_None
;
20072 static PyObject
*_wrap_PyCircleShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20073 PyObject
*resultobj
;
20074 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
20077 int arg4
= (int) 0 ;
20078 int arg5
= (int) 0 ;
20079 PyObject
* obj0
= 0 ;
20080 char *kwnames
[] = {
20081 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
20084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyCircleShape_base_OnEndDragRight",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
20085 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20088 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
20090 wxPyEndAllowThreads(__tstate
);
20091 if (PyErr_Occurred()) SWIG_fail
;
20093 Py_INCREF(Py_None
); resultobj
= Py_None
;
20100 static PyObject
*_wrap_PyCircleShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20101 PyObject
*resultobj
;
20102 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
20108 PyObject
* obj0
= 0 ;
20109 PyObject
* obj1
= 0 ;
20110 char *kwnames
[] = {
20111 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
20114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd:PyCircleShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
20115 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20116 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20117 if (arg2
== NULL
) {
20118 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20122 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
20124 wxPyEndAllowThreads(__tstate
);
20125 if (PyErr_Occurred()) SWIG_fail
;
20127 Py_INCREF(Py_None
); resultobj
= Py_None
;
20134 static PyObject
*_wrap_PyCircleShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20135 PyObject
*resultobj
;
20136 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
20138 PyObject
* obj0
= 0 ;
20139 PyObject
* obj1
= 0 ;
20140 char *kwnames
[] = {
20141 (char *) "self",(char *) "dc", NULL
20144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCircleShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
20145 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20146 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20147 if (arg2
== NULL
) {
20148 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20152 (arg1
)->base_OnDrawControlPoints(*arg2
);
20154 wxPyEndAllowThreads(__tstate
);
20155 if (PyErr_Occurred()) SWIG_fail
;
20157 Py_INCREF(Py_None
); resultobj
= Py_None
;
20164 static PyObject
*_wrap_PyCircleShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20165 PyObject
*resultobj
;
20166 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
20168 PyObject
* obj0
= 0 ;
20169 PyObject
* obj1
= 0 ;
20170 char *kwnames
[] = {
20171 (char *) "self",(char *) "dc", NULL
20174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCircleShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
20175 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20176 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20177 if (arg2
== NULL
) {
20178 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20182 (arg1
)->base_OnEraseControlPoints(*arg2
);
20184 wxPyEndAllowThreads(__tstate
);
20185 if (PyErr_Occurred()) SWIG_fail
;
20187 Py_INCREF(Py_None
); resultobj
= Py_None
;
20194 static PyObject
*_wrap_PyCircleShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20195 PyObject
*resultobj
;
20196 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
20198 bool arg3
= (bool) True
;
20199 PyObject
* obj0
= 0 ;
20200 PyObject
* obj1
= 0 ;
20201 PyObject
* obj2
= 0 ;
20202 char *kwnames
[] = {
20203 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
20206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyCircleShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20207 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20208 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20209 if (arg2
== NULL
) {
20210 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20214 arg3
= (bool) SPyObj_AsBool(obj2
);
20215 if (PyErr_Occurred()) SWIG_fail
;
20219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20220 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
20222 wxPyEndAllowThreads(__tstate
);
20223 if (PyErr_Occurred()) SWIG_fail
;
20225 Py_INCREF(Py_None
); resultobj
= Py_None
;
20232 static PyObject
*_wrap_PyCircleShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20233 PyObject
*resultobj
;
20234 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
20235 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
20239 int arg6
= (int) 0 ;
20240 int arg7
= (int) 0 ;
20241 PyObject
* obj0
= 0 ;
20242 PyObject
* obj1
= 0 ;
20243 PyObject
* obj2
= 0 ;
20244 char *kwnames
[] = {
20245 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
20248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOdd|ii:PyCircleShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
,&arg6
,&arg7
)) goto fail
;
20249 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20250 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20252 arg3
= (bool) SPyObj_AsBool(obj2
);
20253 if (PyErr_Occurred()) SWIG_fail
;
20256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20257 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
20259 wxPyEndAllowThreads(__tstate
);
20260 if (PyErr_Occurred()) SWIG_fail
;
20262 Py_INCREF(Py_None
); resultobj
= Py_None
;
20269 static PyObject
*_wrap_PyCircleShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20270 PyObject
*resultobj
;
20271 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
20272 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
20275 int arg5
= (int) 0 ;
20276 int arg6
= (int) 0 ;
20277 PyObject
* obj0
= 0 ;
20278 PyObject
* obj1
= 0 ;
20279 char *kwnames
[] = {
20280 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
20283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyCircleShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
20284 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20285 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20288 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
20290 wxPyEndAllowThreads(__tstate
);
20291 if (PyErr_Occurred()) SWIG_fail
;
20293 Py_INCREF(Py_None
); resultobj
= Py_None
;
20300 static PyObject
*_wrap_PyCircleShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20301 PyObject
*resultobj
;
20302 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
20303 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
20306 int arg5
= (int) 0 ;
20307 int arg6
= (int) 0 ;
20308 PyObject
* obj0
= 0 ;
20309 PyObject
* obj1
= 0 ;
20310 char *kwnames
[] = {
20311 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
20314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyCircleShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
20315 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20316 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20319 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
20321 wxPyEndAllowThreads(__tstate
);
20322 if (PyErr_Occurred()) SWIG_fail
;
20324 Py_INCREF(Py_None
); resultobj
= Py_None
;
20331 static PyObject
*_wrap_PyCircleShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20332 PyObject
*resultobj
;
20333 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
20336 PyObject
* obj0
= 0 ;
20337 char *kwnames
[] = {
20338 (char *) "self",(char *) "w",(char *) "h", NULL
20341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyCircleShape_base_OnBeginSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
20342 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20345 (arg1
)->base_OnBeginSize(arg2
,arg3
);
20347 wxPyEndAllowThreads(__tstate
);
20348 if (PyErr_Occurred()) SWIG_fail
;
20350 Py_INCREF(Py_None
); resultobj
= Py_None
;
20357 static PyObject
*_wrap_PyCircleShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20358 PyObject
*resultobj
;
20359 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
20362 PyObject
* obj0
= 0 ;
20363 char *kwnames
[] = {
20364 (char *) "self",(char *) "w",(char *) "h", NULL
20367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyCircleShape_base_OnEndSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
20368 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCircleShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20371 (arg1
)->base_OnEndSize(arg2
,arg3
);
20373 wxPyEndAllowThreads(__tstate
);
20374 if (PyErr_Occurred()) SWIG_fail
;
20376 Py_INCREF(Py_None
); resultobj
= Py_None
;
20383 static PyObject
* PyCircleShape_swigregister(PyObject
*self
, PyObject
*args
) {
20385 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20386 SWIG_TypeClientData(SWIGTYPE_p_wxPyCircleShape
, obj
);
20388 return Py_BuildValue((char *)"");
20390 static PyObject
*_wrap_new_ArrowHead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20391 PyObject
*resultobj
;
20392 int arg1
= (int) 0 ;
20393 int arg2
= (int) 0 ;
20394 double arg3
= (double) 0.0 ;
20395 double arg4
= (double) 0.0 ;
20396 wxString
const &arg5_defvalue
= wxPyEmptyString
;
20397 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
20398 wxPseudoMetaFile
*arg6
= (wxPseudoMetaFile
*) NULL
;
20399 long arg7
= (long) -1 ;
20400 wxArrowHead
*result
;
20401 bool temp5
= False
;
20402 PyObject
* obj4
= 0 ;
20403 PyObject
* obj5
= 0 ;
20404 char *kwnames
[] = {
20405 (char *) "type",(char *) "end",(char *) "size",(char *) "dist",(char *) "name",(char *) "mf",(char *) "arrowId", NULL
20408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiddOOl:new_ArrowHead",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
,&obj4
,&obj5
,&arg7
)) goto fail
;
20411 arg5
= wxString_in_helper(obj4
);
20412 if (arg5
== NULL
) SWIG_fail
;
20417 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20421 result
= (wxArrowHead
*)new wxArrowHead(arg1
,arg2
,arg3
,arg4
,(wxString
const &)*arg5
,arg6
,arg7
);
20423 wxPyEndAllowThreads(__tstate
);
20424 if (PyErr_Occurred()) SWIG_fail
;
20427 resultobj
= wxPyMake_wxObject(result
);
20443 static PyObject
*_wrap_delete_ArrowHead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20444 PyObject
*resultobj
;
20445 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
20446 PyObject
* obj0
= 0 ;
20447 char *kwnames
[] = {
20448 (char *) "self", NULL
20451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ArrowHead",kwnames
,&obj0
)) goto fail
;
20452 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxArrowHead
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20457 wxPyEndAllowThreads(__tstate
);
20458 if (PyErr_Occurred()) SWIG_fail
;
20460 Py_INCREF(Py_None
); resultobj
= Py_None
;
20467 static PyObject
*_wrap_ArrowHead__GetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20468 PyObject
*resultobj
;
20469 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
20471 PyObject
* obj0
= 0 ;
20472 char *kwnames
[] = {
20473 (char *) "self", NULL
20476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead__GetType",kwnames
,&obj0
)) goto fail
;
20477 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxArrowHead
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20480 result
= (int)(arg1
)->_GetType();
20482 wxPyEndAllowThreads(__tstate
);
20483 if (PyErr_Occurred()) SWIG_fail
;
20485 resultobj
= PyInt_FromLong((long)result
);
20492 static PyObject
*_wrap_ArrowHead_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20493 PyObject
*resultobj
;
20494 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
20496 PyObject
* obj0
= 0 ;
20497 char *kwnames
[] = {
20498 (char *) "self", NULL
20501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetPosition",kwnames
,&obj0
)) goto fail
;
20502 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxArrowHead
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20505 result
= (int)(arg1
)->GetPosition();
20507 wxPyEndAllowThreads(__tstate
);
20508 if (PyErr_Occurred()) SWIG_fail
;
20510 resultobj
= PyInt_FromLong((long)result
);
20517 static PyObject
*_wrap_ArrowHead_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20518 PyObject
*resultobj
;
20519 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
20521 PyObject
* obj0
= 0 ;
20522 char *kwnames
[] = {
20523 (char *) "self",(char *) "pos", NULL
20526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ArrowHead_SetPosition",kwnames
,&obj0
,&arg2
)) goto fail
;
20527 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxArrowHead
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20530 (arg1
)->SetPosition(arg2
);
20532 wxPyEndAllowThreads(__tstate
);
20533 if (PyErr_Occurred()) SWIG_fail
;
20535 Py_INCREF(Py_None
); resultobj
= Py_None
;
20542 static PyObject
*_wrap_ArrowHead_GetXOffset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20543 PyObject
*resultobj
;
20544 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
20546 PyObject
* obj0
= 0 ;
20547 char *kwnames
[] = {
20548 (char *) "self", NULL
20551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetXOffset",kwnames
,&obj0
)) goto fail
;
20552 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxArrowHead
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20555 result
= (double)(arg1
)->GetXOffset();
20557 wxPyEndAllowThreads(__tstate
);
20558 if (PyErr_Occurred()) SWIG_fail
;
20560 resultobj
= PyFloat_FromDouble(result
);
20567 static PyObject
*_wrap_ArrowHead_GetYOffset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20568 PyObject
*resultobj
;
20569 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
20571 PyObject
* obj0
= 0 ;
20572 char *kwnames
[] = {
20573 (char *) "self", NULL
20576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetYOffset",kwnames
,&obj0
)) goto fail
;
20577 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxArrowHead
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20580 result
= (double)(arg1
)->GetYOffset();
20582 wxPyEndAllowThreads(__tstate
);
20583 if (PyErr_Occurred()) SWIG_fail
;
20585 resultobj
= PyFloat_FromDouble(result
);
20592 static PyObject
*_wrap_ArrowHead_GetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20593 PyObject
*resultobj
;
20594 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
20596 PyObject
* obj0
= 0 ;
20597 char *kwnames
[] = {
20598 (char *) "self", NULL
20601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetSpacing",kwnames
,&obj0
)) goto fail
;
20602 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxArrowHead
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20605 result
= (double)(arg1
)->GetSpacing();
20607 wxPyEndAllowThreads(__tstate
);
20608 if (PyErr_Occurred()) SWIG_fail
;
20610 resultobj
= PyFloat_FromDouble(result
);
20617 static PyObject
*_wrap_ArrowHead_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20618 PyObject
*resultobj
;
20619 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
20621 PyObject
* obj0
= 0 ;
20622 char *kwnames
[] = {
20623 (char *) "self", NULL
20626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetSize",kwnames
,&obj0
)) goto fail
;
20627 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxArrowHead
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20630 result
= (double)(arg1
)->GetSize();
20632 wxPyEndAllowThreads(__tstate
);
20633 if (PyErr_Occurred()) SWIG_fail
;
20635 resultobj
= PyFloat_FromDouble(result
);
20642 static PyObject
*_wrap_ArrowHead_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20643 PyObject
*resultobj
;
20644 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
20646 PyObject
* obj0
= 0 ;
20647 char *kwnames
[] = {
20648 (char *) "self", NULL
20651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetName",kwnames
,&obj0
)) goto fail
;
20652 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxArrowHead
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20655 result
= (arg1
)->GetName();
20657 wxPyEndAllowThreads(__tstate
);
20658 if (PyErr_Occurred()) SWIG_fail
;
20662 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20664 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20673 static PyObject
*_wrap_ArrowHead_SetXOffset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20674 PyObject
*resultobj
;
20675 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
20677 PyObject
* obj0
= 0 ;
20678 char *kwnames
[] = {
20679 (char *) "self",(char *) "x", NULL
20682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Od:ArrowHead_SetXOffset",kwnames
,&obj0
,&arg2
)) goto fail
;
20683 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxArrowHead
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20686 (arg1
)->SetXOffset(arg2
);
20688 wxPyEndAllowThreads(__tstate
);
20689 if (PyErr_Occurred()) SWIG_fail
;
20691 Py_INCREF(Py_None
); resultobj
= Py_None
;
20698 static PyObject
*_wrap_ArrowHead_SetYOffset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20699 PyObject
*resultobj
;
20700 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
20702 PyObject
* obj0
= 0 ;
20703 char *kwnames
[] = {
20704 (char *) "self",(char *) "y", NULL
20707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Od:ArrowHead_SetYOffset",kwnames
,&obj0
,&arg2
)) goto fail
;
20708 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxArrowHead
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20711 (arg1
)->SetYOffset(arg2
);
20713 wxPyEndAllowThreads(__tstate
);
20714 if (PyErr_Occurred()) SWIG_fail
;
20716 Py_INCREF(Py_None
); resultobj
= Py_None
;
20723 static PyObject
*_wrap_ArrowHead_GetMetaFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20724 PyObject
*resultobj
;
20725 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
20726 wxPseudoMetaFile
*result
;
20727 PyObject
* obj0
= 0 ;
20728 char *kwnames
[] = {
20729 (char *) "self", NULL
20732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetMetaFile",kwnames
,&obj0
)) goto fail
;
20733 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxArrowHead
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20736 result
= (wxPseudoMetaFile
*)(arg1
)->GetMetaFile();
20738 wxPyEndAllowThreads(__tstate
);
20739 if (PyErr_Occurred()) SWIG_fail
;
20742 resultobj
= wxPyMake_wxObject(result
);
20750 static PyObject
*_wrap_ArrowHead_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20751 PyObject
*resultobj
;
20752 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
20754 PyObject
* obj0
= 0 ;
20755 char *kwnames
[] = {
20756 (char *) "self", NULL
20759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetId",kwnames
,&obj0
)) goto fail
;
20760 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxArrowHead
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20763 result
= (long)(arg1
)->GetId();
20765 wxPyEndAllowThreads(__tstate
);
20766 if (PyErr_Occurred()) SWIG_fail
;
20768 resultobj
= PyInt_FromLong((long)result
);
20775 static PyObject
*_wrap_ArrowHead_GetArrowEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20776 PyObject
*resultobj
;
20777 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
20779 PyObject
* obj0
= 0 ;
20780 char *kwnames
[] = {
20781 (char *) "self", NULL
20784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetArrowEnd",kwnames
,&obj0
)) goto fail
;
20785 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxArrowHead
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20788 result
= (int)(arg1
)->GetArrowEnd();
20790 wxPyEndAllowThreads(__tstate
);
20791 if (PyErr_Occurred()) SWIG_fail
;
20793 resultobj
= PyInt_FromLong((long)result
);
20800 static PyObject
*_wrap_ArrowHead_GetArrowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20801 PyObject
*resultobj
;
20802 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
20804 PyObject
* obj0
= 0 ;
20805 char *kwnames
[] = {
20806 (char *) "self", NULL
20809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetArrowSize",kwnames
,&obj0
)) goto fail
;
20810 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxArrowHead
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20813 result
= (double)(arg1
)->GetArrowSize();
20815 wxPyEndAllowThreads(__tstate
);
20816 if (PyErr_Occurred()) SWIG_fail
;
20818 resultobj
= PyFloat_FromDouble(result
);
20825 static PyObject
*_wrap_ArrowHead_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20826 PyObject
*resultobj
;
20827 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
20829 PyObject
* obj0
= 0 ;
20830 char *kwnames
[] = {
20831 (char *) "self",(char *) "size", NULL
20834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Od:ArrowHead_SetSize",kwnames
,&obj0
,&arg2
)) goto fail
;
20835 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxArrowHead
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20838 (arg1
)->SetSize(arg2
);
20840 wxPyEndAllowThreads(__tstate
);
20841 if (PyErr_Occurred()) SWIG_fail
;
20843 Py_INCREF(Py_None
); resultobj
= Py_None
;
20850 static PyObject
*_wrap_ArrowHead_SetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20851 PyObject
*resultobj
;
20852 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
20854 PyObject
* obj0
= 0 ;
20855 char *kwnames
[] = {
20856 (char *) "self",(char *) "sp", NULL
20859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Od:ArrowHead_SetSpacing",kwnames
,&obj0
,&arg2
)) goto fail
;
20860 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxArrowHead
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20863 (arg1
)->SetSpacing(arg2
);
20865 wxPyEndAllowThreads(__tstate
);
20866 if (PyErr_Occurred()) SWIG_fail
;
20868 Py_INCREF(Py_None
); resultobj
= Py_None
;
20875 static PyObject
* ArrowHead_swigregister(PyObject
*self
, PyObject
*args
) {
20877 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20878 SWIG_TypeClientData(SWIGTYPE_p_wxArrowHead
, obj
);
20880 return Py_BuildValue((char *)"");
20882 static PyObject
*_wrap_new_PyLineShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20883 PyObject
*resultobj
;
20884 wxPyLineShape
*result
;
20885 char *kwnames
[] = {
20889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyLineShape",kwnames
)) goto fail
;
20891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20892 result
= (wxPyLineShape
*)new wxPyLineShape();
20894 wxPyEndAllowThreads(__tstate
);
20895 if (PyErr_Occurred()) SWIG_fail
;
20897 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyLineShape
, 1);
20904 static PyObject
*_wrap_PyLineShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20905 PyObject
*resultobj
;
20906 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
20907 PyObject
*arg2
= (PyObject
*) 0 ;
20908 PyObject
*arg3
= (PyObject
*) 0 ;
20909 PyObject
* obj0
= 0 ;
20910 PyObject
* obj1
= 0 ;
20911 PyObject
* obj2
= 0 ;
20912 char *kwnames
[] = {
20913 (char *) "self",(char *) "self",(char *) "_class", NULL
20916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLineShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20917 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20922 (arg1
)->_setCallbackInfo(arg2
,arg3
);
20924 wxPyEndAllowThreads(__tstate
);
20925 if (PyErr_Occurred()) SWIG_fail
;
20927 Py_INCREF(Py_None
); resultobj
= Py_None
;
20934 static PyObject
*_wrap_PyLineShape_AddArrow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20935 PyObject
*resultobj
;
20936 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
20938 int arg3
= (int) ARROW_POSITION_END
;
20939 double arg4
= (double) 10.0 ;
20940 double arg5
= (double) 0.0 ;
20941 wxString
const &arg6_defvalue
= wxPyEmptyString
;
20942 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20943 wxPseudoMetaFile
*arg7
= (wxPseudoMetaFile
*) NULL
;
20944 long arg8
= (long) -1 ;
20945 bool temp6
= False
;
20946 PyObject
* obj0
= 0 ;
20947 PyObject
* obj5
= 0 ;
20948 PyObject
* obj6
= 0 ;
20949 char *kwnames
[] = {
20950 (char *) "self",(char *) "type",(char *) "end",(char *) "arrowSize",(char *) "xOffset",(char *) "name",(char *) "mf",(char *) "arrowId", NULL
20953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|iddOOl:PyLineShape_AddArrow",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&obj5
,&obj6
,&arg8
)) goto fail
;
20954 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20957 arg6
= wxString_in_helper(obj5
);
20958 if (arg6
== NULL
) SWIG_fail
;
20963 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxPseudoMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20967 (arg1
)->AddArrow(arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
,arg8
);
20969 wxPyEndAllowThreads(__tstate
);
20970 if (PyErr_Occurred()) SWIG_fail
;
20972 Py_INCREF(Py_None
); resultobj
= Py_None
;
20987 static PyObject
*_wrap_PyLineShape_AddArrowOrdered(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20988 PyObject
*resultobj
;
20989 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
20990 wxArrowHead
*arg2
= (wxArrowHead
*) 0 ;
20991 PyObject
*arg3
= (PyObject
*) 0 ;
20993 PyObject
* obj0
= 0 ;
20994 PyObject
* obj1
= 0 ;
20995 PyObject
* obj2
= 0 ;
20996 char *kwnames
[] = {
20997 (char *) "self",(char *) "arrow",(char *) "referenceList",(char *) "end", NULL
21000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOi:PyLineShape_AddArrowOrdered",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
)) goto fail
;
21001 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21002 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxArrowHead
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21006 wxPyLineShape_AddArrowOrdered(arg1
,arg2
,arg3
,arg4
);
21008 wxPyEndAllowThreads(__tstate
);
21009 if (PyErr_Occurred()) SWIG_fail
;
21011 Py_INCREF(Py_None
); resultobj
= Py_None
;
21018 static PyObject
*_wrap_PyLineShape_ClearArrow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21019 PyObject
*resultobj
;
21020 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21021 wxString
*arg2
= 0 ;
21023 bool temp2
= False
;
21024 PyObject
* obj0
= 0 ;
21025 PyObject
* obj1
= 0 ;
21026 char *kwnames
[] = {
21027 (char *) "self",(char *) "name", NULL
21030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_ClearArrow",kwnames
,&obj0
,&obj1
)) goto fail
;
21031 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21033 arg2
= wxString_in_helper(obj1
);
21034 if (arg2
== NULL
) SWIG_fail
;
21038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21039 result
= (bool)(arg1
)->ClearArrow((wxString
const &)*arg2
);
21041 wxPyEndAllowThreads(__tstate
);
21042 if (PyErr_Occurred()) SWIG_fail
;
21044 resultobj
= PyInt_FromLong((long)result
);
21059 static PyObject
*_wrap_PyLineShape_ClearArrowsAtPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21060 PyObject
*resultobj
;
21061 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21062 int arg2
= (int) -1 ;
21063 PyObject
* obj0
= 0 ;
21064 char *kwnames
[] = {
21065 (char *) "self",(char *) "position", NULL
21068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:PyLineShape_ClearArrowsAtPosition",kwnames
,&obj0
,&arg2
)) goto fail
;
21069 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21072 (arg1
)->ClearArrowsAtPosition(arg2
);
21074 wxPyEndAllowThreads(__tstate
);
21075 if (PyErr_Occurred()) SWIG_fail
;
21077 Py_INCREF(Py_None
); resultobj
= Py_None
;
21084 static PyObject
*_wrap_PyLineShape_DrawArrow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21085 PyObject
*resultobj
;
21086 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21088 wxArrowHead
*arg3
= (wxArrowHead
*) 0 ;
21091 PyObject
* obj0
= 0 ;
21092 PyObject
* obj1
= 0 ;
21093 PyObject
* obj2
= 0 ;
21094 PyObject
* obj4
= 0 ;
21095 char *kwnames
[] = {
21096 (char *) "self",(char *) "dc",(char *) "arrow",(char *) "xOffset",(char *) "proportionalOffset", NULL
21099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOdO:PyLineShape_DrawArrow",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&obj4
)) goto fail
;
21100 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21101 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21102 if (arg2
== NULL
) {
21103 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21105 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxArrowHead
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21107 arg5
= (bool) SPyObj_AsBool(obj4
);
21108 if (PyErr_Occurred()) SWIG_fail
;
21111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21112 (arg1
)->DrawArrow(*arg2
,arg3
,arg4
,arg5
);
21114 wxPyEndAllowThreads(__tstate
);
21115 if (PyErr_Occurred()) SWIG_fail
;
21117 Py_INCREF(Py_None
); resultobj
= Py_None
;
21124 static PyObject
*_wrap_PyLineShape_DeleteArrowHeadId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21125 PyObject
*resultobj
;
21126 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21129 PyObject
* obj0
= 0 ;
21130 char *kwnames
[] = {
21131 (char *) "self",(char *) "arrowId", NULL
21134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:PyLineShape_DeleteArrowHeadId",kwnames
,&obj0
,&arg2
)) goto fail
;
21135 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21138 result
= (bool)(arg1
)->DeleteArrowHead(arg2
);
21140 wxPyEndAllowThreads(__tstate
);
21141 if (PyErr_Occurred()) SWIG_fail
;
21143 resultobj
= PyInt_FromLong((long)result
);
21150 static PyObject
*_wrap_PyLineShape_DeleteArrowHead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21151 PyObject
*resultobj
;
21152 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21154 wxString
*arg3
= 0 ;
21156 bool temp3
= False
;
21157 PyObject
* obj0
= 0 ;
21158 PyObject
* obj2
= 0 ;
21159 char *kwnames
[] = {
21160 (char *) "self",(char *) "position",(char *) "name", NULL
21163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:PyLineShape_DeleteArrowHead",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
21164 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21166 arg3
= wxString_in_helper(obj2
);
21167 if (arg3
== NULL
) SWIG_fail
;
21171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21172 result
= (bool)(arg1
)->DeleteArrowHead(arg2
,(wxString
const &)*arg3
);
21174 wxPyEndAllowThreads(__tstate
);
21175 if (PyErr_Occurred()) SWIG_fail
;
21177 resultobj
= PyInt_FromLong((long)result
);
21192 static PyObject
*_wrap_PyLineShape_DeleteLineControlPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21193 PyObject
*resultobj
;
21194 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21196 PyObject
* obj0
= 0 ;
21197 char *kwnames
[] = {
21198 (char *) "self", NULL
21201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_DeleteLineControlPoint",kwnames
,&obj0
)) goto fail
;
21202 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21205 result
= (bool)(arg1
)->DeleteLineControlPoint();
21207 wxPyEndAllowThreads(__tstate
);
21208 if (PyErr_Occurred()) SWIG_fail
;
21210 resultobj
= PyInt_FromLong((long)result
);
21217 static PyObject
*_wrap_PyLineShape_DrawArrows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21218 PyObject
*resultobj
;
21219 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21221 PyObject
* obj0
= 0 ;
21222 PyObject
* obj1
= 0 ;
21223 char *kwnames
[] = {
21224 (char *) "self",(char *) "dc", NULL
21227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_DrawArrows",kwnames
,&obj0
,&obj1
)) goto fail
;
21228 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21229 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21230 if (arg2
== NULL
) {
21231 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21235 (arg1
)->DrawArrows(*arg2
);
21237 wxPyEndAllowThreads(__tstate
);
21238 if (PyErr_Occurred()) SWIG_fail
;
21240 Py_INCREF(Py_None
); resultobj
= Py_None
;
21247 static PyObject
*_wrap_PyLineShape_DrawRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21248 PyObject
*resultobj
;
21249 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21251 wxShapeRegion
*arg3
= (wxShapeRegion
*) 0 ;
21254 PyObject
* obj0
= 0 ;
21255 PyObject
* obj1
= 0 ;
21256 PyObject
* obj2
= 0 ;
21257 char *kwnames
[] = {
21258 (char *) "self",(char *) "dc",(char *) "region",(char *) "x",(char *) "y", NULL
21261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOdd:PyLineShape_DrawRegion",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
)) goto fail
;
21262 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21263 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21264 if (arg2
== NULL
) {
21265 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21267 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21270 (arg1
)->DrawRegion(*arg2
,arg3
,arg4
,arg5
);
21272 wxPyEndAllowThreads(__tstate
);
21273 if (PyErr_Occurred()) SWIG_fail
;
21275 Py_INCREF(Py_None
); resultobj
= Py_None
;
21282 static PyObject
*_wrap_PyLineShape_EraseRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21283 PyObject
*resultobj
;
21284 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21286 wxShapeRegion
*arg3
= (wxShapeRegion
*) 0 ;
21289 PyObject
* obj0
= 0 ;
21290 PyObject
* obj1
= 0 ;
21291 PyObject
* obj2
= 0 ;
21292 char *kwnames
[] = {
21293 (char *) "self",(char *) "dc",(char *) "region",(char *) "x",(char *) "y", NULL
21296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOdd:PyLineShape_EraseRegion",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
)) goto fail
;
21297 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21298 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21299 if (arg2
== NULL
) {
21300 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21302 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxShapeRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21305 (arg1
)->EraseRegion(*arg2
,arg3
,arg4
,arg5
);
21307 wxPyEndAllowThreads(__tstate
);
21308 if (PyErr_Occurred()) SWIG_fail
;
21310 Py_INCREF(Py_None
); resultobj
= Py_None
;
21317 static PyObject
*_wrap_PyLineShape_FindArrowHeadId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21318 PyObject
*resultobj
;
21319 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21321 wxArrowHead
*result
;
21322 PyObject
* obj0
= 0 ;
21323 char *kwnames
[] = {
21324 (char *) "self",(char *) "arrowId", NULL
21327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:PyLineShape_FindArrowHeadId",kwnames
,&obj0
,&arg2
)) goto fail
;
21328 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21331 result
= (wxArrowHead
*)(arg1
)->FindArrowHead(arg2
);
21333 wxPyEndAllowThreads(__tstate
);
21334 if (PyErr_Occurred()) SWIG_fail
;
21337 resultobj
= wxPyMake_wxObject(result
);
21345 static PyObject
*_wrap_PyLineShape_FindArrowHead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21346 PyObject
*resultobj
;
21347 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21349 wxString
*arg3
= 0 ;
21350 wxArrowHead
*result
;
21351 bool temp3
= False
;
21352 PyObject
* obj0
= 0 ;
21353 PyObject
* obj2
= 0 ;
21354 char *kwnames
[] = {
21355 (char *) "self",(char *) "position",(char *) "name", NULL
21358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:PyLineShape_FindArrowHead",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
21359 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21361 arg3
= wxString_in_helper(obj2
);
21362 if (arg3
== NULL
) SWIG_fail
;
21366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21367 result
= (wxArrowHead
*)(arg1
)->FindArrowHead(arg2
,(wxString
const &)*arg3
);
21369 wxPyEndAllowThreads(__tstate
);
21370 if (PyErr_Occurred()) SWIG_fail
;
21373 resultobj
= wxPyMake_wxObject(result
);
21389 static PyObject
*_wrap_PyLineShape_FindLineEndPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21390 PyObject
*resultobj
;
21391 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21392 double *arg2
= (double *) 0 ;
21393 double *arg3
= (double *) 0 ;
21394 double *arg4
= (double *) 0 ;
21395 double *arg5
= (double *) 0 ;
21400 PyObject
* obj0
= 0 ;
21401 char *kwnames
[] = {
21402 (char *) "self", NULL
21409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_FindLineEndPoints",kwnames
,&obj0
)) goto fail
;
21410 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21413 (arg1
)->FindLineEndPoints(arg2
,arg3
,arg4
,arg5
);
21415 wxPyEndAllowThreads(__tstate
);
21416 if (PyErr_Occurred()) SWIG_fail
;
21418 Py_INCREF(Py_None
); resultobj
= Py_None
;
21420 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
21421 resultobj
= t_output_helper(resultobj
,o
);
21424 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
21425 resultobj
= t_output_helper(resultobj
,o
);
21428 PyObject
*o
= PyFloat_FromDouble((double) (*arg4
));
21429 resultobj
= t_output_helper(resultobj
,o
);
21432 PyObject
*o
= PyFloat_FromDouble((double) (*arg5
));
21433 resultobj
= t_output_helper(resultobj
,o
);
21441 static PyObject
*_wrap_PyLineShape_FindLinePosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21442 PyObject
*resultobj
;
21443 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21447 PyObject
* obj0
= 0 ;
21448 char *kwnames
[] = {
21449 (char *) "self",(char *) "x",(char *) "y", NULL
21452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyLineShape_FindLinePosition",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
21453 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21456 result
= (int)(arg1
)->FindLinePosition(arg2
,arg3
);
21458 wxPyEndAllowThreads(__tstate
);
21459 if (PyErr_Occurred()) SWIG_fail
;
21461 resultobj
= PyInt_FromLong((long)result
);
21468 static PyObject
*_wrap_PyLineShape_FindMinimumWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21469 PyObject
*resultobj
;
21470 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21472 PyObject
* obj0
= 0 ;
21473 char *kwnames
[] = {
21474 (char *) "self", NULL
21477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_FindMinimumWidth",kwnames
,&obj0
)) goto fail
;
21478 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21481 result
= (double)(arg1
)->FindMinimumWidth();
21483 wxPyEndAllowThreads(__tstate
);
21484 if (PyErr_Occurred()) SWIG_fail
;
21486 resultobj
= PyFloat_FromDouble(result
);
21493 static PyObject
*_wrap_PyLineShape_FindNth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21494 PyObject
*resultobj
;
21495 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21496 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
21497 int *arg3
= (int *) 0 ;
21498 int *arg4
= (int *) 0 ;
21502 PyObject
* obj0
= 0 ;
21503 PyObject
* obj1
= 0 ;
21504 PyObject
* obj2
= 0 ;
21505 char *kwnames
[] = {
21506 (char *) "self",(char *) "image",(char *) "incoming", NULL
21511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLineShape_FindNth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21512 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21513 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21515 arg5
= (bool) SPyObj_AsBool(obj2
);
21516 if (PyErr_Occurred()) SWIG_fail
;
21519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21520 (arg1
)->FindNth(arg2
,arg3
,arg4
,arg5
);
21522 wxPyEndAllowThreads(__tstate
);
21523 if (PyErr_Occurred()) SWIG_fail
;
21525 Py_INCREF(Py_None
); resultobj
= Py_None
;
21527 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
21528 resultobj
= t_output_helper(resultobj
,o
);
21531 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
21532 resultobj
= t_output_helper(resultobj
,o
);
21540 static PyObject
*_wrap_PyLineShape_GetAttachmentFrom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21541 PyObject
*resultobj
;
21542 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21544 PyObject
* obj0
= 0 ;
21545 char *kwnames
[] = {
21546 (char *) "self", NULL
21549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_GetAttachmentFrom",kwnames
,&obj0
)) goto fail
;
21550 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21553 result
= (int)(arg1
)->GetAttachmentFrom();
21555 wxPyEndAllowThreads(__tstate
);
21556 if (PyErr_Occurred()) SWIG_fail
;
21558 resultobj
= PyInt_FromLong((long)result
);
21565 static PyObject
*_wrap_PyLineShape_GetAttachmentTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21566 PyObject
*resultobj
;
21567 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21569 PyObject
* obj0
= 0 ;
21570 char *kwnames
[] = {
21571 (char *) "self", NULL
21574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_GetAttachmentTo",kwnames
,&obj0
)) goto fail
;
21575 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21578 result
= (int)(arg1
)->GetAttachmentTo();
21580 wxPyEndAllowThreads(__tstate
);
21581 if (PyErr_Occurred()) SWIG_fail
;
21583 resultobj
= PyInt_FromLong((long)result
);
21590 static PyObject
*_wrap_PyLineShape_GetEnds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21591 PyObject
*resultobj
;
21592 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21593 double *arg2
= (double *) 0 ;
21594 double *arg3
= (double *) 0 ;
21595 double *arg4
= (double *) 0 ;
21596 double *arg5
= (double *) 0 ;
21601 PyObject
* obj0
= 0 ;
21602 char *kwnames
[] = {
21603 (char *) "self", NULL
21610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_GetEnds",kwnames
,&obj0
)) goto fail
;
21611 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21614 (arg1
)->GetEnds(arg2
,arg3
,arg4
,arg5
);
21616 wxPyEndAllowThreads(__tstate
);
21617 if (PyErr_Occurred()) SWIG_fail
;
21619 Py_INCREF(Py_None
); resultobj
= Py_None
;
21621 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
21622 resultobj
= t_output_helper(resultobj
,o
);
21625 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
21626 resultobj
= t_output_helper(resultobj
,o
);
21629 PyObject
*o
= PyFloat_FromDouble((double) (*arg4
));
21630 resultobj
= t_output_helper(resultobj
,o
);
21633 PyObject
*o
= PyFloat_FromDouble((double) (*arg5
));
21634 resultobj
= t_output_helper(resultobj
,o
);
21642 static PyObject
*_wrap_PyLineShape_GetFrom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21643 PyObject
*resultobj
;
21644 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21646 PyObject
* obj0
= 0 ;
21647 char *kwnames
[] = {
21648 (char *) "self", NULL
21651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_GetFrom",kwnames
,&obj0
)) goto fail
;
21652 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21655 result
= (wxPyShape
*)(arg1
)->GetFrom();
21657 wxPyEndAllowThreads(__tstate
);
21658 if (PyErr_Occurred()) SWIG_fail
;
21661 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
21669 static PyObject
*_wrap_PyLineShape_GetLabelPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21670 PyObject
*resultobj
;
21671 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21673 double *arg3
= (double *) 0 ;
21674 double *arg4
= (double *) 0 ;
21677 PyObject
* obj0
= 0 ;
21678 char *kwnames
[] = {
21679 (char *) "self",(char *) "position", NULL
21684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyLineShape_GetLabelPosition",kwnames
,&obj0
,&arg2
)) goto fail
;
21685 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21688 (arg1
)->GetLabelPosition(arg2
,arg3
,arg4
);
21690 wxPyEndAllowThreads(__tstate
);
21691 if (PyErr_Occurred()) SWIG_fail
;
21693 Py_INCREF(Py_None
); resultobj
= Py_None
;
21695 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
21696 resultobj
= t_output_helper(resultobj
,o
);
21699 PyObject
*o
= PyFloat_FromDouble((double) (*arg4
));
21700 resultobj
= t_output_helper(resultobj
,o
);
21708 static PyObject
*_wrap_PyLineShape_GetNextControlPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21709 PyObject
*resultobj
;
21710 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21711 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
21712 wxRealPoint
*result
;
21713 PyObject
* obj0
= 0 ;
21714 PyObject
* obj1
= 0 ;
21715 char *kwnames
[] = {
21716 (char *) "self",(char *) "shape", NULL
21719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_GetNextControlPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
21720 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21721 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21724 result
= (wxRealPoint
*)(arg1
)->GetNextControlPoint(arg2
);
21726 wxPyEndAllowThreads(__tstate
);
21727 if (PyErr_Occurred()) SWIG_fail
;
21729 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRealPoint
, 0);
21736 static PyObject
*_wrap_PyLineShape_GetTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21737 PyObject
*resultobj
;
21738 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21740 PyObject
* obj0
= 0 ;
21741 char *kwnames
[] = {
21742 (char *) "self", NULL
21745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_GetTo",kwnames
,&obj0
)) goto fail
;
21746 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21749 result
= (wxPyShape
*)(arg1
)->GetTo();
21751 wxPyEndAllowThreads(__tstate
);
21752 if (PyErr_Occurred()) SWIG_fail
;
21755 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
21763 static PyObject
*_wrap_PyLineShape_Initialise(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21764 PyObject
*resultobj
;
21765 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21766 PyObject
* obj0
= 0 ;
21767 char *kwnames
[] = {
21768 (char *) "self", NULL
21771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_Initialise",kwnames
,&obj0
)) goto fail
;
21772 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21775 (arg1
)->Initialise();
21777 wxPyEndAllowThreads(__tstate
);
21778 if (PyErr_Occurred()) SWIG_fail
;
21780 Py_INCREF(Py_None
); resultobj
= Py_None
;
21787 static PyObject
*_wrap_PyLineShape_InsertLineControlPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21788 PyObject
*resultobj
;
21789 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21790 wxDC
*arg2
= (wxDC
*) 0 ;
21791 PyObject
* obj0
= 0 ;
21792 PyObject
* obj1
= 0 ;
21793 char *kwnames
[] = {
21794 (char *) "self",(char *) "dc", NULL
21797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_InsertLineControlPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
21798 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21799 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21802 (arg1
)->InsertLineControlPoint(arg2
);
21804 wxPyEndAllowThreads(__tstate
);
21805 if (PyErr_Occurred()) SWIG_fail
;
21807 Py_INCREF(Py_None
); resultobj
= Py_None
;
21814 static PyObject
*_wrap_PyLineShape_IsEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21815 PyObject
*resultobj
;
21816 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21817 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
21819 PyObject
* obj0
= 0 ;
21820 PyObject
* obj1
= 0 ;
21821 char *kwnames
[] = {
21822 (char *) "self",(char *) "shape", NULL
21825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_IsEnd",kwnames
,&obj0
,&obj1
)) goto fail
;
21826 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21827 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21830 result
= (bool)(arg1
)->IsEnd(arg2
);
21832 wxPyEndAllowThreads(__tstate
);
21833 if (PyErr_Occurred()) SWIG_fail
;
21835 resultobj
= PyInt_FromLong((long)result
);
21842 static PyObject
*_wrap_PyLineShape_IsSpline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21843 PyObject
*resultobj
;
21844 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21846 PyObject
* obj0
= 0 ;
21847 char *kwnames
[] = {
21848 (char *) "self", NULL
21851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_IsSpline",kwnames
,&obj0
)) goto fail
;
21852 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21855 result
= (bool)(arg1
)->IsSpline();
21857 wxPyEndAllowThreads(__tstate
);
21858 if (PyErr_Occurred()) SWIG_fail
;
21860 resultobj
= PyInt_FromLong((long)result
);
21867 static PyObject
*_wrap_PyLineShape_MakeLineControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21868 PyObject
*resultobj
;
21869 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21871 PyObject
* obj0
= 0 ;
21872 char *kwnames
[] = {
21873 (char *) "self",(char *) "n", NULL
21876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyLineShape_MakeLineControlPoints",kwnames
,&obj0
,&arg2
)) goto fail
;
21877 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21880 (arg1
)->MakeLineControlPoints(arg2
);
21882 wxPyEndAllowThreads(__tstate
);
21883 if (PyErr_Occurred()) SWIG_fail
;
21885 Py_INCREF(Py_None
); resultobj
= Py_None
;
21892 static PyObject
*_wrap_PyLineShape_GetLineControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21893 PyObject
*resultobj
;
21894 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21896 PyObject
* obj0
= 0 ;
21897 char *kwnames
[] = {
21898 (char *) "self", NULL
21901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_GetLineControlPoints",kwnames
,&obj0
)) goto fail
;
21902 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21905 result
= (PyObject
*)wxPyLineShape_GetLineControlPoints(arg1
);
21907 wxPyEndAllowThreads(__tstate
);
21908 if (PyErr_Occurred()) SWIG_fail
;
21910 resultobj
= result
;
21917 static PyObject
*_wrap_PyLineShape_SetAttachmentFrom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21918 PyObject
*resultobj
;
21919 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21921 PyObject
* obj0
= 0 ;
21922 char *kwnames
[] = {
21923 (char *) "self",(char *) "fromAttach", NULL
21926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyLineShape_SetAttachmentFrom",kwnames
,&obj0
,&arg2
)) goto fail
;
21927 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21930 (arg1
)->SetAttachmentFrom(arg2
);
21932 wxPyEndAllowThreads(__tstate
);
21933 if (PyErr_Occurred()) SWIG_fail
;
21935 Py_INCREF(Py_None
); resultobj
= Py_None
;
21942 static PyObject
*_wrap_PyLineShape_SetAttachments(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21943 PyObject
*resultobj
;
21944 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21947 PyObject
* obj0
= 0 ;
21948 char *kwnames
[] = {
21949 (char *) "self",(char *) "fromAttach",(char *) "toAttach", NULL
21952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:PyLineShape_SetAttachments",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
21953 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21956 (arg1
)->SetAttachments(arg2
,arg3
);
21958 wxPyEndAllowThreads(__tstate
);
21959 if (PyErr_Occurred()) SWIG_fail
;
21961 Py_INCREF(Py_None
); resultobj
= Py_None
;
21968 static PyObject
*_wrap_PyLineShape_SetAttachmentTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21969 PyObject
*resultobj
;
21970 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
21972 PyObject
* obj0
= 0 ;
21973 char *kwnames
[] = {
21974 (char *) "self",(char *) "toAttach", NULL
21977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyLineShape_SetAttachmentTo",kwnames
,&obj0
,&arg2
)) goto fail
;
21978 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21981 (arg1
)->SetAttachmentTo(arg2
);
21983 wxPyEndAllowThreads(__tstate
);
21984 if (PyErr_Occurred()) SWIG_fail
;
21986 Py_INCREF(Py_None
); resultobj
= Py_None
;
21993 static PyObject
*_wrap_PyLineShape_SetEnds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21994 PyObject
*resultobj
;
21995 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
22000 PyObject
* obj0
= 0 ;
22001 char *kwnames
[] = {
22002 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
22005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odddd:PyLineShape_SetEnds",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
22006 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22009 (arg1
)->SetEnds(arg2
,arg3
,arg4
,arg5
);
22011 wxPyEndAllowThreads(__tstate
);
22012 if (PyErr_Occurred()) SWIG_fail
;
22014 Py_INCREF(Py_None
); resultobj
= Py_None
;
22021 static PyObject
*_wrap_PyLineShape_SetFrom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22022 PyObject
*resultobj
;
22023 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
22024 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
22025 PyObject
* obj0
= 0 ;
22026 PyObject
* obj1
= 0 ;
22027 char *kwnames
[] = {
22028 (char *) "self",(char *) "object", NULL
22031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_SetFrom",kwnames
,&obj0
,&obj1
)) goto fail
;
22032 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22033 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22036 (arg1
)->SetFrom(arg2
);
22038 wxPyEndAllowThreads(__tstate
);
22039 if (PyErr_Occurred()) SWIG_fail
;
22041 Py_INCREF(Py_None
); resultobj
= Py_None
;
22048 static PyObject
*_wrap_PyLineShape_SetIgnoreOffsets(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22049 PyObject
*resultobj
;
22050 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
22052 PyObject
* obj0
= 0 ;
22053 PyObject
* obj1
= 0 ;
22054 char *kwnames
[] = {
22055 (char *) "self",(char *) "ignore", NULL
22058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_SetIgnoreOffsets",kwnames
,&obj0
,&obj1
)) goto fail
;
22059 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22061 arg2
= (bool) SPyObj_AsBool(obj1
);
22062 if (PyErr_Occurred()) SWIG_fail
;
22065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22066 (arg1
)->SetIgnoreOffsets(arg2
);
22068 wxPyEndAllowThreads(__tstate
);
22069 if (PyErr_Occurred()) SWIG_fail
;
22071 Py_INCREF(Py_None
); resultobj
= Py_None
;
22078 static PyObject
*_wrap_PyLineShape_SetSpline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22079 PyObject
*resultobj
;
22080 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
22082 PyObject
* obj0
= 0 ;
22083 PyObject
* obj1
= 0 ;
22084 char *kwnames
[] = {
22085 (char *) "self",(char *) "spline", NULL
22088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_SetSpline",kwnames
,&obj0
,&obj1
)) goto fail
;
22089 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22091 arg2
= (bool) SPyObj_AsBool(obj1
);
22092 if (PyErr_Occurred()) SWIG_fail
;
22095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22096 (arg1
)->SetSpline(arg2
);
22098 wxPyEndAllowThreads(__tstate
);
22099 if (PyErr_Occurred()) SWIG_fail
;
22101 Py_INCREF(Py_None
); resultobj
= Py_None
;
22108 static PyObject
*_wrap_PyLineShape_SetTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22109 PyObject
*resultobj
;
22110 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
22111 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
22112 PyObject
* obj0
= 0 ;
22113 PyObject
* obj1
= 0 ;
22114 char *kwnames
[] = {
22115 (char *) "self",(char *) "object", NULL
22118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_SetTo",kwnames
,&obj0
,&obj1
)) goto fail
;
22119 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22120 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22123 (arg1
)->SetTo(arg2
);
22125 wxPyEndAllowThreads(__tstate
);
22126 if (PyErr_Occurred()) SWIG_fail
;
22128 Py_INCREF(Py_None
); resultobj
= Py_None
;
22135 static PyObject
*_wrap_PyLineShape_Straighten(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22136 PyObject
*resultobj
;
22137 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
22138 wxDC
*arg2
= (wxDC
*) NULL
;
22139 PyObject
* obj0
= 0 ;
22140 PyObject
* obj1
= 0 ;
22141 char *kwnames
[] = {
22142 (char *) "self",(char *) "dc", NULL
22145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyLineShape_Straighten",kwnames
,&obj0
,&obj1
)) goto fail
;
22146 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22148 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22152 (arg1
)->Straighten(arg2
);
22154 wxPyEndAllowThreads(__tstate
);
22155 if (PyErr_Occurred()) SWIG_fail
;
22157 Py_INCREF(Py_None
); resultobj
= Py_None
;
22164 static PyObject
*_wrap_PyLineShape_Unlink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22165 PyObject
*resultobj
;
22166 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
22167 PyObject
* obj0
= 0 ;
22168 char *kwnames
[] = {
22169 (char *) "self", NULL
22172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_Unlink",kwnames
,&obj0
)) goto fail
;
22173 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22178 wxPyEndAllowThreads(__tstate
);
22179 if (PyErr_Occurred()) SWIG_fail
;
22181 Py_INCREF(Py_None
); resultobj
= Py_None
;
22188 static PyObject
*_wrap_PyLineShape_SetAlignmentOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22189 PyObject
*resultobj
;
22190 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
22193 PyObject
* obj0
= 0 ;
22194 PyObject
* obj1
= 0 ;
22195 PyObject
* obj2
= 0 ;
22196 char *kwnames
[] = {
22197 (char *) "self",(char *) "isEnd",(char *) "isHoriz", NULL
22200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLineShape_SetAlignmentOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22201 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22203 arg2
= (bool) SPyObj_AsBool(obj1
);
22204 if (PyErr_Occurred()) SWIG_fail
;
22207 arg3
= (bool) SPyObj_AsBool(obj2
);
22208 if (PyErr_Occurred()) SWIG_fail
;
22211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22212 (arg1
)->SetAlignmentOrientation(arg2
,arg3
);
22214 wxPyEndAllowThreads(__tstate
);
22215 if (PyErr_Occurred()) SWIG_fail
;
22217 Py_INCREF(Py_None
); resultobj
= Py_None
;
22224 static PyObject
*_wrap_PyLineShape_SetAlignmentType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22225 PyObject
*resultobj
;
22226 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
22229 PyObject
* obj0
= 0 ;
22230 PyObject
* obj1
= 0 ;
22231 char *kwnames
[] = {
22232 (char *) "self",(char *) "isEnd",(char *) "alignType", NULL
22235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:PyLineShape_SetAlignmentType",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
22236 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22238 arg2
= (bool) SPyObj_AsBool(obj1
);
22239 if (PyErr_Occurred()) SWIG_fail
;
22242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22243 (arg1
)->SetAlignmentType(arg2
,arg3
);
22245 wxPyEndAllowThreads(__tstate
);
22246 if (PyErr_Occurred()) SWIG_fail
;
22248 Py_INCREF(Py_None
); resultobj
= Py_None
;
22255 static PyObject
*_wrap_PyLineShape_GetAlignmentOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22256 PyObject
*resultobj
;
22257 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
22260 PyObject
* obj0
= 0 ;
22261 PyObject
* obj1
= 0 ;
22262 char *kwnames
[] = {
22263 (char *) "self",(char *) "isEnd", NULL
22266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_GetAlignmentOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
22267 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22269 arg2
= (bool) SPyObj_AsBool(obj1
);
22270 if (PyErr_Occurred()) SWIG_fail
;
22273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22274 result
= (bool)(arg1
)->GetAlignmentOrientation(arg2
);
22276 wxPyEndAllowThreads(__tstate
);
22277 if (PyErr_Occurred()) SWIG_fail
;
22279 resultobj
= PyInt_FromLong((long)result
);
22286 static PyObject
*_wrap_PyLineShape_GetAlignmentType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22287 PyObject
*resultobj
;
22288 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
22291 PyObject
* obj0
= 0 ;
22292 PyObject
* obj1
= 0 ;
22293 char *kwnames
[] = {
22294 (char *) "self",(char *) "isEnd", NULL
22297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_GetAlignmentType",kwnames
,&obj0
,&obj1
)) goto fail
;
22298 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22300 arg2
= (bool) SPyObj_AsBool(obj1
);
22301 if (PyErr_Occurred()) SWIG_fail
;
22304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22305 result
= (int)(arg1
)->GetAlignmentType(arg2
);
22307 wxPyEndAllowThreads(__tstate
);
22308 if (PyErr_Occurred()) SWIG_fail
;
22310 resultobj
= PyInt_FromLong((long)result
);
22317 static PyObject
*_wrap_PyLineShape_GetAlignmentStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22318 PyObject
*resultobj
;
22319 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
22321 PyObject
* obj0
= 0 ;
22322 char *kwnames
[] = {
22323 (char *) "self", NULL
22326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_GetAlignmentStart",kwnames
,&obj0
)) goto fail
;
22327 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22330 result
= (int)((wxPyLineShape
const *)arg1
)->GetAlignmentStart();
22332 wxPyEndAllowThreads(__tstate
);
22333 if (PyErr_Occurred()) SWIG_fail
;
22335 resultobj
= PyInt_FromLong((long)result
);
22342 static PyObject
*_wrap_PyLineShape_GetAlignmentEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22343 PyObject
*resultobj
;
22344 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
22346 PyObject
* obj0
= 0 ;
22347 char *kwnames
[] = {
22348 (char *) "self", NULL
22351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_GetAlignmentEnd",kwnames
,&obj0
)) goto fail
;
22352 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22355 result
= (int)((wxPyLineShape
const *)arg1
)->GetAlignmentEnd();
22357 wxPyEndAllowThreads(__tstate
);
22358 if (PyErr_Occurred()) SWIG_fail
;
22360 resultobj
= PyInt_FromLong((long)result
);
22367 static PyObject
*_wrap_PyLineShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22368 PyObject
*resultobj
;
22369 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
22371 PyObject
* obj0
= 0 ;
22372 PyObject
* obj1
= 0 ;
22373 char *kwnames
[] = {
22374 (char *) "self",(char *) "dc", NULL
22377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
22378 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22379 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22380 if (arg2
== NULL
) {
22381 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22385 (arg1
)->base_OnDraw(*arg2
);
22387 wxPyEndAllowThreads(__tstate
);
22388 if (PyErr_Occurred()) SWIG_fail
;
22390 Py_INCREF(Py_None
); resultobj
= Py_None
;
22397 static PyObject
*_wrap_PyLineShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22398 PyObject
*resultobj
;
22399 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
22401 PyObject
* obj0
= 0 ;
22402 PyObject
* obj1
= 0 ;
22403 char *kwnames
[] = {
22404 (char *) "self",(char *) "dc", NULL
22407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
22408 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22409 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22410 if (arg2
== NULL
) {
22411 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22415 (arg1
)->base_OnDrawContents(*arg2
);
22417 wxPyEndAllowThreads(__tstate
);
22418 if (PyErr_Occurred()) SWIG_fail
;
22420 Py_INCREF(Py_None
); resultobj
= Py_None
;
22427 static PyObject
*_wrap_PyLineShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22428 PyObject
*resultobj
;
22429 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
22431 bool arg3
= (bool) FALSE
;
22432 PyObject
* obj0
= 0 ;
22433 PyObject
* obj1
= 0 ;
22434 PyObject
* obj2
= 0 ;
22435 char *kwnames
[] = {
22436 (char *) "self",(char *) "dc",(char *) "erase", NULL
22439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyLineShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22440 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22441 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22442 if (arg2
== NULL
) {
22443 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22447 arg3
= (bool) SPyObj_AsBool(obj2
);
22448 if (PyErr_Occurred()) SWIG_fail
;
22452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22453 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
22455 wxPyEndAllowThreads(__tstate
);
22456 if (PyErr_Occurred()) SWIG_fail
;
22458 Py_INCREF(Py_None
); resultobj
= Py_None
;
22465 static PyObject
*_wrap_PyLineShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22466 PyObject
*resultobj
;
22467 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
22469 PyObject
* obj0
= 0 ;
22470 PyObject
* obj1
= 0 ;
22471 char *kwnames
[] = {
22472 (char *) "self",(char *) "dc", NULL
22475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
22476 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22477 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22478 if (arg2
== NULL
) {
22479 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22483 (arg1
)->base_OnMoveLinks(*arg2
);
22485 wxPyEndAllowThreads(__tstate
);
22486 if (PyErr_Occurred()) SWIG_fail
;
22488 Py_INCREF(Py_None
); resultobj
= Py_None
;
22495 static PyObject
*_wrap_PyLineShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22496 PyObject
*resultobj
;
22497 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
22499 PyObject
* obj0
= 0 ;
22500 PyObject
* obj1
= 0 ;
22501 char *kwnames
[] = {
22502 (char *) "self",(char *) "dc", NULL
22505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
22506 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22507 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22508 if (arg2
== NULL
) {
22509 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22513 (arg1
)->base_OnErase(*arg2
);
22515 wxPyEndAllowThreads(__tstate
);
22516 if (PyErr_Occurred()) SWIG_fail
;
22518 Py_INCREF(Py_None
); resultobj
= Py_None
;
22525 static PyObject
*_wrap_PyLineShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22526 PyObject
*resultobj
;
22527 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
22529 PyObject
* obj0
= 0 ;
22530 PyObject
* obj1
= 0 ;
22531 char *kwnames
[] = {
22532 (char *) "self",(char *) "dc", NULL
22535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
22536 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22537 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22538 if (arg2
== NULL
) {
22539 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22543 (arg1
)->base_OnEraseContents(*arg2
);
22545 wxPyEndAllowThreads(__tstate
);
22546 if (PyErr_Occurred()) SWIG_fail
;
22548 Py_INCREF(Py_None
); resultobj
= Py_None
;
22555 static PyObject
*_wrap_PyLineShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22556 PyObject
*resultobj
;
22557 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
22559 PyObject
* obj0
= 0 ;
22560 PyObject
* obj1
= 0 ;
22561 char *kwnames
[] = {
22562 (char *) "self",(char *) "dc", NULL
22565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
22566 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22567 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22568 if (arg2
== NULL
) {
22569 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22573 (arg1
)->base_OnHighlight(*arg2
);
22575 wxPyEndAllowThreads(__tstate
);
22576 if (PyErr_Occurred()) SWIG_fail
;
22578 Py_INCREF(Py_None
); resultobj
= Py_None
;
22585 static PyObject
*_wrap_PyLineShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22586 PyObject
*resultobj
;
22587 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
22590 int arg4
= (int) 0 ;
22591 int arg5
= (int) 0 ;
22592 PyObject
* obj0
= 0 ;
22593 char *kwnames
[] = {
22594 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyLineShape_base_OnLeftClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
22598 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22601 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
22603 wxPyEndAllowThreads(__tstate
);
22604 if (PyErr_Occurred()) SWIG_fail
;
22606 Py_INCREF(Py_None
); resultobj
= Py_None
;
22613 static PyObject
*_wrap_PyLineShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22614 PyObject
*resultobj
;
22615 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
22618 int arg4
= (int) 0 ;
22619 int arg5
= (int) 0 ;
22620 PyObject
* obj0
= 0 ;
22621 char *kwnames
[] = {
22622 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyLineShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
22626 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22629 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
22631 wxPyEndAllowThreads(__tstate
);
22632 if (PyErr_Occurred()) SWIG_fail
;
22634 Py_INCREF(Py_None
); resultobj
= Py_None
;
22641 static PyObject
*_wrap_PyLineShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22642 PyObject
*resultobj
;
22643 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
22646 int arg4
= (int) 0 ;
22647 int arg5
= (int) 0 ;
22648 PyObject
* obj0
= 0 ;
22649 char *kwnames
[] = {
22650 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyLineShape_base_OnRightClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
22654 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22657 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
22659 wxPyEndAllowThreads(__tstate
);
22660 if (PyErr_Occurred()) SWIG_fail
;
22662 Py_INCREF(Py_None
); resultobj
= Py_None
;
22669 static PyObject
*_wrap_PyLineShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22670 PyObject
*resultobj
;
22671 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
22674 PyObject
* obj0
= 0 ;
22675 char *kwnames
[] = {
22676 (char *) "self",(char *) "x",(char *) "y", NULL
22679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyLineShape_base_OnSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
22680 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22683 (arg1
)->base_OnSize(arg2
,arg3
);
22685 wxPyEndAllowThreads(__tstate
);
22686 if (PyErr_Occurred()) SWIG_fail
;
22688 Py_INCREF(Py_None
); resultobj
= Py_None
;
22695 static PyObject
*_wrap_PyLineShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22696 PyObject
*resultobj
;
22697 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
22703 bool arg7
= (bool) True
;
22705 PyObject
* obj0
= 0 ;
22706 PyObject
* obj1
= 0 ;
22707 PyObject
* obj6
= 0 ;
22708 char *kwnames
[] = {
22709 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
22712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd|O:PyLineShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
)) goto fail
;
22713 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22714 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22715 if (arg2
== NULL
) {
22716 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22720 arg7
= (bool) SPyObj_AsBool(obj6
);
22721 if (PyErr_Occurred()) SWIG_fail
;
22725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22726 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
22728 wxPyEndAllowThreads(__tstate
);
22729 if (PyErr_Occurred()) SWIG_fail
;
22731 resultobj
= PyInt_FromLong((long)result
);
22738 static PyObject
*_wrap_PyLineShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22739 PyObject
*resultobj
;
22740 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
22746 bool arg7
= (bool) True
;
22747 PyObject
* obj0
= 0 ;
22748 PyObject
* obj1
= 0 ;
22749 PyObject
* obj6
= 0 ;
22750 char *kwnames
[] = {
22751 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
22754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd|O:PyLineShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
)) goto fail
;
22755 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22756 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22757 if (arg2
== NULL
) {
22758 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22762 arg7
= (bool) SPyObj_AsBool(obj6
);
22763 if (PyErr_Occurred()) SWIG_fail
;
22767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22768 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
22770 wxPyEndAllowThreads(__tstate
);
22771 if (PyErr_Occurred()) SWIG_fail
;
22773 Py_INCREF(Py_None
); resultobj
= Py_None
;
22780 static PyObject
*_wrap_PyLineShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22781 PyObject
*resultobj
;
22782 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
22786 int arg5
= (int) 0 ;
22787 int arg6
= (int) 0 ;
22788 PyObject
* obj0
= 0 ;
22789 PyObject
* obj1
= 0 ;
22790 char *kwnames
[] = {
22791 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyLineShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
22795 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22797 arg2
= (bool) SPyObj_AsBool(obj1
);
22798 if (PyErr_Occurred()) SWIG_fail
;
22801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22802 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
22804 wxPyEndAllowThreads(__tstate
);
22805 if (PyErr_Occurred()) SWIG_fail
;
22807 Py_INCREF(Py_None
); resultobj
= Py_None
;
22814 static PyObject
*_wrap_PyLineShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22815 PyObject
*resultobj
;
22816 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
22819 int arg4
= (int) 0 ;
22820 int arg5
= (int) 0 ;
22821 PyObject
* obj0
= 0 ;
22822 char *kwnames
[] = {
22823 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyLineShape_base_OnBeginDragLeft",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
22827 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22830 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
22832 wxPyEndAllowThreads(__tstate
);
22833 if (PyErr_Occurred()) SWIG_fail
;
22835 Py_INCREF(Py_None
); resultobj
= Py_None
;
22842 static PyObject
*_wrap_PyLineShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22843 PyObject
*resultobj
;
22844 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
22847 int arg4
= (int) 0 ;
22848 int arg5
= (int) 0 ;
22849 PyObject
* obj0
= 0 ;
22850 char *kwnames
[] = {
22851 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyLineShape_base_OnEndDragLeft",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
22855 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22858 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
22860 wxPyEndAllowThreads(__tstate
);
22861 if (PyErr_Occurred()) SWIG_fail
;
22863 Py_INCREF(Py_None
); resultobj
= Py_None
;
22870 static PyObject
*_wrap_PyLineShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22871 PyObject
*resultobj
;
22872 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
22876 int arg5
= (int) 0 ;
22877 int arg6
= (int) 0 ;
22878 PyObject
* obj0
= 0 ;
22879 PyObject
* obj1
= 0 ;
22880 char *kwnames
[] = {
22881 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyLineShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
22885 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22887 arg2
= (bool) SPyObj_AsBool(obj1
);
22888 if (PyErr_Occurred()) SWIG_fail
;
22891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22892 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
22894 wxPyEndAllowThreads(__tstate
);
22895 if (PyErr_Occurred()) SWIG_fail
;
22897 Py_INCREF(Py_None
); resultobj
= Py_None
;
22904 static PyObject
*_wrap_PyLineShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22905 PyObject
*resultobj
;
22906 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
22909 int arg4
= (int) 0 ;
22910 int arg5
= (int) 0 ;
22911 PyObject
* obj0
= 0 ;
22912 char *kwnames
[] = {
22913 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyLineShape_base_OnBeginDragRight",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
22917 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22920 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
22922 wxPyEndAllowThreads(__tstate
);
22923 if (PyErr_Occurred()) SWIG_fail
;
22925 Py_INCREF(Py_None
); resultobj
= Py_None
;
22932 static PyObject
*_wrap_PyLineShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22933 PyObject
*resultobj
;
22934 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
22937 int arg4
= (int) 0 ;
22938 int arg5
= (int) 0 ;
22939 PyObject
* obj0
= 0 ;
22940 char *kwnames
[] = {
22941 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyLineShape_base_OnEndDragRight",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
22945 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22948 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
22950 wxPyEndAllowThreads(__tstate
);
22951 if (PyErr_Occurred()) SWIG_fail
;
22953 Py_INCREF(Py_None
); resultobj
= Py_None
;
22960 static PyObject
*_wrap_PyLineShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22961 PyObject
*resultobj
;
22962 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
22968 PyObject
* obj0
= 0 ;
22969 PyObject
* obj1
= 0 ;
22970 char *kwnames
[] = {
22971 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
22974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd:PyLineShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
22975 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22976 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22977 if (arg2
== NULL
) {
22978 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22982 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
22984 wxPyEndAllowThreads(__tstate
);
22985 if (PyErr_Occurred()) SWIG_fail
;
22987 Py_INCREF(Py_None
); resultobj
= Py_None
;
22994 static PyObject
*_wrap_PyLineShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22995 PyObject
*resultobj
;
22996 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
22998 PyObject
* obj0
= 0 ;
22999 PyObject
* obj1
= 0 ;
23000 char *kwnames
[] = {
23001 (char *) "self",(char *) "dc", NULL
23004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
23005 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23006 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23007 if (arg2
== NULL
) {
23008 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23012 (arg1
)->base_OnDrawControlPoints(*arg2
);
23014 wxPyEndAllowThreads(__tstate
);
23015 if (PyErr_Occurred()) SWIG_fail
;
23017 Py_INCREF(Py_None
); resultobj
= Py_None
;
23024 static PyObject
*_wrap_PyLineShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23025 PyObject
*resultobj
;
23026 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
23028 PyObject
* obj0
= 0 ;
23029 PyObject
* obj1
= 0 ;
23030 char *kwnames
[] = {
23031 (char *) "self",(char *) "dc", NULL
23034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
23035 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23036 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23037 if (arg2
== NULL
) {
23038 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23042 (arg1
)->base_OnEraseControlPoints(*arg2
);
23044 wxPyEndAllowThreads(__tstate
);
23045 if (PyErr_Occurred()) SWIG_fail
;
23047 Py_INCREF(Py_None
); resultobj
= Py_None
;
23054 static PyObject
*_wrap_PyLineShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23055 PyObject
*resultobj
;
23056 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
23058 bool arg3
= (bool) True
;
23059 PyObject
* obj0
= 0 ;
23060 PyObject
* obj1
= 0 ;
23061 PyObject
* obj2
= 0 ;
23062 char *kwnames
[] = {
23063 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
23066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyLineShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23067 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23068 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23069 if (arg2
== NULL
) {
23070 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23074 arg3
= (bool) SPyObj_AsBool(obj2
);
23075 if (PyErr_Occurred()) SWIG_fail
;
23079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23080 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
23082 wxPyEndAllowThreads(__tstate
);
23083 if (PyErr_Occurred()) SWIG_fail
;
23085 Py_INCREF(Py_None
); resultobj
= Py_None
;
23092 static PyObject
*_wrap_PyLineShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23093 PyObject
*resultobj
;
23094 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
23095 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
23099 int arg6
= (int) 0 ;
23100 int arg7
= (int) 0 ;
23101 PyObject
* obj0
= 0 ;
23102 PyObject
* obj1
= 0 ;
23103 PyObject
* obj2
= 0 ;
23104 char *kwnames
[] = {
23105 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOdd|ii:PyLineShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
,&arg6
,&arg7
)) goto fail
;
23109 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23110 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23112 arg3
= (bool) SPyObj_AsBool(obj2
);
23113 if (PyErr_Occurred()) SWIG_fail
;
23116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23117 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
23119 wxPyEndAllowThreads(__tstate
);
23120 if (PyErr_Occurred()) SWIG_fail
;
23122 Py_INCREF(Py_None
); resultobj
= Py_None
;
23129 static PyObject
*_wrap_PyLineShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23130 PyObject
*resultobj
;
23131 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
23132 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
23135 int arg5
= (int) 0 ;
23136 int arg6
= (int) 0 ;
23137 PyObject
* obj0
= 0 ;
23138 PyObject
* obj1
= 0 ;
23139 char *kwnames
[] = {
23140 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyLineShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
23144 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23145 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23148 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
23150 wxPyEndAllowThreads(__tstate
);
23151 if (PyErr_Occurred()) SWIG_fail
;
23153 Py_INCREF(Py_None
); resultobj
= Py_None
;
23160 static PyObject
*_wrap_PyLineShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23161 PyObject
*resultobj
;
23162 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
23163 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
23166 int arg5
= (int) 0 ;
23167 int arg6
= (int) 0 ;
23168 PyObject
* obj0
= 0 ;
23169 PyObject
* obj1
= 0 ;
23170 char *kwnames
[] = {
23171 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyLineShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
23175 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23176 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23179 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
23181 wxPyEndAllowThreads(__tstate
);
23182 if (PyErr_Occurred()) SWIG_fail
;
23184 Py_INCREF(Py_None
); resultobj
= Py_None
;
23191 static PyObject
*_wrap_PyLineShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23192 PyObject
*resultobj
;
23193 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
23196 PyObject
* obj0
= 0 ;
23197 char *kwnames
[] = {
23198 (char *) "self",(char *) "w",(char *) "h", NULL
23201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyLineShape_base_OnBeginSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
23202 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23205 (arg1
)->base_OnBeginSize(arg2
,arg3
);
23207 wxPyEndAllowThreads(__tstate
);
23208 if (PyErr_Occurred()) SWIG_fail
;
23210 Py_INCREF(Py_None
); resultobj
= Py_None
;
23217 static PyObject
*_wrap_PyLineShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23218 PyObject
*resultobj
;
23219 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
23222 PyObject
* obj0
= 0 ;
23223 char *kwnames
[] = {
23224 (char *) "self",(char *) "w",(char *) "h", NULL
23227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyLineShape_base_OnEndSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
23228 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLineShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23231 (arg1
)->base_OnEndSize(arg2
,arg3
);
23233 wxPyEndAllowThreads(__tstate
);
23234 if (PyErr_Occurred()) SWIG_fail
;
23236 Py_INCREF(Py_None
); resultobj
= Py_None
;
23243 static PyObject
* PyLineShape_swigregister(PyObject
*self
, PyObject
*args
) {
23245 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23246 SWIG_TypeClientData(SWIGTYPE_p_wxPyLineShape
, obj
);
23248 return Py_BuildValue((char *)"");
23250 static PyObject
*_wrap_new_PyPolygonShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23251 PyObject
*resultobj
;
23252 wxPyPolygonShape
*result
;
23253 char *kwnames
[] = {
23257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyPolygonShape",kwnames
)) goto fail
;
23259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23260 result
= (wxPyPolygonShape
*)new wxPyPolygonShape();
23262 wxPyEndAllowThreads(__tstate
);
23263 if (PyErr_Occurred()) SWIG_fail
;
23265 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyPolygonShape
, 1);
23272 static PyObject
*_wrap_PyPolygonShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23273 PyObject
*resultobj
;
23274 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
23275 PyObject
*arg2
= (PyObject
*) 0 ;
23276 PyObject
*arg3
= (PyObject
*) 0 ;
23277 PyObject
* obj0
= 0 ;
23278 PyObject
* obj1
= 0 ;
23279 PyObject
* obj2
= 0 ;
23280 char *kwnames
[] = {
23281 (char *) "self",(char *) "self",(char *) "_class", NULL
23284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPolygonShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23285 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23290 (arg1
)->_setCallbackInfo(arg2
,arg3
);
23292 wxPyEndAllowThreads(__tstate
);
23293 if (PyErr_Occurred()) SWIG_fail
;
23295 Py_INCREF(Py_None
); resultobj
= Py_None
;
23302 static PyObject
*_wrap_PyPolygonShape_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23303 PyObject
*resultobj
;
23304 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
23305 PyObject
*arg2
= (PyObject
*) 0 ;
23307 PyObject
* obj0
= 0 ;
23308 PyObject
* obj1
= 0 ;
23309 char *kwnames
[] = {
23310 (char *) "self",(char *) "points", NULL
23313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_Create",kwnames
,&obj0
,&obj1
)) goto fail
;
23314 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23318 result
= (PyObject
*)wxPyPolygonShape_Create(arg1
,arg2
);
23320 wxPyEndAllowThreads(__tstate
);
23321 if (PyErr_Occurred()) SWIG_fail
;
23323 resultobj
= result
;
23330 static PyObject
*_wrap_PyPolygonShape_AddPolygonPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23331 PyObject
*resultobj
;
23332 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
23333 int arg2
= (int) 0 ;
23334 PyObject
* obj0
= 0 ;
23335 char *kwnames
[] = {
23336 (char *) "self",(char *) "pos", NULL
23339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:PyPolygonShape_AddPolygonPoint",kwnames
,&obj0
,&arg2
)) goto fail
;
23340 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23343 (arg1
)->AddPolygonPoint(arg2
);
23345 wxPyEndAllowThreads(__tstate
);
23346 if (PyErr_Occurred()) SWIG_fail
;
23348 Py_INCREF(Py_None
); resultobj
= Py_None
;
23355 static PyObject
*_wrap_PyPolygonShape_CalculatePolygonCentre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23356 PyObject
*resultobj
;
23357 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
23358 PyObject
* obj0
= 0 ;
23359 char *kwnames
[] = {
23360 (char *) "self", NULL
23363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPolygonShape_CalculatePolygonCentre",kwnames
,&obj0
)) goto fail
;
23364 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23367 (arg1
)->CalculatePolygonCentre();
23369 wxPyEndAllowThreads(__tstate
);
23370 if (PyErr_Occurred()) SWIG_fail
;
23372 Py_INCREF(Py_None
); resultobj
= Py_None
;
23379 static PyObject
*_wrap_PyPolygonShape_DeletePolygonPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23380 PyObject
*resultobj
;
23381 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
23382 int arg2
= (int) 0 ;
23383 PyObject
* obj0
= 0 ;
23384 char *kwnames
[] = {
23385 (char *) "self",(char *) "pos", NULL
23388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:PyPolygonShape_DeletePolygonPoint",kwnames
,&obj0
,&arg2
)) goto fail
;
23389 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23392 (arg1
)->DeletePolygonPoint(arg2
);
23394 wxPyEndAllowThreads(__tstate
);
23395 if (PyErr_Occurred()) SWIG_fail
;
23397 Py_INCREF(Py_None
); resultobj
= Py_None
;
23404 static PyObject
*_wrap_PyPolygonShape_GetPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23405 PyObject
*resultobj
;
23406 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
23408 PyObject
* obj0
= 0 ;
23409 char *kwnames
[] = {
23410 (char *) "self", NULL
23413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPolygonShape_GetPoints",kwnames
,&obj0
)) goto fail
;
23414 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23417 result
= (PyObject
*)wxPyPolygonShape_GetPoints(arg1
);
23419 wxPyEndAllowThreads(__tstate
);
23420 if (PyErr_Occurred()) SWIG_fail
;
23422 resultobj
= result
;
23429 static PyObject
*_wrap_PyPolygonShape_GetOriginalPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23430 PyObject
*resultobj
;
23431 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
23433 PyObject
* obj0
= 0 ;
23434 char *kwnames
[] = {
23435 (char *) "self", NULL
23438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPolygonShape_GetOriginalPoints",kwnames
,&obj0
)) goto fail
;
23439 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23442 result
= (PyObject
*)wxPyPolygonShape_GetOriginalPoints(arg1
);
23444 wxPyEndAllowThreads(__tstate
);
23445 if (PyErr_Occurred()) SWIG_fail
;
23447 resultobj
= result
;
23454 static PyObject
*_wrap_PyPolygonShape_GetOriginalWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23455 PyObject
*resultobj
;
23456 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
23458 PyObject
* obj0
= 0 ;
23459 char *kwnames
[] = {
23460 (char *) "self", NULL
23463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPolygonShape_GetOriginalWidth",kwnames
,&obj0
)) goto fail
;
23464 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23467 result
= (double)((wxPyPolygonShape
const *)arg1
)->GetOriginalWidth();
23469 wxPyEndAllowThreads(__tstate
);
23470 if (PyErr_Occurred()) SWIG_fail
;
23472 resultobj
= PyFloat_FromDouble(result
);
23479 static PyObject
*_wrap_PyPolygonShape_GetOriginalHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23480 PyObject
*resultobj
;
23481 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
23483 PyObject
* obj0
= 0 ;
23484 char *kwnames
[] = {
23485 (char *) "self", NULL
23488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPolygonShape_GetOriginalHeight",kwnames
,&obj0
)) goto fail
;
23489 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23492 result
= (double)((wxPyPolygonShape
const *)arg1
)->GetOriginalHeight();
23494 wxPyEndAllowThreads(__tstate
);
23495 if (PyErr_Occurred()) SWIG_fail
;
23497 resultobj
= PyFloat_FromDouble(result
);
23504 static PyObject
*_wrap_PyPolygonShape_SetOriginalWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23505 PyObject
*resultobj
;
23506 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
23508 PyObject
* obj0
= 0 ;
23509 char *kwnames
[] = {
23510 (char *) "self",(char *) "w", NULL
23513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Od:PyPolygonShape_SetOriginalWidth",kwnames
,&obj0
,&arg2
)) goto fail
;
23514 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23517 (arg1
)->SetOriginalWidth(arg2
);
23519 wxPyEndAllowThreads(__tstate
);
23520 if (PyErr_Occurred()) SWIG_fail
;
23522 Py_INCREF(Py_None
); resultobj
= Py_None
;
23529 static PyObject
*_wrap_PyPolygonShape_SetOriginalHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23530 PyObject
*resultobj
;
23531 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
23533 PyObject
* obj0
= 0 ;
23534 char *kwnames
[] = {
23535 (char *) "self",(char *) "h", NULL
23538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Od:PyPolygonShape_SetOriginalHeight",kwnames
,&obj0
,&arg2
)) goto fail
;
23539 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23542 (arg1
)->SetOriginalHeight(arg2
);
23544 wxPyEndAllowThreads(__tstate
);
23545 if (PyErr_Occurred()) SWIG_fail
;
23547 Py_INCREF(Py_None
); resultobj
= Py_None
;
23554 static PyObject
*_wrap_PyPolygonShape_UpdateOriginalPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23555 PyObject
*resultobj
;
23556 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
23557 PyObject
* obj0
= 0 ;
23558 char *kwnames
[] = {
23559 (char *) "self", NULL
23562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPolygonShape_UpdateOriginalPoints",kwnames
,&obj0
)) goto fail
;
23563 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23566 (arg1
)->UpdateOriginalPoints();
23568 wxPyEndAllowThreads(__tstate
);
23569 if (PyErr_Occurred()) SWIG_fail
;
23571 Py_INCREF(Py_None
); resultobj
= Py_None
;
23578 static PyObject
*_wrap_PyPolygonShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23579 PyObject
*resultobj
;
23580 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
23582 PyObject
* obj0
= 0 ;
23583 PyObject
* obj1
= 0 ;
23584 char *kwnames
[] = {
23585 (char *) "self",(char *) "dc", NULL
23588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
23589 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23590 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23591 if (arg2
== NULL
) {
23592 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23596 (arg1
)->base_OnDraw(*arg2
);
23598 wxPyEndAllowThreads(__tstate
);
23599 if (PyErr_Occurred()) SWIG_fail
;
23601 Py_INCREF(Py_None
); resultobj
= Py_None
;
23608 static PyObject
*_wrap_PyPolygonShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23609 PyObject
*resultobj
;
23610 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
23612 PyObject
* obj0
= 0 ;
23613 PyObject
* obj1
= 0 ;
23614 char *kwnames
[] = {
23615 (char *) "self",(char *) "dc", NULL
23618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
23619 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23620 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23621 if (arg2
== NULL
) {
23622 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23626 (arg1
)->base_OnDrawContents(*arg2
);
23628 wxPyEndAllowThreads(__tstate
);
23629 if (PyErr_Occurred()) SWIG_fail
;
23631 Py_INCREF(Py_None
); resultobj
= Py_None
;
23638 static PyObject
*_wrap_PyPolygonShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23639 PyObject
*resultobj
;
23640 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
23642 bool arg3
= (bool) FALSE
;
23643 PyObject
* obj0
= 0 ;
23644 PyObject
* obj1
= 0 ;
23645 PyObject
* obj2
= 0 ;
23646 char *kwnames
[] = {
23647 (char *) "self",(char *) "dc",(char *) "erase", NULL
23650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyPolygonShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23651 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23652 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23653 if (arg2
== NULL
) {
23654 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23658 arg3
= (bool) SPyObj_AsBool(obj2
);
23659 if (PyErr_Occurred()) SWIG_fail
;
23663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23664 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
23666 wxPyEndAllowThreads(__tstate
);
23667 if (PyErr_Occurred()) SWIG_fail
;
23669 Py_INCREF(Py_None
); resultobj
= Py_None
;
23676 static PyObject
*_wrap_PyPolygonShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23677 PyObject
*resultobj
;
23678 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
23680 PyObject
* obj0
= 0 ;
23681 PyObject
* obj1
= 0 ;
23682 char *kwnames
[] = {
23683 (char *) "self",(char *) "dc", NULL
23686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
23687 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23688 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23689 if (arg2
== NULL
) {
23690 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23694 (arg1
)->base_OnMoveLinks(*arg2
);
23696 wxPyEndAllowThreads(__tstate
);
23697 if (PyErr_Occurred()) SWIG_fail
;
23699 Py_INCREF(Py_None
); resultobj
= Py_None
;
23706 static PyObject
*_wrap_PyPolygonShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23707 PyObject
*resultobj
;
23708 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
23710 PyObject
* obj0
= 0 ;
23711 PyObject
* obj1
= 0 ;
23712 char *kwnames
[] = {
23713 (char *) "self",(char *) "dc", NULL
23716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
23717 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23718 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23719 if (arg2
== NULL
) {
23720 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23724 (arg1
)->base_OnErase(*arg2
);
23726 wxPyEndAllowThreads(__tstate
);
23727 if (PyErr_Occurred()) SWIG_fail
;
23729 Py_INCREF(Py_None
); resultobj
= Py_None
;
23736 static PyObject
*_wrap_PyPolygonShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23737 PyObject
*resultobj
;
23738 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
23740 PyObject
* obj0
= 0 ;
23741 PyObject
* obj1
= 0 ;
23742 char *kwnames
[] = {
23743 (char *) "self",(char *) "dc", NULL
23746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
23747 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23748 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23749 if (arg2
== NULL
) {
23750 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23754 (arg1
)->base_OnEraseContents(*arg2
);
23756 wxPyEndAllowThreads(__tstate
);
23757 if (PyErr_Occurred()) SWIG_fail
;
23759 Py_INCREF(Py_None
); resultobj
= Py_None
;
23766 static PyObject
*_wrap_PyPolygonShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23767 PyObject
*resultobj
;
23768 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
23770 PyObject
* obj0
= 0 ;
23771 PyObject
* obj1
= 0 ;
23772 char *kwnames
[] = {
23773 (char *) "self",(char *) "dc", NULL
23776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
23777 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23778 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23779 if (arg2
== NULL
) {
23780 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23784 (arg1
)->base_OnHighlight(*arg2
);
23786 wxPyEndAllowThreads(__tstate
);
23787 if (PyErr_Occurred()) SWIG_fail
;
23789 Py_INCREF(Py_None
); resultobj
= Py_None
;
23796 static PyObject
*_wrap_PyPolygonShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23797 PyObject
*resultobj
;
23798 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
23801 int arg4
= (int) 0 ;
23802 int arg5
= (int) 0 ;
23803 PyObject
* obj0
= 0 ;
23804 char *kwnames
[] = {
23805 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyPolygonShape_base_OnLeftClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
23809 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23812 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
23814 wxPyEndAllowThreads(__tstate
);
23815 if (PyErr_Occurred()) SWIG_fail
;
23817 Py_INCREF(Py_None
); resultobj
= Py_None
;
23824 static PyObject
*_wrap_PyPolygonShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23825 PyObject
*resultobj
;
23826 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
23829 int arg4
= (int) 0 ;
23830 int arg5
= (int) 0 ;
23831 PyObject
* obj0
= 0 ;
23832 char *kwnames
[] = {
23833 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyPolygonShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
23837 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23840 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
23842 wxPyEndAllowThreads(__tstate
);
23843 if (PyErr_Occurred()) SWIG_fail
;
23845 Py_INCREF(Py_None
); resultobj
= Py_None
;
23852 static PyObject
*_wrap_PyPolygonShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23853 PyObject
*resultobj
;
23854 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
23857 int arg4
= (int) 0 ;
23858 int arg5
= (int) 0 ;
23859 PyObject
* obj0
= 0 ;
23860 char *kwnames
[] = {
23861 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyPolygonShape_base_OnRightClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
23865 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23868 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
23870 wxPyEndAllowThreads(__tstate
);
23871 if (PyErr_Occurred()) SWIG_fail
;
23873 Py_INCREF(Py_None
); resultobj
= Py_None
;
23880 static PyObject
*_wrap_PyPolygonShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23881 PyObject
*resultobj
;
23882 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
23885 PyObject
* obj0
= 0 ;
23886 char *kwnames
[] = {
23887 (char *) "self",(char *) "x",(char *) "y", NULL
23890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyPolygonShape_base_OnSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
23891 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23894 (arg1
)->base_OnSize(arg2
,arg3
);
23896 wxPyEndAllowThreads(__tstate
);
23897 if (PyErr_Occurred()) SWIG_fail
;
23899 Py_INCREF(Py_None
); resultobj
= Py_None
;
23906 static PyObject
*_wrap_PyPolygonShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23907 PyObject
*resultobj
;
23908 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
23914 bool arg7
= (bool) True
;
23916 PyObject
* obj0
= 0 ;
23917 PyObject
* obj1
= 0 ;
23918 PyObject
* obj6
= 0 ;
23919 char *kwnames
[] = {
23920 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
23923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd|O:PyPolygonShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
)) goto fail
;
23924 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23925 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23926 if (arg2
== NULL
) {
23927 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23931 arg7
= (bool) SPyObj_AsBool(obj6
);
23932 if (PyErr_Occurred()) SWIG_fail
;
23936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23937 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
23939 wxPyEndAllowThreads(__tstate
);
23940 if (PyErr_Occurred()) SWIG_fail
;
23942 resultobj
= PyInt_FromLong((long)result
);
23949 static PyObject
*_wrap_PyPolygonShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23950 PyObject
*resultobj
;
23951 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
23957 bool arg7
= (bool) True
;
23958 PyObject
* obj0
= 0 ;
23959 PyObject
* obj1
= 0 ;
23960 PyObject
* obj6
= 0 ;
23961 char *kwnames
[] = {
23962 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
23965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd|O:PyPolygonShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
)) goto fail
;
23966 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23967 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23968 if (arg2
== NULL
) {
23969 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23973 arg7
= (bool) SPyObj_AsBool(obj6
);
23974 if (PyErr_Occurred()) SWIG_fail
;
23978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23979 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
23981 wxPyEndAllowThreads(__tstate
);
23982 if (PyErr_Occurred()) SWIG_fail
;
23984 Py_INCREF(Py_None
); resultobj
= Py_None
;
23991 static PyObject
*_wrap_PyPolygonShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23992 PyObject
*resultobj
;
23993 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
23997 int arg5
= (int) 0 ;
23998 int arg6
= (int) 0 ;
23999 PyObject
* obj0
= 0 ;
24000 PyObject
* obj1
= 0 ;
24001 char *kwnames
[] = {
24002 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyPolygonShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
24006 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24008 arg2
= (bool) SPyObj_AsBool(obj1
);
24009 if (PyErr_Occurred()) SWIG_fail
;
24012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24013 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
24015 wxPyEndAllowThreads(__tstate
);
24016 if (PyErr_Occurred()) SWIG_fail
;
24018 Py_INCREF(Py_None
); resultobj
= Py_None
;
24025 static PyObject
*_wrap_PyPolygonShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24026 PyObject
*resultobj
;
24027 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
24030 int arg4
= (int) 0 ;
24031 int arg5
= (int) 0 ;
24032 PyObject
* obj0
= 0 ;
24033 char *kwnames
[] = {
24034 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyPolygonShape_base_OnBeginDragLeft",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
24038 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24041 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
24043 wxPyEndAllowThreads(__tstate
);
24044 if (PyErr_Occurred()) SWIG_fail
;
24046 Py_INCREF(Py_None
); resultobj
= Py_None
;
24053 static PyObject
*_wrap_PyPolygonShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24054 PyObject
*resultobj
;
24055 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
24058 int arg4
= (int) 0 ;
24059 int arg5
= (int) 0 ;
24060 PyObject
* obj0
= 0 ;
24061 char *kwnames
[] = {
24062 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyPolygonShape_base_OnEndDragLeft",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
24066 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24069 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
24071 wxPyEndAllowThreads(__tstate
);
24072 if (PyErr_Occurred()) SWIG_fail
;
24074 Py_INCREF(Py_None
); resultobj
= Py_None
;
24081 static PyObject
*_wrap_PyPolygonShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24082 PyObject
*resultobj
;
24083 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
24087 int arg5
= (int) 0 ;
24088 int arg6
= (int) 0 ;
24089 PyObject
* obj0
= 0 ;
24090 PyObject
* obj1
= 0 ;
24091 char *kwnames
[] = {
24092 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyPolygonShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
24096 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24098 arg2
= (bool) SPyObj_AsBool(obj1
);
24099 if (PyErr_Occurred()) SWIG_fail
;
24102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24103 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
24105 wxPyEndAllowThreads(__tstate
);
24106 if (PyErr_Occurred()) SWIG_fail
;
24108 Py_INCREF(Py_None
); resultobj
= Py_None
;
24115 static PyObject
*_wrap_PyPolygonShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24116 PyObject
*resultobj
;
24117 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
24120 int arg4
= (int) 0 ;
24121 int arg5
= (int) 0 ;
24122 PyObject
* obj0
= 0 ;
24123 char *kwnames
[] = {
24124 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyPolygonShape_base_OnBeginDragRight",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
24128 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24131 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
24133 wxPyEndAllowThreads(__tstate
);
24134 if (PyErr_Occurred()) SWIG_fail
;
24136 Py_INCREF(Py_None
); resultobj
= Py_None
;
24143 static PyObject
*_wrap_PyPolygonShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24144 PyObject
*resultobj
;
24145 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
24148 int arg4
= (int) 0 ;
24149 int arg5
= (int) 0 ;
24150 PyObject
* obj0
= 0 ;
24151 char *kwnames
[] = {
24152 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyPolygonShape_base_OnEndDragRight",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
24156 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24159 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
24161 wxPyEndAllowThreads(__tstate
);
24162 if (PyErr_Occurred()) SWIG_fail
;
24164 Py_INCREF(Py_None
); resultobj
= Py_None
;
24171 static PyObject
*_wrap_PyPolygonShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24172 PyObject
*resultobj
;
24173 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
24179 PyObject
* obj0
= 0 ;
24180 PyObject
* obj1
= 0 ;
24181 char *kwnames
[] = {
24182 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
24185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd:PyPolygonShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
24186 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24187 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24188 if (arg2
== NULL
) {
24189 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24193 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
24195 wxPyEndAllowThreads(__tstate
);
24196 if (PyErr_Occurred()) SWIG_fail
;
24198 Py_INCREF(Py_None
); resultobj
= Py_None
;
24205 static PyObject
*_wrap_PyPolygonShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24206 PyObject
*resultobj
;
24207 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
24209 PyObject
* obj0
= 0 ;
24210 PyObject
* obj1
= 0 ;
24211 char *kwnames
[] = {
24212 (char *) "self",(char *) "dc", NULL
24215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
24216 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24217 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24218 if (arg2
== NULL
) {
24219 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24223 (arg1
)->base_OnDrawControlPoints(*arg2
);
24225 wxPyEndAllowThreads(__tstate
);
24226 if (PyErr_Occurred()) SWIG_fail
;
24228 Py_INCREF(Py_None
); resultobj
= Py_None
;
24235 static PyObject
*_wrap_PyPolygonShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24236 PyObject
*resultobj
;
24237 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
24239 PyObject
* obj0
= 0 ;
24240 PyObject
* obj1
= 0 ;
24241 char *kwnames
[] = {
24242 (char *) "self",(char *) "dc", NULL
24245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
24246 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24247 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24248 if (arg2
== NULL
) {
24249 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24253 (arg1
)->base_OnEraseControlPoints(*arg2
);
24255 wxPyEndAllowThreads(__tstate
);
24256 if (PyErr_Occurred()) SWIG_fail
;
24258 Py_INCREF(Py_None
); resultobj
= Py_None
;
24265 static PyObject
*_wrap_PyPolygonShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24266 PyObject
*resultobj
;
24267 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
24269 bool arg3
= (bool) True
;
24270 PyObject
* obj0
= 0 ;
24271 PyObject
* obj1
= 0 ;
24272 PyObject
* obj2
= 0 ;
24273 char *kwnames
[] = {
24274 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
24277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyPolygonShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24278 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24279 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24280 if (arg2
== NULL
) {
24281 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24285 arg3
= (bool) SPyObj_AsBool(obj2
);
24286 if (PyErr_Occurred()) SWIG_fail
;
24290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24291 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
24293 wxPyEndAllowThreads(__tstate
);
24294 if (PyErr_Occurred()) SWIG_fail
;
24296 Py_INCREF(Py_None
); resultobj
= Py_None
;
24303 static PyObject
*_wrap_PyPolygonShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24304 PyObject
*resultobj
;
24305 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
24306 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
24310 int arg6
= (int) 0 ;
24311 int arg7
= (int) 0 ;
24312 PyObject
* obj0
= 0 ;
24313 PyObject
* obj1
= 0 ;
24314 PyObject
* obj2
= 0 ;
24315 char *kwnames
[] = {
24316 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOdd|ii:PyPolygonShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
,&arg6
,&arg7
)) goto fail
;
24320 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24321 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24323 arg3
= (bool) SPyObj_AsBool(obj2
);
24324 if (PyErr_Occurred()) SWIG_fail
;
24327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24328 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
24330 wxPyEndAllowThreads(__tstate
);
24331 if (PyErr_Occurred()) SWIG_fail
;
24333 Py_INCREF(Py_None
); resultobj
= Py_None
;
24340 static PyObject
*_wrap_PyPolygonShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24341 PyObject
*resultobj
;
24342 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
24343 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
24346 int arg5
= (int) 0 ;
24347 int arg6
= (int) 0 ;
24348 PyObject
* obj0
= 0 ;
24349 PyObject
* obj1
= 0 ;
24350 char *kwnames
[] = {
24351 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyPolygonShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
24355 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24356 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24359 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
24361 wxPyEndAllowThreads(__tstate
);
24362 if (PyErr_Occurred()) SWIG_fail
;
24364 Py_INCREF(Py_None
); resultobj
= Py_None
;
24371 static PyObject
*_wrap_PyPolygonShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24372 PyObject
*resultobj
;
24373 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
24374 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
24377 int arg5
= (int) 0 ;
24378 int arg6
= (int) 0 ;
24379 PyObject
* obj0
= 0 ;
24380 PyObject
* obj1
= 0 ;
24381 char *kwnames
[] = {
24382 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyPolygonShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
24386 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24387 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24390 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
24392 wxPyEndAllowThreads(__tstate
);
24393 if (PyErr_Occurred()) SWIG_fail
;
24395 Py_INCREF(Py_None
); resultobj
= Py_None
;
24402 static PyObject
*_wrap_PyPolygonShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24403 PyObject
*resultobj
;
24404 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
24407 PyObject
* obj0
= 0 ;
24408 char *kwnames
[] = {
24409 (char *) "self",(char *) "w",(char *) "h", NULL
24412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyPolygonShape_base_OnBeginSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
24413 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24416 (arg1
)->base_OnBeginSize(arg2
,arg3
);
24418 wxPyEndAllowThreads(__tstate
);
24419 if (PyErr_Occurred()) SWIG_fail
;
24421 Py_INCREF(Py_None
); resultobj
= Py_None
;
24428 static PyObject
*_wrap_PyPolygonShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24429 PyObject
*resultobj
;
24430 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
24433 PyObject
* obj0
= 0 ;
24434 char *kwnames
[] = {
24435 (char *) "self",(char *) "w",(char *) "h", NULL
24438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyPolygonShape_base_OnEndSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
24439 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPolygonShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24442 (arg1
)->base_OnEndSize(arg2
,arg3
);
24444 wxPyEndAllowThreads(__tstate
);
24445 if (PyErr_Occurred()) SWIG_fail
;
24447 Py_INCREF(Py_None
); resultobj
= Py_None
;
24454 static PyObject
* PyPolygonShape_swigregister(PyObject
*self
, PyObject
*args
) {
24456 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24457 SWIG_TypeClientData(SWIGTYPE_p_wxPyPolygonShape
, obj
);
24459 return Py_BuildValue((char *)"");
24461 static PyObject
*_wrap_new_PyTextShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24462 PyObject
*resultobj
;
24463 double arg1
= (double) 0.0 ;
24464 double arg2
= (double) 0.0 ;
24465 wxPyTextShape
*result
;
24466 char *kwnames
[] = {
24467 (char *) "width",(char *) "height", NULL
24470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|dd:new_PyTextShape",kwnames
,&arg1
,&arg2
)) goto fail
;
24472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24473 result
= (wxPyTextShape
*)new wxPyTextShape(arg1
,arg2
);
24475 wxPyEndAllowThreads(__tstate
);
24476 if (PyErr_Occurred()) SWIG_fail
;
24478 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyTextShape
, 1);
24485 static PyObject
*_wrap_PyTextShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24486 PyObject
*resultobj
;
24487 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
24488 PyObject
*arg2
= (PyObject
*) 0 ;
24489 PyObject
*arg3
= (PyObject
*) 0 ;
24490 PyObject
* obj0
= 0 ;
24491 PyObject
* obj1
= 0 ;
24492 PyObject
* obj2
= 0 ;
24493 char *kwnames
[] = {
24494 (char *) "self",(char *) "self",(char *) "_class", NULL
24497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24498 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24503 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24505 wxPyEndAllowThreads(__tstate
);
24506 if (PyErr_Occurred()) SWIG_fail
;
24508 Py_INCREF(Py_None
); resultobj
= Py_None
;
24515 static PyObject
*_wrap_PyTextShape_base_OnDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24516 PyObject
*resultobj
;
24517 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
24518 PyObject
* obj0
= 0 ;
24519 char *kwnames
[] = {
24520 (char *) "self", NULL
24523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyTextShape_base_OnDelete",kwnames
,&obj0
)) goto fail
;
24524 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24527 (arg1
)->base_OnDelete();
24529 wxPyEndAllowThreads(__tstate
);
24530 if (PyErr_Occurred()) SWIG_fail
;
24532 Py_INCREF(Py_None
); resultobj
= Py_None
;
24539 static PyObject
*_wrap_PyTextShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24540 PyObject
*resultobj
;
24541 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
24543 PyObject
* obj0
= 0 ;
24544 PyObject
* obj1
= 0 ;
24545 char *kwnames
[] = {
24546 (char *) "self",(char *) "dc", NULL
24549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyTextShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
24550 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24551 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24552 if (arg2
== NULL
) {
24553 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24557 (arg1
)->base_OnDraw(*arg2
);
24559 wxPyEndAllowThreads(__tstate
);
24560 if (PyErr_Occurred()) SWIG_fail
;
24562 Py_INCREF(Py_None
); resultobj
= Py_None
;
24569 static PyObject
*_wrap_PyTextShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24570 PyObject
*resultobj
;
24571 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
24573 PyObject
* obj0
= 0 ;
24574 PyObject
* obj1
= 0 ;
24575 char *kwnames
[] = {
24576 (char *) "self",(char *) "dc", NULL
24579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyTextShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
24580 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24581 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24582 if (arg2
== NULL
) {
24583 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24587 (arg1
)->base_OnDrawContents(*arg2
);
24589 wxPyEndAllowThreads(__tstate
);
24590 if (PyErr_Occurred()) SWIG_fail
;
24592 Py_INCREF(Py_None
); resultobj
= Py_None
;
24599 static PyObject
*_wrap_PyTextShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24600 PyObject
*resultobj
;
24601 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
24603 bool arg3
= (bool) FALSE
;
24604 PyObject
* obj0
= 0 ;
24605 PyObject
* obj1
= 0 ;
24606 PyObject
* obj2
= 0 ;
24607 char *kwnames
[] = {
24608 (char *) "self",(char *) "dc",(char *) "erase", NULL
24611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyTextShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24612 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24613 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24614 if (arg2
== NULL
) {
24615 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24619 arg3
= (bool) SPyObj_AsBool(obj2
);
24620 if (PyErr_Occurred()) SWIG_fail
;
24624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24625 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
24627 wxPyEndAllowThreads(__tstate
);
24628 if (PyErr_Occurred()) SWIG_fail
;
24630 Py_INCREF(Py_None
); resultobj
= Py_None
;
24637 static PyObject
*_wrap_PyTextShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24638 PyObject
*resultobj
;
24639 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
24641 PyObject
* obj0
= 0 ;
24642 PyObject
* obj1
= 0 ;
24643 char *kwnames
[] = {
24644 (char *) "self",(char *) "dc", NULL
24647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyTextShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
24648 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24649 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24650 if (arg2
== NULL
) {
24651 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24655 (arg1
)->base_OnMoveLinks(*arg2
);
24657 wxPyEndAllowThreads(__tstate
);
24658 if (PyErr_Occurred()) SWIG_fail
;
24660 Py_INCREF(Py_None
); resultobj
= Py_None
;
24667 static PyObject
*_wrap_PyTextShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24668 PyObject
*resultobj
;
24669 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
24671 PyObject
* obj0
= 0 ;
24672 PyObject
* obj1
= 0 ;
24673 char *kwnames
[] = {
24674 (char *) "self",(char *) "dc", NULL
24677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyTextShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
24678 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24679 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24680 if (arg2
== NULL
) {
24681 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24685 (arg1
)->base_OnErase(*arg2
);
24687 wxPyEndAllowThreads(__tstate
);
24688 if (PyErr_Occurred()) SWIG_fail
;
24690 Py_INCREF(Py_None
); resultobj
= Py_None
;
24697 static PyObject
*_wrap_PyTextShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24698 PyObject
*resultobj
;
24699 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
24701 PyObject
* obj0
= 0 ;
24702 PyObject
* obj1
= 0 ;
24703 char *kwnames
[] = {
24704 (char *) "self",(char *) "dc", NULL
24707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyTextShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
24708 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24709 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24710 if (arg2
== NULL
) {
24711 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24715 (arg1
)->base_OnEraseContents(*arg2
);
24717 wxPyEndAllowThreads(__tstate
);
24718 if (PyErr_Occurred()) SWIG_fail
;
24720 Py_INCREF(Py_None
); resultobj
= Py_None
;
24727 static PyObject
*_wrap_PyTextShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24728 PyObject
*resultobj
;
24729 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
24731 PyObject
* obj0
= 0 ;
24732 PyObject
* obj1
= 0 ;
24733 char *kwnames
[] = {
24734 (char *) "self",(char *) "dc", NULL
24737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyTextShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
24738 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24739 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24740 if (arg2
== NULL
) {
24741 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24745 (arg1
)->base_OnHighlight(*arg2
);
24747 wxPyEndAllowThreads(__tstate
);
24748 if (PyErr_Occurred()) SWIG_fail
;
24750 Py_INCREF(Py_None
); resultobj
= Py_None
;
24757 static PyObject
*_wrap_PyTextShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24758 PyObject
*resultobj
;
24759 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
24762 int arg4
= (int) 0 ;
24763 int arg5
= (int) 0 ;
24764 PyObject
* obj0
= 0 ;
24765 char *kwnames
[] = {
24766 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyTextShape_base_OnLeftClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
24770 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24773 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
24775 wxPyEndAllowThreads(__tstate
);
24776 if (PyErr_Occurred()) SWIG_fail
;
24778 Py_INCREF(Py_None
); resultobj
= Py_None
;
24785 static PyObject
*_wrap_PyTextShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24786 PyObject
*resultobj
;
24787 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
24790 int arg4
= (int) 0 ;
24791 int arg5
= (int) 0 ;
24792 PyObject
* obj0
= 0 ;
24793 char *kwnames
[] = {
24794 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyTextShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
24798 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24801 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
24803 wxPyEndAllowThreads(__tstate
);
24804 if (PyErr_Occurred()) SWIG_fail
;
24806 Py_INCREF(Py_None
); resultobj
= Py_None
;
24813 static PyObject
*_wrap_PyTextShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24814 PyObject
*resultobj
;
24815 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
24818 int arg4
= (int) 0 ;
24819 int arg5
= (int) 0 ;
24820 PyObject
* obj0
= 0 ;
24821 char *kwnames
[] = {
24822 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyTextShape_base_OnRightClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
24826 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24829 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
24831 wxPyEndAllowThreads(__tstate
);
24832 if (PyErr_Occurred()) SWIG_fail
;
24834 Py_INCREF(Py_None
); resultobj
= Py_None
;
24841 static PyObject
*_wrap_PyTextShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24842 PyObject
*resultobj
;
24843 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
24846 PyObject
* obj0
= 0 ;
24847 char *kwnames
[] = {
24848 (char *) "self",(char *) "x",(char *) "y", NULL
24851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyTextShape_base_OnSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
24852 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24855 (arg1
)->base_OnSize(arg2
,arg3
);
24857 wxPyEndAllowThreads(__tstate
);
24858 if (PyErr_Occurred()) SWIG_fail
;
24860 Py_INCREF(Py_None
); resultobj
= Py_None
;
24867 static PyObject
*_wrap_PyTextShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24868 PyObject
*resultobj
;
24869 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
24875 bool arg7
= (bool) True
;
24877 PyObject
* obj0
= 0 ;
24878 PyObject
* obj1
= 0 ;
24879 PyObject
* obj6
= 0 ;
24880 char *kwnames
[] = {
24881 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
24884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd|O:PyTextShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
)) goto fail
;
24885 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24886 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24887 if (arg2
== NULL
) {
24888 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24892 arg7
= (bool) SPyObj_AsBool(obj6
);
24893 if (PyErr_Occurred()) SWIG_fail
;
24897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24898 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
24900 wxPyEndAllowThreads(__tstate
);
24901 if (PyErr_Occurred()) SWIG_fail
;
24903 resultobj
= PyInt_FromLong((long)result
);
24910 static PyObject
*_wrap_PyTextShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24911 PyObject
*resultobj
;
24912 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
24918 bool arg7
= (bool) True
;
24919 PyObject
* obj0
= 0 ;
24920 PyObject
* obj1
= 0 ;
24921 PyObject
* obj6
= 0 ;
24922 char *kwnames
[] = {
24923 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
24926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd|O:PyTextShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
)) goto fail
;
24927 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24928 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24929 if (arg2
== NULL
) {
24930 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24934 arg7
= (bool) SPyObj_AsBool(obj6
);
24935 if (PyErr_Occurred()) SWIG_fail
;
24939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24940 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
24942 wxPyEndAllowThreads(__tstate
);
24943 if (PyErr_Occurred()) SWIG_fail
;
24945 Py_INCREF(Py_None
); resultobj
= Py_None
;
24952 static PyObject
*_wrap_PyTextShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24953 PyObject
*resultobj
;
24954 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
24958 int arg5
= (int) 0 ;
24959 int arg6
= (int) 0 ;
24960 PyObject
* obj0
= 0 ;
24961 PyObject
* obj1
= 0 ;
24962 char *kwnames
[] = {
24963 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyTextShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
24967 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24969 arg2
= (bool) SPyObj_AsBool(obj1
);
24970 if (PyErr_Occurred()) SWIG_fail
;
24973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24974 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
24976 wxPyEndAllowThreads(__tstate
);
24977 if (PyErr_Occurred()) SWIG_fail
;
24979 Py_INCREF(Py_None
); resultobj
= Py_None
;
24986 static PyObject
*_wrap_PyTextShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24987 PyObject
*resultobj
;
24988 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
24991 int arg4
= (int) 0 ;
24992 int arg5
= (int) 0 ;
24993 PyObject
* obj0
= 0 ;
24994 char *kwnames
[] = {
24995 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyTextShape_base_OnBeginDragLeft",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
24999 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25002 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
25004 wxPyEndAllowThreads(__tstate
);
25005 if (PyErr_Occurred()) SWIG_fail
;
25007 Py_INCREF(Py_None
); resultobj
= Py_None
;
25014 static PyObject
*_wrap_PyTextShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25015 PyObject
*resultobj
;
25016 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
25019 int arg4
= (int) 0 ;
25020 int arg5
= (int) 0 ;
25021 PyObject
* obj0
= 0 ;
25022 char *kwnames
[] = {
25023 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
25026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyTextShape_base_OnEndDragLeft",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
25027 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25030 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
25032 wxPyEndAllowThreads(__tstate
);
25033 if (PyErr_Occurred()) SWIG_fail
;
25035 Py_INCREF(Py_None
); resultobj
= Py_None
;
25042 static PyObject
*_wrap_PyTextShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25043 PyObject
*resultobj
;
25044 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
25048 int arg5
= (int) 0 ;
25049 int arg6
= (int) 0 ;
25050 PyObject
* obj0
= 0 ;
25051 PyObject
* obj1
= 0 ;
25052 char *kwnames
[] = {
25053 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
25056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyTextShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
25057 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25059 arg2
= (bool) SPyObj_AsBool(obj1
);
25060 if (PyErr_Occurred()) SWIG_fail
;
25063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25064 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
25066 wxPyEndAllowThreads(__tstate
);
25067 if (PyErr_Occurred()) SWIG_fail
;
25069 Py_INCREF(Py_None
); resultobj
= Py_None
;
25076 static PyObject
*_wrap_PyTextShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25077 PyObject
*resultobj
;
25078 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
25081 int arg4
= (int) 0 ;
25082 int arg5
= (int) 0 ;
25083 PyObject
* obj0
= 0 ;
25084 char *kwnames
[] = {
25085 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
25088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyTextShape_base_OnBeginDragRight",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
25089 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25092 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
25094 wxPyEndAllowThreads(__tstate
);
25095 if (PyErr_Occurred()) SWIG_fail
;
25097 Py_INCREF(Py_None
); resultobj
= Py_None
;
25104 static PyObject
*_wrap_PyTextShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25105 PyObject
*resultobj
;
25106 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
25109 int arg4
= (int) 0 ;
25110 int arg5
= (int) 0 ;
25111 PyObject
* obj0
= 0 ;
25112 char *kwnames
[] = {
25113 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
25116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|ii:PyTextShape_base_OnEndDragRight",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
25117 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25120 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
25122 wxPyEndAllowThreads(__tstate
);
25123 if (PyErr_Occurred()) SWIG_fail
;
25125 Py_INCREF(Py_None
); resultobj
= Py_None
;
25132 static PyObject
*_wrap_PyTextShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25133 PyObject
*resultobj
;
25134 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
25140 PyObject
* obj0
= 0 ;
25141 PyObject
* obj1
= 0 ;
25142 char *kwnames
[] = {
25143 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
25146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd:PyTextShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
25147 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25148 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25149 if (arg2
== NULL
) {
25150 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25154 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
25156 wxPyEndAllowThreads(__tstate
);
25157 if (PyErr_Occurred()) SWIG_fail
;
25159 Py_INCREF(Py_None
); resultobj
= Py_None
;
25166 static PyObject
*_wrap_PyTextShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25167 PyObject
*resultobj
;
25168 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
25170 PyObject
* obj0
= 0 ;
25171 PyObject
* obj1
= 0 ;
25172 char *kwnames
[] = {
25173 (char *) "self",(char *) "dc", NULL
25176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyTextShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
25177 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25178 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25179 if (arg2
== NULL
) {
25180 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25184 (arg1
)->base_OnDrawControlPoints(*arg2
);
25186 wxPyEndAllowThreads(__tstate
);
25187 if (PyErr_Occurred()) SWIG_fail
;
25189 Py_INCREF(Py_None
); resultobj
= Py_None
;
25196 static PyObject
*_wrap_PyTextShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25197 PyObject
*resultobj
;
25198 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
25200 PyObject
* obj0
= 0 ;
25201 PyObject
* obj1
= 0 ;
25202 char *kwnames
[] = {
25203 (char *) "self",(char *) "dc", NULL
25206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyTextShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
25207 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25208 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25209 if (arg2
== NULL
) {
25210 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25214 (arg1
)->base_OnEraseControlPoints(*arg2
);
25216 wxPyEndAllowThreads(__tstate
);
25217 if (PyErr_Occurred()) SWIG_fail
;
25219 Py_INCREF(Py_None
); resultobj
= Py_None
;
25226 static PyObject
*_wrap_PyTextShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25227 PyObject
*resultobj
;
25228 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
25230 bool arg3
= (bool) True
;
25231 PyObject
* obj0
= 0 ;
25232 PyObject
* obj1
= 0 ;
25233 PyObject
* obj2
= 0 ;
25234 char *kwnames
[] = {
25235 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
25238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyTextShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25239 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25240 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25241 if (arg2
== NULL
) {
25242 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25246 arg3
= (bool) SPyObj_AsBool(obj2
);
25247 if (PyErr_Occurred()) SWIG_fail
;
25251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25252 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
25254 wxPyEndAllowThreads(__tstate
);
25255 if (PyErr_Occurred()) SWIG_fail
;
25257 Py_INCREF(Py_None
); resultobj
= Py_None
;
25264 static PyObject
*_wrap_PyTextShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25265 PyObject
*resultobj
;
25266 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
25267 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
25271 int arg6
= (int) 0 ;
25272 int arg7
= (int) 0 ;
25273 PyObject
* obj0
= 0 ;
25274 PyObject
* obj1
= 0 ;
25275 PyObject
* obj2
= 0 ;
25276 char *kwnames
[] = {
25277 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
25280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOdd|ii:PyTextShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
,&arg6
,&arg7
)) goto fail
;
25281 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25282 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25284 arg3
= (bool) SPyObj_AsBool(obj2
);
25285 if (PyErr_Occurred()) SWIG_fail
;
25288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25289 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
25291 wxPyEndAllowThreads(__tstate
);
25292 if (PyErr_Occurred()) SWIG_fail
;
25294 Py_INCREF(Py_None
); resultobj
= Py_None
;
25301 static PyObject
*_wrap_PyTextShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25302 PyObject
*resultobj
;
25303 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
25304 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
25307 int arg5
= (int) 0 ;
25308 int arg6
= (int) 0 ;
25309 PyObject
* obj0
= 0 ;
25310 PyObject
* obj1
= 0 ;
25311 char *kwnames
[] = {
25312 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
25315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyTextShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
25316 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25317 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25320 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
25322 wxPyEndAllowThreads(__tstate
);
25323 if (PyErr_Occurred()) SWIG_fail
;
25325 Py_INCREF(Py_None
); resultobj
= Py_None
;
25332 static PyObject
*_wrap_PyTextShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25333 PyObject
*resultobj
;
25334 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
25335 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
25338 int arg5
= (int) 0 ;
25339 int arg6
= (int) 0 ;
25340 PyObject
* obj0
= 0 ;
25341 PyObject
* obj1
= 0 ;
25342 char *kwnames
[] = {
25343 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
25346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|ii:PyTextShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
25347 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25348 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyControlPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25351 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
25353 wxPyEndAllowThreads(__tstate
);
25354 if (PyErr_Occurred()) SWIG_fail
;
25356 Py_INCREF(Py_None
); resultobj
= Py_None
;
25363 static PyObject
*_wrap_PyTextShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25364 PyObject
*resultobj
;
25365 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
25368 PyObject
* obj0
= 0 ;
25369 char *kwnames
[] = {
25370 (char *) "self",(char *) "w",(char *) "h", NULL
25373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyTextShape_base_OnBeginSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
25374 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25377 (arg1
)->base_OnBeginSize(arg2
,arg3
);
25379 wxPyEndAllowThreads(__tstate
);
25380 if (PyErr_Occurred()) SWIG_fail
;
25382 Py_INCREF(Py_None
); resultobj
= Py_None
;
25389 static PyObject
*_wrap_PyTextShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25390 PyObject
*resultobj
;
25391 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
25394 PyObject
* obj0
= 0 ;
25395 char *kwnames
[] = {
25396 (char *) "self",(char *) "w",(char *) "h", NULL
25399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:PyTextShape_base_OnEndSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
25400 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25403 (arg1
)->base_OnEndSize(arg2
,arg3
);
25405 wxPyEndAllowThreads(__tstate
);
25406 if (PyErr_Occurred()) SWIG_fail
;
25408 Py_INCREF(Py_None
); resultobj
= Py_None
;
25415 static PyObject
* PyTextShape_swigregister(PyObject
*self
, PyObject
*args
) {
25417 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25418 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextShape
, obj
);
25420 return Py_BuildValue((char *)"");
25422 static PyObject
*_wrap_new_Diagram(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25423 PyObject
*resultobj
;
25425 char *kwnames
[] = {
25429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Diagram",kwnames
)) goto fail
;
25431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25432 result
= (wxDiagram
*)new wxDiagram();
25434 wxPyEndAllowThreads(__tstate
);
25435 if (PyErr_Occurred()) SWIG_fail
;
25438 resultobj
= wxPyMake_wxObject(result
);
25446 static PyObject
*_wrap_Diagram_AddShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25447 PyObject
*resultobj
;
25448 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
25449 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
25450 wxPyShape
*arg3
= (wxPyShape
*) NULL
;
25451 PyObject
* obj0
= 0 ;
25452 PyObject
* obj1
= 0 ;
25453 PyObject
* obj2
= 0 ;
25454 char *kwnames
[] = {
25455 (char *) "self",(char *) "shape",(char *) "addAfter", NULL
25458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Diagram_AddShape",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25459 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25460 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25462 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25466 (arg1
)->AddShape(arg2
,arg3
);
25468 wxPyEndAllowThreads(__tstate
);
25469 if (PyErr_Occurred()) SWIG_fail
;
25471 Py_INCREF(Py_None
); resultobj
= Py_None
;
25478 static PyObject
*_wrap_Diagram_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25479 PyObject
*resultobj
;
25480 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
25482 PyObject
* obj0
= 0 ;
25483 PyObject
* obj1
= 0 ;
25484 char *kwnames
[] = {
25485 (char *) "self",(char *) "dc", NULL
25488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_Clear",kwnames
,&obj0
,&obj1
)) goto fail
;
25489 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25490 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25491 if (arg2
== NULL
) {
25492 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25496 (arg1
)->Clear(*arg2
);
25498 wxPyEndAllowThreads(__tstate
);
25499 if (PyErr_Occurred()) SWIG_fail
;
25501 Py_INCREF(Py_None
); resultobj
= Py_None
;
25508 static PyObject
*_wrap_Diagram_DeleteAllShapes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25509 PyObject
*resultobj
;
25510 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
25511 PyObject
* obj0
= 0 ;
25512 char *kwnames
[] = {
25513 (char *) "self", NULL
25516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Diagram_DeleteAllShapes",kwnames
,&obj0
)) goto fail
;
25517 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25520 (arg1
)->DeleteAllShapes();
25522 wxPyEndAllowThreads(__tstate
);
25523 if (PyErr_Occurred()) SWIG_fail
;
25525 Py_INCREF(Py_None
); resultobj
= Py_None
;
25532 static PyObject
*_wrap_Diagram_DrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25533 PyObject
*resultobj
;
25534 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
25540 PyObject
* obj0
= 0 ;
25541 PyObject
* obj1
= 0 ;
25542 char *kwnames
[] = {
25543 (char *) "self",(char *) "dc",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
25546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdddd:Diagram_DrawOutline",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
25547 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25548 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25549 if (arg2
== NULL
) {
25550 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25554 (arg1
)->DrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
25556 wxPyEndAllowThreads(__tstate
);
25557 if (PyErr_Occurred()) SWIG_fail
;
25559 Py_INCREF(Py_None
); resultobj
= Py_None
;
25566 static PyObject
*_wrap_Diagram_FindShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25567 PyObject
*resultobj
;
25568 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
25571 PyObject
* obj0
= 0 ;
25572 char *kwnames
[] = {
25573 (char *) "self",(char *) "id", NULL
25576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:Diagram_FindShape",kwnames
,&obj0
,&arg2
)) goto fail
;
25577 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25580 result
= (wxPyShape
*)(arg1
)->FindShape(arg2
);
25582 wxPyEndAllowThreads(__tstate
);
25583 if (PyErr_Occurred()) SWIG_fail
;
25586 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
25594 static PyObject
*_wrap_Diagram_GetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25595 PyObject
*resultobj
;
25596 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
25597 wxPyShapeCanvas
*result
;
25598 PyObject
* obj0
= 0 ;
25599 char *kwnames
[] = {
25600 (char *) "self", NULL
25603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Diagram_GetCanvas",kwnames
,&obj0
)) goto fail
;
25604 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25607 result
= (wxPyShapeCanvas
*)(arg1
)->GetCanvas();
25609 wxPyEndAllowThreads(__tstate
);
25610 if (PyErr_Occurred()) SWIG_fail
;
25613 resultobj
= wxPyMake_wxObject(result
);
25621 static PyObject
*_wrap_Diagram_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25622 PyObject
*resultobj
;
25623 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
25625 PyObject
* obj0
= 0 ;
25626 char *kwnames
[] = {
25627 (char *) "self", NULL
25630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Diagram_GetCount",kwnames
,&obj0
)) goto fail
;
25631 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25634 result
= (int)(arg1
)->GetCount();
25636 wxPyEndAllowThreads(__tstate
);
25637 if (PyErr_Occurred()) SWIG_fail
;
25639 resultobj
= PyInt_FromLong((long)result
);
25646 static PyObject
*_wrap_Diagram_GetGridSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25647 PyObject
*resultobj
;
25648 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
25650 PyObject
* obj0
= 0 ;
25651 char *kwnames
[] = {
25652 (char *) "self", NULL
25655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Diagram_GetGridSpacing",kwnames
,&obj0
)) goto fail
;
25656 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25659 result
= (double)(arg1
)->GetGridSpacing();
25661 wxPyEndAllowThreads(__tstate
);
25662 if (PyErr_Occurred()) SWIG_fail
;
25664 resultobj
= PyFloat_FromDouble(result
);
25671 static PyObject
*_wrap_Diagram_GetMouseTolerance(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25672 PyObject
*resultobj
;
25673 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
25675 PyObject
* obj0
= 0 ;
25676 char *kwnames
[] = {
25677 (char *) "self", NULL
25680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Diagram_GetMouseTolerance",kwnames
,&obj0
)) goto fail
;
25681 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25684 result
= (int)(arg1
)->GetMouseTolerance();
25686 wxPyEndAllowThreads(__tstate
);
25687 if (PyErr_Occurred()) SWIG_fail
;
25689 resultobj
= PyInt_FromLong((long)result
);
25696 static PyObject
*_wrap_Diagram_GetShapeList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25697 PyObject
*resultobj
;
25698 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
25700 PyObject
* obj0
= 0 ;
25701 char *kwnames
[] = {
25702 (char *) "self", NULL
25705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Diagram_GetShapeList",kwnames
,&obj0
)) goto fail
;
25706 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25709 result
= (PyObject
*)wxDiagram_GetShapeList(arg1
);
25711 wxPyEndAllowThreads(__tstate
);
25712 if (PyErr_Occurred()) SWIG_fail
;
25714 resultobj
= result
;
25721 static PyObject
*_wrap_Diagram_GetQuickEditMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25722 PyObject
*resultobj
;
25723 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
25725 PyObject
* obj0
= 0 ;
25726 char *kwnames
[] = {
25727 (char *) "self", NULL
25730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Diagram_GetQuickEditMode",kwnames
,&obj0
)) goto fail
;
25731 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25734 result
= (bool)(arg1
)->GetQuickEditMode();
25736 wxPyEndAllowThreads(__tstate
);
25737 if (PyErr_Occurred()) SWIG_fail
;
25739 resultobj
= PyInt_FromLong((long)result
);
25746 static PyObject
*_wrap_Diagram_GetSnapToGrid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25747 PyObject
*resultobj
;
25748 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
25750 PyObject
* obj0
= 0 ;
25751 char *kwnames
[] = {
25752 (char *) "self", NULL
25755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Diagram_GetSnapToGrid",kwnames
,&obj0
)) goto fail
;
25756 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25759 result
= (bool)(arg1
)->GetSnapToGrid();
25761 wxPyEndAllowThreads(__tstate
);
25762 if (PyErr_Occurred()) SWIG_fail
;
25764 resultobj
= PyInt_FromLong((long)result
);
25771 static PyObject
*_wrap_Diagram_InsertShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25772 PyObject
*resultobj
;
25773 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
25774 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
25775 PyObject
* obj0
= 0 ;
25776 PyObject
* obj1
= 0 ;
25777 char *kwnames
[] = {
25778 (char *) "self",(char *) "shape", NULL
25781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_InsertShape",kwnames
,&obj0
,&obj1
)) goto fail
;
25782 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25783 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25786 (arg1
)->InsertShape(arg2
);
25788 wxPyEndAllowThreads(__tstate
);
25789 if (PyErr_Occurred()) SWIG_fail
;
25791 Py_INCREF(Py_None
); resultobj
= Py_None
;
25798 static PyObject
*_wrap_Diagram_RecentreAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25799 PyObject
*resultobj
;
25800 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
25802 PyObject
* obj0
= 0 ;
25803 PyObject
* obj1
= 0 ;
25804 char *kwnames
[] = {
25805 (char *) "self",(char *) "dc", NULL
25808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_RecentreAll",kwnames
,&obj0
,&obj1
)) goto fail
;
25809 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25810 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25811 if (arg2
== NULL
) {
25812 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25816 (arg1
)->RecentreAll(*arg2
);
25818 wxPyEndAllowThreads(__tstate
);
25819 if (PyErr_Occurred()) SWIG_fail
;
25821 Py_INCREF(Py_None
); resultobj
= Py_None
;
25828 static PyObject
*_wrap_Diagram_Redraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25829 PyObject
*resultobj
;
25830 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
25832 PyObject
* obj0
= 0 ;
25833 PyObject
* obj1
= 0 ;
25834 char *kwnames
[] = {
25835 (char *) "self",(char *) "dc", NULL
25838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_Redraw",kwnames
,&obj0
,&obj1
)) goto fail
;
25839 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25840 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25841 if (arg2
== NULL
) {
25842 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25846 (arg1
)->Redraw(*arg2
);
25848 wxPyEndAllowThreads(__tstate
);
25849 if (PyErr_Occurred()) SWIG_fail
;
25851 Py_INCREF(Py_None
); resultobj
= Py_None
;
25858 static PyObject
*_wrap_Diagram_RemoveAllShapes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25859 PyObject
*resultobj
;
25860 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
25861 PyObject
* obj0
= 0 ;
25862 char *kwnames
[] = {
25863 (char *) "self", NULL
25866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Diagram_RemoveAllShapes",kwnames
,&obj0
)) goto fail
;
25867 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25870 (arg1
)->RemoveAllShapes();
25872 wxPyEndAllowThreads(__tstate
);
25873 if (PyErr_Occurred()) SWIG_fail
;
25875 Py_INCREF(Py_None
); resultobj
= Py_None
;
25882 static PyObject
*_wrap_Diagram_RemoveShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25883 PyObject
*resultobj
;
25884 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
25885 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
25886 PyObject
* obj0
= 0 ;
25887 PyObject
* obj1
= 0 ;
25888 char *kwnames
[] = {
25889 (char *) "self",(char *) "shape", NULL
25892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_RemoveShape",kwnames
,&obj0
,&obj1
)) goto fail
;
25893 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25894 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25897 (arg1
)->RemoveShape(arg2
);
25899 wxPyEndAllowThreads(__tstate
);
25900 if (PyErr_Occurred()) SWIG_fail
;
25902 Py_INCREF(Py_None
); resultobj
= Py_None
;
25909 static PyObject
*_wrap_Diagram_SetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25910 PyObject
*resultobj
;
25911 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
25912 wxPyShapeCanvas
*arg2
= (wxPyShapeCanvas
*) 0 ;
25913 PyObject
* obj0
= 0 ;
25914 PyObject
* obj1
= 0 ;
25915 char *kwnames
[] = {
25916 (char *) "self",(char *) "canvas", NULL
25919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_SetCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
25920 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25921 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25924 (arg1
)->SetCanvas(arg2
);
25926 wxPyEndAllowThreads(__tstate
);
25927 if (PyErr_Occurred()) SWIG_fail
;
25929 Py_INCREF(Py_None
); resultobj
= Py_None
;
25936 static PyObject
*_wrap_Diagram_SetGridSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25937 PyObject
*resultobj
;
25938 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
25940 PyObject
* obj0
= 0 ;
25941 char *kwnames
[] = {
25942 (char *) "self",(char *) "spacing", NULL
25945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Od:Diagram_SetGridSpacing",kwnames
,&obj0
,&arg2
)) goto fail
;
25946 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25949 (arg1
)->SetGridSpacing(arg2
);
25951 wxPyEndAllowThreads(__tstate
);
25952 if (PyErr_Occurred()) SWIG_fail
;
25954 Py_INCREF(Py_None
); resultobj
= Py_None
;
25961 static PyObject
*_wrap_Diagram_SetMouseTolerance(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25962 PyObject
*resultobj
;
25963 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
25965 PyObject
* obj0
= 0 ;
25966 char *kwnames
[] = {
25967 (char *) "self",(char *) "tolerance", NULL
25970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Diagram_SetMouseTolerance",kwnames
,&obj0
,&arg2
)) goto fail
;
25971 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25974 (arg1
)->SetMouseTolerance(arg2
);
25976 wxPyEndAllowThreads(__tstate
);
25977 if (PyErr_Occurred()) SWIG_fail
;
25979 Py_INCREF(Py_None
); resultobj
= Py_None
;
25986 static PyObject
*_wrap_Diagram_SetQuickEditMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25987 PyObject
*resultobj
;
25988 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
25990 PyObject
* obj0
= 0 ;
25991 PyObject
* obj1
= 0 ;
25992 char *kwnames
[] = {
25993 (char *) "self",(char *) "mode", NULL
25996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_SetQuickEditMode",kwnames
,&obj0
,&obj1
)) goto fail
;
25997 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25999 arg2
= (bool) SPyObj_AsBool(obj1
);
26000 if (PyErr_Occurred()) SWIG_fail
;
26003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26004 (arg1
)->SetQuickEditMode(arg2
);
26006 wxPyEndAllowThreads(__tstate
);
26007 if (PyErr_Occurred()) SWIG_fail
;
26009 Py_INCREF(Py_None
); resultobj
= Py_None
;
26016 static PyObject
*_wrap_Diagram_SetSnapToGrid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26017 PyObject
*resultobj
;
26018 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
26020 PyObject
* obj0
= 0 ;
26021 PyObject
* obj1
= 0 ;
26022 char *kwnames
[] = {
26023 (char *) "self",(char *) "snap", NULL
26026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_SetSnapToGrid",kwnames
,&obj0
,&obj1
)) goto fail
;
26027 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26029 arg2
= (bool) SPyObj_AsBool(obj1
);
26030 if (PyErr_Occurred()) SWIG_fail
;
26033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26034 (arg1
)->SetSnapToGrid(arg2
);
26036 wxPyEndAllowThreads(__tstate
);
26037 if (PyErr_Occurred()) SWIG_fail
;
26039 Py_INCREF(Py_None
); resultobj
= Py_None
;
26046 static PyObject
*_wrap_Diagram_ShowAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26047 PyObject
*resultobj
;
26048 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
26050 PyObject
* obj0
= 0 ;
26051 PyObject
* obj1
= 0 ;
26052 char *kwnames
[] = {
26053 (char *) "self",(char *) "show", NULL
26056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_ShowAll",kwnames
,&obj0
,&obj1
)) goto fail
;
26057 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26059 arg2
= (bool) SPyObj_AsBool(obj1
);
26060 if (PyErr_Occurred()) SWIG_fail
;
26063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26064 (arg1
)->ShowAll(arg2
);
26066 wxPyEndAllowThreads(__tstate
);
26067 if (PyErr_Occurred()) SWIG_fail
;
26069 Py_INCREF(Py_None
); resultobj
= Py_None
;
26076 static PyObject
*_wrap_Diagram_Snap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26077 PyObject
*resultobj
;
26078 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
26079 double *arg2
= (double *) 0 ;
26080 double *arg3
= (double *) 0 ;
26083 PyObject
* obj0
= 0 ;
26084 PyObject
* obj1
= 0 ;
26085 PyObject
* obj2
= 0 ;
26086 char *kwnames
[] = {
26087 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
26090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Diagram_Snap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26091 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26093 temp2
= PyFloat_AsDouble(obj1
);
26094 if (PyErr_Occurred()) SWIG_fail
;
26098 temp3
= PyFloat_AsDouble(obj2
);
26099 if (PyErr_Occurred()) SWIG_fail
;
26103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26104 (arg1
)->Snap(arg2
,arg3
);
26106 wxPyEndAllowThreads(__tstate
);
26107 if (PyErr_Occurred()) SWIG_fail
;
26109 Py_INCREF(Py_None
); resultobj
= Py_None
;
26111 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
26112 resultobj
= t_output_helper(resultobj
,o
);
26115 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
26116 resultobj
= t_output_helper(resultobj
,o
);
26124 static PyObject
* Diagram_swigregister(PyObject
*self
, PyObject
*args
) {
26126 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26127 SWIG_TypeClientData(SWIGTYPE_p_wxDiagram
, obj
);
26129 return Py_BuildValue((char *)"");
26131 static PyObject
*_wrap_new_PyShapeCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26132 PyObject
*resultobj
;
26133 wxWindow
*arg1
= (wxWindow
*) NULL
;
26134 int arg2
= (int) -1 ;
26135 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
26136 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
26137 wxSize
const &arg4_defvalue
= wxDefaultSize
;
26138 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
26139 long arg5
= (long) wxBORDER
;
26140 wxString
const &arg6_defvalue
= wxPyShapeCanvasNameStr
;
26141 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
26142 wxPyShapeCanvas
*result
;
26145 bool temp6
= False
;
26146 PyObject
* obj0
= 0 ;
26147 PyObject
* obj2
= 0 ;
26148 PyObject
* obj3
= 0 ;
26149 PyObject
* obj5
= 0 ;
26150 char *kwnames
[] = {
26151 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
26154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OiOOlO:new_PyShapeCanvas",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
26156 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26161 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
26167 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
26172 arg6
= wxString_in_helper(obj5
);
26173 if (arg6
== NULL
) SWIG_fail
;
26178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26179 result
= (wxPyShapeCanvas
*)new wxPyShapeCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
26181 wxPyEndAllowThreads(__tstate
);
26182 if (PyErr_Occurred()) SWIG_fail
;
26185 resultobj
= wxPyMake_wxObject(result
);
26201 static PyObject
*_wrap_PyShapeCanvas__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26202 PyObject
*resultobj
;
26203 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
26204 PyObject
*arg2
= (PyObject
*) 0 ;
26205 PyObject
*arg3
= (PyObject
*) 0 ;
26206 PyObject
* obj0
= 0 ;
26207 PyObject
* obj1
= 0 ;
26208 PyObject
* obj2
= 0 ;
26209 char *kwnames
[] = {
26210 (char *) "self",(char *) "self",(char *) "_class", NULL
26213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShapeCanvas__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26214 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26219 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26221 wxPyEndAllowThreads(__tstate
);
26222 if (PyErr_Occurred()) SWIG_fail
;
26224 Py_INCREF(Py_None
); resultobj
= Py_None
;
26231 static PyObject
*_wrap_PyShapeCanvas_AddShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26232 PyObject
*resultobj
;
26233 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
26234 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
26235 wxPyShape
*arg3
= (wxPyShape
*) NULL
;
26236 PyObject
* obj0
= 0 ;
26237 PyObject
* obj1
= 0 ;
26238 PyObject
* obj2
= 0 ;
26239 char *kwnames
[] = {
26240 (char *) "self",(char *) "shape",(char *) "addAfter", NULL
26243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShapeCanvas_AddShape",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26244 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26245 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26247 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26251 (arg1
)->AddShape(arg2
,arg3
);
26253 wxPyEndAllowThreads(__tstate
);
26254 if (PyErr_Occurred()) SWIG_fail
;
26256 Py_INCREF(Py_None
); resultobj
= Py_None
;
26263 static PyObject
*_wrap_PyShapeCanvas_FindShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26264 PyObject
*resultobj
;
26265 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
26268 int *arg4
= (int *) 0 ;
26269 wxClassInfo
*arg5
= (wxClassInfo
*) NULL
;
26270 wxPyShape
*arg6
= (wxPyShape
*) NULL
;
26273 PyObject
* obj0
= 0 ;
26274 PyObject
* obj3
= 0 ;
26275 PyObject
* obj4
= 0 ;
26276 char *kwnames
[] = {
26277 (char *) "self",(char *) "x1",(char *) "y",(char *) "info",(char *) "notImage", NULL
26281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|OO:PyShapeCanvas_FindShape",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
,&obj4
)) goto fail
;
26282 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26284 if ((SWIG_ConvertPtr(obj3
,(void **) &arg5
, SWIGTYPE_p_wxClassInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26287 if ((SWIG_ConvertPtr(obj4
,(void **) &arg6
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26291 result
= (wxPyShape
*)(arg1
)->FindShape(arg2
,arg3
,arg4
,arg5
,arg6
);
26293 wxPyEndAllowThreads(__tstate
);
26294 if (PyErr_Occurred()) SWIG_fail
;
26297 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
26300 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
26301 resultobj
= t_output_helper(resultobj
,o
);
26309 static PyObject
*_wrap_PyShapeCanvas_FindFirstSensitiveShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26310 PyObject
*resultobj
;
26311 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
26314 int *arg4
= (int *) 0 ;
26318 PyObject
* obj0
= 0 ;
26319 char *kwnames
[] = {
26320 (char *) "self",(char *) "x1",(char *) "y",(char *) "op", NULL
26324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oddi:PyShapeCanvas_FindFirstSensitiveShape",kwnames
,&obj0
,&arg2
,&arg3
,&arg5
)) goto fail
;
26325 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26328 result
= (wxPyShape
*)(arg1
)->FindFirstSensitiveShape(arg2
,arg3
,arg4
,arg5
);
26330 wxPyEndAllowThreads(__tstate
);
26331 if (PyErr_Occurred()) SWIG_fail
;
26334 resultobj
= wxPyMake_wxShapeEvtHandler(result
);
26337 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
26338 resultobj
= t_output_helper(resultobj
,o
);
26346 static PyObject
*_wrap_PyShapeCanvas_GetDiagram(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26347 PyObject
*resultobj
;
26348 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
26350 PyObject
* obj0
= 0 ;
26351 char *kwnames
[] = {
26352 (char *) "self", NULL
26355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShapeCanvas_GetDiagram",kwnames
,&obj0
)) goto fail
;
26356 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26359 result
= (wxDiagram
*)(arg1
)->GetDiagram();
26361 wxPyEndAllowThreads(__tstate
);
26362 if (PyErr_Occurred()) SWIG_fail
;
26365 resultobj
= wxPyMake_wxObject(result
);
26373 static PyObject
*_wrap_PyShapeCanvas_GetQuickEditMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26374 PyObject
*resultobj
;
26375 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
26377 PyObject
* obj0
= 0 ;
26378 char *kwnames
[] = {
26379 (char *) "self", NULL
26382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShapeCanvas_GetQuickEditMode",kwnames
,&obj0
)) goto fail
;
26383 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26386 result
= (bool)(arg1
)->GetQuickEditMode();
26388 wxPyEndAllowThreads(__tstate
);
26389 if (PyErr_Occurred()) SWIG_fail
;
26391 resultobj
= PyInt_FromLong((long)result
);
26398 static PyObject
*_wrap_PyShapeCanvas_InsertShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26399 PyObject
*resultobj
;
26400 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
26401 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
26402 PyObject
* obj0
= 0 ;
26403 PyObject
* obj1
= 0 ;
26404 char *kwnames
[] = {
26405 (char *) "self",(char *) "shape", NULL
26408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeCanvas_InsertShape",kwnames
,&obj0
,&obj1
)) goto fail
;
26409 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26410 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26413 (arg1
)->InsertShape(arg2
);
26415 wxPyEndAllowThreads(__tstate
);
26416 if (PyErr_Occurred()) SWIG_fail
;
26418 Py_INCREF(Py_None
); resultobj
= Py_None
;
26425 static PyObject
*_wrap_PyShapeCanvas_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26426 PyObject
*resultobj
;
26427 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
26430 int arg4
= (int) 0 ;
26431 PyObject
* obj0
= 0 ;
26432 char *kwnames
[] = {
26433 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
26436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|i:PyShapeCanvas_base_OnBeginDragLeft",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
26437 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26440 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
);
26442 wxPyEndAllowThreads(__tstate
);
26443 if (PyErr_Occurred()) SWIG_fail
;
26445 Py_INCREF(Py_None
); resultobj
= Py_None
;
26452 static PyObject
*_wrap_PyShapeCanvas_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26453 PyObject
*resultobj
;
26454 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
26457 int arg4
= (int) 0 ;
26458 PyObject
* obj0
= 0 ;
26459 char *kwnames
[] = {
26460 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
26463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|i:PyShapeCanvas_base_OnBeginDragRight",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
26464 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26467 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
);
26469 wxPyEndAllowThreads(__tstate
);
26470 if (PyErr_Occurred()) SWIG_fail
;
26472 Py_INCREF(Py_None
); resultobj
= Py_None
;
26479 static PyObject
*_wrap_PyShapeCanvas_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26480 PyObject
*resultobj
;
26481 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
26484 int arg4
= (int) 0 ;
26485 PyObject
* obj0
= 0 ;
26486 char *kwnames
[] = {
26487 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
26490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|i:PyShapeCanvas_base_OnEndDragLeft",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
26491 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26494 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
);
26496 wxPyEndAllowThreads(__tstate
);
26497 if (PyErr_Occurred()) SWIG_fail
;
26499 Py_INCREF(Py_None
); resultobj
= Py_None
;
26506 static PyObject
*_wrap_PyShapeCanvas_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26507 PyObject
*resultobj
;
26508 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
26511 int arg4
= (int) 0 ;
26512 PyObject
* obj0
= 0 ;
26513 char *kwnames
[] = {
26514 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
26517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|i:PyShapeCanvas_base_OnEndDragRight",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
26518 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26521 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
);
26523 wxPyEndAllowThreads(__tstate
);
26524 if (PyErr_Occurred()) SWIG_fail
;
26526 Py_INCREF(Py_None
); resultobj
= Py_None
;
26533 static PyObject
*_wrap_PyShapeCanvas_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26534 PyObject
*resultobj
;
26535 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
26539 int arg5
= (int) 0 ;
26540 PyObject
* obj0
= 0 ;
26541 PyObject
* obj1
= 0 ;
26542 char *kwnames
[] = {
26543 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys", NULL
26546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|i:PyShapeCanvas_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
)) goto fail
;
26547 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26549 arg2
= (bool) SPyObj_AsBool(obj1
);
26550 if (PyErr_Occurred()) SWIG_fail
;
26553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26554 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
);
26556 wxPyEndAllowThreads(__tstate
);
26557 if (PyErr_Occurred()) SWIG_fail
;
26559 Py_INCREF(Py_None
); resultobj
= Py_None
;
26566 static PyObject
*_wrap_PyShapeCanvas_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26567 PyObject
*resultobj
;
26568 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
26572 int arg5
= (int) 0 ;
26573 PyObject
* obj0
= 0 ;
26574 PyObject
* obj1
= 0 ;
26575 char *kwnames
[] = {
26576 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys", NULL
26579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOdd|i:PyShapeCanvas_base_OnDragRight",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
)) goto fail
;
26580 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26582 arg2
= (bool) SPyObj_AsBool(obj1
);
26583 if (PyErr_Occurred()) SWIG_fail
;
26586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26587 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
);
26589 wxPyEndAllowThreads(__tstate
);
26590 if (PyErr_Occurred()) SWIG_fail
;
26592 Py_INCREF(Py_None
); resultobj
= Py_None
;
26599 static PyObject
*_wrap_PyShapeCanvas_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26600 PyObject
*resultobj
;
26601 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
26604 int arg4
= (int) 0 ;
26605 PyObject
* obj0
= 0 ;
26606 char *kwnames
[] = {
26607 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
26610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|i:PyShapeCanvas_base_OnLeftClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
26611 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26614 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
);
26616 wxPyEndAllowThreads(__tstate
);
26617 if (PyErr_Occurred()) SWIG_fail
;
26619 Py_INCREF(Py_None
); resultobj
= Py_None
;
26626 static PyObject
*_wrap_PyShapeCanvas_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26627 PyObject
*resultobj
;
26628 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
26631 int arg4
= (int) 0 ;
26632 PyObject
* obj0
= 0 ;
26633 char *kwnames
[] = {
26634 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
26637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd|i:PyShapeCanvas_base_OnRightClick",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
26638 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26641 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
);
26643 wxPyEndAllowThreads(__tstate
);
26644 if (PyErr_Occurred()) SWIG_fail
;
26646 Py_INCREF(Py_None
); resultobj
= Py_None
;
26653 static PyObject
*_wrap_PyShapeCanvas_Redraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26654 PyObject
*resultobj
;
26655 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
26657 PyObject
* obj0
= 0 ;
26658 PyObject
* obj1
= 0 ;
26659 char *kwnames
[] = {
26660 (char *) "self",(char *) "dc", NULL
26663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeCanvas_Redraw",kwnames
,&obj0
,&obj1
)) goto fail
;
26664 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26665 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26666 if (arg2
== NULL
) {
26667 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
26670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26671 (arg1
)->Redraw(*arg2
);
26673 wxPyEndAllowThreads(__tstate
);
26674 if (PyErr_Occurred()) SWIG_fail
;
26676 Py_INCREF(Py_None
); resultobj
= Py_None
;
26683 static PyObject
*_wrap_PyShapeCanvas_RemoveShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26684 PyObject
*resultobj
;
26685 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
26686 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
26687 PyObject
* obj0
= 0 ;
26688 PyObject
* obj1
= 0 ;
26689 char *kwnames
[] = {
26690 (char *) "self",(char *) "shape", NULL
26693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeCanvas_RemoveShape",kwnames
,&obj0
,&obj1
)) goto fail
;
26694 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26695 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyShape
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26698 (arg1
)->RemoveShape(arg2
);
26700 wxPyEndAllowThreads(__tstate
);
26701 if (PyErr_Occurred()) SWIG_fail
;
26703 Py_INCREF(Py_None
); resultobj
= Py_None
;
26710 static PyObject
*_wrap_PyShapeCanvas_SetDiagram(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26711 PyObject
*resultobj
;
26712 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
26713 wxDiagram
*arg2
= (wxDiagram
*) 0 ;
26714 PyObject
* obj0
= 0 ;
26715 PyObject
* obj1
= 0 ;
26716 char *kwnames
[] = {
26717 (char *) "self",(char *) "diagram", NULL
26720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeCanvas_SetDiagram",kwnames
,&obj0
,&obj1
)) goto fail
;
26721 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26722 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDiagram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26725 (arg1
)->SetDiagram(arg2
);
26727 wxPyEndAllowThreads(__tstate
);
26728 if (PyErr_Occurred()) SWIG_fail
;
26730 Py_INCREF(Py_None
); resultobj
= Py_None
;
26737 static PyObject
*_wrap_PyShapeCanvas_Snap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26738 PyObject
*resultobj
;
26739 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
26740 double *arg2
= (double *) 0 ;
26741 double *arg3
= (double *) 0 ;
26744 PyObject
* obj0
= 0 ;
26745 PyObject
* obj1
= 0 ;
26746 PyObject
* obj2
= 0 ;
26747 char *kwnames
[] = {
26748 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
26751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShapeCanvas_Snap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26752 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyShapeCanvas
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26754 temp2
= PyFloat_AsDouble(obj1
);
26755 if (PyErr_Occurred()) SWIG_fail
;
26759 temp3
= PyFloat_AsDouble(obj2
);
26760 if (PyErr_Occurred()) SWIG_fail
;
26764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26765 (arg1
)->Snap(arg2
,arg3
);
26767 wxPyEndAllowThreads(__tstate
);
26768 if (PyErr_Occurred()) SWIG_fail
;
26770 Py_INCREF(Py_None
); resultobj
= Py_None
;
26772 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
26773 resultobj
= t_output_helper(resultobj
,o
);
26776 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
26777 resultobj
= t_output_helper(resultobj
,o
);
26785 static PyObject
* PyShapeCanvas_swigregister(PyObject
*self
, PyObject
*args
) {
26787 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26788 SWIG_TypeClientData(SWIGTYPE_p_wxPyShapeCanvas
, obj
);
26790 return Py_BuildValue((char *)"");
26792 static PyObject
*_wrap_OGLInitialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26793 PyObject
*resultobj
;
26794 char *kwnames
[] = {
26798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":OGLInitialize",kwnames
)) goto fail
;
26800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26803 wxPyEndAllowThreads(__tstate
);
26804 if (PyErr_Occurred()) SWIG_fail
;
26806 Py_INCREF(Py_None
); resultobj
= Py_None
;
26813 static PyObject
*_wrap_OGLCleanUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26814 PyObject
*resultobj
;
26815 char *kwnames
[] = {
26819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":OGLCleanUp",kwnames
)) goto fail
;
26821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26824 wxPyEndAllowThreads(__tstate
);
26825 if (PyErr_Occurred()) SWIG_fail
;
26827 Py_INCREF(Py_None
); resultobj
= Py_None
;
26834 static PyMethodDef SwigMethods
[] = {
26835 { (char *)"new_ShapeRegion", (PyCFunction
) _wrap_new_ShapeRegion
, METH_VARARGS
| METH_KEYWORDS
},
26836 { (char *)"ShapeRegion_SetText", (PyCFunction
) _wrap_ShapeRegion_SetText
, METH_VARARGS
| METH_KEYWORDS
},
26837 { (char *)"ShapeRegion_SetFont", (PyCFunction
) _wrap_ShapeRegion_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
26838 { (char *)"ShapeRegion_SetMinSize", (PyCFunction
) _wrap_ShapeRegion_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
26839 { (char *)"ShapeRegion_SetSize", (PyCFunction
) _wrap_ShapeRegion_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
26840 { (char *)"ShapeRegion_SetPosition", (PyCFunction
) _wrap_ShapeRegion_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
26841 { (char *)"ShapeRegion_SetProportions", (PyCFunction
) _wrap_ShapeRegion_SetProportions
, METH_VARARGS
| METH_KEYWORDS
},
26842 { (char *)"ShapeRegion_SetFormatMode", (PyCFunction
) _wrap_ShapeRegion_SetFormatMode
, METH_VARARGS
| METH_KEYWORDS
},
26843 { (char *)"ShapeRegion_SetName", (PyCFunction
) _wrap_ShapeRegion_SetName
, METH_VARARGS
| METH_KEYWORDS
},
26844 { (char *)"ShapeRegion_SetColour", (PyCFunction
) _wrap_ShapeRegion_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
26845 { (char *)"ShapeRegion_GetText", (PyCFunction
) _wrap_ShapeRegion_GetText
, METH_VARARGS
| METH_KEYWORDS
},
26846 { (char *)"ShapeRegion_GetFont", (PyCFunction
) _wrap_ShapeRegion_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
26847 { (char *)"ShapeRegion_GetMinSize", (PyCFunction
) _wrap_ShapeRegion_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
26848 { (char *)"ShapeRegion_GetProportion", (PyCFunction
) _wrap_ShapeRegion_GetProportion
, METH_VARARGS
| METH_KEYWORDS
},
26849 { (char *)"ShapeRegion_GetSize", (PyCFunction
) _wrap_ShapeRegion_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
26850 { (char *)"ShapeRegion_GetPosition", (PyCFunction
) _wrap_ShapeRegion_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
26851 { (char *)"ShapeRegion_GetFormatMode", (PyCFunction
) _wrap_ShapeRegion_GetFormatMode
, METH_VARARGS
| METH_KEYWORDS
},
26852 { (char *)"ShapeRegion_GetName", (PyCFunction
) _wrap_ShapeRegion_GetName
, METH_VARARGS
| METH_KEYWORDS
},
26853 { (char *)"ShapeRegion_GetColour", (PyCFunction
) _wrap_ShapeRegion_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
26854 { (char *)"ShapeRegion_GetActualColourObject", (PyCFunction
) _wrap_ShapeRegion_GetActualColourObject
, METH_VARARGS
| METH_KEYWORDS
},
26855 { (char *)"ShapeRegion_GetFormattedText", (PyCFunction
) _wrap_ShapeRegion_GetFormattedText
, METH_VARARGS
| METH_KEYWORDS
},
26856 { (char *)"ShapeRegion_GetPenColour", (PyCFunction
) _wrap_ShapeRegion_GetPenColour
, METH_VARARGS
| METH_KEYWORDS
},
26857 { (char *)"ShapeRegion_GetPenStyle", (PyCFunction
) _wrap_ShapeRegion_GetPenStyle
, METH_VARARGS
| METH_KEYWORDS
},
26858 { (char *)"ShapeRegion_SetPenStyle", (PyCFunction
) _wrap_ShapeRegion_SetPenStyle
, METH_VARARGS
| METH_KEYWORDS
},
26859 { (char *)"ShapeRegion_SetPenColour", (PyCFunction
) _wrap_ShapeRegion_SetPenColour
, METH_VARARGS
| METH_KEYWORDS
},
26860 { (char *)"ShapeRegion_GetActualPen", (PyCFunction
) _wrap_ShapeRegion_GetActualPen
, METH_VARARGS
| METH_KEYWORDS
},
26861 { (char *)"ShapeRegion_GetWidth", (PyCFunction
) _wrap_ShapeRegion_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
26862 { (char *)"ShapeRegion_GetHeight", (PyCFunction
) _wrap_ShapeRegion_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
26863 { (char *)"ShapeRegion_ClearText", (PyCFunction
) _wrap_ShapeRegion_ClearText
, METH_VARARGS
| METH_KEYWORDS
},
26864 { (char *)"ShapeRegion_swigregister", ShapeRegion_swigregister
, METH_VARARGS
},
26865 { (char *)"new_AttachmentPoint", (PyCFunction
) _wrap_new_AttachmentPoint
, METH_VARARGS
| METH_KEYWORDS
},
26866 { (char *)"AttachmentPoint_m_id_set", (PyCFunction
) _wrap_AttachmentPoint_m_id_set
, METH_VARARGS
| METH_KEYWORDS
},
26867 { (char *)"AttachmentPoint_m_id_get", (PyCFunction
) _wrap_AttachmentPoint_m_id_get
, METH_VARARGS
| METH_KEYWORDS
},
26868 { (char *)"AttachmentPoint_m_x_set", (PyCFunction
) _wrap_AttachmentPoint_m_x_set
, METH_VARARGS
| METH_KEYWORDS
},
26869 { (char *)"AttachmentPoint_m_x_get", (PyCFunction
) _wrap_AttachmentPoint_m_x_get
, METH_VARARGS
| METH_KEYWORDS
},
26870 { (char *)"AttachmentPoint_m_y_set", (PyCFunction
) _wrap_AttachmentPoint_m_y_set
, METH_VARARGS
| METH_KEYWORDS
},
26871 { (char *)"AttachmentPoint_m_y_get", (PyCFunction
) _wrap_AttachmentPoint_m_y_get
, METH_VARARGS
| METH_KEYWORDS
},
26872 { (char *)"AttachmentPoint_swigregister", AttachmentPoint_swigregister
, METH_VARARGS
},
26873 { (char *)"new_PyShapeEvtHandler", (PyCFunction
) _wrap_new_PyShapeEvtHandler
, METH_VARARGS
| METH_KEYWORDS
},
26874 { (char *)"PyShapeEvtHandler__setCallbackInfo", (PyCFunction
) _wrap_PyShapeEvtHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
26875 { (char *)"PyShapeEvtHandler__setOORInfo", (PyCFunction
) _wrap_PyShapeEvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
26876 { (char *)"PyShapeEvtHandler_SetShape", (PyCFunction
) _wrap_PyShapeEvtHandler_SetShape
, METH_VARARGS
| METH_KEYWORDS
},
26877 { (char *)"PyShapeEvtHandler_GetShape", (PyCFunction
) _wrap_PyShapeEvtHandler_GetShape
, METH_VARARGS
| METH_KEYWORDS
},
26878 { (char *)"PyShapeEvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_PyShapeEvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
26879 { (char *)"PyShapeEvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_PyShapeEvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
26880 { (char *)"PyShapeEvtHandler_CreateNewCopy", (PyCFunction
) _wrap_PyShapeEvtHandler_CreateNewCopy
, METH_VARARGS
| METH_KEYWORDS
},
26881 { (char *)"PyShapeEvtHandler_base_OnDelete", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
},
26882 { (char *)"PyShapeEvtHandler_base_OnDraw", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
26883 { (char *)"PyShapeEvtHandler_base_OnDrawContents", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
26884 { (char *)"PyShapeEvtHandler_base_OnDrawBranches", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
26885 { (char *)"PyShapeEvtHandler_base_OnMoveLinks", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
26886 { (char *)"PyShapeEvtHandler_base_OnErase", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
26887 { (char *)"PyShapeEvtHandler_base_OnEraseContents", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
26888 { (char *)"PyShapeEvtHandler_base_OnHighlight", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
26889 { (char *)"PyShapeEvtHandler_base_OnLeftClick", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
26890 { (char *)"PyShapeEvtHandler_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
26891 { (char *)"PyShapeEvtHandler_base_OnRightClick", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
26892 { (char *)"PyShapeEvtHandler_base_OnSize", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
26893 { (char *)"PyShapeEvtHandler_base_OnMovePre", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
26894 { (char *)"PyShapeEvtHandler_base_OnMovePost", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
26895 { (char *)"PyShapeEvtHandler_base_OnDragLeft", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26896 { (char *)"PyShapeEvtHandler_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26897 { (char *)"PyShapeEvtHandler_base_OnEndDragLeft", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26898 { (char *)"PyShapeEvtHandler_base_OnDragRight", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26899 { (char *)"PyShapeEvtHandler_base_OnBeginDragRight", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26900 { (char *)"PyShapeEvtHandler_base_OnEndDragRight", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
26901 { (char *)"PyShapeEvtHandler_base_OnDrawOutline", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
26902 { (char *)"PyShapeEvtHandler_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
26903 { (char *)"PyShapeEvtHandler_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
26904 { (char *)"PyShapeEvtHandler_base_OnMoveLink", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
26905 { (char *)"PyShapeEvtHandler_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26906 { (char *)"PyShapeEvtHandler_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26907 { (char *)"PyShapeEvtHandler_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
26908 { (char *)"PyShapeEvtHandler_base_OnBeginSize", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
26909 { (char *)"PyShapeEvtHandler_base_OnEndSize", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
26910 { (char *)"PyShapeEvtHandler_swigregister", PyShapeEvtHandler_swigregister
, METH_VARARGS
},
26911 { (char *)"new_PyShape", (PyCFunction
) _wrap_new_PyShape
, METH_VARARGS
| METH_KEYWORDS
},
26912 { (char *)"PyShape__setCallbackInfo", (PyCFunction
) _wrap_PyShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
26913 { (char *)"PyShape_GetBoundingBoxMax", (PyCFunction
) _wrap_PyShape_GetBoundingBoxMax
, METH_VARARGS
| METH_KEYWORDS
},
26914 { (char *)"PyShape_GetBoundingBoxMin", (PyCFunction
) _wrap_PyShape_GetBoundingBoxMin
, METH_VARARGS
| METH_KEYWORDS
},
26915 { (char *)"PyShape_GetPerimeterPoint", (PyCFunction
) _wrap_PyShape_GetPerimeterPoint
, METH_VARARGS
| METH_KEYWORDS
},
26916 { (char *)"PyShape_GetCanvas", (PyCFunction
) _wrap_PyShape_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
26917 { (char *)"PyShape_SetCanvas", (PyCFunction
) _wrap_PyShape_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
26918 { (char *)"PyShape_AddToCanvas", (PyCFunction
) _wrap_PyShape_AddToCanvas
, METH_VARARGS
| METH_KEYWORDS
},
26919 { (char *)"PyShape_InsertInCanvas", (PyCFunction
) _wrap_PyShape_InsertInCanvas
, METH_VARARGS
| METH_KEYWORDS
},
26920 { (char *)"PyShape_RemoveFromCanvas", (PyCFunction
) _wrap_PyShape_RemoveFromCanvas
, METH_VARARGS
| METH_KEYWORDS
},
26921 { (char *)"PyShape_GetX", (PyCFunction
) _wrap_PyShape_GetX
, METH_VARARGS
| METH_KEYWORDS
},
26922 { (char *)"PyShape_GetY", (PyCFunction
) _wrap_PyShape_GetY
, METH_VARARGS
| METH_KEYWORDS
},
26923 { (char *)"PyShape_SetX", (PyCFunction
) _wrap_PyShape_SetX
, METH_VARARGS
| METH_KEYWORDS
},
26924 { (char *)"PyShape_SetY", (PyCFunction
) _wrap_PyShape_SetY
, METH_VARARGS
| METH_KEYWORDS
},
26925 { (char *)"PyShape_GetParent", (PyCFunction
) _wrap_PyShape_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
26926 { (char *)"PyShape_SetParent", (PyCFunction
) _wrap_PyShape_SetParent
, METH_VARARGS
| METH_KEYWORDS
},
26927 { (char *)"PyShape_GetTopAncestor", (PyCFunction
) _wrap_PyShape_GetTopAncestor
, METH_VARARGS
| METH_KEYWORDS
},
26928 { (char *)"PyShape_GetChildren", (PyCFunction
) _wrap_PyShape_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
26929 { (char *)"PyShape_Unlink", (PyCFunction
) _wrap_PyShape_Unlink
, METH_VARARGS
| METH_KEYWORDS
},
26930 { (char *)"PyShape_SetDrawHandles", (PyCFunction
) _wrap_PyShape_SetDrawHandles
, METH_VARARGS
| METH_KEYWORDS
},
26931 { (char *)"PyShape_GetDrawHandles", (PyCFunction
) _wrap_PyShape_GetDrawHandles
, METH_VARARGS
| METH_KEYWORDS
},
26932 { (char *)"PyShape_MakeControlPoints", (PyCFunction
) _wrap_PyShape_MakeControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
26933 { (char *)"PyShape_DeleteControlPoints", (PyCFunction
) _wrap_PyShape_DeleteControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
26934 { (char *)"PyShape_ResetControlPoints", (PyCFunction
) _wrap_PyShape_ResetControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
26935 { (char *)"PyShape_GetEventHandler", (PyCFunction
) _wrap_PyShape_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
26936 { (char *)"PyShape_SetEventHandler", (PyCFunction
) _wrap_PyShape_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
26937 { (char *)"PyShape_MakeMandatoryControlPoints", (PyCFunction
) _wrap_PyShape_MakeMandatoryControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
26938 { (char *)"PyShape_ResetMandatoryControlPoints", (PyCFunction
) _wrap_PyShape_ResetMandatoryControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
26939 { (char *)"PyShape_Recompute", (PyCFunction
) _wrap_PyShape_Recompute
, METH_VARARGS
| METH_KEYWORDS
},
26940 { (char *)"PyShape_CalculateSize", (PyCFunction
) _wrap_PyShape_CalculateSize
, METH_VARARGS
| METH_KEYWORDS
},
26941 { (char *)"PyShape_Select", (PyCFunction
) _wrap_PyShape_Select
, METH_VARARGS
| METH_KEYWORDS
},
26942 { (char *)"PyShape_SetHighlight", (PyCFunction
) _wrap_PyShape_SetHighlight
, METH_VARARGS
| METH_KEYWORDS
},
26943 { (char *)"PyShape_IsHighlighted", (PyCFunction
) _wrap_PyShape_IsHighlighted
, METH_VARARGS
| METH_KEYWORDS
},
26944 { (char *)"PyShape_Selected", (PyCFunction
) _wrap_PyShape_Selected
, METH_VARARGS
| METH_KEYWORDS
},
26945 { (char *)"PyShape_AncestorSelected", (PyCFunction
) _wrap_PyShape_AncestorSelected
, METH_VARARGS
| METH_KEYWORDS
},
26946 { (char *)"PyShape_SetSensitivityFilter", (PyCFunction
) _wrap_PyShape_SetSensitivityFilter
, METH_VARARGS
| METH_KEYWORDS
},
26947 { (char *)"PyShape_GetSensitivityFilter", (PyCFunction
) _wrap_PyShape_GetSensitivityFilter
, METH_VARARGS
| METH_KEYWORDS
},
26948 { (char *)"PyShape_SetDraggable", (PyCFunction
) _wrap_PyShape_SetDraggable
, METH_VARARGS
| METH_KEYWORDS
},
26949 { (char *)"PyShape_SetFixedSize", (PyCFunction
) _wrap_PyShape_SetFixedSize
, METH_VARARGS
| METH_KEYWORDS
},
26950 { (char *)"PyShape_GetFixedSize", (PyCFunction
) _wrap_PyShape_GetFixedSize
, METH_VARARGS
| METH_KEYWORDS
},
26951 { (char *)"PyShape_GetFixedWidth", (PyCFunction
) _wrap_PyShape_GetFixedWidth
, METH_VARARGS
| METH_KEYWORDS
},
26952 { (char *)"PyShape_GetFixedHeight", (PyCFunction
) _wrap_PyShape_GetFixedHeight
, METH_VARARGS
| METH_KEYWORDS
},
26953 { (char *)"PyShape_SetSpaceAttachments", (PyCFunction
) _wrap_PyShape_SetSpaceAttachments
, METH_VARARGS
| METH_KEYWORDS
},
26954 { (char *)"PyShape_GetSpaceAttachments", (PyCFunction
) _wrap_PyShape_GetSpaceAttachments
, METH_VARARGS
| METH_KEYWORDS
},
26955 { (char *)"PyShape_SetShadowMode", (PyCFunction
) _wrap_PyShape_SetShadowMode
, METH_VARARGS
| METH_KEYWORDS
},
26956 { (char *)"PyShape_GetShadowMode", (PyCFunction
) _wrap_PyShape_GetShadowMode
, METH_VARARGS
| METH_KEYWORDS
},
26957 { (char *)"PyShape_HitTest", (PyCFunction
) _wrap_PyShape_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
26958 { (char *)"PyShape_SetCentreResize", (PyCFunction
) _wrap_PyShape_SetCentreResize
, METH_VARARGS
| METH_KEYWORDS
},
26959 { (char *)"PyShape_GetCentreResize", (PyCFunction
) _wrap_PyShape_GetCentreResize
, METH_VARARGS
| METH_KEYWORDS
},
26960 { (char *)"PyShape_SetMaintainAspectRatio", (PyCFunction
) _wrap_PyShape_SetMaintainAspectRatio
, METH_VARARGS
| METH_KEYWORDS
},
26961 { (char *)"PyShape_GetMaintainAspectRatio", (PyCFunction
) _wrap_PyShape_GetMaintainAspectRatio
, METH_VARARGS
| METH_KEYWORDS
},
26962 { (char *)"PyShape_GetLines", (PyCFunction
) _wrap_PyShape_GetLines
, METH_VARARGS
| METH_KEYWORDS
},
26963 { (char *)"PyShape_SetDisableLabel", (PyCFunction
) _wrap_PyShape_SetDisableLabel
, METH_VARARGS
| METH_KEYWORDS
},
26964 { (char *)"PyShape_GetDisableLabel", (PyCFunction
) _wrap_PyShape_GetDisableLabel
, METH_VARARGS
| METH_KEYWORDS
},
26965 { (char *)"PyShape_SetAttachmentMode", (PyCFunction
) _wrap_PyShape_SetAttachmentMode
, METH_VARARGS
| METH_KEYWORDS
},
26966 { (char *)"PyShape_GetAttachmentMode", (PyCFunction
) _wrap_PyShape_GetAttachmentMode
, METH_VARARGS
| METH_KEYWORDS
},
26967 { (char *)"PyShape_SetId", (PyCFunction
) _wrap_PyShape_SetId
, METH_VARARGS
| METH_KEYWORDS
},
26968 { (char *)"PyShape_GetId", (PyCFunction
) _wrap_PyShape_GetId
, METH_VARARGS
| METH_KEYWORDS
},
26969 { (char *)"PyShape_SetPen", (PyCFunction
) _wrap_PyShape_SetPen
, METH_VARARGS
| METH_KEYWORDS
},
26970 { (char *)"PyShape_SetBrush", (PyCFunction
) _wrap_PyShape_SetBrush
, METH_VARARGS
| METH_KEYWORDS
},
26971 { (char *)"PyShape_Show", (PyCFunction
) _wrap_PyShape_Show
, METH_VARARGS
| METH_KEYWORDS
},
26972 { (char *)"PyShape_IsShown", (PyCFunction
) _wrap_PyShape_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
26973 { (char *)"PyShape_Move", (PyCFunction
) _wrap_PyShape_Move
, METH_VARARGS
| METH_KEYWORDS
},
26974 { (char *)"PyShape_Erase", (PyCFunction
) _wrap_PyShape_Erase
, METH_VARARGS
| METH_KEYWORDS
},
26975 { (char *)"PyShape_EraseContents", (PyCFunction
) _wrap_PyShape_EraseContents
, METH_VARARGS
| METH_KEYWORDS
},
26976 { (char *)"PyShape_Draw", (PyCFunction
) _wrap_PyShape_Draw
, METH_VARARGS
| METH_KEYWORDS
},
26977 { (char *)"PyShape_Flash", (PyCFunction
) _wrap_PyShape_Flash
, METH_VARARGS
| METH_KEYWORDS
},
26978 { (char *)"PyShape_MoveLinks", (PyCFunction
) _wrap_PyShape_MoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
26979 { (char *)"PyShape_DrawContents", (PyCFunction
) _wrap_PyShape_DrawContents
, METH_VARARGS
| METH_KEYWORDS
},
26980 { (char *)"PyShape_SetSize", (PyCFunction
) _wrap_PyShape_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
26981 { (char *)"PyShape_SetAttachmentSize", (PyCFunction
) _wrap_PyShape_SetAttachmentSize
, METH_VARARGS
| METH_KEYWORDS
},
26982 { (char *)"PyShape_Attach", (PyCFunction
) _wrap_PyShape_Attach
, METH_VARARGS
| METH_KEYWORDS
},
26983 { (char *)"PyShape_Detach", (PyCFunction
) _wrap_PyShape_Detach
, METH_VARARGS
| METH_KEYWORDS
},
26984 { (char *)"PyShape_Constrain", (PyCFunction
) _wrap_PyShape_Constrain
, METH_VARARGS
| METH_KEYWORDS
},
26985 { (char *)"PyShape_AddLine", (PyCFunction
) _wrap_PyShape_AddLine
, METH_VARARGS
| METH_KEYWORDS
},
26986 { (char *)"PyShape_GetLinePosition", (PyCFunction
) _wrap_PyShape_GetLinePosition
, METH_VARARGS
| METH_KEYWORDS
},
26987 { (char *)"PyShape_AddText", (PyCFunction
) _wrap_PyShape_AddText
, METH_VARARGS
| METH_KEYWORDS
},
26988 { (char *)"PyShape_GetPen", (PyCFunction
) _wrap_PyShape_GetPen
, METH_VARARGS
| METH_KEYWORDS
},
26989 { (char *)"PyShape_GetBrush", (PyCFunction
) _wrap_PyShape_GetBrush
, METH_VARARGS
| METH_KEYWORDS
},
26990 { (char *)"PyShape_SetDefaultRegionSize", (PyCFunction
) _wrap_PyShape_SetDefaultRegionSize
, METH_VARARGS
| METH_KEYWORDS
},
26991 { (char *)"PyShape_FormatText", (PyCFunction
) _wrap_PyShape_FormatText
, METH_VARARGS
| METH_KEYWORDS
},
26992 { (char *)"PyShape_SetFormatMode", (PyCFunction
) _wrap_PyShape_SetFormatMode
, METH_VARARGS
| METH_KEYWORDS
},
26993 { (char *)"PyShape_GetFormatMode", (PyCFunction
) _wrap_PyShape_GetFormatMode
, METH_VARARGS
| METH_KEYWORDS
},
26994 { (char *)"PyShape_SetFont", (PyCFunction
) _wrap_PyShape_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
26995 { (char *)"PyShape_GetFont", (PyCFunction
) _wrap_PyShape_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
26996 { (char *)"PyShape_SetTextColour", (PyCFunction
) _wrap_PyShape_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
26997 { (char *)"PyShape_GetTextColour", (PyCFunction
) _wrap_PyShape_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
26998 { (char *)"PyShape_GetNumberOfTextRegions", (PyCFunction
) _wrap_PyShape_GetNumberOfTextRegions
, METH_VARARGS
| METH_KEYWORDS
},
26999 { (char *)"PyShape_SetRegionName", (PyCFunction
) _wrap_PyShape_SetRegionName
, METH_VARARGS
| METH_KEYWORDS
},
27000 { (char *)"PyShape_GetRegionName", (PyCFunction
) _wrap_PyShape_GetRegionName
, METH_VARARGS
| METH_KEYWORDS
},
27001 { (char *)"PyShape_GetRegionId", (PyCFunction
) _wrap_PyShape_GetRegionId
, METH_VARARGS
| METH_KEYWORDS
},
27002 { (char *)"PyShape_NameRegions", (PyCFunction
) _wrap_PyShape_NameRegions
, METH_VARARGS
| METH_KEYWORDS
},
27003 { (char *)"PyShape_GetRegions", (PyCFunction
) _wrap_PyShape_GetRegions
, METH_VARARGS
| METH_KEYWORDS
},
27004 { (char *)"PyShape_AddRegion", (PyCFunction
) _wrap_PyShape_AddRegion
, METH_VARARGS
| METH_KEYWORDS
},
27005 { (char *)"PyShape_ClearRegions", (PyCFunction
) _wrap_PyShape_ClearRegions
, METH_VARARGS
| METH_KEYWORDS
},
27006 { (char *)"PyShape_AssignNewIds", (PyCFunction
) _wrap_PyShape_AssignNewIds
, METH_VARARGS
| METH_KEYWORDS
},
27007 { (char *)"PyShape_FindRegion", (PyCFunction
) _wrap_PyShape_FindRegion
, METH_VARARGS
| METH_KEYWORDS
},
27008 { (char *)"PyShape_FindRegionNames", (PyCFunction
) _wrap_PyShape_FindRegionNames
, METH_VARARGS
| METH_KEYWORDS
},
27009 { (char *)"PyShape_ClearText", (PyCFunction
) _wrap_PyShape_ClearText
, METH_VARARGS
| METH_KEYWORDS
},
27010 { (char *)"PyShape_RemoveLine", (PyCFunction
) _wrap_PyShape_RemoveLine
, METH_VARARGS
| METH_KEYWORDS
},
27011 { (char *)"PyShape_GetAttachmentPosition", (PyCFunction
) _wrap_PyShape_GetAttachmentPosition
, METH_VARARGS
| METH_KEYWORDS
},
27012 { (char *)"PyShape_GetNumberOfAttachments", (PyCFunction
) _wrap_PyShape_GetNumberOfAttachments
, METH_VARARGS
| METH_KEYWORDS
},
27013 { (char *)"PyShape_AttachmentIsValid", (PyCFunction
) _wrap_PyShape_AttachmentIsValid
, METH_VARARGS
| METH_KEYWORDS
},
27014 { (char *)"PyShape_GetAttachments", (PyCFunction
) _wrap_PyShape_GetAttachments
, METH_VARARGS
| METH_KEYWORDS
},
27015 { (char *)"PyShape_GetAttachmentPositionEdge", (PyCFunction
) _wrap_PyShape_GetAttachmentPositionEdge
, METH_VARARGS
| METH_KEYWORDS
},
27016 { (char *)"PyShape_CalcSimpleAttachment", (PyCFunction
) _wrap_PyShape_CalcSimpleAttachment
, METH_VARARGS
| METH_KEYWORDS
},
27017 { (char *)"PyShape_AttachmentSortTest", (PyCFunction
) _wrap_PyShape_AttachmentSortTest
, METH_VARARGS
| METH_KEYWORDS
},
27018 { (char *)"PyShape_EraseLinks", (PyCFunction
) _wrap_PyShape_EraseLinks
, METH_VARARGS
| METH_KEYWORDS
},
27019 { (char *)"PyShape_DrawLinks", (PyCFunction
) _wrap_PyShape_DrawLinks
, METH_VARARGS
| METH_KEYWORDS
},
27020 { (char *)"PyShape_MoveLineToNewAttachment", (PyCFunction
) _wrap_PyShape_MoveLineToNewAttachment
, METH_VARARGS
| METH_KEYWORDS
},
27021 { (char *)"PyShape_ApplyAttachmentOrdering", (PyCFunction
) _wrap_PyShape_ApplyAttachmentOrdering
, METH_VARARGS
| METH_KEYWORDS
},
27022 { (char *)"PyShape_GetBranchingAttachmentRoot", (PyCFunction
) _wrap_PyShape_GetBranchingAttachmentRoot
, METH_VARARGS
| METH_KEYWORDS
},
27023 { (char *)"PyShape_GetBranchingAttachmentInfo", (PyCFunction
) _wrap_PyShape_GetBranchingAttachmentInfo
, METH_VARARGS
| METH_KEYWORDS
},
27024 { (char *)"PyShape_GetBranchingAttachmentPoint", (PyCFunction
) _wrap_PyShape_GetBranchingAttachmentPoint
, METH_VARARGS
| METH_KEYWORDS
},
27025 { (char *)"PyShape_GetAttachmentLineCount", (PyCFunction
) _wrap_PyShape_GetAttachmentLineCount
, METH_VARARGS
| METH_KEYWORDS
},
27026 { (char *)"PyShape_SetBranchNeckLength", (PyCFunction
) _wrap_PyShape_SetBranchNeckLength
, METH_VARARGS
| METH_KEYWORDS
},
27027 { (char *)"PyShape_GetBranchNeckLength", (PyCFunction
) _wrap_PyShape_GetBranchNeckLength
, METH_VARARGS
| METH_KEYWORDS
},
27028 { (char *)"PyShape_SetBranchStemLength", (PyCFunction
) _wrap_PyShape_SetBranchStemLength
, METH_VARARGS
| METH_KEYWORDS
},
27029 { (char *)"PyShape_GetBranchStemLength", (PyCFunction
) _wrap_PyShape_GetBranchStemLength
, METH_VARARGS
| METH_KEYWORDS
},
27030 { (char *)"PyShape_SetBranchSpacing", (PyCFunction
) _wrap_PyShape_SetBranchSpacing
, METH_VARARGS
| METH_KEYWORDS
},
27031 { (char *)"PyShape_GetBranchSpacing", (PyCFunction
) _wrap_PyShape_GetBranchSpacing
, METH_VARARGS
| METH_KEYWORDS
},
27032 { (char *)"PyShape_SetBranchStyle", (PyCFunction
) _wrap_PyShape_SetBranchStyle
, METH_VARARGS
| METH_KEYWORDS
},
27033 { (char *)"PyShape_GetBranchStyle", (PyCFunction
) _wrap_PyShape_GetBranchStyle
, METH_VARARGS
| METH_KEYWORDS
},
27034 { (char *)"PyShape_PhysicalToLogicalAttachment", (PyCFunction
) _wrap_PyShape_PhysicalToLogicalAttachment
, METH_VARARGS
| METH_KEYWORDS
},
27035 { (char *)"PyShape_LogicalToPhysicalAttachment", (PyCFunction
) _wrap_PyShape_LogicalToPhysicalAttachment
, METH_VARARGS
| METH_KEYWORDS
},
27036 { (char *)"PyShape_Draggable", (PyCFunction
) _wrap_PyShape_Draggable
, METH_VARARGS
| METH_KEYWORDS
},
27037 { (char *)"PyShape_HasDescendant", (PyCFunction
) _wrap_PyShape_HasDescendant
, METH_VARARGS
| METH_KEYWORDS
},
27038 { (char *)"PyShape_CreateNewCopy", (PyCFunction
) _wrap_PyShape_CreateNewCopy
, METH_VARARGS
| METH_KEYWORDS
},
27039 { (char *)"PyShape_Copy", (PyCFunction
) _wrap_PyShape_Copy
, METH_VARARGS
| METH_KEYWORDS
},
27040 { (char *)"PyShape_CopyWithHandler", (PyCFunction
) _wrap_PyShape_CopyWithHandler
, METH_VARARGS
| METH_KEYWORDS
},
27041 { (char *)"PyShape_Rotate", (PyCFunction
) _wrap_PyShape_Rotate
, METH_VARARGS
| METH_KEYWORDS
},
27042 { (char *)"PyShape_GetRotation", (PyCFunction
) _wrap_PyShape_GetRotation
, METH_VARARGS
| METH_KEYWORDS
},
27043 { (char *)"PyShape_SetRotation", (PyCFunction
) _wrap_PyShape_SetRotation
, METH_VARARGS
| METH_KEYWORDS
},
27044 { (char *)"PyShape_ClearAttachments", (PyCFunction
) _wrap_PyShape_ClearAttachments
, METH_VARARGS
| METH_KEYWORDS
},
27045 { (char *)"PyShape_Recentre", (PyCFunction
) _wrap_PyShape_Recentre
, METH_VARARGS
| METH_KEYWORDS
},
27046 { (char *)"PyShape_ClearPointList", (PyCFunction
) _wrap_PyShape_ClearPointList
, METH_VARARGS
| METH_KEYWORDS
},
27047 { (char *)"PyShape_GetBackgroundPen", (PyCFunction
) _wrap_PyShape_GetBackgroundPen
, METH_VARARGS
| METH_KEYWORDS
},
27048 { (char *)"PyShape_GetBackgroundBrush", (PyCFunction
) _wrap_PyShape_GetBackgroundBrush
, METH_VARARGS
| METH_KEYWORDS
},
27049 { (char *)"PyShape_base_OnDelete", (PyCFunction
) _wrap_PyShape_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
},
27050 { (char *)"PyShape_base_OnDraw", (PyCFunction
) _wrap_PyShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
27051 { (char *)"PyShape_base_OnDrawContents", (PyCFunction
) _wrap_PyShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
27052 { (char *)"PyShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
27053 { (char *)"PyShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
27054 { (char *)"PyShape_base_OnErase", (PyCFunction
) _wrap_PyShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
27055 { (char *)"PyShape_base_OnEraseContents", (PyCFunction
) _wrap_PyShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
27056 { (char *)"PyShape_base_OnHighlight", (PyCFunction
) _wrap_PyShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
27057 { (char *)"PyShape_base_OnLeftClick", (PyCFunction
) _wrap_PyShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
27058 { (char *)"PyShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
27059 { (char *)"PyShape_base_OnRightClick", (PyCFunction
) _wrap_PyShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
27060 { (char *)"PyShape_base_OnSize", (PyCFunction
) _wrap_PyShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
27061 { (char *)"PyShape_base_OnMovePre", (PyCFunction
) _wrap_PyShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
27062 { (char *)"PyShape_base_OnMovePost", (PyCFunction
) _wrap_PyShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
27063 { (char *)"PyShape_base_OnDragLeft", (PyCFunction
) _wrap_PyShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
27064 { (char *)"PyShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
27065 { (char *)"PyShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
27066 { (char *)"PyShape_base_OnDragRight", (PyCFunction
) _wrap_PyShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
27067 { (char *)"PyShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
27068 { (char *)"PyShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
27069 { (char *)"PyShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
27070 { (char *)"PyShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
27071 { (char *)"PyShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
27072 { (char *)"PyShape_base_OnMoveLink", (PyCFunction
) _wrap_PyShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
27073 { (char *)"PyShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
27074 { (char *)"PyShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
27075 { (char *)"PyShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
27076 { (char *)"PyShape_base_OnBeginSize", (PyCFunction
) _wrap_PyShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
27077 { (char *)"PyShape_base_OnEndSize", (PyCFunction
) _wrap_PyShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
27078 { (char *)"PyShape_swigregister", PyShape_swigregister
, METH_VARARGS
},
27079 { (char *)"new_PseudoMetaFile", (PyCFunction
) _wrap_new_PseudoMetaFile
, METH_VARARGS
| METH_KEYWORDS
},
27080 { (char *)"delete_PseudoMetaFile", (PyCFunction
) _wrap_delete_PseudoMetaFile
, METH_VARARGS
| METH_KEYWORDS
},
27081 { (char *)"PseudoMetaFile_Draw", (PyCFunction
) _wrap_PseudoMetaFile_Draw
, METH_VARARGS
| METH_KEYWORDS
},
27082 { (char *)"PseudoMetaFile_Clear", (PyCFunction
) _wrap_PseudoMetaFile_Clear
, METH_VARARGS
| METH_KEYWORDS
},
27083 { (char *)"PseudoMetaFile_Copy", (PyCFunction
) _wrap_PseudoMetaFile_Copy
, METH_VARARGS
| METH_KEYWORDS
},
27084 { (char *)"PseudoMetaFile_Scale", (PyCFunction
) _wrap_PseudoMetaFile_Scale
, METH_VARARGS
| METH_KEYWORDS
},
27085 { (char *)"PseudoMetaFile_ScaleTo", (PyCFunction
) _wrap_PseudoMetaFile_ScaleTo
, METH_VARARGS
| METH_KEYWORDS
},
27086 { (char *)"PseudoMetaFile_Translate", (PyCFunction
) _wrap_PseudoMetaFile_Translate
, METH_VARARGS
| METH_KEYWORDS
},
27087 { (char *)"PseudoMetaFile_Rotate", (PyCFunction
) _wrap_PseudoMetaFile_Rotate
, METH_VARARGS
| METH_KEYWORDS
},
27088 { (char *)"PseudoMetaFile_LoadFromMetaFile", (PyCFunction
) _wrap_PseudoMetaFile_LoadFromMetaFile
, METH_VARARGS
| METH_KEYWORDS
},
27089 { (char *)"PseudoMetaFile_GetBounds", (PyCFunction
) _wrap_PseudoMetaFile_GetBounds
, METH_VARARGS
| METH_KEYWORDS
},
27090 { (char *)"PseudoMetaFile_CalculateSize", (PyCFunction
) _wrap_PseudoMetaFile_CalculateSize
, METH_VARARGS
| METH_KEYWORDS
},
27091 { (char *)"PseudoMetaFile_SetRotateable", (PyCFunction
) _wrap_PseudoMetaFile_SetRotateable
, METH_VARARGS
| METH_KEYWORDS
},
27092 { (char *)"PseudoMetaFile_GetRotateable", (PyCFunction
) _wrap_PseudoMetaFile_GetRotateable
, METH_VARARGS
| METH_KEYWORDS
},
27093 { (char *)"PseudoMetaFile_SetSize", (PyCFunction
) _wrap_PseudoMetaFile_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
27094 { (char *)"PseudoMetaFile_SetFillBrush", (PyCFunction
) _wrap_PseudoMetaFile_SetFillBrush
, METH_VARARGS
| METH_KEYWORDS
},
27095 { (char *)"PseudoMetaFile_GetFillBrush", (PyCFunction
) _wrap_PseudoMetaFile_GetFillBrush
, METH_VARARGS
| METH_KEYWORDS
},
27096 { (char *)"PseudoMetaFile_SetOutlinePen", (PyCFunction
) _wrap_PseudoMetaFile_SetOutlinePen
, METH_VARARGS
| METH_KEYWORDS
},
27097 { (char *)"PseudoMetaFile_GetOutlinePen", (PyCFunction
) _wrap_PseudoMetaFile_GetOutlinePen
, METH_VARARGS
| METH_KEYWORDS
},
27098 { (char *)"PseudoMetaFile_SetOutlineOp", (PyCFunction
) _wrap_PseudoMetaFile_SetOutlineOp
, METH_VARARGS
| METH_KEYWORDS
},
27099 { (char *)"PseudoMetaFile_GetOutlineOp", (PyCFunction
) _wrap_PseudoMetaFile_GetOutlineOp
, METH_VARARGS
| METH_KEYWORDS
},
27100 { (char *)"PseudoMetaFile_IsValid", (PyCFunction
) _wrap_PseudoMetaFile_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
27101 { (char *)"PseudoMetaFile_DrawLine", (PyCFunction
) _wrap_PseudoMetaFile_DrawLine
, METH_VARARGS
| METH_KEYWORDS
},
27102 { (char *)"PseudoMetaFile_DrawRectangle", (PyCFunction
) _wrap_PseudoMetaFile_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
},
27103 { (char *)"PseudoMetaFile_DrawRoundedRectangle", (PyCFunction
) _wrap_PseudoMetaFile_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
},
27104 { (char *)"PseudoMetaFile_DrawArc", (PyCFunction
) _wrap_PseudoMetaFile_DrawArc
, METH_VARARGS
| METH_KEYWORDS
},
27105 { (char *)"PseudoMetaFile_DrawEllipticArc", (PyCFunction
) _wrap_PseudoMetaFile_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
},
27106 { (char *)"PseudoMetaFile_DrawEllipse", (PyCFunction
) _wrap_PseudoMetaFile_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
},
27107 { (char *)"PseudoMetaFile_DrawPoint", (PyCFunction
) _wrap_PseudoMetaFile_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
},
27108 { (char *)"PseudoMetaFile_DrawText", (PyCFunction
) _wrap_PseudoMetaFile_DrawText
, METH_VARARGS
| METH_KEYWORDS
},
27109 { (char *)"PseudoMetaFile_DrawLines", (PyCFunction
) _wrap_PseudoMetaFile_DrawLines
, METH_VARARGS
| METH_KEYWORDS
},
27110 { (char *)"PseudoMetaFile_DrawPolygon", (PyCFunction
) _wrap_PseudoMetaFile_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
},
27111 { (char *)"PseudoMetaFile_DrawSpline", (PyCFunction
) _wrap_PseudoMetaFile_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
},
27112 { (char *)"PseudoMetaFile_SetClippingRect", (PyCFunction
) _wrap_PseudoMetaFile_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
},
27113 { (char *)"PseudoMetaFile_DestroyClippingRect", (PyCFunction
) _wrap_PseudoMetaFile_DestroyClippingRect
, METH_VARARGS
| METH_KEYWORDS
},
27114 { (char *)"PseudoMetaFile_SetPen", (PyCFunction
) _wrap_PseudoMetaFile_SetPen
, METH_VARARGS
| METH_KEYWORDS
},
27115 { (char *)"PseudoMetaFile_SetBrush", (PyCFunction
) _wrap_PseudoMetaFile_SetBrush
, METH_VARARGS
| METH_KEYWORDS
},
27116 { (char *)"PseudoMetaFile_SetFont", (PyCFunction
) _wrap_PseudoMetaFile_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
27117 { (char *)"PseudoMetaFile_SetTextColour", (PyCFunction
) _wrap_PseudoMetaFile_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
27118 { (char *)"PseudoMetaFile_SetBackgroundColour", (PyCFunction
) _wrap_PseudoMetaFile_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
27119 { (char *)"PseudoMetaFile_SetBackgroundMode", (PyCFunction
) _wrap_PseudoMetaFile_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
},
27120 { (char *)"PseudoMetaFile_swigregister", PseudoMetaFile_swigregister
, METH_VARARGS
},
27121 { (char *)"new_PyRectangleShape", (PyCFunction
) _wrap_new_PyRectangleShape
, METH_VARARGS
| METH_KEYWORDS
},
27122 { (char *)"PyRectangleShape__setCallbackInfo", (PyCFunction
) _wrap_PyRectangleShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
27123 { (char *)"PyRectangleShape_SetCornerRadius", (PyCFunction
) _wrap_PyRectangleShape_SetCornerRadius
, METH_VARARGS
| METH_KEYWORDS
},
27124 { (char *)"PyRectangleShape_GetCornerRadius", (PyCFunction
) _wrap_PyRectangleShape_GetCornerRadius
, METH_VARARGS
| METH_KEYWORDS
},
27125 { (char *)"PyRectangleShape_base_OnDelete", (PyCFunction
) _wrap_PyRectangleShape_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
},
27126 { (char *)"PyRectangleShape_base_OnDraw", (PyCFunction
) _wrap_PyRectangleShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
27127 { (char *)"PyRectangleShape_base_OnDrawContents", (PyCFunction
) _wrap_PyRectangleShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
27128 { (char *)"PyRectangleShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyRectangleShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
27129 { (char *)"PyRectangleShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyRectangleShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
27130 { (char *)"PyRectangleShape_base_OnErase", (PyCFunction
) _wrap_PyRectangleShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
27131 { (char *)"PyRectangleShape_base_OnEraseContents", (PyCFunction
) _wrap_PyRectangleShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
27132 { (char *)"PyRectangleShape_base_OnHighlight", (PyCFunction
) _wrap_PyRectangleShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
27133 { (char *)"PyRectangleShape_base_OnLeftClick", (PyCFunction
) _wrap_PyRectangleShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
27134 { (char *)"PyRectangleShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyRectangleShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
27135 { (char *)"PyRectangleShape_base_OnRightClick", (PyCFunction
) _wrap_PyRectangleShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
27136 { (char *)"PyRectangleShape_base_OnSize", (PyCFunction
) _wrap_PyRectangleShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
27137 { (char *)"PyRectangleShape_base_OnMovePre", (PyCFunction
) _wrap_PyRectangleShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
27138 { (char *)"PyRectangleShape_base_OnMovePost", (PyCFunction
) _wrap_PyRectangleShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
27139 { (char *)"PyRectangleShape_base_OnDragLeft", (PyCFunction
) _wrap_PyRectangleShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
27140 { (char *)"PyRectangleShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyRectangleShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
27141 { (char *)"PyRectangleShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyRectangleShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
27142 { (char *)"PyRectangleShape_base_OnDragRight", (PyCFunction
) _wrap_PyRectangleShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
27143 { (char *)"PyRectangleShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyRectangleShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
27144 { (char *)"PyRectangleShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyRectangleShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
27145 { (char *)"PyRectangleShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyRectangleShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
27146 { (char *)"PyRectangleShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyRectangleShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
27147 { (char *)"PyRectangleShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyRectangleShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
27148 { (char *)"PyRectangleShape_base_OnMoveLink", (PyCFunction
) _wrap_PyRectangleShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
27149 { (char *)"PyRectangleShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyRectangleShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
27150 { (char *)"PyRectangleShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyRectangleShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
27151 { (char *)"PyRectangleShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyRectangleShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
27152 { (char *)"PyRectangleShape_base_OnBeginSize", (PyCFunction
) _wrap_PyRectangleShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
27153 { (char *)"PyRectangleShape_base_OnEndSize", (PyCFunction
) _wrap_PyRectangleShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
27154 { (char *)"PyRectangleShape_swigregister", PyRectangleShape_swigregister
, METH_VARARGS
},
27155 { (char *)"new_PyControlPoint", (PyCFunction
) _wrap_new_PyControlPoint
, METH_VARARGS
| METH_KEYWORDS
},
27156 { (char *)"PyControlPoint__setCallbackInfo", (PyCFunction
) _wrap_PyControlPoint__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
27157 { (char *)"PyControlPoint_SetCornerRadius", (PyCFunction
) _wrap_PyControlPoint_SetCornerRadius
, METH_VARARGS
| METH_KEYWORDS
},
27158 { (char *)"PyControlPoint_base_OnDelete", (PyCFunction
) _wrap_PyControlPoint_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
},
27159 { (char *)"PyControlPoint_base_OnDraw", (PyCFunction
) _wrap_PyControlPoint_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
27160 { (char *)"PyControlPoint_base_OnDrawContents", (PyCFunction
) _wrap_PyControlPoint_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
27161 { (char *)"PyControlPoint_base_OnDrawBranches", (PyCFunction
) _wrap_PyControlPoint_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
27162 { (char *)"PyControlPoint_base_OnMoveLinks", (PyCFunction
) _wrap_PyControlPoint_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
27163 { (char *)"PyControlPoint_base_OnErase", (PyCFunction
) _wrap_PyControlPoint_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
27164 { (char *)"PyControlPoint_base_OnEraseContents", (PyCFunction
) _wrap_PyControlPoint_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
27165 { (char *)"PyControlPoint_base_OnHighlight", (PyCFunction
) _wrap_PyControlPoint_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
27166 { (char *)"PyControlPoint_base_OnLeftClick", (PyCFunction
) _wrap_PyControlPoint_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
27167 { (char *)"PyControlPoint_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyControlPoint_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
27168 { (char *)"PyControlPoint_base_OnRightClick", (PyCFunction
) _wrap_PyControlPoint_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
27169 { (char *)"PyControlPoint_base_OnSize", (PyCFunction
) _wrap_PyControlPoint_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
27170 { (char *)"PyControlPoint_base_OnMovePre", (PyCFunction
) _wrap_PyControlPoint_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
27171 { (char *)"PyControlPoint_base_OnMovePost", (PyCFunction
) _wrap_PyControlPoint_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
27172 { (char *)"PyControlPoint_base_OnDragLeft", (PyCFunction
) _wrap_PyControlPoint_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
27173 { (char *)"PyControlPoint_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyControlPoint_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
27174 { (char *)"PyControlPoint_base_OnEndDragLeft", (PyCFunction
) _wrap_PyControlPoint_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
27175 { (char *)"PyControlPoint_base_OnDragRight", (PyCFunction
) _wrap_PyControlPoint_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
27176 { (char *)"PyControlPoint_base_OnBeginDragRight", (PyCFunction
) _wrap_PyControlPoint_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
27177 { (char *)"PyControlPoint_base_OnEndDragRight", (PyCFunction
) _wrap_PyControlPoint_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
27178 { (char *)"PyControlPoint_base_OnDrawOutline", (PyCFunction
) _wrap_PyControlPoint_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
27179 { (char *)"PyControlPoint_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyControlPoint_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
27180 { (char *)"PyControlPoint_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyControlPoint_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
27181 { (char *)"PyControlPoint_base_OnMoveLink", (PyCFunction
) _wrap_PyControlPoint_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
27182 { (char *)"PyControlPoint_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyControlPoint_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
27183 { (char *)"PyControlPoint_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyControlPoint_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
27184 { (char *)"PyControlPoint_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyControlPoint_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
27185 { (char *)"PyControlPoint_base_OnBeginSize", (PyCFunction
) _wrap_PyControlPoint_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
27186 { (char *)"PyControlPoint_base_OnEndSize", (PyCFunction
) _wrap_PyControlPoint_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
27187 { (char *)"PyControlPoint_swigregister", PyControlPoint_swigregister
, METH_VARARGS
},
27188 { (char *)"new_PyBitmapShape", (PyCFunction
) _wrap_new_PyBitmapShape
, METH_VARARGS
| METH_KEYWORDS
},
27189 { (char *)"PyBitmapShape__setCallbackInfo", (PyCFunction
) _wrap_PyBitmapShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
27190 { (char *)"PyBitmapShape_GetBitmap", (PyCFunction
) _wrap_PyBitmapShape_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
27191 { (char *)"PyBitmapShape_GetFilename", (PyCFunction
) _wrap_PyBitmapShape_GetFilename
, METH_VARARGS
| METH_KEYWORDS
},
27192 { (char *)"PyBitmapShape_SetBitmap", (PyCFunction
) _wrap_PyBitmapShape_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
27193 { (char *)"PyBitmapShape_SetFilename", (PyCFunction
) _wrap_PyBitmapShape_SetFilename
, METH_VARARGS
| METH_KEYWORDS
},
27194 { (char *)"PyBitmapShape_base_OnDelete", (PyCFunction
) _wrap_PyBitmapShape_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
},
27195 { (char *)"PyBitmapShape_base_OnDraw", (PyCFunction
) _wrap_PyBitmapShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
27196 { (char *)"PyBitmapShape_base_OnDrawContents", (PyCFunction
) _wrap_PyBitmapShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
27197 { (char *)"PyBitmapShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyBitmapShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
27198 { (char *)"PyBitmapShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyBitmapShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
27199 { (char *)"PyBitmapShape_base_OnErase", (PyCFunction
) _wrap_PyBitmapShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
27200 { (char *)"PyBitmapShape_base_OnEraseContents", (PyCFunction
) _wrap_PyBitmapShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
27201 { (char *)"PyBitmapShape_base_OnHighlight", (PyCFunction
) _wrap_PyBitmapShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
27202 { (char *)"PyBitmapShape_base_OnLeftClick", (PyCFunction
) _wrap_PyBitmapShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
27203 { (char *)"PyBitmapShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyBitmapShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
27204 { (char *)"PyBitmapShape_base_OnRightClick", (PyCFunction
) _wrap_PyBitmapShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
27205 { (char *)"PyBitmapShape_base_OnSize", (PyCFunction
) _wrap_PyBitmapShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
27206 { (char *)"PyBitmapShape_base_OnMovePre", (PyCFunction
) _wrap_PyBitmapShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
27207 { (char *)"PyBitmapShape_base_OnMovePost", (PyCFunction
) _wrap_PyBitmapShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
27208 { (char *)"PyBitmapShape_base_OnDragLeft", (PyCFunction
) _wrap_PyBitmapShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
27209 { (char *)"PyBitmapShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyBitmapShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
27210 { (char *)"PyBitmapShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyBitmapShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
27211 { (char *)"PyBitmapShape_base_OnDragRight", (PyCFunction
) _wrap_PyBitmapShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
27212 { (char *)"PyBitmapShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyBitmapShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
27213 { (char *)"PyBitmapShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyBitmapShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
27214 { (char *)"PyBitmapShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyBitmapShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
27215 { (char *)"PyBitmapShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyBitmapShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
27216 { (char *)"PyBitmapShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyBitmapShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
27217 { (char *)"PyBitmapShape_base_OnMoveLink", (PyCFunction
) _wrap_PyBitmapShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
27218 { (char *)"PyBitmapShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyBitmapShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
27219 { (char *)"PyBitmapShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyBitmapShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
27220 { (char *)"PyBitmapShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyBitmapShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
27221 { (char *)"PyBitmapShape_base_OnBeginSize", (PyCFunction
) _wrap_PyBitmapShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
27222 { (char *)"PyBitmapShape_base_OnEndSize", (PyCFunction
) _wrap_PyBitmapShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
27223 { (char *)"PyBitmapShape_swigregister", PyBitmapShape_swigregister
, METH_VARARGS
},
27224 { (char *)"new_PyDrawnShape", (PyCFunction
) _wrap_new_PyDrawnShape
, METH_VARARGS
| METH_KEYWORDS
},
27225 { (char *)"PyDrawnShape__setCallbackInfo", (PyCFunction
) _wrap_PyDrawnShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
27226 { (char *)"PyDrawnShape_CalculateSize", (PyCFunction
) _wrap_PyDrawnShape_CalculateSize
, METH_VARARGS
| METH_KEYWORDS
},
27227 { (char *)"PyDrawnShape_DestroyClippingRect", (PyCFunction
) _wrap_PyDrawnShape_DestroyClippingRect
, METH_VARARGS
| METH_KEYWORDS
},
27228 { (char *)"PyDrawnShape_DrawArc", (PyCFunction
) _wrap_PyDrawnShape_DrawArc
, METH_VARARGS
| METH_KEYWORDS
},
27229 { (char *)"PyDrawnShape_DrawAtAngle", (PyCFunction
) _wrap_PyDrawnShape_DrawAtAngle
, METH_VARARGS
| METH_KEYWORDS
},
27230 { (char *)"PyDrawnShape_DrawEllipticArc", (PyCFunction
) _wrap_PyDrawnShape_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
},
27231 { (char *)"PyDrawnShape_DrawLine", (PyCFunction
) _wrap_PyDrawnShape_DrawLine
, METH_VARARGS
| METH_KEYWORDS
},
27232 { (char *)"PyDrawnShape_DrawLines", (PyCFunction
) _wrap_PyDrawnShape_DrawLines
, METH_VARARGS
| METH_KEYWORDS
},
27233 { (char *)"PyDrawnShape_DrawPoint", (PyCFunction
) _wrap_PyDrawnShape_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
},
27234 { (char *)"PyDrawnShape_DrawPolygon", (PyCFunction
) _wrap_PyDrawnShape_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
},
27235 { (char *)"PyDrawnShape_DrawRectangle", (PyCFunction
) _wrap_PyDrawnShape_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
},
27236 { (char *)"PyDrawnShape_DrawRoundedRectangle", (PyCFunction
) _wrap_PyDrawnShape_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
},
27237 { (char *)"PyDrawnShape_DrawSpline", (PyCFunction
) _wrap_PyDrawnShape_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
},
27238 { (char *)"PyDrawnShape_DrawText", (PyCFunction
) _wrap_PyDrawnShape_DrawText
, METH_VARARGS
| METH_KEYWORDS
},
27239 { (char *)"PyDrawnShape_GetAngle", (PyCFunction
) _wrap_PyDrawnShape_GetAngle
, METH_VARARGS
| METH_KEYWORDS
},
27240 { (char *)"PyDrawnShape_GetMetaFile", (PyCFunction
) _wrap_PyDrawnShape_GetMetaFile
, METH_VARARGS
| METH_KEYWORDS
},
27241 { (char *)"PyDrawnShape_GetRotation", (PyCFunction
) _wrap_PyDrawnShape_GetRotation
, METH_VARARGS
| METH_KEYWORDS
},
27242 { (char *)"PyDrawnShape_LoadFromMetaFile", (PyCFunction
) _wrap_PyDrawnShape_LoadFromMetaFile
, METH_VARARGS
| METH_KEYWORDS
},
27243 { (char *)"PyDrawnShape_Rotate", (PyCFunction
) _wrap_PyDrawnShape_Rotate
, METH_VARARGS
| METH_KEYWORDS
},
27244 { (char *)"PyDrawnShape_SetClippingRect", (PyCFunction
) _wrap_PyDrawnShape_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
},
27245 { (char *)"PyDrawnShape_SetDrawnBackgroundColour", (PyCFunction
) _wrap_PyDrawnShape_SetDrawnBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
27246 { (char *)"PyDrawnShape_SetDrawnBackgroundMode", (PyCFunction
) _wrap_PyDrawnShape_SetDrawnBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
},
27247 { (char *)"PyDrawnShape_SetDrawnBrush", (PyCFunction
) _wrap_PyDrawnShape_SetDrawnBrush
, METH_VARARGS
| METH_KEYWORDS
},
27248 { (char *)"PyDrawnShape_SetDrawnFont", (PyCFunction
) _wrap_PyDrawnShape_SetDrawnFont
, METH_VARARGS
| METH_KEYWORDS
},
27249 { (char *)"PyDrawnShape_SetDrawnPen", (PyCFunction
) _wrap_PyDrawnShape_SetDrawnPen
, METH_VARARGS
| METH_KEYWORDS
},
27250 { (char *)"PyDrawnShape_SetDrawnTextColour", (PyCFunction
) _wrap_PyDrawnShape_SetDrawnTextColour
, METH_VARARGS
| METH_KEYWORDS
},
27251 { (char *)"PyDrawnShape_Scale", (PyCFunction
) _wrap_PyDrawnShape_Scale
, METH_VARARGS
| METH_KEYWORDS
},
27252 { (char *)"PyDrawnShape_SetSaveToFile", (PyCFunction
) _wrap_PyDrawnShape_SetSaveToFile
, METH_VARARGS
| METH_KEYWORDS
},
27253 { (char *)"PyDrawnShape_Translate", (PyCFunction
) _wrap_PyDrawnShape_Translate
, METH_VARARGS
| METH_KEYWORDS
},
27254 { (char *)"PyDrawnShape_base_OnDelete", (PyCFunction
) _wrap_PyDrawnShape_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
},
27255 { (char *)"PyDrawnShape_base_OnDraw", (PyCFunction
) _wrap_PyDrawnShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
27256 { (char *)"PyDrawnShape_base_OnDrawContents", (PyCFunction
) _wrap_PyDrawnShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
27257 { (char *)"PyDrawnShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyDrawnShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
27258 { (char *)"PyDrawnShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyDrawnShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
27259 { (char *)"PyDrawnShape_base_OnErase", (PyCFunction
) _wrap_PyDrawnShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
27260 { (char *)"PyDrawnShape_base_OnEraseContents", (PyCFunction
) _wrap_PyDrawnShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
27261 { (char *)"PyDrawnShape_base_OnHighlight", (PyCFunction
) _wrap_PyDrawnShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
27262 { (char *)"PyDrawnShape_base_OnLeftClick", (PyCFunction
) _wrap_PyDrawnShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
27263 { (char *)"PyDrawnShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyDrawnShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
27264 { (char *)"PyDrawnShape_base_OnRightClick", (PyCFunction
) _wrap_PyDrawnShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
27265 { (char *)"PyDrawnShape_base_OnSize", (PyCFunction
) _wrap_PyDrawnShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
27266 { (char *)"PyDrawnShape_base_OnMovePre", (PyCFunction
) _wrap_PyDrawnShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
27267 { (char *)"PyDrawnShape_base_OnMovePost", (PyCFunction
) _wrap_PyDrawnShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
27268 { (char *)"PyDrawnShape_base_OnDragLeft", (PyCFunction
) _wrap_PyDrawnShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
27269 { (char *)"PyDrawnShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyDrawnShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
27270 { (char *)"PyDrawnShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyDrawnShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
27271 { (char *)"PyDrawnShape_base_OnDragRight", (PyCFunction
) _wrap_PyDrawnShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
27272 { (char *)"PyDrawnShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyDrawnShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
27273 { (char *)"PyDrawnShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyDrawnShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
27274 { (char *)"PyDrawnShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyDrawnShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
27275 { (char *)"PyDrawnShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyDrawnShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
27276 { (char *)"PyDrawnShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyDrawnShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
27277 { (char *)"PyDrawnShape_base_OnMoveLink", (PyCFunction
) _wrap_PyDrawnShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
27278 { (char *)"PyDrawnShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyDrawnShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
27279 { (char *)"PyDrawnShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyDrawnShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
27280 { (char *)"PyDrawnShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyDrawnShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
27281 { (char *)"PyDrawnShape_base_OnBeginSize", (PyCFunction
) _wrap_PyDrawnShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
27282 { (char *)"PyDrawnShape_base_OnEndSize", (PyCFunction
) _wrap_PyDrawnShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
27283 { (char *)"PyDrawnShape_swigregister", PyDrawnShape_swigregister
, METH_VARARGS
},
27284 { (char *)"new_OGLConstraint", (PyCFunction
) _wrap_new_OGLConstraint
, METH_VARARGS
| METH_KEYWORDS
},
27285 { (char *)"OGLConstraint_Evaluate", (PyCFunction
) _wrap_OGLConstraint_Evaluate
, METH_VARARGS
| METH_KEYWORDS
},
27286 { (char *)"OGLConstraint_SetSpacing", (PyCFunction
) _wrap_OGLConstraint_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
27287 { (char *)"OGLConstraint_Equals", (PyCFunction
) _wrap_OGLConstraint_Equals
, METH_VARARGS
| METH_KEYWORDS
},
27288 { (char *)"OGLConstraint_swigregister", OGLConstraint_swigregister
, METH_VARARGS
},
27289 { (char *)"new_PyCompositeShape", (PyCFunction
) _wrap_new_PyCompositeShape
, METH_VARARGS
| METH_KEYWORDS
},
27290 { (char *)"PyCompositeShape__setCallbackInfo", (PyCFunction
) _wrap_PyCompositeShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
27291 { (char *)"PyCompositeShape_AddChild", (PyCFunction
) _wrap_PyCompositeShape_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
27292 { (char *)"PyCompositeShape_AddConstraint", (PyCFunction
) _wrap_PyCompositeShape_AddConstraint
, METH_VARARGS
| METH_KEYWORDS
},
27293 { (char *)"PyCompositeShape_AddConstrainedShapes", (PyCFunction
) _wrap_PyCompositeShape_AddConstrainedShapes
, METH_VARARGS
| METH_KEYWORDS
},
27294 { (char *)"PyCompositeShape_AddSimpleConstraint", (PyCFunction
) _wrap_PyCompositeShape_AddSimpleConstraint
, METH_VARARGS
| METH_KEYWORDS
},
27295 { (char *)"PyCompositeShape_CalculateSize", (PyCFunction
) _wrap_PyCompositeShape_CalculateSize
, METH_VARARGS
| METH_KEYWORDS
},
27296 { (char *)"PyCompositeShape_ContainsDivision", (PyCFunction
) _wrap_PyCompositeShape_ContainsDivision
, METH_VARARGS
| METH_KEYWORDS
},
27297 { (char *)"PyCompositeShape_DeleteConstraint", (PyCFunction
) _wrap_PyCompositeShape_DeleteConstraint
, METH_VARARGS
| METH_KEYWORDS
},
27298 { (char *)"PyCompositeShape_DeleteConstraintsInvolvingChild", (PyCFunction
) _wrap_PyCompositeShape_DeleteConstraintsInvolvingChild
, METH_VARARGS
| METH_KEYWORDS
},
27299 { (char *)"PyCompositeShape_FindContainerImage", (PyCFunction
) _wrap_PyCompositeShape_FindContainerImage
, METH_VARARGS
| METH_KEYWORDS
},
27300 { (char *)"PyCompositeShape_GetConstraints", (PyCFunction
) _wrap_PyCompositeShape_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
27301 { (char *)"PyCompositeShape_GetDivisions", (PyCFunction
) _wrap_PyCompositeShape_GetDivisions
, METH_VARARGS
| METH_KEYWORDS
},
27302 { (char *)"PyCompositeShape_MakeContainer", (PyCFunction
) _wrap_PyCompositeShape_MakeContainer
, METH_VARARGS
| METH_KEYWORDS
},
27303 { (char *)"PyCompositeShape_Recompute", (PyCFunction
) _wrap_PyCompositeShape_Recompute
, METH_VARARGS
| METH_KEYWORDS
},
27304 { (char *)"PyCompositeShape_RemoveChild", (PyCFunction
) _wrap_PyCompositeShape_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
27305 { (char *)"PyCompositeShape_base_OnDelete", (PyCFunction
) _wrap_PyCompositeShape_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
},
27306 { (char *)"PyCompositeShape_base_OnDraw", (PyCFunction
) _wrap_PyCompositeShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
27307 { (char *)"PyCompositeShape_base_OnDrawContents", (PyCFunction
) _wrap_PyCompositeShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
27308 { (char *)"PyCompositeShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyCompositeShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
27309 { (char *)"PyCompositeShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyCompositeShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
27310 { (char *)"PyCompositeShape_base_OnErase", (PyCFunction
) _wrap_PyCompositeShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
27311 { (char *)"PyCompositeShape_base_OnEraseContents", (PyCFunction
) _wrap_PyCompositeShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
27312 { (char *)"PyCompositeShape_base_OnHighlight", (PyCFunction
) _wrap_PyCompositeShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
27313 { (char *)"PyCompositeShape_base_OnLeftClick", (PyCFunction
) _wrap_PyCompositeShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
27314 { (char *)"PyCompositeShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyCompositeShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
27315 { (char *)"PyCompositeShape_base_OnRightClick", (PyCFunction
) _wrap_PyCompositeShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
27316 { (char *)"PyCompositeShape_base_OnSize", (PyCFunction
) _wrap_PyCompositeShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
27317 { (char *)"PyCompositeShape_base_OnMovePre", (PyCFunction
) _wrap_PyCompositeShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
27318 { (char *)"PyCompositeShape_base_OnMovePost", (PyCFunction
) _wrap_PyCompositeShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
27319 { (char *)"PyCompositeShape_base_OnDragLeft", (PyCFunction
) _wrap_PyCompositeShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
27320 { (char *)"PyCompositeShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyCompositeShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
27321 { (char *)"PyCompositeShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyCompositeShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
27322 { (char *)"PyCompositeShape_base_OnDragRight", (PyCFunction
) _wrap_PyCompositeShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
27323 { (char *)"PyCompositeShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyCompositeShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
27324 { (char *)"PyCompositeShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyCompositeShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
27325 { (char *)"PyCompositeShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyCompositeShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
27326 { (char *)"PyCompositeShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyCompositeShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
27327 { (char *)"PyCompositeShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyCompositeShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
27328 { (char *)"PyCompositeShape_base_OnMoveLink", (PyCFunction
) _wrap_PyCompositeShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
27329 { (char *)"PyCompositeShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyCompositeShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
27330 { (char *)"PyCompositeShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyCompositeShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
27331 { (char *)"PyCompositeShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyCompositeShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
27332 { (char *)"PyCompositeShape_base_OnBeginSize", (PyCFunction
) _wrap_PyCompositeShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
27333 { (char *)"PyCompositeShape_base_OnEndSize", (PyCFunction
) _wrap_PyCompositeShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
27334 { (char *)"PyCompositeShape_swigregister", PyCompositeShape_swigregister
, METH_VARARGS
},
27335 { (char *)"new_PyDividedShape", (PyCFunction
) _wrap_new_PyDividedShape
, METH_VARARGS
| METH_KEYWORDS
},
27336 { (char *)"PyDividedShape__setCallbackInfo", (PyCFunction
) _wrap_PyDividedShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
27337 { (char *)"PyDividedShape_EditRegions", (PyCFunction
) _wrap_PyDividedShape_EditRegions
, METH_VARARGS
| METH_KEYWORDS
},
27338 { (char *)"PyDividedShape_SetRegionSizes", (PyCFunction
) _wrap_PyDividedShape_SetRegionSizes
, METH_VARARGS
| METH_KEYWORDS
},
27339 { (char *)"PyDividedShape_base_OnDelete", (PyCFunction
) _wrap_PyDividedShape_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
},
27340 { (char *)"PyDividedShape_base_OnDraw", (PyCFunction
) _wrap_PyDividedShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
27341 { (char *)"PyDividedShape_base_OnDrawContents", (PyCFunction
) _wrap_PyDividedShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
27342 { (char *)"PyDividedShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyDividedShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
27343 { (char *)"PyDividedShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyDividedShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
27344 { (char *)"PyDividedShape_base_OnErase", (PyCFunction
) _wrap_PyDividedShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
27345 { (char *)"PyDividedShape_base_OnEraseContents", (PyCFunction
) _wrap_PyDividedShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
27346 { (char *)"PyDividedShape_base_OnHighlight", (PyCFunction
) _wrap_PyDividedShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
27347 { (char *)"PyDividedShape_base_OnLeftClick", (PyCFunction
) _wrap_PyDividedShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
27348 { (char *)"PyDividedShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyDividedShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
27349 { (char *)"PyDividedShape_base_OnRightClick", (PyCFunction
) _wrap_PyDividedShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
27350 { (char *)"PyDividedShape_base_OnSize", (PyCFunction
) _wrap_PyDividedShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
27351 { (char *)"PyDividedShape_base_OnMovePre", (PyCFunction
) _wrap_PyDividedShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
27352 { (char *)"PyDividedShape_base_OnMovePost", (PyCFunction
) _wrap_PyDividedShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
27353 { (char *)"PyDividedShape_base_OnDragLeft", (PyCFunction
) _wrap_PyDividedShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
27354 { (char *)"PyDividedShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyDividedShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
27355 { (char *)"PyDividedShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyDividedShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
27356 { (char *)"PyDividedShape_base_OnDragRight", (PyCFunction
) _wrap_PyDividedShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
27357 { (char *)"PyDividedShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyDividedShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
27358 { (char *)"PyDividedShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyDividedShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
27359 { (char *)"PyDividedShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyDividedShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
27360 { (char *)"PyDividedShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyDividedShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
27361 { (char *)"PyDividedShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyDividedShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
27362 { (char *)"PyDividedShape_base_OnMoveLink", (PyCFunction
) _wrap_PyDividedShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
27363 { (char *)"PyDividedShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyDividedShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
27364 { (char *)"PyDividedShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyDividedShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
27365 { (char *)"PyDividedShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyDividedShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
27366 { (char *)"PyDividedShape_base_OnBeginSize", (PyCFunction
) _wrap_PyDividedShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
27367 { (char *)"PyDividedShape_base_OnEndSize", (PyCFunction
) _wrap_PyDividedShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
27368 { (char *)"PyDividedShape_swigregister", PyDividedShape_swigregister
, METH_VARARGS
},
27369 { (char *)"new_PyDivisionShape", (PyCFunction
) _wrap_new_PyDivisionShape
, METH_VARARGS
| METH_KEYWORDS
},
27370 { (char *)"PyDivisionShape__setCallbackInfo", (PyCFunction
) _wrap_PyDivisionShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
27371 { (char *)"PyDivisionShape_AdjustBottom", (PyCFunction
) _wrap_PyDivisionShape_AdjustBottom
, METH_VARARGS
| METH_KEYWORDS
},
27372 { (char *)"PyDivisionShape_AdjustLeft", (PyCFunction
) _wrap_PyDivisionShape_AdjustLeft
, METH_VARARGS
| METH_KEYWORDS
},
27373 { (char *)"PyDivisionShape_AdjustRight", (PyCFunction
) _wrap_PyDivisionShape_AdjustRight
, METH_VARARGS
| METH_KEYWORDS
},
27374 { (char *)"PyDivisionShape_AdjustTop", (PyCFunction
) _wrap_PyDivisionShape_AdjustTop
, METH_VARARGS
| METH_KEYWORDS
},
27375 { (char *)"PyDivisionShape_Divide", (PyCFunction
) _wrap_PyDivisionShape_Divide
, METH_VARARGS
| METH_KEYWORDS
},
27376 { (char *)"PyDivisionShape_EditEdge", (PyCFunction
) _wrap_PyDivisionShape_EditEdge
, METH_VARARGS
| METH_KEYWORDS
},
27377 { (char *)"PyDivisionShape_GetBottomSide", (PyCFunction
) _wrap_PyDivisionShape_GetBottomSide
, METH_VARARGS
| METH_KEYWORDS
},
27378 { (char *)"PyDivisionShape_GetHandleSide", (PyCFunction
) _wrap_PyDivisionShape_GetHandleSide
, METH_VARARGS
| METH_KEYWORDS
},
27379 { (char *)"PyDivisionShape_GetLeftSide", (PyCFunction
) _wrap_PyDivisionShape_GetLeftSide
, METH_VARARGS
| METH_KEYWORDS
},
27380 { (char *)"PyDivisionShape_GetLeftSideColour", (PyCFunction
) _wrap_PyDivisionShape_GetLeftSideColour
, METH_VARARGS
| METH_KEYWORDS
},
27381 { (char *)"PyDivisionShape_GetLeftSidePen", (PyCFunction
) _wrap_PyDivisionShape_GetLeftSidePen
, METH_VARARGS
| METH_KEYWORDS
},
27382 { (char *)"PyDivisionShape_GetRightSide", (PyCFunction
) _wrap_PyDivisionShape_GetRightSide
, METH_VARARGS
| METH_KEYWORDS
},
27383 { (char *)"PyDivisionShape_GetTopSide", (PyCFunction
) _wrap_PyDivisionShape_GetTopSide
, METH_VARARGS
| METH_KEYWORDS
},
27384 { (char *)"PyDivisionShape_GetTopSidePen", (PyCFunction
) _wrap_PyDivisionShape_GetTopSidePen
, METH_VARARGS
| METH_KEYWORDS
},
27385 { (char *)"PyDivisionShape_ResizeAdjoining", (PyCFunction
) _wrap_PyDivisionShape_ResizeAdjoining
, METH_VARARGS
| METH_KEYWORDS
},
27386 { (char *)"PyDivisionShape_PopupMenu", (PyCFunction
) _wrap_PyDivisionShape_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
27387 { (char *)"PyDivisionShape_SetBottomSide", (PyCFunction
) _wrap_PyDivisionShape_SetBottomSide
, METH_VARARGS
| METH_KEYWORDS
},
27388 { (char *)"PyDivisionShape_SetHandleSide", (PyCFunction
) _wrap_PyDivisionShape_SetHandleSide
, METH_VARARGS
| METH_KEYWORDS
},
27389 { (char *)"PyDivisionShape_SetLeftSide", (PyCFunction
) _wrap_PyDivisionShape_SetLeftSide
, METH_VARARGS
| METH_KEYWORDS
},
27390 { (char *)"PyDivisionShape_SetLeftSideColour", (PyCFunction
) _wrap_PyDivisionShape_SetLeftSideColour
, METH_VARARGS
| METH_KEYWORDS
},
27391 { (char *)"PyDivisionShape_SetLeftSidePen", (PyCFunction
) _wrap_PyDivisionShape_SetLeftSidePen
, METH_VARARGS
| METH_KEYWORDS
},
27392 { (char *)"PyDivisionShape_SetRightSide", (PyCFunction
) _wrap_PyDivisionShape_SetRightSide
, METH_VARARGS
| METH_KEYWORDS
},
27393 { (char *)"PyDivisionShape_SetTopSide", (PyCFunction
) _wrap_PyDivisionShape_SetTopSide
, METH_VARARGS
| METH_KEYWORDS
},
27394 { (char *)"PyDivisionShape_SetTopSideColour", (PyCFunction
) _wrap_PyDivisionShape_SetTopSideColour
, METH_VARARGS
| METH_KEYWORDS
},
27395 { (char *)"PyDivisionShape_SetTopSidePen", (PyCFunction
) _wrap_PyDivisionShape_SetTopSidePen
, METH_VARARGS
| METH_KEYWORDS
},
27396 { (char *)"PyDivisionShape_base_OnDelete", (PyCFunction
) _wrap_PyDivisionShape_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
},
27397 { (char *)"PyDivisionShape_base_OnDraw", (PyCFunction
) _wrap_PyDivisionShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
27398 { (char *)"PyDivisionShape_base_OnDrawContents", (PyCFunction
) _wrap_PyDivisionShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
27399 { (char *)"PyDivisionShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyDivisionShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
27400 { (char *)"PyDivisionShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyDivisionShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
27401 { (char *)"PyDivisionShape_base_OnErase", (PyCFunction
) _wrap_PyDivisionShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
27402 { (char *)"PyDivisionShape_base_OnEraseContents", (PyCFunction
) _wrap_PyDivisionShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
27403 { (char *)"PyDivisionShape_base_OnHighlight", (PyCFunction
) _wrap_PyDivisionShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
27404 { (char *)"PyDivisionShape_base_OnLeftClick", (PyCFunction
) _wrap_PyDivisionShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
27405 { (char *)"PyDivisionShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyDivisionShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
27406 { (char *)"PyDivisionShape_base_OnRightClick", (PyCFunction
) _wrap_PyDivisionShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
27407 { (char *)"PyDivisionShape_base_OnSize", (PyCFunction
) _wrap_PyDivisionShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
27408 { (char *)"PyDivisionShape_base_OnMovePre", (PyCFunction
) _wrap_PyDivisionShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
27409 { (char *)"PyDivisionShape_base_OnMovePost", (PyCFunction
) _wrap_PyDivisionShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
27410 { (char *)"PyDivisionShape_base_OnDragLeft", (PyCFunction
) _wrap_PyDivisionShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
27411 { (char *)"PyDivisionShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyDivisionShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
27412 { (char *)"PyDivisionShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyDivisionShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
27413 { (char *)"PyDivisionShape_base_OnDragRight", (PyCFunction
) _wrap_PyDivisionShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
27414 { (char *)"PyDivisionShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyDivisionShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
27415 { (char *)"PyDivisionShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyDivisionShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
27416 { (char *)"PyDivisionShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyDivisionShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
27417 { (char *)"PyDivisionShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyDivisionShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
27418 { (char *)"PyDivisionShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyDivisionShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
27419 { (char *)"PyDivisionShape_base_OnMoveLink", (PyCFunction
) _wrap_PyDivisionShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
27420 { (char *)"PyDivisionShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyDivisionShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
27421 { (char *)"PyDivisionShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyDivisionShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
27422 { (char *)"PyDivisionShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyDivisionShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
27423 { (char *)"PyDivisionShape_base_OnBeginSize", (PyCFunction
) _wrap_PyDivisionShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
27424 { (char *)"PyDivisionShape_base_OnEndSize", (PyCFunction
) _wrap_PyDivisionShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
27425 { (char *)"PyDivisionShape_swigregister", PyDivisionShape_swigregister
, METH_VARARGS
},
27426 { (char *)"new_PyEllipseShape", (PyCFunction
) _wrap_new_PyEllipseShape
, METH_VARARGS
| METH_KEYWORDS
},
27427 { (char *)"PyEllipseShape__setCallbackInfo", (PyCFunction
) _wrap_PyEllipseShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
27428 { (char *)"PyEllipseShape_base_OnDraw", (PyCFunction
) _wrap_PyEllipseShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
27429 { (char *)"PyEllipseShape_base_OnDrawContents", (PyCFunction
) _wrap_PyEllipseShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
27430 { (char *)"PyEllipseShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyEllipseShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
27431 { (char *)"PyEllipseShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyEllipseShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
27432 { (char *)"PyEllipseShape_base_OnErase", (PyCFunction
) _wrap_PyEllipseShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
27433 { (char *)"PyEllipseShape_base_OnEraseContents", (PyCFunction
) _wrap_PyEllipseShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
27434 { (char *)"PyEllipseShape_base_OnHighlight", (PyCFunction
) _wrap_PyEllipseShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
27435 { (char *)"PyEllipseShape_base_OnLeftClick", (PyCFunction
) _wrap_PyEllipseShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
27436 { (char *)"PyEllipseShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyEllipseShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
27437 { (char *)"PyEllipseShape_base_OnRightClick", (PyCFunction
) _wrap_PyEllipseShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
27438 { (char *)"PyEllipseShape_base_OnSize", (PyCFunction
) _wrap_PyEllipseShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
27439 { (char *)"PyEllipseShape_base_OnMovePre", (PyCFunction
) _wrap_PyEllipseShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
27440 { (char *)"PyEllipseShape_base_OnMovePost", (PyCFunction
) _wrap_PyEllipseShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
27441 { (char *)"PyEllipseShape_base_OnDragLeft", (PyCFunction
) _wrap_PyEllipseShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
27442 { (char *)"PyEllipseShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyEllipseShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
27443 { (char *)"PyEllipseShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyEllipseShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
27444 { (char *)"PyEllipseShape_base_OnDragRight", (PyCFunction
) _wrap_PyEllipseShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
27445 { (char *)"PyEllipseShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyEllipseShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
27446 { (char *)"PyEllipseShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyEllipseShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
27447 { (char *)"PyEllipseShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyEllipseShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
27448 { (char *)"PyEllipseShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyEllipseShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
27449 { (char *)"PyEllipseShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyEllipseShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
27450 { (char *)"PyEllipseShape_base_OnMoveLink", (PyCFunction
) _wrap_PyEllipseShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
27451 { (char *)"PyEllipseShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyEllipseShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
27452 { (char *)"PyEllipseShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyEllipseShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
27453 { (char *)"PyEllipseShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyEllipseShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
27454 { (char *)"PyEllipseShape_base_OnBeginSize", (PyCFunction
) _wrap_PyEllipseShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
27455 { (char *)"PyEllipseShape_base_OnEndSize", (PyCFunction
) _wrap_PyEllipseShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
27456 { (char *)"PyEllipseShape_swigregister", PyEllipseShape_swigregister
, METH_VARARGS
},
27457 { (char *)"new_PyCircleShape", (PyCFunction
) _wrap_new_PyCircleShape
, METH_VARARGS
| METH_KEYWORDS
},
27458 { (char *)"PyCircleShape__setCallbackInfo", (PyCFunction
) _wrap_PyCircleShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
27459 { (char *)"PyCircleShape_base_OnDraw", (PyCFunction
) _wrap_PyCircleShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
27460 { (char *)"PyCircleShape_base_OnDrawContents", (PyCFunction
) _wrap_PyCircleShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
27461 { (char *)"PyCircleShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyCircleShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
27462 { (char *)"PyCircleShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyCircleShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
27463 { (char *)"PyCircleShape_base_OnErase", (PyCFunction
) _wrap_PyCircleShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
27464 { (char *)"PyCircleShape_base_OnEraseContents", (PyCFunction
) _wrap_PyCircleShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
27465 { (char *)"PyCircleShape_base_OnHighlight", (PyCFunction
) _wrap_PyCircleShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
27466 { (char *)"PyCircleShape_base_OnLeftClick", (PyCFunction
) _wrap_PyCircleShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
27467 { (char *)"PyCircleShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyCircleShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
27468 { (char *)"PyCircleShape_base_OnRightClick", (PyCFunction
) _wrap_PyCircleShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
27469 { (char *)"PyCircleShape_base_OnSize", (PyCFunction
) _wrap_PyCircleShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
27470 { (char *)"PyCircleShape_base_OnMovePre", (PyCFunction
) _wrap_PyCircleShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
27471 { (char *)"PyCircleShape_base_OnMovePost", (PyCFunction
) _wrap_PyCircleShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
27472 { (char *)"PyCircleShape_base_OnDragLeft", (PyCFunction
) _wrap_PyCircleShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
27473 { (char *)"PyCircleShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyCircleShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
27474 { (char *)"PyCircleShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyCircleShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
27475 { (char *)"PyCircleShape_base_OnDragRight", (PyCFunction
) _wrap_PyCircleShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
27476 { (char *)"PyCircleShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyCircleShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
27477 { (char *)"PyCircleShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyCircleShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
27478 { (char *)"PyCircleShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyCircleShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
27479 { (char *)"PyCircleShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyCircleShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
27480 { (char *)"PyCircleShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyCircleShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
27481 { (char *)"PyCircleShape_base_OnMoveLink", (PyCFunction
) _wrap_PyCircleShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
27482 { (char *)"PyCircleShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyCircleShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
27483 { (char *)"PyCircleShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyCircleShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
27484 { (char *)"PyCircleShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyCircleShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
27485 { (char *)"PyCircleShape_base_OnBeginSize", (PyCFunction
) _wrap_PyCircleShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
27486 { (char *)"PyCircleShape_base_OnEndSize", (PyCFunction
) _wrap_PyCircleShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
27487 { (char *)"PyCircleShape_swigregister", PyCircleShape_swigregister
, METH_VARARGS
},
27488 { (char *)"new_ArrowHead", (PyCFunction
) _wrap_new_ArrowHead
, METH_VARARGS
| METH_KEYWORDS
},
27489 { (char *)"delete_ArrowHead", (PyCFunction
) _wrap_delete_ArrowHead
, METH_VARARGS
| METH_KEYWORDS
},
27490 { (char *)"ArrowHead__GetType", (PyCFunction
) _wrap_ArrowHead__GetType
, METH_VARARGS
| METH_KEYWORDS
},
27491 { (char *)"ArrowHead_GetPosition", (PyCFunction
) _wrap_ArrowHead_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
27492 { (char *)"ArrowHead_SetPosition", (PyCFunction
) _wrap_ArrowHead_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
27493 { (char *)"ArrowHead_GetXOffset", (PyCFunction
) _wrap_ArrowHead_GetXOffset
, METH_VARARGS
| METH_KEYWORDS
},
27494 { (char *)"ArrowHead_GetYOffset", (PyCFunction
) _wrap_ArrowHead_GetYOffset
, METH_VARARGS
| METH_KEYWORDS
},
27495 { (char *)"ArrowHead_GetSpacing", (PyCFunction
) _wrap_ArrowHead_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
27496 { (char *)"ArrowHead_GetSize", (PyCFunction
) _wrap_ArrowHead_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
27497 { (char *)"ArrowHead_GetName", (PyCFunction
) _wrap_ArrowHead_GetName
, METH_VARARGS
| METH_KEYWORDS
},
27498 { (char *)"ArrowHead_SetXOffset", (PyCFunction
) _wrap_ArrowHead_SetXOffset
, METH_VARARGS
| METH_KEYWORDS
},
27499 { (char *)"ArrowHead_SetYOffset", (PyCFunction
) _wrap_ArrowHead_SetYOffset
, METH_VARARGS
| METH_KEYWORDS
},
27500 { (char *)"ArrowHead_GetMetaFile", (PyCFunction
) _wrap_ArrowHead_GetMetaFile
, METH_VARARGS
| METH_KEYWORDS
},
27501 { (char *)"ArrowHead_GetId", (PyCFunction
) _wrap_ArrowHead_GetId
, METH_VARARGS
| METH_KEYWORDS
},
27502 { (char *)"ArrowHead_GetArrowEnd", (PyCFunction
) _wrap_ArrowHead_GetArrowEnd
, METH_VARARGS
| METH_KEYWORDS
},
27503 { (char *)"ArrowHead_GetArrowSize", (PyCFunction
) _wrap_ArrowHead_GetArrowSize
, METH_VARARGS
| METH_KEYWORDS
},
27504 { (char *)"ArrowHead_SetSize", (PyCFunction
) _wrap_ArrowHead_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
27505 { (char *)"ArrowHead_SetSpacing", (PyCFunction
) _wrap_ArrowHead_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
27506 { (char *)"ArrowHead_swigregister", ArrowHead_swigregister
, METH_VARARGS
},
27507 { (char *)"new_PyLineShape", (PyCFunction
) _wrap_new_PyLineShape
, METH_VARARGS
| METH_KEYWORDS
},
27508 { (char *)"PyLineShape__setCallbackInfo", (PyCFunction
) _wrap_PyLineShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
27509 { (char *)"PyLineShape_AddArrow", (PyCFunction
) _wrap_PyLineShape_AddArrow
, METH_VARARGS
| METH_KEYWORDS
},
27510 { (char *)"PyLineShape_AddArrowOrdered", (PyCFunction
) _wrap_PyLineShape_AddArrowOrdered
, METH_VARARGS
| METH_KEYWORDS
},
27511 { (char *)"PyLineShape_ClearArrow", (PyCFunction
) _wrap_PyLineShape_ClearArrow
, METH_VARARGS
| METH_KEYWORDS
},
27512 { (char *)"PyLineShape_ClearArrowsAtPosition", (PyCFunction
) _wrap_PyLineShape_ClearArrowsAtPosition
, METH_VARARGS
| METH_KEYWORDS
},
27513 { (char *)"PyLineShape_DrawArrow", (PyCFunction
) _wrap_PyLineShape_DrawArrow
, METH_VARARGS
| METH_KEYWORDS
},
27514 { (char *)"PyLineShape_DeleteArrowHeadId", (PyCFunction
) _wrap_PyLineShape_DeleteArrowHeadId
, METH_VARARGS
| METH_KEYWORDS
},
27515 { (char *)"PyLineShape_DeleteArrowHead", (PyCFunction
) _wrap_PyLineShape_DeleteArrowHead
, METH_VARARGS
| METH_KEYWORDS
},
27516 { (char *)"PyLineShape_DeleteLineControlPoint", (PyCFunction
) _wrap_PyLineShape_DeleteLineControlPoint
, METH_VARARGS
| METH_KEYWORDS
},
27517 { (char *)"PyLineShape_DrawArrows", (PyCFunction
) _wrap_PyLineShape_DrawArrows
, METH_VARARGS
| METH_KEYWORDS
},
27518 { (char *)"PyLineShape_DrawRegion", (PyCFunction
) _wrap_PyLineShape_DrawRegion
, METH_VARARGS
| METH_KEYWORDS
},
27519 { (char *)"PyLineShape_EraseRegion", (PyCFunction
) _wrap_PyLineShape_EraseRegion
, METH_VARARGS
| METH_KEYWORDS
},
27520 { (char *)"PyLineShape_FindArrowHeadId", (PyCFunction
) _wrap_PyLineShape_FindArrowHeadId
, METH_VARARGS
| METH_KEYWORDS
},
27521 { (char *)"PyLineShape_FindArrowHead", (PyCFunction
) _wrap_PyLineShape_FindArrowHead
, METH_VARARGS
| METH_KEYWORDS
},
27522 { (char *)"PyLineShape_FindLineEndPoints", (PyCFunction
) _wrap_PyLineShape_FindLineEndPoints
, METH_VARARGS
| METH_KEYWORDS
},
27523 { (char *)"PyLineShape_FindLinePosition", (PyCFunction
) _wrap_PyLineShape_FindLinePosition
, METH_VARARGS
| METH_KEYWORDS
},
27524 { (char *)"PyLineShape_FindMinimumWidth", (PyCFunction
) _wrap_PyLineShape_FindMinimumWidth
, METH_VARARGS
| METH_KEYWORDS
},
27525 { (char *)"PyLineShape_FindNth", (PyCFunction
) _wrap_PyLineShape_FindNth
, METH_VARARGS
| METH_KEYWORDS
},
27526 { (char *)"PyLineShape_GetAttachmentFrom", (PyCFunction
) _wrap_PyLineShape_GetAttachmentFrom
, METH_VARARGS
| METH_KEYWORDS
},
27527 { (char *)"PyLineShape_GetAttachmentTo", (PyCFunction
) _wrap_PyLineShape_GetAttachmentTo
, METH_VARARGS
| METH_KEYWORDS
},
27528 { (char *)"PyLineShape_GetEnds", (PyCFunction
) _wrap_PyLineShape_GetEnds
, METH_VARARGS
| METH_KEYWORDS
},
27529 { (char *)"PyLineShape_GetFrom", (PyCFunction
) _wrap_PyLineShape_GetFrom
, METH_VARARGS
| METH_KEYWORDS
},
27530 { (char *)"PyLineShape_GetLabelPosition", (PyCFunction
) _wrap_PyLineShape_GetLabelPosition
, METH_VARARGS
| METH_KEYWORDS
},
27531 { (char *)"PyLineShape_GetNextControlPoint", (PyCFunction
) _wrap_PyLineShape_GetNextControlPoint
, METH_VARARGS
| METH_KEYWORDS
},
27532 { (char *)"PyLineShape_GetTo", (PyCFunction
) _wrap_PyLineShape_GetTo
, METH_VARARGS
| METH_KEYWORDS
},
27533 { (char *)"PyLineShape_Initialise", (PyCFunction
) _wrap_PyLineShape_Initialise
, METH_VARARGS
| METH_KEYWORDS
},
27534 { (char *)"PyLineShape_InsertLineControlPoint", (PyCFunction
) _wrap_PyLineShape_InsertLineControlPoint
, METH_VARARGS
| METH_KEYWORDS
},
27535 { (char *)"PyLineShape_IsEnd", (PyCFunction
) _wrap_PyLineShape_IsEnd
, METH_VARARGS
| METH_KEYWORDS
},
27536 { (char *)"PyLineShape_IsSpline", (PyCFunction
) _wrap_PyLineShape_IsSpline
, METH_VARARGS
| METH_KEYWORDS
},
27537 { (char *)"PyLineShape_MakeLineControlPoints", (PyCFunction
) _wrap_PyLineShape_MakeLineControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
27538 { (char *)"PyLineShape_GetLineControlPoints", (PyCFunction
) _wrap_PyLineShape_GetLineControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
27539 { (char *)"PyLineShape_SetAttachmentFrom", (PyCFunction
) _wrap_PyLineShape_SetAttachmentFrom
, METH_VARARGS
| METH_KEYWORDS
},
27540 { (char *)"PyLineShape_SetAttachments", (PyCFunction
) _wrap_PyLineShape_SetAttachments
, METH_VARARGS
| METH_KEYWORDS
},
27541 { (char *)"PyLineShape_SetAttachmentTo", (PyCFunction
) _wrap_PyLineShape_SetAttachmentTo
, METH_VARARGS
| METH_KEYWORDS
},
27542 { (char *)"PyLineShape_SetEnds", (PyCFunction
) _wrap_PyLineShape_SetEnds
, METH_VARARGS
| METH_KEYWORDS
},
27543 { (char *)"PyLineShape_SetFrom", (PyCFunction
) _wrap_PyLineShape_SetFrom
, METH_VARARGS
| METH_KEYWORDS
},
27544 { (char *)"PyLineShape_SetIgnoreOffsets", (PyCFunction
) _wrap_PyLineShape_SetIgnoreOffsets
, METH_VARARGS
| METH_KEYWORDS
},
27545 { (char *)"PyLineShape_SetSpline", (PyCFunction
) _wrap_PyLineShape_SetSpline
, METH_VARARGS
| METH_KEYWORDS
},
27546 { (char *)"PyLineShape_SetTo", (PyCFunction
) _wrap_PyLineShape_SetTo
, METH_VARARGS
| METH_KEYWORDS
},
27547 { (char *)"PyLineShape_Straighten", (PyCFunction
) _wrap_PyLineShape_Straighten
, METH_VARARGS
| METH_KEYWORDS
},
27548 { (char *)"PyLineShape_Unlink", (PyCFunction
) _wrap_PyLineShape_Unlink
, METH_VARARGS
| METH_KEYWORDS
},
27549 { (char *)"PyLineShape_SetAlignmentOrientation", (PyCFunction
) _wrap_PyLineShape_SetAlignmentOrientation
, METH_VARARGS
| METH_KEYWORDS
},
27550 { (char *)"PyLineShape_SetAlignmentType", (PyCFunction
) _wrap_PyLineShape_SetAlignmentType
, METH_VARARGS
| METH_KEYWORDS
},
27551 { (char *)"PyLineShape_GetAlignmentOrientation", (PyCFunction
) _wrap_PyLineShape_GetAlignmentOrientation
, METH_VARARGS
| METH_KEYWORDS
},
27552 { (char *)"PyLineShape_GetAlignmentType", (PyCFunction
) _wrap_PyLineShape_GetAlignmentType
, METH_VARARGS
| METH_KEYWORDS
},
27553 { (char *)"PyLineShape_GetAlignmentStart", (PyCFunction
) _wrap_PyLineShape_GetAlignmentStart
, METH_VARARGS
| METH_KEYWORDS
},
27554 { (char *)"PyLineShape_GetAlignmentEnd", (PyCFunction
) _wrap_PyLineShape_GetAlignmentEnd
, METH_VARARGS
| METH_KEYWORDS
},
27555 { (char *)"PyLineShape_base_OnDraw", (PyCFunction
) _wrap_PyLineShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
27556 { (char *)"PyLineShape_base_OnDrawContents", (PyCFunction
) _wrap_PyLineShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
27557 { (char *)"PyLineShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyLineShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
27558 { (char *)"PyLineShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyLineShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
27559 { (char *)"PyLineShape_base_OnErase", (PyCFunction
) _wrap_PyLineShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
27560 { (char *)"PyLineShape_base_OnEraseContents", (PyCFunction
) _wrap_PyLineShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
27561 { (char *)"PyLineShape_base_OnHighlight", (PyCFunction
) _wrap_PyLineShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
27562 { (char *)"PyLineShape_base_OnLeftClick", (PyCFunction
) _wrap_PyLineShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
27563 { (char *)"PyLineShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyLineShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
27564 { (char *)"PyLineShape_base_OnRightClick", (PyCFunction
) _wrap_PyLineShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
27565 { (char *)"PyLineShape_base_OnSize", (PyCFunction
) _wrap_PyLineShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
27566 { (char *)"PyLineShape_base_OnMovePre", (PyCFunction
) _wrap_PyLineShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
27567 { (char *)"PyLineShape_base_OnMovePost", (PyCFunction
) _wrap_PyLineShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
27568 { (char *)"PyLineShape_base_OnDragLeft", (PyCFunction
) _wrap_PyLineShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
27569 { (char *)"PyLineShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyLineShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
27570 { (char *)"PyLineShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyLineShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
27571 { (char *)"PyLineShape_base_OnDragRight", (PyCFunction
) _wrap_PyLineShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
27572 { (char *)"PyLineShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyLineShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
27573 { (char *)"PyLineShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyLineShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
27574 { (char *)"PyLineShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyLineShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
27575 { (char *)"PyLineShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyLineShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
27576 { (char *)"PyLineShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyLineShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
27577 { (char *)"PyLineShape_base_OnMoveLink", (PyCFunction
) _wrap_PyLineShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
27578 { (char *)"PyLineShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyLineShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
27579 { (char *)"PyLineShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyLineShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
27580 { (char *)"PyLineShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyLineShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
27581 { (char *)"PyLineShape_base_OnBeginSize", (PyCFunction
) _wrap_PyLineShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
27582 { (char *)"PyLineShape_base_OnEndSize", (PyCFunction
) _wrap_PyLineShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
27583 { (char *)"PyLineShape_swigregister", PyLineShape_swigregister
, METH_VARARGS
},
27584 { (char *)"new_PyPolygonShape", (PyCFunction
) _wrap_new_PyPolygonShape
, METH_VARARGS
| METH_KEYWORDS
},
27585 { (char *)"PyPolygonShape__setCallbackInfo", (PyCFunction
) _wrap_PyPolygonShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
27586 { (char *)"PyPolygonShape_Create", (PyCFunction
) _wrap_PyPolygonShape_Create
, METH_VARARGS
| METH_KEYWORDS
},
27587 { (char *)"PyPolygonShape_AddPolygonPoint", (PyCFunction
) _wrap_PyPolygonShape_AddPolygonPoint
, METH_VARARGS
| METH_KEYWORDS
},
27588 { (char *)"PyPolygonShape_CalculatePolygonCentre", (PyCFunction
) _wrap_PyPolygonShape_CalculatePolygonCentre
, METH_VARARGS
| METH_KEYWORDS
},
27589 { (char *)"PyPolygonShape_DeletePolygonPoint", (PyCFunction
) _wrap_PyPolygonShape_DeletePolygonPoint
, METH_VARARGS
| METH_KEYWORDS
},
27590 { (char *)"PyPolygonShape_GetPoints", (PyCFunction
) _wrap_PyPolygonShape_GetPoints
, METH_VARARGS
| METH_KEYWORDS
},
27591 { (char *)"PyPolygonShape_GetOriginalPoints", (PyCFunction
) _wrap_PyPolygonShape_GetOriginalPoints
, METH_VARARGS
| METH_KEYWORDS
},
27592 { (char *)"PyPolygonShape_GetOriginalWidth", (PyCFunction
) _wrap_PyPolygonShape_GetOriginalWidth
, METH_VARARGS
| METH_KEYWORDS
},
27593 { (char *)"PyPolygonShape_GetOriginalHeight", (PyCFunction
) _wrap_PyPolygonShape_GetOriginalHeight
, METH_VARARGS
| METH_KEYWORDS
},
27594 { (char *)"PyPolygonShape_SetOriginalWidth", (PyCFunction
) _wrap_PyPolygonShape_SetOriginalWidth
, METH_VARARGS
| METH_KEYWORDS
},
27595 { (char *)"PyPolygonShape_SetOriginalHeight", (PyCFunction
) _wrap_PyPolygonShape_SetOriginalHeight
, METH_VARARGS
| METH_KEYWORDS
},
27596 { (char *)"PyPolygonShape_UpdateOriginalPoints", (PyCFunction
) _wrap_PyPolygonShape_UpdateOriginalPoints
, METH_VARARGS
| METH_KEYWORDS
},
27597 { (char *)"PyPolygonShape_base_OnDraw", (PyCFunction
) _wrap_PyPolygonShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
27598 { (char *)"PyPolygonShape_base_OnDrawContents", (PyCFunction
) _wrap_PyPolygonShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
27599 { (char *)"PyPolygonShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyPolygonShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
27600 { (char *)"PyPolygonShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyPolygonShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
27601 { (char *)"PyPolygonShape_base_OnErase", (PyCFunction
) _wrap_PyPolygonShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
27602 { (char *)"PyPolygonShape_base_OnEraseContents", (PyCFunction
) _wrap_PyPolygonShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
27603 { (char *)"PyPolygonShape_base_OnHighlight", (PyCFunction
) _wrap_PyPolygonShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
27604 { (char *)"PyPolygonShape_base_OnLeftClick", (PyCFunction
) _wrap_PyPolygonShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
27605 { (char *)"PyPolygonShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyPolygonShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
27606 { (char *)"PyPolygonShape_base_OnRightClick", (PyCFunction
) _wrap_PyPolygonShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
27607 { (char *)"PyPolygonShape_base_OnSize", (PyCFunction
) _wrap_PyPolygonShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
27608 { (char *)"PyPolygonShape_base_OnMovePre", (PyCFunction
) _wrap_PyPolygonShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
27609 { (char *)"PyPolygonShape_base_OnMovePost", (PyCFunction
) _wrap_PyPolygonShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
27610 { (char *)"PyPolygonShape_base_OnDragLeft", (PyCFunction
) _wrap_PyPolygonShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
27611 { (char *)"PyPolygonShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyPolygonShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
27612 { (char *)"PyPolygonShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyPolygonShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
27613 { (char *)"PyPolygonShape_base_OnDragRight", (PyCFunction
) _wrap_PyPolygonShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
27614 { (char *)"PyPolygonShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyPolygonShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
27615 { (char *)"PyPolygonShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyPolygonShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
27616 { (char *)"PyPolygonShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyPolygonShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
27617 { (char *)"PyPolygonShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyPolygonShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
27618 { (char *)"PyPolygonShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyPolygonShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
27619 { (char *)"PyPolygonShape_base_OnMoveLink", (PyCFunction
) _wrap_PyPolygonShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
27620 { (char *)"PyPolygonShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyPolygonShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
27621 { (char *)"PyPolygonShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyPolygonShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
27622 { (char *)"PyPolygonShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyPolygonShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
27623 { (char *)"PyPolygonShape_base_OnBeginSize", (PyCFunction
) _wrap_PyPolygonShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
27624 { (char *)"PyPolygonShape_base_OnEndSize", (PyCFunction
) _wrap_PyPolygonShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
27625 { (char *)"PyPolygonShape_swigregister", PyPolygonShape_swigregister
, METH_VARARGS
},
27626 { (char *)"new_PyTextShape", (PyCFunction
) _wrap_new_PyTextShape
, METH_VARARGS
| METH_KEYWORDS
},
27627 { (char *)"PyTextShape__setCallbackInfo", (PyCFunction
) _wrap_PyTextShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
27628 { (char *)"PyTextShape_base_OnDelete", (PyCFunction
) _wrap_PyTextShape_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
},
27629 { (char *)"PyTextShape_base_OnDraw", (PyCFunction
) _wrap_PyTextShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
27630 { (char *)"PyTextShape_base_OnDrawContents", (PyCFunction
) _wrap_PyTextShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
27631 { (char *)"PyTextShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyTextShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
27632 { (char *)"PyTextShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyTextShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
27633 { (char *)"PyTextShape_base_OnErase", (PyCFunction
) _wrap_PyTextShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
27634 { (char *)"PyTextShape_base_OnEraseContents", (PyCFunction
) _wrap_PyTextShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
27635 { (char *)"PyTextShape_base_OnHighlight", (PyCFunction
) _wrap_PyTextShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
27636 { (char *)"PyTextShape_base_OnLeftClick", (PyCFunction
) _wrap_PyTextShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
27637 { (char *)"PyTextShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyTextShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
27638 { (char *)"PyTextShape_base_OnRightClick", (PyCFunction
) _wrap_PyTextShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
27639 { (char *)"PyTextShape_base_OnSize", (PyCFunction
) _wrap_PyTextShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
27640 { (char *)"PyTextShape_base_OnMovePre", (PyCFunction
) _wrap_PyTextShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
27641 { (char *)"PyTextShape_base_OnMovePost", (PyCFunction
) _wrap_PyTextShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
27642 { (char *)"PyTextShape_base_OnDragLeft", (PyCFunction
) _wrap_PyTextShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
27643 { (char *)"PyTextShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyTextShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
27644 { (char *)"PyTextShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyTextShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
27645 { (char *)"PyTextShape_base_OnDragRight", (PyCFunction
) _wrap_PyTextShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
27646 { (char *)"PyTextShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyTextShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
27647 { (char *)"PyTextShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyTextShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
27648 { (char *)"PyTextShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyTextShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
27649 { (char *)"PyTextShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyTextShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
27650 { (char *)"PyTextShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyTextShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
27651 { (char *)"PyTextShape_base_OnMoveLink", (PyCFunction
) _wrap_PyTextShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
27652 { (char *)"PyTextShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyTextShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
27653 { (char *)"PyTextShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyTextShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
27654 { (char *)"PyTextShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyTextShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
27655 { (char *)"PyTextShape_base_OnBeginSize", (PyCFunction
) _wrap_PyTextShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
27656 { (char *)"PyTextShape_base_OnEndSize", (PyCFunction
) _wrap_PyTextShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
27657 { (char *)"PyTextShape_swigregister", PyTextShape_swigregister
, METH_VARARGS
},
27658 { (char *)"new_Diagram", (PyCFunction
) _wrap_new_Diagram
, METH_VARARGS
| METH_KEYWORDS
},
27659 { (char *)"Diagram_AddShape", (PyCFunction
) _wrap_Diagram_AddShape
, METH_VARARGS
| METH_KEYWORDS
},
27660 { (char *)"Diagram_Clear", (PyCFunction
) _wrap_Diagram_Clear
, METH_VARARGS
| METH_KEYWORDS
},
27661 { (char *)"Diagram_DeleteAllShapes", (PyCFunction
) _wrap_Diagram_DeleteAllShapes
, METH_VARARGS
| METH_KEYWORDS
},
27662 { (char *)"Diagram_DrawOutline", (PyCFunction
) _wrap_Diagram_DrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
27663 { (char *)"Diagram_FindShape", (PyCFunction
) _wrap_Diagram_FindShape
, METH_VARARGS
| METH_KEYWORDS
},
27664 { (char *)"Diagram_GetCanvas", (PyCFunction
) _wrap_Diagram_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
27665 { (char *)"Diagram_GetCount", (PyCFunction
) _wrap_Diagram_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
27666 { (char *)"Diagram_GetGridSpacing", (PyCFunction
) _wrap_Diagram_GetGridSpacing
, METH_VARARGS
| METH_KEYWORDS
},
27667 { (char *)"Diagram_GetMouseTolerance", (PyCFunction
) _wrap_Diagram_GetMouseTolerance
, METH_VARARGS
| METH_KEYWORDS
},
27668 { (char *)"Diagram_GetShapeList", (PyCFunction
) _wrap_Diagram_GetShapeList
, METH_VARARGS
| METH_KEYWORDS
},
27669 { (char *)"Diagram_GetQuickEditMode", (PyCFunction
) _wrap_Diagram_GetQuickEditMode
, METH_VARARGS
| METH_KEYWORDS
},
27670 { (char *)"Diagram_GetSnapToGrid", (PyCFunction
) _wrap_Diagram_GetSnapToGrid
, METH_VARARGS
| METH_KEYWORDS
},
27671 { (char *)"Diagram_InsertShape", (PyCFunction
) _wrap_Diagram_InsertShape
, METH_VARARGS
| METH_KEYWORDS
},
27672 { (char *)"Diagram_RecentreAll", (PyCFunction
) _wrap_Diagram_RecentreAll
, METH_VARARGS
| METH_KEYWORDS
},
27673 { (char *)"Diagram_Redraw", (PyCFunction
) _wrap_Diagram_Redraw
, METH_VARARGS
| METH_KEYWORDS
},
27674 { (char *)"Diagram_RemoveAllShapes", (PyCFunction
) _wrap_Diagram_RemoveAllShapes
, METH_VARARGS
| METH_KEYWORDS
},
27675 { (char *)"Diagram_RemoveShape", (PyCFunction
) _wrap_Diagram_RemoveShape
, METH_VARARGS
| METH_KEYWORDS
},
27676 { (char *)"Diagram_SetCanvas", (PyCFunction
) _wrap_Diagram_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
27677 { (char *)"Diagram_SetGridSpacing", (PyCFunction
) _wrap_Diagram_SetGridSpacing
, METH_VARARGS
| METH_KEYWORDS
},
27678 { (char *)"Diagram_SetMouseTolerance", (PyCFunction
) _wrap_Diagram_SetMouseTolerance
, METH_VARARGS
| METH_KEYWORDS
},
27679 { (char *)"Diagram_SetQuickEditMode", (PyCFunction
) _wrap_Diagram_SetQuickEditMode
, METH_VARARGS
| METH_KEYWORDS
},
27680 { (char *)"Diagram_SetSnapToGrid", (PyCFunction
) _wrap_Diagram_SetSnapToGrid
, METH_VARARGS
| METH_KEYWORDS
},
27681 { (char *)"Diagram_ShowAll", (PyCFunction
) _wrap_Diagram_ShowAll
, METH_VARARGS
| METH_KEYWORDS
},
27682 { (char *)"Diagram_Snap", (PyCFunction
) _wrap_Diagram_Snap
, METH_VARARGS
| METH_KEYWORDS
},
27683 { (char *)"Diagram_swigregister", Diagram_swigregister
, METH_VARARGS
},
27684 { (char *)"new_PyShapeCanvas", (PyCFunction
) _wrap_new_PyShapeCanvas
, METH_VARARGS
| METH_KEYWORDS
},
27685 { (char *)"PyShapeCanvas__setCallbackInfo", (PyCFunction
) _wrap_PyShapeCanvas__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
27686 { (char *)"PyShapeCanvas_AddShape", (PyCFunction
) _wrap_PyShapeCanvas_AddShape
, METH_VARARGS
| METH_KEYWORDS
},
27687 { (char *)"PyShapeCanvas_FindShape", (PyCFunction
) _wrap_PyShapeCanvas_FindShape
, METH_VARARGS
| METH_KEYWORDS
},
27688 { (char *)"PyShapeCanvas_FindFirstSensitiveShape", (PyCFunction
) _wrap_PyShapeCanvas_FindFirstSensitiveShape
, METH_VARARGS
| METH_KEYWORDS
},
27689 { (char *)"PyShapeCanvas_GetDiagram", (PyCFunction
) _wrap_PyShapeCanvas_GetDiagram
, METH_VARARGS
| METH_KEYWORDS
},
27690 { (char *)"PyShapeCanvas_GetQuickEditMode", (PyCFunction
) _wrap_PyShapeCanvas_GetQuickEditMode
, METH_VARARGS
| METH_KEYWORDS
},
27691 { (char *)"PyShapeCanvas_InsertShape", (PyCFunction
) _wrap_PyShapeCanvas_InsertShape
, METH_VARARGS
| METH_KEYWORDS
},
27692 { (char *)"PyShapeCanvas_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyShapeCanvas_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
27693 { (char *)"PyShapeCanvas_base_OnBeginDragRight", (PyCFunction
) _wrap_PyShapeCanvas_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
27694 { (char *)"PyShapeCanvas_base_OnEndDragLeft", (PyCFunction
) _wrap_PyShapeCanvas_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
27695 { (char *)"PyShapeCanvas_base_OnEndDragRight", (PyCFunction
) _wrap_PyShapeCanvas_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
27696 { (char *)"PyShapeCanvas_base_OnDragLeft", (PyCFunction
) _wrap_PyShapeCanvas_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
27697 { (char *)"PyShapeCanvas_base_OnDragRight", (PyCFunction
) _wrap_PyShapeCanvas_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
27698 { (char *)"PyShapeCanvas_base_OnLeftClick", (PyCFunction
) _wrap_PyShapeCanvas_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
27699 { (char *)"PyShapeCanvas_base_OnRightClick", (PyCFunction
) _wrap_PyShapeCanvas_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
27700 { (char *)"PyShapeCanvas_Redraw", (PyCFunction
) _wrap_PyShapeCanvas_Redraw
, METH_VARARGS
| METH_KEYWORDS
},
27701 { (char *)"PyShapeCanvas_RemoveShape", (PyCFunction
) _wrap_PyShapeCanvas_RemoveShape
, METH_VARARGS
| METH_KEYWORDS
},
27702 { (char *)"PyShapeCanvas_SetDiagram", (PyCFunction
) _wrap_PyShapeCanvas_SetDiagram
, METH_VARARGS
| METH_KEYWORDS
},
27703 { (char *)"PyShapeCanvas_Snap", (PyCFunction
) _wrap_PyShapeCanvas_Snap
, METH_VARARGS
| METH_KEYWORDS
},
27704 { (char *)"PyShapeCanvas_swigregister", PyShapeCanvas_swigregister
, METH_VARARGS
},
27705 { (char *)"OGLInitialize", (PyCFunction
) _wrap_OGLInitialize
, METH_VARARGS
| METH_KEYWORDS
},
27706 { (char *)"OGLCleanUp", (PyCFunction
) _wrap_OGLCleanUp
, METH_VARARGS
| METH_KEYWORDS
},
27711 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
27713 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
27714 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
27716 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
27717 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
27719 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
27720 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
27722 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
27723 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
27725 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
27726 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
27728 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
27729 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
27731 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
27732 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
27734 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
27735 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
27737 static void *_p_wxPyShapeCanvasTo_p_wxPanel(void *x
) {
27738 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyShapeCanvas
*) x
));
27740 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
27741 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
27743 static void *_p_wxPyShapeCanvasTo_p_wxScrolledWindow(void *x
) {
27744 return (void *)((wxScrolledWindow
*) ((wxPyShapeCanvas
*) x
));
27746 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
27747 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
27749 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
27750 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
27752 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
27753 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
27755 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
27756 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
27758 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
27759 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
27761 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
27762 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
27764 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
27765 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
27767 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
27768 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
27770 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
27771 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
27773 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
27774 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
27776 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
27777 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
27779 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
27780 return (void *)((wxWindow
*) ((wxPanel
*) x
));
27782 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
27783 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
27785 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
27786 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
27788 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
27789 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
27791 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
27792 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
27794 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
27795 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
27797 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
27798 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
27800 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
27801 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
27803 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
27804 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
27806 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
27807 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
27809 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
27810 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
27812 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
27813 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
27815 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
27816 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
27818 static void *_p_wxControlTo_p_wxWindow(void *x
) {
27819 return (void *)((wxWindow
*) ((wxControl
*) x
));
27821 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
27822 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
27824 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
27825 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
27827 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
27828 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
27830 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
27831 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
27833 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
27834 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
27836 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
27837 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
27839 static void *_p_wxPyShapeCanvasTo_p_wxWindow(void *x
) {
27840 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyShapeCanvas
*) x
));
27842 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
27843 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
27845 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
27846 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
27848 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
27849 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
27851 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
27852 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
27854 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
27855 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
27857 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
27858 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
27860 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
27861 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
27863 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
27864 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
27866 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
27867 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
27869 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x
) {
27870 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
27872 static void *_p_wxPrintDialogTo_p_wxWindow(void *x
) {
27873 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
27875 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
27876 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
27878 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
27879 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
27881 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
27882 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
27884 static void *_p_wxPyControlPointTo_p_wxObject(void *x
) {
27885 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*)(wxPyRectangleShape
*) ((wxPyControlPoint
*) x
));
27887 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
27888 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
27890 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
27891 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
27893 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
27894 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
27896 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
27897 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
27899 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
27900 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
27902 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
27903 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
27905 static void *_p_wxOGLConstraintTo_p_wxObject(void *x
) {
27906 return (void *)((wxObject
*) ((wxOGLConstraint
*) x
));
27908 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
27909 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
27911 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
27912 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
27914 static void *_p_wxSizerTo_p_wxObject(void *x
) {
27915 return (void *)((wxObject
*) ((wxSizer
*) x
));
27917 static void *_p_wxPyDrawnShapeTo_p_wxObject(void *x
) {
27918 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*)(wxPyRectangleShape
*) ((wxPyDrawnShape
*) x
));
27920 static void *_p_wxPyDivisionShapeTo_p_wxObject(void *x
) {
27921 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*)(wxPyRectangleShape
*)(wxPyCompositeShape
*) ((wxPyDivisionShape
*) x
));
27923 static void *_p_wxPyPolygonShapeTo_p_wxObject(void *x
) {
27924 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*) ((wxPyPolygonShape
*) x
));
27926 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
27927 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
27929 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
27930 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
27932 static void *_p_wxArrowHeadTo_p_wxObject(void *x
) {
27933 return (void *)((wxObject
*) ((wxArrowHead
*) x
));
27935 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
27936 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
27938 static void *_p_wxEventTo_p_wxObject(void *x
) {
27939 return (void *)((wxObject
*) ((wxEvent
*) x
));
27941 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
27942 return (void *)((wxObject
*) ((wxFontData
*) x
));
27944 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
27945 return (void *)((wxObject
*) ((wxPrintData
*) x
));
27947 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
27948 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
27950 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
27951 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
27953 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
27954 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
27956 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
27957 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
27959 static void *_p_wxTaskBarIconTo_p_wxObject(void *x
) {
27960 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
27962 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
27963 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
27965 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
27966 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
27968 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
27969 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
27971 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
27972 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
27974 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
27975 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
27977 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
27978 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
27980 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
27981 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
27983 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
27984 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
27986 static void *_p_wxPyShapeCanvasTo_p_wxObject(void *x
) {
27987 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyShapeCanvas
*) x
));
27989 static void *_p_wxControlTo_p_wxObject(void *x
) {
27990 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
27992 static void *_p_wxPyEllipseShapeTo_p_wxObject(void *x
) {
27993 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*) ((wxPyEllipseShape
*) x
));
27995 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
27996 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
27998 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
27999 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
28001 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
28002 return (void *)((wxObject
*) ((wxFSFile
*) x
));
28004 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
28005 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
28007 static void *_p_wxPyBitmapShapeTo_p_wxObject(void *x
) {
28008 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*)(wxPyRectangleShape
*) ((wxPyBitmapShape
*) x
));
28010 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
28011 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
28013 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
28014 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
28016 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
28017 return (void *)((wxObject
*) ((wxColourData
*) x
));
28019 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
28020 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
28022 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
28023 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
28025 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
28026 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
28028 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
28029 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
28031 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
28032 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
28034 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
28035 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
28037 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
28038 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
28040 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
28041 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
28043 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
28044 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
28046 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
28047 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
28049 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
28050 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
28052 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
28053 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
28055 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
28056 return (void *)((wxObject
*) ((wxPrinter
*) x
));
28058 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
28059 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
28061 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
28062 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
28064 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
28065 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
28067 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
28068 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
28070 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
28071 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
28073 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
28074 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
28076 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
28077 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
28079 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
28080 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
28082 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
28083 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
28085 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
28086 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
28088 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
28089 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
28091 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
28092 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
28094 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
28095 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
28097 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
28098 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
28100 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
28101 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
28103 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
28104 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
28106 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
28107 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
28109 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
28110 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
28112 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
28113 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
28115 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
28116 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
28118 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
28119 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
28121 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
28122 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
28124 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
28125 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
28127 static void *_p_wxPyShapeEvtHandlerTo_p_wxObject(void *x
) {
28128 return (void *)((wxObject
*) ((wxPyShapeEvtHandler
*) x
));
28130 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
28131 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
28133 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
28134 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
28136 static void *_p_wxPyTextShapeTo_p_wxObject(void *x
) {
28137 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*)(wxPyRectangleShape
*) ((wxPyTextShape
*) x
));
28139 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
28140 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
28142 static void *_p_wxPyDividedShapeTo_p_wxObject(void *x
) {
28143 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*)(wxPyRectangleShape
*) ((wxPyDividedShape
*) x
));
28145 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
28146 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
28148 static void *_p_wxImageTo_p_wxObject(void *x
) {
28149 return (void *)((wxObject
*) ((wxImage
*) x
));
28151 static void *_p_wxFrameTo_p_wxObject(void *x
) {
28152 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
28154 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
28155 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
28157 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
28158 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
28160 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
28161 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
28163 static void *_p_wxDiagramTo_p_wxObject(void *x
) {
28164 return (void *)((wxObject
*) ((wxDiagram
*) x
));
28166 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
28167 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
28169 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
28170 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
28172 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
28173 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
28175 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
28176 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
28178 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
28179 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
28181 static void *_p_wxWindowTo_p_wxObject(void *x
) {
28182 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
28184 static void *_p_wxMenuTo_p_wxObject(void *x
) {
28185 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
28187 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
28188 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
28190 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
28191 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
28193 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
28194 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
28196 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
28197 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
28199 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
28200 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
28202 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
28203 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
28205 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
28206 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
28208 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
28209 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
28211 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
28212 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
28214 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
28215 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
28217 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
28218 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
28220 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
28221 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
28223 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
28224 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
28226 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
28227 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
28229 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
28230 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
28232 static void *_p_wxPanelTo_p_wxObject(void *x
) {
28233 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
28235 static void *_p_wxDialogTo_p_wxObject(void *x
) {
28236 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
28238 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
28239 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
28241 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
28242 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
28244 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
28245 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
28247 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
28248 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
28250 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
28251 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
28253 static void *_p_wxAttachmentPointTo_p_wxObject(void *x
) {
28254 return (void *)((wxObject
*) ((wxAttachmentPoint
*) x
));
28256 static void *_p_wxPyShapeTo_p_wxObject(void *x
) {
28257 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*) ((wxPyShape
*) x
));
28259 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
28260 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
28262 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
28263 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
28265 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
28266 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
28268 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
28269 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
28271 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
28272 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
28274 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
28275 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
28277 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
28278 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
28280 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
28281 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
28283 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
28284 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
28286 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
28287 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
28289 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
28290 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
28292 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
28293 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
28295 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
28296 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
28298 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
28299 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
28301 static void *_p_wxPyRectangleShapeTo_p_wxObject(void *x
) {
28302 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*) ((wxPyRectangleShape
*) x
));
28304 static void *_p_wxPyCompositeShapeTo_p_wxObject(void *x
) {
28305 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*)(wxPyRectangleShape
*) ((wxPyCompositeShape
*) x
));
28307 static void *_p_wxPyCircleShapeTo_p_wxObject(void *x
) {
28308 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*)(wxPyEllipseShape
*) ((wxPyCircleShape
*) x
));
28310 static void *_p_wxPyLineShapeTo_p_wxObject(void *x
) {
28311 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*) ((wxPyLineShape
*) x
));
28313 static void *_p_wxPseudoMetaFileTo_p_wxObject(void *x
) {
28314 return (void *)((wxObject
*) ((wxPseudoMetaFile
*) x
));
28316 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
28317 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
28319 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
28320 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
28322 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
28323 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
28325 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
28326 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
28328 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
28329 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
28331 static void *_p_wxShapeRegionTo_p_wxObject(void *x
) {
28332 return (void *)((wxObject
*) ((wxShapeRegion
*) x
));
28334 static void *_p_wxPyRectangleShapeTo_p_wxPyShapeEvtHandler(void *x
) {
28335 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*) ((wxPyRectangleShape
*) x
));
28337 static void *_p_wxPyBitmapShapeTo_p_wxPyShapeEvtHandler(void *x
) {
28338 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*)(wxPyRectangleShape
*) ((wxPyBitmapShape
*) x
));
28340 static void *_p_wxPyCompositeShapeTo_p_wxPyShapeEvtHandler(void *x
) {
28341 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*)(wxPyRectangleShape
*) ((wxPyCompositeShape
*) x
));
28343 static void *_p_wxPyCircleShapeTo_p_wxPyShapeEvtHandler(void *x
) {
28344 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*)(wxPyEllipseShape
*) ((wxPyCircleShape
*) x
));
28346 static void *_p_wxPyLineShapeTo_p_wxPyShapeEvtHandler(void *x
) {
28347 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*) ((wxPyLineShape
*) x
));
28349 static void *_p_wxPyTextShapeTo_p_wxPyShapeEvtHandler(void *x
) {
28350 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*)(wxPyRectangleShape
*) ((wxPyTextShape
*) x
));
28352 static void *_p_wxPyControlPointTo_p_wxPyShapeEvtHandler(void *x
) {
28353 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*)(wxPyRectangleShape
*) ((wxPyControlPoint
*) x
));
28355 static void *_p_wxPyDrawnShapeTo_p_wxPyShapeEvtHandler(void *x
) {
28356 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*)(wxPyRectangleShape
*) ((wxPyDrawnShape
*) x
));
28358 static void *_p_wxPyDivisionShapeTo_p_wxPyShapeEvtHandler(void *x
) {
28359 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*)(wxPyRectangleShape
*)(wxPyCompositeShape
*) ((wxPyDivisionShape
*) x
));
28361 static void *_p_wxPyPolygonShapeTo_p_wxPyShapeEvtHandler(void *x
) {
28362 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*) ((wxPyPolygonShape
*) x
));
28364 static void *_p_wxPyDividedShapeTo_p_wxPyShapeEvtHandler(void *x
) {
28365 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*)(wxPyRectangleShape
*) ((wxPyDividedShape
*) x
));
28367 static void *_p_wxPyShapeTo_p_wxPyShapeEvtHandler(void *x
) {
28368 return (void *)((wxPyShapeEvtHandler
*) ((wxPyShape
*) x
));
28370 static void *_p_wxPyEllipseShapeTo_p_wxPyShapeEvtHandler(void *x
) {
28371 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*) ((wxPyEllipseShape
*) x
));
28373 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
28374 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
28376 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
28377 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
28379 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
28380 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
28382 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
28383 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
28385 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
28386 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
28388 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
28389 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
28391 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
28392 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
28394 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
28395 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
28397 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
28398 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
28400 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
28401 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
28403 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
28404 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
28406 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
28407 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
28409 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
28410 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
28412 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
28413 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
28415 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
28416 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
28418 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
28419 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
28421 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
28422 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
28424 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
28425 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
28427 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
28428 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
28430 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
28431 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
28433 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
28434 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
28436 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
28437 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
28439 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
28440 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
28442 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
28443 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
28445 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
28446 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
28448 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
28449 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
28451 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
28452 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
28454 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
28455 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
28457 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
28458 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
28460 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
28461 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
28463 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
28464 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
28466 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
28467 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
28469 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
28470 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
28472 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
28473 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
28475 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
28476 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
28478 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
28479 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
28481 static void *_p_wxPyShapeCanvasTo_p_wxEvtHandler(void *x
) {
28482 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyShapeCanvas
*) x
));
28484 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
28485 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
28487 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
28488 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
28490 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
28491 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
28493 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
28494 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
28496 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x
) {
28497 return (void *)((wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
28499 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
28500 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
28502 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
28503 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
28505 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
28506 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
28508 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
28509 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
28511 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
28512 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
28514 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x
) {
28515 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
28517 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x
) {
28518 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
28520 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
28521 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
28523 static void *_p_wxPyCircleShapeTo_p_wxPyEllipseShape(void *x
) {
28524 return (void *)((wxPyEllipseShape
*) ((wxPyCircleShape
*) x
));
28526 static void *_p_wxPyRectangleShapeTo_p_wxPyShape(void *x
) {
28527 return (void *)((wxPyShape
*) ((wxPyRectangleShape
*) x
));
28529 static void *_p_wxPyBitmapShapeTo_p_wxPyShape(void *x
) {
28530 return (void *)((wxPyShape
*) (wxPyRectangleShape
*) ((wxPyBitmapShape
*) x
));
28532 static void *_p_wxPyCompositeShapeTo_p_wxPyShape(void *x
) {
28533 return (void *)((wxPyShape
*) (wxPyRectangleShape
*) ((wxPyCompositeShape
*) x
));
28535 static void *_p_wxPyCircleShapeTo_p_wxPyShape(void *x
) {
28536 return (void *)((wxPyShape
*) (wxPyEllipseShape
*) ((wxPyCircleShape
*) x
));
28538 static void *_p_wxPyLineShapeTo_p_wxPyShape(void *x
) {
28539 return (void *)((wxPyShape
*) ((wxPyLineShape
*) x
));
28541 static void *_p_wxPyTextShapeTo_p_wxPyShape(void *x
) {
28542 return (void *)((wxPyShape
*) (wxPyRectangleShape
*) ((wxPyTextShape
*) x
));
28544 static void *_p_wxPyControlPointTo_p_wxPyShape(void *x
) {
28545 return (void *)((wxPyShape
*) (wxPyRectangleShape
*) ((wxPyControlPoint
*) x
));
28547 static void *_p_wxPyDrawnShapeTo_p_wxPyShape(void *x
) {
28548 return (void *)((wxPyShape
*) (wxPyRectangleShape
*) ((wxPyDrawnShape
*) x
));
28550 static void *_p_wxPyDivisionShapeTo_p_wxPyShape(void *x
) {
28551 return (void *)((wxPyShape
*) (wxPyRectangleShape
*)(wxPyCompositeShape
*) ((wxPyDivisionShape
*) x
));
28553 static void *_p_wxPyPolygonShapeTo_p_wxPyShape(void *x
) {
28554 return (void *)((wxPyShape
*) ((wxPyPolygonShape
*) x
));
28556 static void *_p_wxPyDividedShapeTo_p_wxPyShape(void *x
) {
28557 return (void *)((wxPyShape
*) (wxPyRectangleShape
*) ((wxPyDividedShape
*) x
));
28559 static void *_p_wxPyEllipseShapeTo_p_wxPyShape(void *x
) {
28560 return (void *)((wxPyShape
*) ((wxPyEllipseShape
*) x
));
28562 static void *_p_wxPyBitmapShapeTo_p_wxPyRectangleShape(void *x
) {
28563 return (void *)((wxPyRectangleShape
*) ((wxPyBitmapShape
*) x
));
28565 static void *_p_wxPyCompositeShapeTo_p_wxPyRectangleShape(void *x
) {
28566 return (void *)((wxPyRectangleShape
*) ((wxPyCompositeShape
*) x
));
28568 static void *_p_wxPyTextShapeTo_p_wxPyRectangleShape(void *x
) {
28569 return (void *)((wxPyRectangleShape
*) ((wxPyTextShape
*) x
));
28571 static void *_p_wxPyControlPointTo_p_wxPyRectangleShape(void *x
) {
28572 return (void *)((wxPyRectangleShape
*) ((wxPyControlPoint
*) x
));
28574 static void *_p_wxPyDrawnShapeTo_p_wxPyRectangleShape(void *x
) {
28575 return (void *)((wxPyRectangleShape
*) ((wxPyDrawnShape
*) x
));
28577 static void *_p_wxPyDivisionShapeTo_p_wxPyRectangleShape(void *x
) {
28578 return (void *)((wxPyRectangleShape
*) (wxPyCompositeShape
*) ((wxPyDivisionShape
*) x
));
28580 static void *_p_wxPyDividedShapeTo_p_wxPyRectangleShape(void *x
) {
28581 return (void *)((wxPyRectangleShape
*) ((wxPyDividedShape
*) x
));
28583 static void *_p_wxPyDivisionShapeTo_p_wxPyCompositeShape(void *x
) {
28584 return (void *)((wxPyCompositeShape
*) ((wxPyDivisionShape
*) x
));
28586 static swig_type_info _swigt__p_wxOGLConstraint
[] = {{"_p_wxOGLConstraint", 0, "wxOGLConstraint *", 0},{"_p_wxOGLConstraint"},{0}};
28587 static swig_type_info _swigt__p_wxBrush
[] = {{"_p_wxBrush", 0, "wxBrush *", 0},{"_p_wxBrush"},{0}};
28588 static swig_type_info _swigt__p_wxColour
[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
28589 static swig_type_info _swigt__p_wxShapeRegion
[] = {{"_p_wxShapeRegion", 0, "wxShapeRegion *", 0},{"_p_wxShapeRegion"},{0}};
28590 static swig_type_info _swigt__p_wxDC
[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
28591 static swig_type_info _swigt__p_wxRealPoint
[] = {{"_p_wxRealPoint", 0, "wxRealPoint *", 0},{"_p_wxRealPoint"},{0}};
28592 static swig_type_info _swigt__p_wxPyControlPoint
[] = {{"_p_wxPyControlPoint", 0, "wxPyControlPoint *", 0},{"_p_wxPyControlPoint"},{0}};
28593 static swig_type_info _swigt__p_wxArrowHead
[] = {{"_p_wxArrowHead", 0, "wxArrowHead *", 0},{"_p_wxArrowHead"},{0}};
28594 static swig_type_info _swigt__p_wxStringList
[] = {{"_p_wxStringList", 0, "wxStringList *", 0},{"_p_wxStringList"},{0}};
28595 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}};
28596 static swig_type_info _swigt__p_bool
[] = {{"_p_bool", 0, "bool *", 0},{"_p_bool"},{0}};
28597 static swig_type_info _swigt__p_wxList
[] = {{"_p_wxList", 0, "wxList *", 0},{"_p_wxList"},{0}};
28598 static swig_type_info _swigt__p_wxFont
[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
28599 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}};
28600 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}};
28601 static swig_type_info _swigt__p_double
[] = {{"_p_double", 0, "double *", 0},{"_p_double"},{0}};
28602 static swig_type_info _swigt__p_wxPyDivisionShape
[] = {{"_p_wxPyDivisionShape", 0, "wxPyDivisionShape *", 0},{"_p_wxPyDivisionShape"},{0}};
28603 static swig_type_info _swigt__p_wxPyDrawnShape
[] = {{"_p_wxPyDrawnShape", 0, "wxPyDrawnShape *", 0},{"_p_wxPyDrawnShape"},{0}};
28604 static swig_type_info _swigt__p_wxPyPolygonShape
[] = {{"_p_wxPyPolygonShape", 0, "wxPyPolygonShape *", 0},{"_p_wxPyPolygonShape"},{0}};
28605 static swig_type_info _swigt__p_wxBitmap
[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
28606 static swig_type_info _swigt__p_wxObject
[] = {{"_p_wxObject", 0, "wxObject *", 0},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxObject
},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject
},{"_p_wxPyControlPoint", _p_wxPyControlPointTo_p_wxObject
},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxObject
},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxObject
},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject
},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject
},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject
},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject
},{"_p_wxOGLConstraint", _p_wxOGLConstraintTo_p_wxObject
},{"_p_wxPyPolygonShape", _p_wxPyPolygonShapeTo_p_wxObject
},{"_p_wxPyDivisionShape", _p_wxPyDivisionShapeTo_p_wxObject
},{"_p_wxPyDrawnShape", _p_wxPyDrawnShapeTo_p_wxObject
},{"_p_wxSizer", _p_wxSizerTo_p_wxObject
},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject
},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject
},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject
},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject
},{"_p_wxArrowHead", _p_wxArrowHeadTo_p_wxObject
},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxObject
},{"_p_wxMenu", _p_wxMenuTo_p_wxObject
},{"_p_wxFontData", _p_wxFontDataTo_p_wxObject
},{"_p_wxPrintData", _p_wxPrintDataTo_p_wxObject
},{"_p_wxEvent", _p_wxEventTo_p_wxObject
},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject
},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject
},{"_p_wxTaskBarIcon", _p_wxTaskBarIconTo_p_wxObject
},{"_p_wxLayoutAlgorithm", _p_wxLayoutAlgorithmTo_p_wxObject
},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject
},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxObject
},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject
},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject
},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject
},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject
},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject
},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject
},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxObject
},{"_p_wxPyShapeCanvas", _p_wxPyShapeCanvasTo_p_wxObject
},{"_p_wxControl", _p_wxControlTo_p_wxObject
},{"_p_wxPyEllipseShape", _p_wxPyEllipseShapeTo_p_wxObject
},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject
},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxObject
},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject
},{"_p_wxFindReplaceData", _p_wxFindReplaceDataTo_p_wxObject
},{"_p_wxPyBitmapShape", _p_wxPyBitmapShapeTo_p_wxObject
},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject
},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxObject
},{"_p_wxColourData", _p_wxColourDataTo_p_wxObject
},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject
},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject
},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxObject
},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxObject
},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxObject
},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxObject
},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxObject
},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxObject
},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxObject
},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxObject
},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxObject
},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject
},{"_p_wxPrinter", _p_wxPrinterTo_p_wxObject
},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject
},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject
},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject
},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject
},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject
},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject
},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject
},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject
},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject
},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject
},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject
},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject
},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject
},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject
},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject
},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject
},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject
},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject
},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject
},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject
},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject
},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject
},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxObject
},{"_p_wxPyShapeEvtHandler", _p_wxPyShapeEvtHandlerTo_p_wxObject
},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxObject
},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxObject
},{"_p_wxPyTextShape", _p_wxPyTextShapeTo_p_wxObject
},{"_p_wxPyDividedShape", _p_wxPyDividedShapeTo_p_wxObject
},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject
},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxObject
},{"_p_wxImage", _p_wxImageTo_p_wxObject
},{"_p_wxFrame", _p_wxFrameTo_p_wxObject
},{"_p_wxPyPrintout", _p_wxPyPrintoutTo_p_wxObject
},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject
},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxObject
},{"_p_wxDiagram", _p_wxDiagramTo_p_wxObject
},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxObject
},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxObject
},{"_p_wxObject"},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject
},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject
},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject
},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject
},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxObject
},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxObject
},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxObject
},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxObject
},{"_p_wxWindow", _p_wxWindowTo_p_wxObject
},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxObject
},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxObject
},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxObject
},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxObject
},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxObject
},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxObject
},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxObject
},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxObject
},{"_p_wxPrintPreview", _p_wxPrintPreviewTo_p_wxObject
},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxObject
},{"_p_wxPanel", _p_wxPanelTo_p_wxObject
},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxObject
},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxObject
},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxObject
},{"_p_wxDialog", _p_wxDialogTo_p_wxObject
},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxObject
},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxObject
},{"_p_wxPyShape", _p_wxPyShapeTo_p_wxObject
},{"_p_wxAttachmentPoint", _p_wxAttachmentPointTo_p_wxObject
},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject
},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject
},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject
},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject
},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject
},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject
},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject
},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject
},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject
},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxObject
},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxObject
},{"_p_wxPyCircleShape", _p_wxPyCircleShapeTo_p_wxObject
},{"_p_wxPyLineShape", _p_wxPyLineShapeTo_p_wxObject
},{"_p_wxPyCompositeShape", _p_wxPyCompositeShapeTo_p_wxObject
},{"_p_wxPyRectangleShape", _p_wxPyRectangleShapeTo_p_wxObject
},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject
},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject
},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject
},{"_p_wxPseudoMetaFile", _p_wxPseudoMetaFileTo_p_wxObject
},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject
},{"_p_wxPageSetupDialogData", _p_wxPageSetupDialogDataTo_p_wxObject
},{"_p_wxPrintDialogData", _p_wxPrintDialogDataTo_p_wxObject
},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject
},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject
},{"_p_wxShapeRegion", _p_wxShapeRegionTo_p_wxObject
},{0}};
28607 static swig_type_info _swigt__p_wxPyBitmapShape
[] = {{"_p_wxPyBitmapShape", 0, "wxPyBitmapShape *", 0},{"_p_wxPyBitmapShape"},{0}};
28608 static swig_type_info _swigt__p_wxString
[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
28609 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}};
28610 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}};
28611 static swig_type_info _swigt__p_wxPyEllipseShape
[] = {{"_p_wxPyEllipseShape", 0, "wxPyEllipseShape *", 0},{"_p_wxPyCircleShape", _p_wxPyCircleShapeTo_p_wxPyEllipseShape
},{"_p_wxPyEllipseShape"},{0}};
28612 static swig_type_info _swigt__p_wxPyShapeCanvas
[] = {{"_p_wxPyShapeCanvas", 0, "wxPyShapeCanvas *", 0},{"_p_wxPyShapeCanvas"},{0}};
28613 static swig_type_info _swigt__p_wxPoint
[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
28614 static swig_type_info _swigt__p_wxDiagram
[] = {{"_p_wxDiagram", 0, "wxDiagram *", 0},{"_p_wxDiagram"},{0}};
28615 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}};
28616 static swig_type_info _swigt__p_wxAttachmentPoint
[] = {{"_p_wxAttachmentPoint", 0, "wxAttachmentPoint *", 0},{"_p_wxAttachmentPoint"},{0}};
28617 static swig_type_info _swigt__p_wxClassInfo
[] = {{"_p_wxClassInfo", 0, "wxClassInfo *", 0},{"_p_wxClassInfo"},{0}};
28618 static swig_type_info _swigt__p_wxPyLineShape
[] = {{"_p_wxPyLineShape", 0, "wxPyLineShape *", 0},{"_p_wxPyLineShape"},{0}};
28619 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}};
28620 static swig_type_info _swigt__p_wxPyCompositeShape
[] = {{"_p_wxPyCompositeShape", 0, "wxPyCompositeShape *", 0},{"_p_wxPyCompositeShape"},{"_p_wxPyDivisionShape", _p_wxPyDivisionShapeTo_p_wxPyCompositeShape
},{0}};
28621 static swig_type_info _swigt__p_wxPyCircleShape
[] = {{"_p_wxPyCircleShape", 0, "wxPyCircleShape *", 0},{"_p_wxPyCircleShape"},{0}};
28622 static swig_type_info _swigt__p_wxPen
[] = {{"_p_wxPen", 0, "wxPen *", 0},{"_p_wxPen"},{0}};
28623 static swig_type_info _swigt__p_int
[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
28624 static swig_type_info _swigt__p_wxPseudoMetaFile
[] = {{"_p_wxPseudoMetaFile", 0, "wxPseudoMetaFile *", 0},{"_p_wxPseudoMetaFile"},{0}};
28625 static swig_type_info _swigt__p_wxPyTextShape
[] = {{"_p_wxPyTextShape", 0, "wxPyTextShape *", 0},{"_p_wxPyTextShape"},{0}};
28626 static swig_type_info _swigt__p_wxPyDividedShape
[] = {{"_p_wxPyDividedShape", 0, "wxPyDividedShape *", 0},{"_p_wxPyDividedShape"},{0}};
28628 static swig_type_info
*swig_types_initial
[] = {
28629 _swigt__p_wxOGLConstraint
,
28631 _swigt__p_wxColour
,
28632 _swigt__p_wxShapeRegion
,
28634 _swigt__p_wxRealPoint
,
28635 _swigt__p_wxPyControlPoint
,
28636 _swigt__p_wxArrowHead
,
28637 _swigt__p_wxStringList
,
28642 _swigt__p_wxScrolledWindow
,
28643 _swigt__p_wxWindow
,
28645 _swigt__p_wxPyDivisionShape
,
28646 _swigt__p_wxPyDrawnShape
,
28647 _swigt__p_wxPyPolygonShape
,
28648 _swigt__p_wxBitmap
,
28649 _swigt__p_wxObject
,
28650 _swigt__p_wxPyBitmapShape
,
28651 _swigt__p_wxString
,
28652 _swigt__p_wxPyShapeEvtHandler
,
28653 _swigt__p_wxEvtHandler
,
28654 _swigt__p_wxPyEllipseShape
,
28655 _swigt__p_wxPyShapeCanvas
,
28657 _swigt__p_wxDiagram
,
28658 _swigt__p_wxPyShape
,
28659 _swigt__p_wxAttachmentPoint
,
28660 _swigt__p_wxClassInfo
,
28661 _swigt__p_wxPyLineShape
,
28662 _swigt__p_wxPyRectangleShape
,
28663 _swigt__p_wxPyCompositeShape
,
28664 _swigt__p_wxPyCircleShape
,
28667 _swigt__p_wxPseudoMetaFile
,
28668 _swigt__p_wxPyTextShape
,
28669 _swigt__p_wxPyDividedShape
,
28674 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
28676 static swig_const_info swig_const_table
[] = {
28677 { SWIG_PY_INT
, (char *)"oglMETAFLAGS_OUTLINE", (long) oglMETAFLAGS_OUTLINE
, 0, 0, 0},
28678 { SWIG_PY_INT
, (char *)"oglMETAFLAGS_ATTACHMENTS", (long) oglMETAFLAGS_ATTACHMENTS
, 0, 0, 0},
28679 { SWIG_PY_INT
, (char *)"KEY_SHIFT", (long) KEY_SHIFT
, 0, 0, 0},
28680 { SWIG_PY_INT
, (char *)"KEY_CTRL", (long) KEY_CTRL
, 0, 0, 0},
28681 { SWIG_PY_INT
, (char *)"ARROW_NONE", (long) ARROW_NONE
, 0, 0, 0},
28682 { SWIG_PY_INT
, (char *)"ARROW_END", (long) ARROW_END
, 0, 0, 0},
28683 { SWIG_PY_INT
, (char *)"ARROW_BOTH", (long) ARROW_BOTH
, 0, 0, 0},
28684 { SWIG_PY_INT
, (char *)"ARROW_MIDDLE", (long) ARROW_MIDDLE
, 0, 0, 0},
28685 { SWIG_PY_INT
, (char *)"ARROW_START", (long) ARROW_START
, 0, 0, 0},
28686 { SWIG_PY_INT
, (char *)"ARROW_HOLLOW_CIRCLE", (long) ARROW_HOLLOW_CIRCLE
, 0, 0, 0},
28687 { SWIG_PY_INT
, (char *)"ARROW_FILLED_CIRCLE", (long) ARROW_FILLED_CIRCLE
, 0, 0, 0},
28688 { SWIG_PY_INT
, (char *)"ARROW_ARROW", (long) ARROW_ARROW
, 0, 0, 0},
28689 { SWIG_PY_INT
, (char *)"ARROW_SINGLE_OBLIQUE", (long) ARROW_SINGLE_OBLIQUE
, 0, 0, 0},
28690 { SWIG_PY_INT
, (char *)"ARROW_DOUBLE_OBLIQUE", (long) ARROW_DOUBLE_OBLIQUE
, 0, 0, 0},
28691 { SWIG_PY_INT
, (char *)"ARROW_METAFILE", (long) ARROW_METAFILE
, 0, 0, 0},
28692 { SWIG_PY_INT
, (char *)"ARROW_POSITION_END", (long) ARROW_POSITION_END
, 0, 0, 0},
28693 { SWIG_PY_INT
, (char *)"ARROW_POSITION_START", (long) ARROW_POSITION_START
, 0, 0, 0},
28694 { SWIG_PY_INT
, (char *)"CONTROL_POINT_VERTICAL", (long) CONTROL_POINT_VERTICAL
, 0, 0, 0},
28695 { SWIG_PY_INT
, (char *)"CONTROL_POINT_HORIZONTAL", (long) CONTROL_POINT_HORIZONTAL
, 0, 0, 0},
28696 { SWIG_PY_INT
, (char *)"CONTROL_POINT_DIAGONAL", (long) CONTROL_POINT_DIAGONAL
, 0, 0, 0},
28697 { SWIG_PY_INT
, (char *)"CONTROL_POINT_ENDPOINT_TO", (long) CONTROL_POINT_ENDPOINT_TO
, 0, 0, 0},
28698 { SWIG_PY_INT
, (char *)"CONTROL_POINT_ENDPOINT_FROM", (long) CONTROL_POINT_ENDPOINT_FROM
, 0, 0, 0},
28699 { SWIG_PY_INT
, (char *)"CONTROL_POINT_LINE", (long) CONTROL_POINT_LINE
, 0, 0, 0},
28700 { SWIG_PY_INT
, (char *)"FORMAT_NONE", (long) FORMAT_NONE
, 0, 0, 0},
28701 { SWIG_PY_INT
, (char *)"FORMAT_CENTRE_HORIZ", (long) FORMAT_CENTRE_HORIZ
, 0, 0, 0},
28702 { SWIG_PY_INT
, (char *)"FORMAT_CENTRE_VERT", (long) FORMAT_CENTRE_VERT
, 0, 0, 0},
28703 { SWIG_PY_INT
, (char *)"FORMAT_SIZE_TO_CONTENTS", (long) FORMAT_SIZE_TO_CONTENTS
, 0, 0, 0},
28704 { SWIG_PY_INT
, (char *)"LINE_ALIGNMENT_HORIZ", (long) LINE_ALIGNMENT_HORIZ
, 0, 0, 0},
28705 { SWIG_PY_INT
, (char *)"LINE_ALIGNMENT_VERT", (long) LINE_ALIGNMENT_VERT
, 0, 0, 0},
28706 { SWIG_PY_INT
, (char *)"LINE_ALIGNMENT_TO_NEXT_HANDLE", (long) LINE_ALIGNMENT_TO_NEXT_HANDLE
, 0, 0, 0},
28707 { SWIG_PY_INT
, (char *)"LINE_ALIGNMENT_NONE", (long) LINE_ALIGNMENT_NONE
, 0, 0, 0},
28708 { SWIG_PY_INT
, (char *)"SHADOW_NONE", (long) SHADOW_NONE
, 0, 0, 0},
28709 { SWIG_PY_INT
, (char *)"SHADOW_LEFT", (long) SHADOW_LEFT
, 0, 0, 0},
28710 { SWIG_PY_INT
, (char *)"SHADOW_RIGHT", (long) SHADOW_RIGHT
, 0, 0, 0},
28711 { SWIG_PY_INT
, (char *)"OP_CLICK_LEFT", (long) OP_CLICK_LEFT
, 0, 0, 0},
28712 { SWIG_PY_INT
, (char *)"OP_CLICK_RIGHT", (long) OP_CLICK_RIGHT
, 0, 0, 0},
28713 { SWIG_PY_INT
, (char *)"OP_DRAG_LEFT", (long) OP_DRAG_LEFT
, 0, 0, 0},
28714 { SWIG_PY_INT
, (char *)"OP_DRAG_RIGHT", (long) OP_DRAG_RIGHT
, 0, 0, 0},
28715 { SWIG_PY_INT
, (char *)"OP_ALL", (long) OP_ALL
, 0, 0, 0},
28716 { SWIG_PY_INT
, (char *)"ATTACHMENT_MODE_NONE", (long) ATTACHMENT_MODE_NONE
, 0, 0, 0},
28717 { SWIG_PY_INT
, (char *)"ATTACHMENT_MODE_EDGE", (long) ATTACHMENT_MODE_EDGE
, 0, 0, 0},
28718 { SWIG_PY_INT
, (char *)"ATTACHMENT_MODE_BRANCHING", (long) ATTACHMENT_MODE_BRANCHING
, 0, 0, 0},
28719 { SWIG_PY_INT
, (char *)"BRANCHING_ATTACHMENT_NORMAL", (long) BRANCHING_ATTACHMENT_NORMAL
, 0, 0, 0},
28720 { SWIG_PY_INT
, (char *)"BRANCHING_ATTACHMENT_BLOB", (long) BRANCHING_ATTACHMENT_BLOB
, 0, 0, 0},
28721 { SWIG_PY_INT
, (char *)"gyCONSTRAINT_CENTRED_VERTICALLY", (long) gyCONSTRAINT_CENTRED_VERTICALLY
, 0, 0, 0},
28722 { SWIG_PY_INT
, (char *)"gyCONSTRAINT_CENTRED_HORIZONTALLY", (long) gyCONSTRAINT_CENTRED_HORIZONTALLY
, 0, 0, 0},
28723 { SWIG_PY_INT
, (char *)"gyCONSTRAINT_CENTRED_BOTH", (long) gyCONSTRAINT_CENTRED_BOTH
, 0, 0, 0},
28724 { SWIG_PY_INT
, (char *)"gyCONSTRAINT_LEFT_OF", (long) gyCONSTRAINT_LEFT_OF
, 0, 0, 0},
28725 { SWIG_PY_INT
, (char *)"gyCONSTRAINT_RIGHT_OF", (long) gyCONSTRAINT_RIGHT_OF
, 0, 0, 0},
28726 { SWIG_PY_INT
, (char *)"gyCONSTRAINT_ABOVE", (long) gyCONSTRAINT_ABOVE
, 0, 0, 0},
28727 { SWIG_PY_INT
, (char *)"gyCONSTRAINT_BELOW", (long) gyCONSTRAINT_BELOW
, 0, 0, 0},
28728 { SWIG_PY_INT
, (char *)"gyCONSTRAINT_ALIGNED_TOP", (long) gyCONSTRAINT_ALIGNED_TOP
, 0, 0, 0},
28729 { SWIG_PY_INT
, (char *)"gyCONSTRAINT_ALIGNED_BOTTOM", (long) gyCONSTRAINT_ALIGNED_BOTTOM
, 0, 0, 0},
28730 { SWIG_PY_INT
, (char *)"gyCONSTRAINT_ALIGNED_LEFT", (long) gyCONSTRAINT_ALIGNED_LEFT
, 0, 0, 0},
28731 { SWIG_PY_INT
, (char *)"gyCONSTRAINT_ALIGNED_RIGHT", (long) gyCONSTRAINT_ALIGNED_RIGHT
, 0, 0, 0},
28732 { SWIG_PY_INT
, (char *)"gyCONSTRAINT_MIDALIGNED_TOP", (long) gyCONSTRAINT_MIDALIGNED_TOP
, 0, 0, 0},
28733 { SWIG_PY_INT
, (char *)"gyCONSTRAINT_MIDALIGNED_BOTTOM", (long) gyCONSTRAINT_MIDALIGNED_BOTTOM
, 0, 0, 0},
28734 { SWIG_PY_INT
, (char *)"gyCONSTRAINT_MIDALIGNED_LEFT", (long) gyCONSTRAINT_MIDALIGNED_LEFT
, 0, 0, 0},
28735 { SWIG_PY_INT
, (char *)"gyCONSTRAINT_MIDALIGNED_RIGHT", (long) gyCONSTRAINT_MIDALIGNED_RIGHT
, 0, 0, 0},
28736 { SWIG_PY_INT
, (char *)"DIVISION_SIDE_NONE", (long) DIVISION_SIDE_NONE
, 0, 0, 0},
28737 { SWIG_PY_INT
, (char *)"DIVISION_SIDE_LEFT", (long) DIVISION_SIDE_LEFT
, 0, 0, 0},
28738 { SWIG_PY_INT
, (char *)"DIVISION_SIDE_TOP", (long) DIVISION_SIDE_TOP
, 0, 0, 0},
28739 { SWIG_PY_INT
, (char *)"DIVISION_SIDE_RIGHT", (long) DIVISION_SIDE_RIGHT
, 0, 0, 0},
28740 { SWIG_PY_INT
, (char *)"DIVISION_SIDE_BOTTOM", (long) DIVISION_SIDE_BOTTOM
, 0, 0, 0},
28750 SWIGEXPORT(void) SWIG_init(void) {
28751 static PyObject
*SWIG_globals
= 0;
28752 static int typeinit
= 0;
28755 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
28756 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
28757 d
= PyModule_GetDict(m
);
28760 for (i
= 0; swig_types_initial
[i
]; i
++) {
28761 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
28765 SWIG_InstallConstants(d
,swig_const_table
);
28769 // initoglbasicc();
28770 // initoglshapesc();
28771 // initoglshapes2c();
28772 // initoglcanvasc();
28775 wxPyPtrTypeMap_Add("wxControlPoint", "wxPyControlPoint");
28776 wxPyPtrTypeMap_Add("wxShapeCanvas", "wxPyShapeCanvas");
28777 wxPyPtrTypeMap_Add("wxShapeEvtHandler", "wxPyShapeEvtHandler");
28778 wxPyPtrTypeMap_Add("wxShape", "wxPyShape");
28779 wxPyPtrTypeMap_Add("wxRectangleShape", "wxPyRectangleShape");
28780 wxPyPtrTypeMap_Add("wxDrawnShape", "wxPyDrawnShape");
28781 wxPyPtrTypeMap_Add("wxCompositeShape", "wxPyCompositeShape");
28782 wxPyPtrTypeMap_Add("wxDividedShape", "wxPyDividedShape");
28783 wxPyPtrTypeMap_Add("wxDivisionShape", "wxPyDivisionShape");
28784 wxPyPtrTypeMap_Add("wxEllipseShape", "wxPyEllipseShape");
28785 wxPyPtrTypeMap_Add("wxCircleShape", "wxPyCircleShape");
28786 wxPyPtrTypeMap_Add("wxLineShape", "wxPyLineShape");
28787 wxPyPtrTypeMap_Add("wxPolygonShape", "wxPyPolygonShape");
28788 wxPyPtrTypeMap_Add("wxTextShape", "wxPyTextShape");