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_TypePrettyName SWIG_Python_TypePrettyName
47 #define SWIG_TypeQuery SWIG_Python_TypeQuery
48 #define SWIG_TypeClientData SWIG_Python_TypeClientData
49 #define SWIG_PackData SWIG_Python_PackData
50 #define SWIG_UnpackData SWIG_Python_UnpackData
53 /***********************************************************************
54 * common.swg for wxPython
56 * Include only the function prototypes and such from SWIG's common.swg,
57 * but not the runtime functions themselves. This helps keep the
58 * wrapper files clean of unnecessary stuff that is in the libpy.c file
61 ************************************************************************/
65 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
66 # if defined(_MSC_VER) || defined(__GNUC__)
67 # if defined(STATIC_LINKED)
68 # define SWIGEXPORT(a) a
69 # define SWIGIMPORT(a) extern a
71 # define SWIGEXPORT(a) __declspec(dllexport) a
72 # define SWIGIMPORT(a) extern a
75 # if defined(__BORLANDC__)
76 # define SWIGEXPORT(a) a _export
77 # define SWIGIMPORT(a) a _export
79 # define SWIGEXPORT(a) a
80 # define SWIGIMPORT(a) a
84 # define SWIGEXPORT(a) a
85 # define SWIGIMPORT(a) a
89 # define SWIGRUNTIME(a) SWIGEXPORT(a)
91 # define SWIGRUNTIME(a) static a
98 typedef void *(*swig_converter_func
)(void *);
99 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
101 typedef struct swig_type_info
{
103 swig_converter_func converter
;
106 swig_dycast_func dcast
;
107 struct swig_type_info
*next
;
108 struct swig_type_info
*prev
;
112 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
113 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
114 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
115 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
116 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
117 SWIGIMPORT(const char *) SWIG_TypePrettyName(const swig_type_info
*);
118 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
119 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
120 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
121 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
129 /***********************************************************************
130 * pyrun.swg for wxPython
132 * Include only the function prototypes and such from SWIG's pyrun.swg,
133 * but not the runtime functions themselves. This helps keep the
134 * wrapper files clean of unnecessary stuff that is in the libpy.c file
137 ************************************************************************/
143 #define SWIG_PY_INT 1
144 #define SWIG_PY_FLOAT 2
145 #define SWIG_PY_STRING 3
146 #define SWIG_PY_POINTER 4
147 #define SWIG_PY_BINARY 5
149 /* Flags for pointer conversion */
151 #define SWIG_POINTER_EXCEPTION 0x1
152 #define SWIG_POINTER_DISOWN 0x2
154 /* Exception handling in wrappers */
155 #define SWIG_fail goto fail
157 /* Constant information structure */
158 typedef struct swig_const_info
{
164 swig_type_info
**ptype
;
167 /* Common SWIG API */
168 #define SWIG_ConvertPtr(obj, pp, type, flags) \
169 SWIG_Python_ConvertPtr(obj, pp, type, flags)
170 #define SWIG_NewPointerObj(p, type, flags) \
171 SWIG_Python_NewPointerObj(p, type, flags)
172 #define SWIG_MustGetPtr(p, type, argnum, flags) \
173 SWIG_Python_MustGetPtr(p, type, argnum, flags)
175 /* Python-specific SWIG API */
176 #define SWIG_newvarlink() \
177 SWIG_Python_newvarlink()
178 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
179 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
180 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
181 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
182 #define SWIG_NewPackedObj(ptr, sz, type) \
183 SWIG_Python_NewPackedObj(ptr, sz, type)
184 #define SWIG_InstallConstants(d, constants) \
185 SWIG_Python_InstallConstants(d, constants)
187 typedef double (*py_objasdbl_conv
)(PyObject
*obj
);
189 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
190 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
191 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
192 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
193 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
194 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
195 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
196 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
199 /* Contract support */
201 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
209 /* -------- TYPES TABLE (BEGIN) -------- */
211 #define SWIGTYPE_p_wxOGLConstraint swig_types[0]
212 #define SWIGTYPE_p_wxBrush swig_types[1]
213 #define SWIGTYPE_p_wxColour swig_types[2]
214 #define SWIGTYPE_p_wxShapeRegion swig_types[3]
215 #define SWIGTYPE_p_wxDC swig_types[4]
216 #define SWIGTYPE_p_wxRealPoint swig_types[5]
217 #define SWIGTYPE_p_wxPyControlPoint swig_types[6]
218 #define SWIGTYPE_p_wxArrowHead swig_types[7]
219 #define SWIGTYPE_p_char swig_types[8]
220 #define SWIGTYPE_p_wxStringList swig_types[9]
221 #define SWIGTYPE_p_wxPanel swig_types[10]
222 #define SWIGTYPE_p_bool swig_types[11]
223 #define SWIGTYPE_p_wxList swig_types[12]
224 #define SWIGTYPE_p_wxFont swig_types[13]
225 #define SWIGTYPE_p_wxScrolledWindow swig_types[14]
226 #define SWIGTYPE_p_wxWindow swig_types[15]
227 #define SWIGTYPE_p_double swig_types[16]
228 #define SWIGTYPE_p_wxPyDivisionShape swig_types[17]
229 #define SWIGTYPE_p_wxPyDrawnShape swig_types[18]
230 #define SWIGTYPE_p_wxPyPolygonShape swig_types[19]
231 #define SWIGTYPE_p_wxBitmap swig_types[20]
232 #define SWIGTYPE_p_wxObject swig_types[21]
233 #define SWIGTYPE_p_wxPyBitmapShape swig_types[22]
234 #define SWIGTYPE_p_wxPyShapeEvtHandler swig_types[23]
235 #define SWIGTYPE_p_wxEvtHandler swig_types[24]
236 #define SWIGTYPE_p_wxPyEllipseShape swig_types[25]
237 #define SWIGTYPE_p_wxPyShapeCanvas swig_types[26]
238 #define SWIGTYPE_p_wxPoint swig_types[27]
239 #define SWIGTYPE_p_wxDiagram swig_types[28]
240 #define SWIGTYPE_p_wxPyShape swig_types[29]
241 #define SWIGTYPE_p_wxAttachmentPoint swig_types[30]
242 #define SWIGTYPE_p_wxClassInfo swig_types[31]
243 #define SWIGTYPE_p_wxPyLineShape swig_types[32]
244 #define SWIGTYPE_p_wxPyRectangleShape swig_types[33]
245 #define SWIGTYPE_p_wxPyCompositeShape swig_types[34]
246 #define SWIGTYPE_p_wxPyCircleShape swig_types[35]
247 #define SWIGTYPE_p_wxPen swig_types[36]
248 #define SWIGTYPE_p_int swig_types[37]
249 #define SWIGTYPE_p_wxPseudoMetaFile swig_types[38]
250 #define SWIGTYPE_p_wxPyTextShape swig_types[39]
251 #define SWIGTYPE_p_wxPyDividedShape swig_types[40]
252 static swig_type_info
*swig_types
[42];
254 /* -------- TYPES TABLE (END) -------- */
257 /*-----------------------------------------------
259 ------------------------------------------------*/
260 #define SWIG_init init_ogl
262 #define SWIG_name "_ogl"
264 /* Auxiliar swig macros that appear in the header */
266 #define SWIG_OLDOBJ 1
267 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
268 #define SWIG_PYSTR SWIG_NEWOBJ + 1
271 #define SWIGSTATICINLINE(a) static inline a
272 #define SWIGSTATIC(a) static a
273 #define swig_new_array(size,Type) (new Type[(size)])
274 #define swig_delete(cptr) delete cptr
275 #define swig_delete_array(cptr) delete[] cptr
276 #define swig_const_cast(a,Type) const_cast<Type >(a)
277 #define swig_static_cast(a,Type) static_cast<Type >(a)
278 #define swig_reinterpret_cast(a,Type) reinterpret_cast<Type >(a)
279 #define swig_new_copy(ptr,Type) (new Type(*ptr))
280 #define swig_numeric_cast(a,Type) static_cast<Type >(a)
284 #define SWIGSTATICINLINE(a) static a
285 #define SWIGSTATIC(a) static a
286 #define swig_new_array(size,Type) ((Type*) malloc((size)*sizeof(Type)))
287 #define swig_delete(cptr) free((char*)cptr)
288 #define swig_delete_array(cptr) free((char*)cptr)
289 #define swig_const_cast(a,Type) (Type)(a)
290 #define swig_static_cast(a,Type) (Type)(a)
291 #define swig_reinterpret_cast(a,Type) (Type)(a)
292 #define swig_numeric_cast(a,Type) (Type)(a)
293 #define swig_new_copy(ptr,Type) ((Type*)memcpy(malloc(sizeof(Type)),ptr,sizeof(Type)))
295 #endif /* __cplusplus */
298 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
299 #define SWIG_From_signed_SS_char PyInt_FromLong
301 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
302 #define SWIG_From_unsigned_SS_char PyInt_FromLong
304 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
305 #define SWIG_From_short PyInt_FromLong
307 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
308 #define SWIG_From_unsigned_SS_short PyInt_FromLong
310 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
311 #define SWIG_From_int PyInt_FromLong
313 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
314 #define SWIG_From_long PyInt_FromLong
316 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
317 #define SWIG_From_float PyFloat_FromDouble
319 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
320 #define SWIG_From_double PyFloat_FromDouble
324 #include "wx/wxPython/wxPython.h"
325 #include "wx/wxPython/pyclasses.h"
326 #include "oglhelpers.h"
329 static const wxString
wxPyEmptyString(wxEmptyString
);
331 // See my_fragments.i
332 SWIGSTATICINLINE(int)
333 SWIG_AsVal_double(PyObject
*obj
, double* val
)
335 if (PyNumber_Check(obj
)) {
336 if (val
) *val
= PyFloat_AsDouble(obj
);
340 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
341 obj
->ob_type
->tp_name
);
342 PyErr_SetObject(PyExc_TypeError
, errmsg
);
349 SWIGSTATICINLINE(double)
350 SWIG_As_double(PyObject
* obj
)
353 if (!SWIG_AsVal_double(obj
, &v
)) {
355 this is needed to make valgrind/purify happier. the other
356 solution is throw an exception, but since this code should work
359 memset((void*)&v
, 0, sizeof(double));
365 SWIGSTATICINLINE(int)
366 SWIG_Check_double(PyObject
* obj
)
368 return SWIG_AsVal_double(obj
, (double*)0);
375 SWIGSTATICINLINE(int)
376 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
379 if (value
< min_value
) {
381 PyErr_Format(PyExc_OverflowError
,
382 "value %ld is less than '%s' minimum %ld",
383 value
, errmsg
, min_value
);
386 } else if (value
> max_value
) {
388 PyErr_Format(PyExc_OverflowError
,
389 "value %ld is greater than '%s' maximum %ld",
390 value
, errmsg
, max_value
);
398 // See my_fragments.i
399 SWIGSTATICINLINE(int)
400 SWIG_AsVal_long(PyObject
* obj
, long* val
)
402 if (PyNumber_Check(obj
)) {
403 if (val
) *val
= PyInt_AsLong(obj
);
407 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
408 obj
->ob_type
->tp_name
);
409 PyErr_SetObject(PyExc_TypeError
, errmsg
);
416 #if INT_MAX != LONG_MAX
417 SWIGSTATICINLINE(int)
418 SWIG_AsVal_int(PyObject
*obj
, int *val
)
420 const char* errmsg
= val
? "int" : 0;
422 if (SWIG_AsVal_long(obj
, &v
)) {
423 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
424 if (val
) *val
= swig_numeric_cast(v
, int);
433 PyErr_SetString(PyExc_TypeError
, "an int is expected");
438 SWIGSTATICINLINE(int)
439 SWIG_AsVal_int(PyObject
*obj
, int *val
)
441 return SWIG_AsVal_long(obj
,(long*)val
);
446 SWIGSTATICINLINE(int)
447 SWIG_As_int(PyObject
* obj
)
450 if (!SWIG_AsVal_int(obj
, &v
)) {
452 this is needed to make valgrind/purify happier. the other
453 solution is throw an exception, but since this code should work
456 memset((void*)&v
, 0, sizeof(int));
462 SWIGSTATICINLINE(int)
463 SWIG_Check_int(PyObject
* obj
)
465 return SWIG_AsVal_int(obj
, (int*)0);
469 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
475 } else if (target
== Py_None
) {
479 if (!PyTuple_Check(target
)) {
481 target
= PyTuple_New(1);
482 PyTuple_SetItem(target
, 0, o2
);
485 PyTuple_SetItem(o3
, 0, o
);
488 target
= PySequence_Concat(o2
, o3
);
497 WXSHAPE_IMP_CALLBACKS(wxPyShapeEvtHandler
,wxShapeEvtHandler
);
499 void wxPyShapeEvtHandler__setOORInfo(wxPyShapeEvtHandler
*self
,PyObject
*_self
){
500 self
->SetClientObject(new wxPyOORClientData(_self
));
503 SWIGSTATICINLINE(int)
504 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
506 /* if (val) *val = PyObject_IsTrue(obj); return 1; */
507 if (obj
== Py_True
) {
508 if (val
) *val
= true;
511 if (obj
== Py_False
) {
512 if (val
) *val
= false;
516 if (SWIG_AsVal_int(obj
, &res
)) {
517 if (val
) *val
= (bool)res
;
521 PyErr_SetString(PyExc_TypeError
, "a bool is expected");
527 SWIGSTATICINLINE(bool)
528 SWIG_As_bool(PyObject
* obj
)
531 if (!SWIG_AsVal_bool(obj
, &v
)) {
533 this is needed to make valgrind/purify happier. the other
534 solution is throw an exception, but since this code should work
537 memset((void*)&v
, 0, sizeof(bool));
543 SWIGSTATICINLINE(int)
544 SWIG_Check_bool(PyObject
* obj
)
546 return SWIG_AsVal_bool(obj
, (bool*)0);
550 WXSHAPE_IMP_CALLBACKS(wxPyShape
, wxShape
);
552 PyObject
*wxPyShape_GetChildren(wxPyShape
*self
){
553 wxList
& list
= self
->GetChildren();
554 return wxPy_ConvertShapeList(&list
);
557 SWIGSTATICINLINE(PyObject
*)
558 SWIG_From_bool(bool value
)
560 PyObject
*obj
= value
? Py_True
: Py_False
;
567 PyObject
*wxPyShape_GetLines(wxPyShape
*self
){
568 wxList
& list
= self
->GetLines();
569 return wxPy_ConvertShapeList(&list
);
572 SWIGSTATICINLINE(long)
573 SWIG_As_long(PyObject
* obj
)
576 if (!SWIG_AsVal_long(obj
, &v
)) {
578 this is needed to make valgrind/purify happier. the other
579 solution is throw an exception, but since this code should work
582 memset((void*)&v
, 0, sizeof(long));
588 SWIGSTATICINLINE(int)
589 SWIG_Check_long(PyObject
* obj
)
591 return SWIG_AsVal_long(obj
, (long*)0);
594 PyObject
*wxPyShape_GetRegions(wxPyShape
*self
){
595 wxList
& list
= self
->GetRegions();
596 return wxPy_ConvertList(&list
);
598 PyObject
*wxPyShape_GetAttachments(wxPyShape
*self
){
599 wxList
& list
= self
->GetAttachments();
600 return wxPy_ConvertList(&list
);
602 void wxPyShape_ApplyAttachmentOrdering(wxPyShape
*self
,PyObject
*linesToSort
){
603 wxList
* list
= wxPy_wxListHelper(linesToSort
, wxT("wxPyLineShape"));
604 self
->ApplyAttachmentOrdering(*list
);
608 // Using this macro can sometimes provoke an Internal Compiler Error in MSVC
609 // 6, so instead I'l just expand it out by hand...
610 // WXSHAPE_IMP_CALLBACKS(wxPyRectangleShape, wxRectangleShape);
612 IMP_PYCALLBACK__ (wxPyRectangleShape
, wxRectangleShape
, OnDelete
);
613 IMP_PYCALLBACK__DC (wxPyRectangleShape
, wxRectangleShape
, OnDraw
);
614 IMP_PYCALLBACK__DC (wxPyRectangleShape
, wxRectangleShape
, OnDrawContents
);
615 IMP_PYCALLBACK__DCBOOL (wxPyRectangleShape
, wxRectangleShape
, OnDrawBranches
);
616 IMP_PYCALLBACK__DC (wxPyRectangleShape
, wxRectangleShape
, OnMoveLinks
);
617 IMP_PYCALLBACK__DC (wxPyRectangleShape
, wxRectangleShape
, OnErase
);
618 IMP_PYCALLBACK__DC (wxPyRectangleShape
, wxRectangleShape
, OnEraseContents
);
619 IMP_PYCALLBACK__DC (wxPyRectangleShape
, wxRectangleShape
, OnHighlight
);
620 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape
, wxRectangleShape
, OnLeftClick
);
621 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape
, wxRectangleShape
, OnLeftDoubleClick
);
622 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape
, wxRectangleShape
, OnRightClick
);
623 IMP_PYCALLBACK__2DBL (wxPyRectangleShape
, wxRectangleShape
, OnSize
);
624 IMP_PYCALLBACK_BOOL_DC4DBLBOOL (wxPyRectangleShape
, wxRectangleShape
, OnMovePre
);
625 IMP_PYCALLBACK__DC4DBLBOOL (wxPyRectangleShape
, wxRectangleShape
, OnMovePost
);
626 IMP_PYCALLBACK__BOOL2DBL2INT (wxPyRectangleShape
, wxRectangleShape
, OnDragLeft
);
627 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape
, wxRectangleShape
, OnBeginDragLeft
);
628 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape
, wxRectangleShape
, OnEndDragLeft
);
629 IMP_PYCALLBACK__BOOL2DBL2INT (wxPyRectangleShape
, wxRectangleShape
, OnDragRight
);
630 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape
, wxRectangleShape
, OnBeginDragRight
);
631 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape
, wxRectangleShape
, OnEndDragRight
);
632 IMP_PYCALLBACK__DC4DBL (wxPyRectangleShape
, wxRectangleShape
, OnDrawOutline
);
633 IMP_PYCALLBACK__DC (wxPyRectangleShape
, wxRectangleShape
, OnDrawControlPoints
);
634 IMP_PYCALLBACK__DC (wxPyRectangleShape
, wxRectangleShape
, OnEraseControlPoints
);
635 IMP_PYCALLBACK__DCBOOL (wxPyRectangleShape
, wxRectangleShape
, OnMoveLink
);
636 IMP_PYCALLBACK__WXCPBOOL2DBL2INT(wxPyRectangleShape
, wxRectangleShape
, OnSizingDragLeft
);
637 IMP_PYCALLBACK__WXCP2DBL2INT (wxPyRectangleShape
, wxRectangleShape
, OnSizingBeginDragLeft
);
638 IMP_PYCALLBACK__WXCP2DBL2INT (wxPyRectangleShape
, wxRectangleShape
, OnSizingEndDragLeft
);
639 IMP_PYCALLBACK__2DBL (wxPyRectangleShape
, wxRectangleShape
, OnBeginSize
);
640 IMP_PYCALLBACK__2DBL (wxPyRectangleShape
, wxRectangleShape
, OnEndSize
)
644 WXSHAPE_IMP_CALLBACKS(wxPyControlPoint
, wxControlPoint
);
647 WXSHAPE_IMP_CALLBACKS(wxPyBitmapShape
, wxBitmapShape
);
650 WXSHAPE_IMP_CALLBACKS(wxPyDrawnShape
, wxDrawnShape
);
652 wxOGLConstraint
*new_wxOGLConstraint(int type
,wxPyShape
*constraining
,PyObject
*constrained
){
653 wxList
* list
= wxPy_wxListHelper(constrained
, wxT("wxPyShape"));
654 wxOGLConstraint
* rv
= new wxOGLConstraint(type
, constraining
, *list
);
659 WXSHAPE_IMP_CALLBACKS(wxPyCompositeShape
, wxCompositeShape
);
661 wxOGLConstraint
*wxPyCompositeShape_AddConstrainedShapes(wxPyCompositeShape
*self
,int type
,wxPyShape
*constraining
,PyObject
*constrained
){
662 wxList
* list
= wxPy_wxListHelper(constrained
, wxT("wxPyShape"));
663 wxOGLConstraint
* rv
= self
->AddConstraint(type
, constraining
, *list
);
667 PyObject
*wxPyCompositeShape_GetConstraints(wxPyCompositeShape
*self
){
668 wxList
& list
= self
->GetConstraints();
669 return wxPy_ConvertList(&list
);
671 PyObject
*wxPyCompositeShape_GetDivisions(wxPyCompositeShape
*self
){
672 wxList
& list
= self
->GetDivisions();
673 return wxPy_ConvertShapeList(&list
);
676 WXSHAPE_IMP_CALLBACKS(wxPyDividedShape
, wxDividedShape
);
679 WXSHAPE_IMP_CALLBACKS(wxPyDivisionShape
, wxDivisionShape
);
682 WXSHAPE_IMP_CALLBACKS(wxPyEllipseShape
, wxEllipseShape
);
685 WXSHAPE_IMP_CALLBACKS(wxPyCircleShape
, wxCircleShape
);
688 WXSHAPE_IMP_CALLBACKS(wxPyLineShape
, wxLineShape
);
690 void wxPyLineShape_AddArrowOrdered(wxPyLineShape
*self
,wxArrowHead
*arrow
,PyObject
*referenceList
,int end
){
691 wxList
* list
= wxPy_wxListHelper(referenceList
, wxT("wxArrowHead"));
692 self
->AddArrowOrdered(arrow
, *list
, end
);
695 PyObject
*wxPyLineShape_GetLineControlPoints(wxPyLineShape
*self
){
696 wxList
* list
= self
->GetLineControlPoints();
697 return wxPy_ConvertRealPointList(list
);
699 void wxPyLineShape_SetLineControlPoints(wxPyLineShape
*self
,PyObject
*list
){
700 wxList
* real_point_list
= wxPy_wxRealPoint_ListHelper(list
);
701 self
->MakeLineControlPoints((int)(real_point_list
->GetCount()));
702 wxList
* old_control_points
= self
->GetLineControlPoints();
703 wxNode
* old_node
= old_control_points
->GetFirst();
704 wxNode
* real_node
= real_point_list
->GetFirst();
707 wxRealPoint
* old_point
= (wxRealPoint
*)old_node
->GetData();
708 wxRealPoint
* new_point
= (wxRealPoint
*)real_node
->GetData();
709 old_point
->x
= new_point
->x
;
710 old_point
->y
= new_point
->y
;
711 old_node
= old_node
->GetNext();
712 real_node
= real_node
->GetNext();
714 self
->ClearPointList(*real_point_list
);
715 delete real_point_list
;
718 WXSHAPE_IMP_CALLBACKS(wxPyPolygonShape
, wxPolygonShape
);
720 PyObject
*wxPyPolygonShape_Create(wxPyPolygonShape
*self
,PyObject
*points
){
721 wxList
* list
= wxPy_wxRealPoint_ListHelper(points
);
729 PyObject
*wxPyPolygonShape_GetPoints(wxPyPolygonShape
*self
){
730 wxList
* list
= self
->GetPoints();
731 return wxPy_ConvertRealPointList(list
);
733 PyObject
*wxPyPolygonShape_GetOriginalPoints(wxPyPolygonShape
*self
){
734 wxList
* list
= self
->GetOriginalPoints();
738 wxNode
* node
= list
->GetFirst();
740 bool blocked
= wxPyBeginBlockThreads();
741 pyList
= PyList_New(0);
743 wxObj
= node
->GetData();
744 pyObj
= wxPyConstructObject(wxObj
, wxT("wxRealPoint"), 0);
745 PyList_Append(pyList
, pyObj
);
746 node
= node
->GetNext();
748 wxPyEndBlockThreads(blocked
);
752 WXSHAPE_IMP_CALLBACKS(wxPyTextShape
, wxTextShape
);
755 // Put some wx default wxChar* values into wxStrings.
756 DECLARE_DEF_STRING(ShapeCanvasNameStr
);
758 PyObject
*wxDiagram_GetShapeList(wxDiagram
*self
){
759 wxList
* list
= self
->GetShapeList();
760 return wxPy_ConvertShapeList(list
);
763 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas
, wxShapeCanvas
, OnBeginDragLeft
);
764 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas
, wxShapeCanvas
, OnBeginDragRight
);
765 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas
, wxShapeCanvas
, OnEndDragLeft
);
766 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas
, wxShapeCanvas
, OnEndDragRight
);
767 IMP_PYCALLBACK__BOOL2DBLINT(wxPyShapeCanvas
, wxShapeCanvas
, OnDragLeft
);
768 IMP_PYCALLBACK__BOOL2DBLINT(wxPyShapeCanvas
, wxShapeCanvas
, OnDragRight
);
769 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas
, wxShapeCanvas
, OnLeftClick
);
770 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas
, wxShapeCanvas
, OnRightClick
);
773 //---------------------------------------------------------------------------
775 // Convert from a Python list to a list of className objects. This one will
776 // work for any class for the VERY generic cases, but beyond that the helper
777 // needs to know more about the type.
778 wxList
* wxPy_wxListHelper(PyObject
* pyList
, const wxChar
* className
) {
779 bool blocked
= wxPyBeginBlockThreads();
780 if (!PyList_Check(pyList
)) {
781 PyErr_SetString(PyExc_TypeError
, "Expected a list object.");
782 wxPyEndBlockThreads(blocked
);
785 int count
= PyList_Size(pyList
);
786 wxList
* list
= new wxList
;
788 PyErr_SetString(PyExc_MemoryError
, "Unable to allocate wxList object");
789 wxPyEndBlockThreads(blocked
);
792 for (int x
=0; x
<count
; x
++) {
793 PyObject
* pyo
= PyList_GetItem(pyList
, x
);
794 wxObject
* wxo
= NULL
;
796 if ( !wxPyConvertSwigPtr(pyo
, (void **)&wxo
, className
) ) {
798 errmsg
.Printf(wxT("Type error, expected list of %s objects"), className
);
799 PyErr_SetString(PyExc_TypeError
, errmsg
.mb_str());
800 wxPyEndBlockThreads(blocked
);
805 wxPyEndBlockThreads(blocked
);
809 //---------------------------------------------------------------------------
811 wxList
* wxPy_wxRealPoint_ListHelper(PyObject
* pyList
) {
812 bool blocked
= wxPyBeginBlockThreads();
813 if (!PyList_Check(pyList
)) {
814 PyErr_SetString(PyExc_TypeError
, "Expected a list object.");
815 wxPyEndBlockThreads(blocked
);
818 int count
= PyList_Size(pyList
);
819 wxList
* list
= new wxList
;
821 PyErr_SetString(PyExc_MemoryError
, "Unable to allocate wxList object");
822 wxPyEndBlockThreads(blocked
);
825 for (int x
=0; x
<count
; x
++) {
826 PyObject
* pyo
= PyList_GetItem(pyList
, x
);
828 if (PyTuple_Check(pyo
)) {
829 PyObject
* o1
= PyNumber_Float(PyTuple_GetItem(pyo
, 0));
830 PyObject
* o2
= PyNumber_Float(PyTuple_GetItem(pyo
, 1));
832 double val1
= (o1
? PyFloat_AsDouble(o1
) : 0.0);
833 double val2
= (o2
? PyFloat_AsDouble(o2
) : 0.0);
835 list
->Append((wxObject
*) new wxRealPoint(val1
, val2
));
838 wxRealPoint
* wxo
= NULL
;
839 if (wxPyConvertSwigPtr(pyo
, (void **)&wxo
, wxT("wxRealPoint"))) {
840 PyErr_SetString(PyExc_TypeError
, "Type error, expected list of wxRealPoint objects or 2-tuples");
841 wxPyEndBlockThreads(blocked
);
844 list
->Append((wxObject
*) new wxRealPoint(*wxo
));
847 wxPyEndBlockThreads(blocked
);
851 //---------------------------------------------------------------------------
853 PyObject
* wxPyMake_wxShapeEvtHandler(wxShapeEvtHandler
* source
, bool setThisOwn
) {
854 PyObject
* target
= NULL
;
856 if (source
&& wxIsKindOf(source
, wxShapeEvtHandler
)) {
857 // If it's derived from wxShapeEvtHandler then there may
858 // already be a pointer to a Python object that we can use
860 wxShapeEvtHandler
* seh
= (wxShapeEvtHandler
*)source
;
861 wxPyOORClientData
* data
= (wxPyOORClientData
*)seh
->GetClientObject();
863 target
= data
->m_obj
;
868 target
= wxPyMake_wxObject2(source
, setThisOwn
, false);
869 if (target
!= Py_None
)
870 ((wxShapeEvtHandler
*)source
)->SetClientObject(new wxPyOORClientData(target
));
875 //---------------------------------------------------------------------------
877 PyObject
* wxPy_ConvertRealPointList(wxListBase
* listbase
) {
878 wxList
* list
= (wxList
*)listbase
;
882 wxNode
* node
= list
->GetFirst();
884 bool blocked
= wxPyBeginBlockThreads();
885 pyList
= PyList_New(0);
887 wxObj
= node
->GetData();
888 pyObj
= wxPyConstructObject(wxObj
, wxT("wxRealPoint"), 0);
889 PyList_Append(pyList
, pyObj
);
890 node
= node
->GetNext();
892 wxPyEndBlockThreads(blocked
);
896 //---------------------------------------------------------------------------
898 PyObject
* wxPy_ConvertShapeList(wxListBase
* listbase
) {
899 wxList
* list
= (wxList
*)listbase
;
903 wxNode
* node
= list
->GetFirst();
905 bool blocked
= wxPyBeginBlockThreads();
906 pyList
= PyList_New(0);
908 wxObj
= node
->GetData();
909 pyObj
= wxPyMake_wxShapeEvtHandler((wxShapeEvtHandler
*)wxObj
, false);
910 PyList_Append(pyList
, pyObj
);
911 node
= node
->GetNext();
913 wxPyEndBlockThreads(blocked
);
918 //---------------------------------------------------------------------------
920 IMPLEMENT_DYNAMIC_CLASS(wxPyShapeCanvas
, wxShapeCanvas
);
921 IMPLEMENT_DYNAMIC_CLASS(wxPyShapeEvtHandler
, wxShapeEvtHandler
);
922 IMPLEMENT_ABSTRACT_CLASS(wxPyShape
, wxShape
);
923 IMPLEMENT_DYNAMIC_CLASS(wxPyRectangleShape
, wxRectangleShape
);
924 IMPLEMENT_DYNAMIC_CLASS(wxPyControlPoint
, wxControlPoint
);
925 IMPLEMENT_DYNAMIC_CLASS(wxPyBitmapShape
, wxBitmapShape
);
926 IMPLEMENT_DYNAMIC_CLASS(wxPyDrawnShape
, wxDrawnShape
);
927 IMPLEMENT_DYNAMIC_CLASS(wxPyCompositeShape
, wxCompositeShape
);
928 IMPLEMENT_DYNAMIC_CLASS(wxPyDividedShape
, wxDividedShape
);
929 IMPLEMENT_DYNAMIC_CLASS(wxPyDivisionShape
, wxDivisionShape
);
930 IMPLEMENT_DYNAMIC_CLASS(wxPyEllipseShape
, wxEllipseShape
);
931 IMPLEMENT_DYNAMIC_CLASS(wxPyCircleShape
, wxCircleShape
);
932 IMPLEMENT_DYNAMIC_CLASS(wxPyLineShape
, wxLineShape
);
933 IMPLEMENT_DYNAMIC_CLASS(wxPyPolygonShape
, wxPolygonShape
);
934 IMPLEMENT_DYNAMIC_CLASS(wxPyTextShape
, wxTextShape
);
936 //---------------------------------------------------------------------------
938 // extern "C" SWIGEXPORT(void) initoglbasicc();
939 // extern "C" SWIGEXPORT(void) initoglshapesc();
940 // extern "C" SWIGEXPORT(void) initoglshapes2c();
941 // extern "C" SWIGEXPORT(void) initoglcanvasc();
946 static PyObject
*_wrap_new_ShapeRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
948 wxShapeRegion
*result
;
953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ShapeRegion",kwnames
)) goto fail
;
955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
956 result
= (wxShapeRegion
*)new wxShapeRegion();
958 wxPyEndAllowThreads(__tstate
);
959 if (PyErr_Occurred()) SWIG_fail
;
961 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxShapeRegion
, 1);
968 static PyObject
*_wrap_ShapeRegion_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
970 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
973 PyObject
* obj0
= 0 ;
974 PyObject
* obj1
= 0 ;
976 (char *) "self",(char *) "s", NULL
979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShapeRegion_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShapeRegion
,
981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
983 arg2
= wxString_in_helper(obj1
);
984 if (arg2
== NULL
) SWIG_fail
;
988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
989 (arg1
)->SetText((wxString
const &)*arg2
);
991 wxPyEndAllowThreads(__tstate
);
992 if (PyErr_Occurred()) SWIG_fail
;
994 Py_INCREF(Py_None
); resultobj
= Py_None
;
1009 static PyObject
*_wrap_ShapeRegion_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1010 PyObject
*resultobj
;
1011 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1012 wxFont
*arg2
= (wxFont
*) 0 ;
1013 PyObject
* obj0
= 0 ;
1014 PyObject
* obj1
= 0 ;
1016 (char *) "self",(char *) "f", NULL
1019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShapeRegion_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
1020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShapeRegion
,
1021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1025 if (obj1
== Py_None
) {
1028 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxFont"))) {
1029 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxFont.");
1034 arg2
= wxTheFontList
->FindOrCreateFont(temp
->GetPointSize(),
1038 temp
->GetUnderlined(),
1039 temp
->GetFaceName(),
1040 temp
->GetEncoding());
1045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1046 (arg1
)->SetFont(arg2
);
1048 wxPyEndAllowThreads(__tstate
);
1049 if (PyErr_Occurred()) SWIG_fail
;
1051 Py_INCREF(Py_None
); resultobj
= Py_None
;
1058 static PyObject
*_wrap_ShapeRegion_SetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1059 PyObject
*resultobj
;
1060 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1063 PyObject
* obj0
= 0 ;
1064 PyObject
* obj1
= 0 ;
1065 PyObject
* obj2
= 0 ;
1067 (char *) "self",(char *) "w",(char *) "h", NULL
1070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ShapeRegion_SetMinSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShapeRegion
,
1072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1073 arg2
= (double)SWIG_As_double(obj1
);
1074 if (PyErr_Occurred()) SWIG_fail
;
1075 arg3
= (double)SWIG_As_double(obj2
);
1076 if (PyErr_Occurred()) SWIG_fail
;
1078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1079 (arg1
)->SetMinSize(arg2
,arg3
);
1081 wxPyEndAllowThreads(__tstate
);
1082 if (PyErr_Occurred()) SWIG_fail
;
1084 Py_INCREF(Py_None
); resultobj
= Py_None
;
1091 static PyObject
*_wrap_ShapeRegion_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1092 PyObject
*resultobj
;
1093 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1096 PyObject
* obj0
= 0 ;
1097 PyObject
* obj1
= 0 ;
1098 PyObject
* obj2
= 0 ;
1100 (char *) "self",(char *) "w",(char *) "h", NULL
1103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ShapeRegion_SetSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShapeRegion
,
1105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1106 arg2
= (double)SWIG_As_double(obj1
);
1107 if (PyErr_Occurred()) SWIG_fail
;
1108 arg3
= (double)SWIG_As_double(obj2
);
1109 if (PyErr_Occurred()) SWIG_fail
;
1111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1112 (arg1
)->SetSize(arg2
,arg3
);
1114 wxPyEndAllowThreads(__tstate
);
1115 if (PyErr_Occurred()) SWIG_fail
;
1117 Py_INCREF(Py_None
); resultobj
= Py_None
;
1124 static PyObject
*_wrap_ShapeRegion_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1125 PyObject
*resultobj
;
1126 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1129 PyObject
* obj0
= 0 ;
1130 PyObject
* obj1
= 0 ;
1131 PyObject
* obj2
= 0 ;
1133 (char *) "self",(char *) "x",(char *) "y", NULL
1136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ShapeRegion_SetPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShapeRegion
,
1138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1139 arg2
= (double)SWIG_As_double(obj1
);
1140 if (PyErr_Occurred()) SWIG_fail
;
1141 arg3
= (double)SWIG_As_double(obj2
);
1142 if (PyErr_Occurred()) SWIG_fail
;
1144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1145 (arg1
)->SetPosition(arg2
,arg3
);
1147 wxPyEndAllowThreads(__tstate
);
1148 if (PyErr_Occurred()) SWIG_fail
;
1150 Py_INCREF(Py_None
); resultobj
= Py_None
;
1157 static PyObject
*_wrap_ShapeRegion_SetProportions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1158 PyObject
*resultobj
;
1159 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1162 PyObject
* obj0
= 0 ;
1163 PyObject
* obj1
= 0 ;
1164 PyObject
* obj2
= 0 ;
1166 (char *) "self",(char *) "x",(char *) "y", NULL
1169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ShapeRegion_SetProportions",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShapeRegion
,
1171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1172 arg2
= (double)SWIG_As_double(obj1
);
1173 if (PyErr_Occurred()) SWIG_fail
;
1174 arg3
= (double)SWIG_As_double(obj2
);
1175 if (PyErr_Occurred()) SWIG_fail
;
1177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1178 (arg1
)->SetProportions(arg2
,arg3
);
1180 wxPyEndAllowThreads(__tstate
);
1181 if (PyErr_Occurred()) SWIG_fail
;
1183 Py_INCREF(Py_None
); resultobj
= Py_None
;
1190 static PyObject
*_wrap_ShapeRegion_SetFormatMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1191 PyObject
*resultobj
;
1192 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1194 PyObject
* obj0
= 0 ;
1195 PyObject
* obj1
= 0 ;
1197 (char *) "self",(char *) "mode", NULL
1200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShapeRegion_SetFormatMode",kwnames
,&obj0
,&obj1
)) goto fail
;
1201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShapeRegion
,
1202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1203 arg2
= (int)SWIG_As_int(obj1
);
1204 if (PyErr_Occurred()) SWIG_fail
;
1206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1207 (arg1
)->SetFormatMode(arg2
);
1209 wxPyEndAllowThreads(__tstate
);
1210 if (PyErr_Occurred()) SWIG_fail
;
1212 Py_INCREF(Py_None
); resultobj
= Py_None
;
1219 static PyObject
*_wrap_ShapeRegion_SetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1220 PyObject
*resultobj
;
1221 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1222 wxString
*arg2
= 0 ;
1223 bool temp2
= false ;
1224 PyObject
* obj0
= 0 ;
1225 PyObject
* obj1
= 0 ;
1227 (char *) "self",(char *) "s", NULL
1230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShapeRegion_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
1231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShapeRegion
,
1232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1234 arg2
= wxString_in_helper(obj1
);
1235 if (arg2
== NULL
) SWIG_fail
;
1239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1240 (arg1
)->SetName((wxString
const &)*arg2
);
1242 wxPyEndAllowThreads(__tstate
);
1243 if (PyErr_Occurred()) SWIG_fail
;
1245 Py_INCREF(Py_None
); resultobj
= Py_None
;
1260 static PyObject
*_wrap_ShapeRegion_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1261 PyObject
*resultobj
;
1262 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1263 wxString
*arg2
= 0 ;
1264 bool temp2
= false ;
1265 PyObject
* obj0
= 0 ;
1266 PyObject
* obj1
= 0 ;
1268 (char *) "self",(char *) "col", NULL
1271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShapeRegion_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
1272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShapeRegion
,
1273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1275 arg2
= wxString_in_helper(obj1
);
1276 if (arg2
== NULL
) SWIG_fail
;
1280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1281 (arg1
)->SetColour((wxString
const &)*arg2
);
1283 wxPyEndAllowThreads(__tstate
);
1284 if (PyErr_Occurred()) SWIG_fail
;
1286 Py_INCREF(Py_None
); resultobj
= Py_None
;
1301 static PyObject
*_wrap_ShapeRegion_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1302 PyObject
*resultobj
;
1303 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1305 PyObject
* obj0
= 0 ;
1307 (char *) "self", NULL
1310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetText",kwnames
,&obj0
)) goto fail
;
1311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShapeRegion
,
1312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1315 result
= (arg1
)->GetText();
1317 wxPyEndAllowThreads(__tstate
);
1318 if (PyErr_Occurred()) SWIG_fail
;
1322 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1324 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1333 static PyObject
*_wrap_ShapeRegion_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1334 PyObject
*resultobj
;
1335 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1337 PyObject
* obj0
= 0 ;
1339 (char *) "self", NULL
1342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetFont",kwnames
,&obj0
)) goto fail
;
1343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShapeRegion
,
1344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1347 result
= (wxFont
*)(arg1
)->GetFont();
1349 wxPyEndAllowThreads(__tstate
);
1350 if (PyErr_Occurred()) SWIG_fail
;
1352 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
1359 static PyObject
*_wrap_ShapeRegion_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1360 PyObject
*resultobj
;
1361 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1362 double *arg2
= (double *) 0 ;
1363 double *arg3
= (double *) 0 ;
1368 PyObject
* obj0
= 0 ;
1370 (char *) "self", NULL
1373 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
1374 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
1375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetMinSize",kwnames
,&obj0
)) goto fail
;
1376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShapeRegion
,
1377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1380 (arg1
)->GetMinSize(arg2
,arg3
);
1382 wxPyEndAllowThreads(__tstate
);
1383 if (PyErr_Occurred()) SWIG_fail
;
1385 Py_INCREF(Py_None
); resultobj
= Py_None
;
1386 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
1387 SWIG_From_double((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, 0)));
1388 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
1389 SWIG_From_double((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, 0)));
1396 static PyObject
*_wrap_ShapeRegion_GetProportion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1397 PyObject
*resultobj
;
1398 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1399 double *arg2
= (double *) 0 ;
1400 double *arg3
= (double *) 0 ;
1405 PyObject
* obj0
= 0 ;
1407 (char *) "self", NULL
1410 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
1411 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
1412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetProportion",kwnames
,&obj0
)) goto fail
;
1413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShapeRegion
,
1414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1417 (arg1
)->GetProportion(arg2
,arg3
);
1419 wxPyEndAllowThreads(__tstate
);
1420 if (PyErr_Occurred()) SWIG_fail
;
1422 Py_INCREF(Py_None
); resultobj
= Py_None
;
1423 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
1424 SWIG_From_double((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, 0)));
1425 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
1426 SWIG_From_double((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, 0)));
1433 static PyObject
*_wrap_ShapeRegion_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1434 PyObject
*resultobj
;
1435 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1436 double *arg2
= (double *) 0 ;
1437 double *arg3
= (double *) 0 ;
1442 PyObject
* obj0
= 0 ;
1444 (char *) "self", NULL
1447 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
1448 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
1449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetSize",kwnames
,&obj0
)) goto fail
;
1450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShapeRegion
,
1451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1454 (arg1
)->GetSize(arg2
,arg3
);
1456 wxPyEndAllowThreads(__tstate
);
1457 if (PyErr_Occurred()) SWIG_fail
;
1459 Py_INCREF(Py_None
); resultobj
= Py_None
;
1460 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
1461 SWIG_From_double((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, 0)));
1462 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
1463 SWIG_From_double((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, 0)));
1470 static PyObject
*_wrap_ShapeRegion_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1471 PyObject
*resultobj
;
1472 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1473 double *arg2
= (double *) 0 ;
1474 double *arg3
= (double *) 0 ;
1479 PyObject
* obj0
= 0 ;
1481 (char *) "self", NULL
1484 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
1485 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
1486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetPosition",kwnames
,&obj0
)) goto fail
;
1487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShapeRegion
,
1488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1491 (arg1
)->GetPosition(arg2
,arg3
);
1493 wxPyEndAllowThreads(__tstate
);
1494 if (PyErr_Occurred()) SWIG_fail
;
1496 Py_INCREF(Py_None
); resultobj
= Py_None
;
1497 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
1498 SWIG_From_double((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, 0)));
1499 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
1500 SWIG_From_double((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, 0)));
1507 static PyObject
*_wrap_ShapeRegion_GetFormatMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1508 PyObject
*resultobj
;
1509 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1511 PyObject
* obj0
= 0 ;
1513 (char *) "self", NULL
1516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetFormatMode",kwnames
,&obj0
)) goto fail
;
1517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShapeRegion
,
1518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1521 result
= (int)(arg1
)->GetFormatMode();
1523 wxPyEndAllowThreads(__tstate
);
1524 if (PyErr_Occurred()) SWIG_fail
;
1526 resultobj
= SWIG_From_int((int)result
);
1533 static PyObject
*_wrap_ShapeRegion_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1534 PyObject
*resultobj
;
1535 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1537 PyObject
* obj0
= 0 ;
1539 (char *) "self", NULL
1542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetName",kwnames
,&obj0
)) goto fail
;
1543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShapeRegion
,
1544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1547 result
= (arg1
)->GetName();
1549 wxPyEndAllowThreads(__tstate
);
1550 if (PyErr_Occurred()) SWIG_fail
;
1554 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1556 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1565 static PyObject
*_wrap_ShapeRegion_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1566 PyObject
*resultobj
;
1567 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1569 PyObject
* obj0
= 0 ;
1571 (char *) "self", NULL
1574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetColour",kwnames
,&obj0
)) goto fail
;
1575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShapeRegion
,
1576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1579 result
= (arg1
)->GetColour();
1581 wxPyEndAllowThreads(__tstate
);
1582 if (PyErr_Occurred()) SWIG_fail
;
1586 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1588 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1597 static PyObject
*_wrap_ShapeRegion_GetActualColourObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1598 PyObject
*resultobj
;
1599 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1601 PyObject
* obj0
= 0 ;
1603 (char *) "self", NULL
1606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetActualColourObject",kwnames
,&obj0
)) goto fail
;
1607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShapeRegion
,
1608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1611 result
= (arg1
)->GetActualColourObject();
1613 wxPyEndAllowThreads(__tstate
);
1614 if (PyErr_Occurred()) SWIG_fail
;
1617 wxColour
* resultptr
;
1618 resultptr
= new wxColour((wxColour
&) result
);
1619 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
1627 static PyObject
*_wrap_ShapeRegion_GetFormattedText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1628 PyObject
*resultobj
;
1629 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1631 PyObject
* obj0
= 0 ;
1633 (char *) "self", NULL
1636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetFormattedText",kwnames
,&obj0
)) goto fail
;
1637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShapeRegion
,
1638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1642 wxList
&_result_ref
= (arg1
)->GetFormattedText();
1643 result
= (wxList
*) &_result_ref
;
1646 wxPyEndAllowThreads(__tstate
);
1647 if (PyErr_Occurred()) SWIG_fail
;
1649 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxList
, 0);
1656 static PyObject
*_wrap_ShapeRegion_GetPenColour(PyObject
*, 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_GetPenColour",kwnames
,&obj0
)) goto fail
;
1666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShapeRegion
,
1667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1670 result
= (arg1
)->GetPenColour();
1672 wxPyEndAllowThreads(__tstate
);
1673 if (PyErr_Occurred()) SWIG_fail
;
1677 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1679 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1688 static PyObject
*_wrap_ShapeRegion_GetPenStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1689 PyObject
*resultobj
;
1690 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1692 PyObject
* obj0
= 0 ;
1694 (char *) "self", NULL
1697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetPenStyle",kwnames
,&obj0
)) goto fail
;
1698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShapeRegion
,
1699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1702 result
= (int)(arg1
)->GetPenStyle();
1704 wxPyEndAllowThreads(__tstate
);
1705 if (PyErr_Occurred()) SWIG_fail
;
1707 resultobj
= SWIG_From_int((int)result
);
1714 static PyObject
*_wrap_ShapeRegion_SetPenStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1715 PyObject
*resultobj
;
1716 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1718 PyObject
* obj0
= 0 ;
1719 PyObject
* obj1
= 0 ;
1721 (char *) "self",(char *) "style", NULL
1724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShapeRegion_SetPenStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
1725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShapeRegion
,
1726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1727 arg2
= (int)SWIG_As_int(obj1
);
1728 if (PyErr_Occurred()) SWIG_fail
;
1730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1731 (arg1
)->SetPenStyle(arg2
);
1733 wxPyEndAllowThreads(__tstate
);
1734 if (PyErr_Occurred()) SWIG_fail
;
1736 Py_INCREF(Py_None
); resultobj
= Py_None
;
1743 static PyObject
*_wrap_ShapeRegion_SetPenColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1744 PyObject
*resultobj
;
1745 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1746 wxString
*arg2
= 0 ;
1747 bool temp2
= false ;
1748 PyObject
* obj0
= 0 ;
1749 PyObject
* obj1
= 0 ;
1751 (char *) "self",(char *) "col", NULL
1754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShapeRegion_SetPenColour",kwnames
,&obj0
,&obj1
)) goto fail
;
1755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShapeRegion
,
1756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1758 arg2
= wxString_in_helper(obj1
);
1759 if (arg2
== NULL
) SWIG_fail
;
1763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1764 (arg1
)->SetPenColour((wxString
const &)*arg2
);
1766 wxPyEndAllowThreads(__tstate
);
1767 if (PyErr_Occurred()) SWIG_fail
;
1769 Py_INCREF(Py_None
); resultobj
= Py_None
;
1784 static PyObject
*_wrap_ShapeRegion_GetActualPen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1785 PyObject
*resultobj
;
1786 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1788 PyObject
* obj0
= 0 ;
1790 (char *) "self", NULL
1793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetActualPen",kwnames
,&obj0
)) goto fail
;
1794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShapeRegion
,
1795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1798 result
= (wxPen
*)(arg1
)->GetActualPen();
1800 wxPyEndAllowThreads(__tstate
);
1801 if (PyErr_Occurred()) SWIG_fail
;
1803 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 0);
1810 static PyObject
*_wrap_ShapeRegion_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1811 PyObject
*resultobj
;
1812 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1814 PyObject
* obj0
= 0 ;
1816 (char *) "self", NULL
1819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetWidth",kwnames
,&obj0
)) goto fail
;
1820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShapeRegion
,
1821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1824 result
= (double)(arg1
)->GetWidth();
1826 wxPyEndAllowThreads(__tstate
);
1827 if (PyErr_Occurred()) SWIG_fail
;
1829 resultobj
= SWIG_From_double((double)result
);
1836 static PyObject
*_wrap_ShapeRegion_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1837 PyObject
*resultobj
;
1838 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1840 PyObject
* obj0
= 0 ;
1842 (char *) "self", NULL
1845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetHeight",kwnames
,&obj0
)) goto fail
;
1846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShapeRegion
,
1847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1850 result
= (double)(arg1
)->GetHeight();
1852 wxPyEndAllowThreads(__tstate
);
1853 if (PyErr_Occurred()) SWIG_fail
;
1855 resultobj
= SWIG_From_double((double)result
);
1862 static PyObject
*_wrap_ShapeRegion_ClearText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1863 PyObject
*resultobj
;
1864 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1865 PyObject
* obj0
= 0 ;
1867 (char *) "self", NULL
1870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_ClearText",kwnames
,&obj0
)) goto fail
;
1871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShapeRegion
,
1872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1875 (arg1
)->ClearText();
1877 wxPyEndAllowThreads(__tstate
);
1878 if (PyErr_Occurred()) SWIG_fail
;
1880 Py_INCREF(Py_None
); resultobj
= Py_None
;
1887 static PyObject
* ShapeRegion_swigregister(PyObject
*, PyObject
*args
) {
1889 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1890 SWIG_TypeClientData(SWIGTYPE_p_wxShapeRegion
, obj
);
1892 return Py_BuildValue((char *)"");
1894 static PyObject
*_wrap_new_AttachmentPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1895 PyObject
*resultobj
;
1896 int arg1
= (int) 0 ;
1897 double arg2
= (double) 0.0 ;
1898 double arg3
= (double) 0.0 ;
1899 wxAttachmentPoint
*result
;
1900 PyObject
* obj0
= 0 ;
1901 PyObject
* obj1
= 0 ;
1902 PyObject
* obj2
= 0 ;
1904 (char *) "id",(char *) "x",(char *) "y", NULL
1907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_AttachmentPoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1909 arg1
= (int)SWIG_As_int(obj0
);
1910 if (PyErr_Occurred()) SWIG_fail
;
1913 arg2
= (double)SWIG_As_double(obj1
);
1914 if (PyErr_Occurred()) SWIG_fail
;
1917 arg3
= (double)SWIG_As_double(obj2
);
1918 if (PyErr_Occurred()) SWIG_fail
;
1921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1922 result
= (wxAttachmentPoint
*)new wxAttachmentPoint(arg1
,arg2
,arg3
);
1924 wxPyEndAllowThreads(__tstate
);
1925 if (PyErr_Occurred()) SWIG_fail
;
1927 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAttachmentPoint
, 1);
1934 static PyObject
*_wrap_AttachmentPoint_m_id_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1935 PyObject
*resultobj
;
1936 wxAttachmentPoint
*arg1
= (wxAttachmentPoint
*) 0 ;
1938 PyObject
* obj0
= 0 ;
1939 PyObject
* obj1
= 0 ;
1941 (char *) "self",(char *) "m_id", NULL
1944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AttachmentPoint_m_id_set",kwnames
,&obj0
,&obj1
)) goto fail
;
1945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAttachmentPoint
,
1946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1947 arg2
= (int)SWIG_As_int(obj1
);
1948 if (PyErr_Occurred()) SWIG_fail
;
1949 if (arg1
) (arg1
)->m_id
= arg2
;
1951 Py_INCREF(Py_None
); resultobj
= Py_None
;
1958 static PyObject
*_wrap_AttachmentPoint_m_id_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1959 PyObject
*resultobj
;
1960 wxAttachmentPoint
*arg1
= (wxAttachmentPoint
*) 0 ;
1962 PyObject
* obj0
= 0 ;
1964 (char *) "self", NULL
1967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AttachmentPoint_m_id_get",kwnames
,&obj0
)) goto fail
;
1968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAttachmentPoint
,
1969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1970 result
= (int) ((arg1
)->m_id
);
1972 resultobj
= SWIG_From_int((int)result
);
1979 static PyObject
*_wrap_AttachmentPoint_m_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1980 PyObject
*resultobj
;
1981 wxAttachmentPoint
*arg1
= (wxAttachmentPoint
*) 0 ;
1983 PyObject
* obj0
= 0 ;
1984 PyObject
* obj1
= 0 ;
1986 (char *) "self",(char *) "m_x", NULL
1989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AttachmentPoint_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
1990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAttachmentPoint
,
1991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1992 arg2
= (double)SWIG_As_double(obj1
);
1993 if (PyErr_Occurred()) SWIG_fail
;
1994 if (arg1
) (arg1
)->m_x
= arg2
;
1996 Py_INCREF(Py_None
); resultobj
= Py_None
;
2003 static PyObject
*_wrap_AttachmentPoint_m_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2004 PyObject
*resultobj
;
2005 wxAttachmentPoint
*arg1
= (wxAttachmentPoint
*) 0 ;
2007 PyObject
* obj0
= 0 ;
2009 (char *) "self", NULL
2012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AttachmentPoint_m_x_get",kwnames
,&obj0
)) goto fail
;
2013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAttachmentPoint
,
2014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2015 result
= (double) ((arg1
)->m_x
);
2017 resultobj
= SWIG_From_double((double)result
);
2024 static PyObject
*_wrap_AttachmentPoint_m_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2025 PyObject
*resultobj
;
2026 wxAttachmentPoint
*arg1
= (wxAttachmentPoint
*) 0 ;
2028 PyObject
* obj0
= 0 ;
2029 PyObject
* obj1
= 0 ;
2031 (char *) "self",(char *) "m_y", NULL
2034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AttachmentPoint_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAttachmentPoint
,
2036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2037 arg2
= (double)SWIG_As_double(obj1
);
2038 if (PyErr_Occurred()) SWIG_fail
;
2039 if (arg1
) (arg1
)->m_y
= arg2
;
2041 Py_INCREF(Py_None
); resultobj
= Py_None
;
2048 static PyObject
*_wrap_AttachmentPoint_m_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2049 PyObject
*resultobj
;
2050 wxAttachmentPoint
*arg1
= (wxAttachmentPoint
*) 0 ;
2052 PyObject
* obj0
= 0 ;
2054 (char *) "self", NULL
2057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AttachmentPoint_m_y_get",kwnames
,&obj0
)) goto fail
;
2058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAttachmentPoint
,
2059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2060 result
= (double) ((arg1
)->m_y
);
2062 resultobj
= SWIG_From_double((double)result
);
2069 static PyObject
* AttachmentPoint_swigregister(PyObject
*, PyObject
*args
) {
2071 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2072 SWIG_TypeClientData(SWIGTYPE_p_wxAttachmentPoint
, obj
);
2074 return Py_BuildValue((char *)"");
2076 static PyObject
*_wrap_new_PyShapeEvtHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2077 PyObject
*resultobj
;
2078 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) NULL
;
2079 wxPyShape
*arg2
= (wxPyShape
*) NULL
;
2080 wxPyShapeEvtHandler
*result
;
2081 PyObject
* obj0
= 0 ;
2082 PyObject
* obj1
= 0 ;
2084 (char *) "prev",(char *) "shape", NULL
2087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyShapeEvtHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
2089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2093 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
2094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2098 result
= (wxPyShapeEvtHandler
*)new wxPyShapeEvtHandler(arg1
,arg2
);
2100 wxPyEndAllowThreads(__tstate
);
2101 if (PyErr_Occurred()) SWIG_fail
;
2103 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyShapeEvtHandler
, 1);
2110 static PyObject
*_wrap_PyShapeEvtHandler__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2111 PyObject
*resultobj
;
2112 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2113 PyObject
*arg2
= (PyObject
*) 0 ;
2114 PyObject
*arg3
= (PyObject
*) 0 ;
2115 PyObject
* obj0
= 0 ;
2116 PyObject
* obj1
= 0 ;
2117 PyObject
* obj2
= 0 ;
2119 (char *) "self",(char *) "self",(char *) "_class", NULL
2122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShapeEvtHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2129 (arg1
)->_setCallbackInfo(arg2
,arg3
);
2131 wxPyEndAllowThreads(__tstate
);
2132 if (PyErr_Occurred()) SWIG_fail
;
2134 Py_INCREF(Py_None
); resultobj
= Py_None
;
2141 static PyObject
*_wrap_PyShapeEvtHandler__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2142 PyObject
*resultobj
;
2143 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2144 PyObject
*arg2
= (PyObject
*) 0 ;
2145 PyObject
* obj0
= 0 ;
2146 PyObject
* obj1
= 0 ;
2148 (char *) "self",(char *) "_self", NULL
2151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
2152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2157 wxPyShapeEvtHandler__setOORInfo(arg1
,arg2
);
2159 wxPyEndAllowThreads(__tstate
);
2160 if (PyErr_Occurred()) SWIG_fail
;
2162 Py_INCREF(Py_None
); resultobj
= Py_None
;
2169 static PyObject
*_wrap_PyShapeEvtHandler_SetShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2170 PyObject
*resultobj
;
2171 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2172 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
2173 PyObject
* obj0
= 0 ;
2174 PyObject
* obj1
= 0 ;
2176 (char *) "self",(char *) "sh", NULL
2179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler_SetShape",kwnames
,&obj0
,&obj1
)) goto fail
;
2180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2182 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
2183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2186 (arg1
)->SetShape(arg2
);
2188 wxPyEndAllowThreads(__tstate
);
2189 if (PyErr_Occurred()) SWIG_fail
;
2191 Py_INCREF(Py_None
); resultobj
= Py_None
;
2198 static PyObject
*_wrap_PyShapeEvtHandler_GetShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2199 PyObject
*resultobj
;
2200 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2202 PyObject
* obj0
= 0 ;
2204 (char *) "self", NULL
2207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShapeEvtHandler_GetShape",kwnames
,&obj0
)) goto fail
;
2208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2212 result
= (wxPyShape
*)(arg1
)->GetShape();
2214 wxPyEndAllowThreads(__tstate
);
2215 if (PyErr_Occurred()) SWIG_fail
;
2218 resultobj
= wxPyMake_wxShapeEvtHandler(result
, 0);
2226 static PyObject
*_wrap_PyShapeEvtHandler_SetPreviousHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2227 PyObject
*resultobj
;
2228 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2229 wxPyShapeEvtHandler
*arg2
= (wxPyShapeEvtHandler
*) 0 ;
2230 PyObject
* obj0
= 0 ;
2231 PyObject
* obj1
= 0 ;
2233 (char *) "self",(char *) "handler", NULL
2236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler_SetPreviousHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
2237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2239 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2243 (arg1
)->SetPreviousHandler(arg2
);
2245 wxPyEndAllowThreads(__tstate
);
2246 if (PyErr_Occurred()) SWIG_fail
;
2248 Py_INCREF(Py_None
); resultobj
= Py_None
;
2255 static PyObject
*_wrap_PyShapeEvtHandler_GetPreviousHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2256 PyObject
*resultobj
;
2257 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2258 wxPyShapeEvtHandler
*result
;
2259 PyObject
* obj0
= 0 ;
2261 (char *) "self", NULL
2264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShapeEvtHandler_GetPreviousHandler",kwnames
,&obj0
)) goto fail
;
2265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2269 result
= (wxPyShapeEvtHandler
*)(arg1
)->GetPreviousHandler();
2271 wxPyEndAllowThreads(__tstate
);
2272 if (PyErr_Occurred()) SWIG_fail
;
2275 resultobj
= wxPyMake_wxShapeEvtHandler(result
, 0);
2283 static PyObject
*_wrap_PyShapeEvtHandler_CreateNewCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2284 PyObject
*resultobj
;
2285 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2286 wxPyShapeEvtHandler
*result
;
2287 PyObject
* obj0
= 0 ;
2289 (char *) "self", NULL
2292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShapeEvtHandler_CreateNewCopy",kwnames
,&obj0
)) goto fail
;
2293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2297 result
= (wxPyShapeEvtHandler
*)(arg1
)->CreateNewCopy();
2299 wxPyEndAllowThreads(__tstate
);
2300 if (PyErr_Occurred()) SWIG_fail
;
2303 resultobj
= wxPyMake_wxShapeEvtHandler(result
, 0);
2311 static PyObject
*_wrap_PyShapeEvtHandler_base_OnDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2312 PyObject
*resultobj
;
2313 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2314 PyObject
* obj0
= 0 ;
2316 (char *) "self", NULL
2319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShapeEvtHandler_base_OnDelete",kwnames
,&obj0
)) goto fail
;
2320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2324 (arg1
)->base_OnDelete();
2326 wxPyEndAllowThreads(__tstate
);
2327 if (PyErr_Occurred()) SWIG_fail
;
2329 Py_INCREF(Py_None
); resultobj
= Py_None
;
2336 static PyObject
*_wrap_PyShapeEvtHandler_base_OnDraw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2337 PyObject
*resultobj
;
2338 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2340 PyObject
* obj0
= 0 ;
2341 PyObject
* obj1
= 0 ;
2343 (char *) "self",(char *) "dc", NULL
2346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
2347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2349 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
2350 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2353 PyErr_SetString(PyExc_TypeError
,"null reference");
2357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2358 (arg1
)->base_OnDraw(*arg2
);
2360 wxPyEndAllowThreads(__tstate
);
2361 if (PyErr_Occurred()) SWIG_fail
;
2363 Py_INCREF(Py_None
); resultobj
= Py_None
;
2370 static PyObject
*_wrap_PyShapeEvtHandler_base_OnDrawContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2371 PyObject
*resultobj
;
2372 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2374 PyObject
* obj0
= 0 ;
2375 PyObject
* obj1
= 0 ;
2377 (char *) "self",(char *) "dc", NULL
2380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
2381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2383 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
2384 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2387 PyErr_SetString(PyExc_TypeError
,"null reference");
2391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2392 (arg1
)->base_OnDrawContents(*arg2
);
2394 wxPyEndAllowThreads(__tstate
);
2395 if (PyErr_Occurred()) SWIG_fail
;
2397 Py_INCREF(Py_None
); resultobj
= Py_None
;
2404 static PyObject
*_wrap_PyShapeEvtHandler_base_OnDrawBranches(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2405 PyObject
*resultobj
;
2406 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2408 bool arg3
= (bool) false ;
2409 PyObject
* obj0
= 0 ;
2410 PyObject
* obj1
= 0 ;
2411 PyObject
* obj2
= 0 ;
2413 (char *) "self",(char *) "dc",(char *) "erase", NULL
2416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShapeEvtHandler_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2419 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
2420 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2423 PyErr_SetString(PyExc_TypeError
,"null reference");
2427 arg3
= (bool)SWIG_As_bool(obj2
);
2428 if (PyErr_Occurred()) SWIG_fail
;
2431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2432 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
2434 wxPyEndAllowThreads(__tstate
);
2435 if (PyErr_Occurred()) SWIG_fail
;
2437 Py_INCREF(Py_None
); resultobj
= Py_None
;
2444 static PyObject
*_wrap_PyShapeEvtHandler_base_OnMoveLinks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2445 PyObject
*resultobj
;
2446 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2448 PyObject
* obj0
= 0 ;
2449 PyObject
* obj1
= 0 ;
2451 (char *) "self",(char *) "dc", NULL
2454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
2455 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2457 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
2458 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2461 PyErr_SetString(PyExc_TypeError
,"null reference");
2465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2466 (arg1
)->base_OnMoveLinks(*arg2
);
2468 wxPyEndAllowThreads(__tstate
);
2469 if (PyErr_Occurred()) SWIG_fail
;
2471 Py_INCREF(Py_None
); resultobj
= Py_None
;
2478 static PyObject
*_wrap_PyShapeEvtHandler_base_OnErase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2479 PyObject
*resultobj
;
2480 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2482 PyObject
* obj0
= 0 ;
2483 PyObject
* obj1
= 0 ;
2485 (char *) "self",(char *) "dc", NULL
2488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
2489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2491 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
2492 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2495 PyErr_SetString(PyExc_TypeError
,"null reference");
2499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2500 (arg1
)->base_OnErase(*arg2
);
2502 wxPyEndAllowThreads(__tstate
);
2503 if (PyErr_Occurred()) SWIG_fail
;
2505 Py_INCREF(Py_None
); resultobj
= Py_None
;
2512 static PyObject
*_wrap_PyShapeEvtHandler_base_OnEraseContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2513 PyObject
*resultobj
;
2514 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2516 PyObject
* obj0
= 0 ;
2517 PyObject
* obj1
= 0 ;
2519 (char *) "self",(char *) "dc", NULL
2522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
2523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2525 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
2526 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2529 PyErr_SetString(PyExc_TypeError
,"null reference");
2533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2534 (arg1
)->base_OnEraseContents(*arg2
);
2536 wxPyEndAllowThreads(__tstate
);
2537 if (PyErr_Occurred()) SWIG_fail
;
2539 Py_INCREF(Py_None
); resultobj
= Py_None
;
2546 static PyObject
*_wrap_PyShapeEvtHandler_base_OnHighlight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2547 PyObject
*resultobj
;
2548 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2550 PyObject
* obj0
= 0 ;
2551 PyObject
* obj1
= 0 ;
2553 (char *) "self",(char *) "dc", NULL
2556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
2557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2559 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
2560 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2563 PyErr_SetString(PyExc_TypeError
,"null reference");
2567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2568 (arg1
)->base_OnHighlight(*arg2
);
2570 wxPyEndAllowThreads(__tstate
);
2571 if (PyErr_Occurred()) SWIG_fail
;
2573 Py_INCREF(Py_None
); resultobj
= Py_None
;
2580 static PyObject
*_wrap_PyShapeEvtHandler_base_OnLeftClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2581 PyObject
*resultobj
;
2582 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2585 int arg4
= (int) 0 ;
2586 int arg5
= (int) 0 ;
2587 PyObject
* obj0
= 0 ;
2588 PyObject
* obj1
= 0 ;
2589 PyObject
* obj2
= 0 ;
2590 PyObject
* obj3
= 0 ;
2591 PyObject
* obj4
= 0 ;
2593 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShapeEvtHandler_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
2597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2599 arg2
= (double)SWIG_As_double(obj1
);
2600 if (PyErr_Occurred()) SWIG_fail
;
2601 arg3
= (double)SWIG_As_double(obj2
);
2602 if (PyErr_Occurred()) SWIG_fail
;
2604 arg4
= (int)SWIG_As_int(obj3
);
2605 if (PyErr_Occurred()) SWIG_fail
;
2608 arg5
= (int)SWIG_As_int(obj4
);
2609 if (PyErr_Occurred()) SWIG_fail
;
2612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2613 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
2615 wxPyEndAllowThreads(__tstate
);
2616 if (PyErr_Occurred()) SWIG_fail
;
2618 Py_INCREF(Py_None
); resultobj
= Py_None
;
2625 static PyObject
*_wrap_PyShapeEvtHandler_base_OnLeftDoubleClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2626 PyObject
*resultobj
;
2627 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2630 int arg4
= (int) 0 ;
2631 int arg5
= (int) 0 ;
2632 PyObject
* obj0
= 0 ;
2633 PyObject
* obj1
= 0 ;
2634 PyObject
* obj2
= 0 ;
2635 PyObject
* obj3
= 0 ;
2636 PyObject
* obj4
= 0 ;
2638 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShapeEvtHandler_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
2642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2644 arg2
= (double)SWIG_As_double(obj1
);
2645 if (PyErr_Occurred()) SWIG_fail
;
2646 arg3
= (double)SWIG_As_double(obj2
);
2647 if (PyErr_Occurred()) SWIG_fail
;
2649 arg4
= (int)SWIG_As_int(obj3
);
2650 if (PyErr_Occurred()) SWIG_fail
;
2653 arg5
= (int)SWIG_As_int(obj4
);
2654 if (PyErr_Occurred()) SWIG_fail
;
2657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2658 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
2660 wxPyEndAllowThreads(__tstate
);
2661 if (PyErr_Occurred()) SWIG_fail
;
2663 Py_INCREF(Py_None
); resultobj
= Py_None
;
2670 static PyObject
*_wrap_PyShapeEvtHandler_base_OnRightClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2671 PyObject
*resultobj
;
2672 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2675 int arg4
= (int) 0 ;
2676 int arg5
= (int) 0 ;
2677 PyObject
* obj0
= 0 ;
2678 PyObject
* obj1
= 0 ;
2679 PyObject
* obj2
= 0 ;
2680 PyObject
* obj3
= 0 ;
2681 PyObject
* obj4
= 0 ;
2683 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShapeEvtHandler_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
2687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2689 arg2
= (double)SWIG_As_double(obj1
);
2690 if (PyErr_Occurred()) SWIG_fail
;
2691 arg3
= (double)SWIG_As_double(obj2
);
2692 if (PyErr_Occurred()) SWIG_fail
;
2694 arg4
= (int)SWIG_As_int(obj3
);
2695 if (PyErr_Occurred()) SWIG_fail
;
2698 arg5
= (int)SWIG_As_int(obj4
);
2699 if (PyErr_Occurred()) SWIG_fail
;
2702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2703 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
2705 wxPyEndAllowThreads(__tstate
);
2706 if (PyErr_Occurred()) SWIG_fail
;
2708 Py_INCREF(Py_None
); resultobj
= Py_None
;
2715 static PyObject
*_wrap_PyShapeEvtHandler_base_OnSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2716 PyObject
*resultobj
;
2717 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2720 PyObject
* obj0
= 0 ;
2721 PyObject
* obj1
= 0 ;
2722 PyObject
* obj2
= 0 ;
2724 (char *) "self",(char *) "x",(char *) "y", NULL
2727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShapeEvtHandler_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2730 arg2
= (double)SWIG_As_double(obj1
);
2731 if (PyErr_Occurred()) SWIG_fail
;
2732 arg3
= (double)SWIG_As_double(obj2
);
2733 if (PyErr_Occurred()) SWIG_fail
;
2735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2736 (arg1
)->base_OnSize(arg2
,arg3
);
2738 wxPyEndAllowThreads(__tstate
);
2739 if (PyErr_Occurred()) SWIG_fail
;
2741 Py_INCREF(Py_None
); resultobj
= Py_None
;
2748 static PyObject
*_wrap_PyShapeEvtHandler_base_OnMovePre(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2749 PyObject
*resultobj
;
2750 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2756 bool arg7
= (bool) true ;
2758 PyObject
* obj0
= 0 ;
2759 PyObject
* obj1
= 0 ;
2760 PyObject
* obj2
= 0 ;
2761 PyObject
* obj3
= 0 ;
2762 PyObject
* obj4
= 0 ;
2763 PyObject
* obj5
= 0 ;
2764 PyObject
* obj6
= 0 ;
2766 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
2769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyShapeEvtHandler_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
2770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2772 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
2773 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2776 PyErr_SetString(PyExc_TypeError
,"null reference");
2779 arg3
= (double)SWIG_As_double(obj2
);
2780 if (PyErr_Occurred()) SWIG_fail
;
2781 arg4
= (double)SWIG_As_double(obj3
);
2782 if (PyErr_Occurred()) SWIG_fail
;
2783 arg5
= (double)SWIG_As_double(obj4
);
2784 if (PyErr_Occurred()) SWIG_fail
;
2785 arg6
= (double)SWIG_As_double(obj5
);
2786 if (PyErr_Occurred()) SWIG_fail
;
2788 arg7
= (bool)SWIG_As_bool(obj6
);
2789 if (PyErr_Occurred()) SWIG_fail
;
2792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2793 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
2795 wxPyEndAllowThreads(__tstate
);
2796 if (PyErr_Occurred()) SWIG_fail
;
2799 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2807 static PyObject
*_wrap_PyShapeEvtHandler_base_OnMovePost(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2808 PyObject
*resultobj
;
2809 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2815 bool arg7
= (bool) true ;
2816 PyObject
* obj0
= 0 ;
2817 PyObject
* obj1
= 0 ;
2818 PyObject
* obj2
= 0 ;
2819 PyObject
* obj3
= 0 ;
2820 PyObject
* obj4
= 0 ;
2821 PyObject
* obj5
= 0 ;
2822 PyObject
* obj6
= 0 ;
2824 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
2827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyShapeEvtHandler_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
2828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2830 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
2831 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2834 PyErr_SetString(PyExc_TypeError
,"null reference");
2837 arg3
= (double)SWIG_As_double(obj2
);
2838 if (PyErr_Occurred()) SWIG_fail
;
2839 arg4
= (double)SWIG_As_double(obj3
);
2840 if (PyErr_Occurred()) SWIG_fail
;
2841 arg5
= (double)SWIG_As_double(obj4
);
2842 if (PyErr_Occurred()) SWIG_fail
;
2843 arg6
= (double)SWIG_As_double(obj5
);
2844 if (PyErr_Occurred()) SWIG_fail
;
2846 arg7
= (bool)SWIG_As_bool(obj6
);
2847 if (PyErr_Occurred()) SWIG_fail
;
2850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2851 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
2853 wxPyEndAllowThreads(__tstate
);
2854 if (PyErr_Occurred()) SWIG_fail
;
2856 Py_INCREF(Py_None
); resultobj
= Py_None
;
2863 static PyObject
*_wrap_PyShapeEvtHandler_base_OnDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2864 PyObject
*resultobj
;
2865 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2869 int arg5
= (int) 0 ;
2870 int arg6
= (int) 0 ;
2871 PyObject
* obj0
= 0 ;
2872 PyObject
* obj1
= 0 ;
2873 PyObject
* obj2
= 0 ;
2874 PyObject
* obj3
= 0 ;
2875 PyObject
* obj4
= 0 ;
2876 PyObject
* obj5
= 0 ;
2878 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyShapeEvtHandler_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
2882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2884 arg2
= (bool)SWIG_As_bool(obj1
);
2885 if (PyErr_Occurred()) SWIG_fail
;
2886 arg3
= (double)SWIG_As_double(obj2
);
2887 if (PyErr_Occurred()) SWIG_fail
;
2888 arg4
= (double)SWIG_As_double(obj3
);
2889 if (PyErr_Occurred()) SWIG_fail
;
2891 arg5
= (int)SWIG_As_int(obj4
);
2892 if (PyErr_Occurred()) SWIG_fail
;
2895 arg6
= (int)SWIG_As_int(obj5
);
2896 if (PyErr_Occurred()) SWIG_fail
;
2899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2900 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
2902 wxPyEndAllowThreads(__tstate
);
2903 if (PyErr_Occurred()) SWIG_fail
;
2905 Py_INCREF(Py_None
); resultobj
= Py_None
;
2912 static PyObject
*_wrap_PyShapeEvtHandler_base_OnBeginDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2913 PyObject
*resultobj
;
2914 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2917 int arg4
= (int) 0 ;
2918 int arg5
= (int) 0 ;
2919 PyObject
* obj0
= 0 ;
2920 PyObject
* obj1
= 0 ;
2921 PyObject
* obj2
= 0 ;
2922 PyObject
* obj3
= 0 ;
2923 PyObject
* obj4
= 0 ;
2925 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShapeEvtHandler_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
2929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2931 arg2
= (double)SWIG_As_double(obj1
);
2932 if (PyErr_Occurred()) SWIG_fail
;
2933 arg3
= (double)SWIG_As_double(obj2
);
2934 if (PyErr_Occurred()) SWIG_fail
;
2936 arg4
= (int)SWIG_As_int(obj3
);
2937 if (PyErr_Occurred()) SWIG_fail
;
2940 arg5
= (int)SWIG_As_int(obj4
);
2941 if (PyErr_Occurred()) SWIG_fail
;
2944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2945 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
2947 wxPyEndAllowThreads(__tstate
);
2948 if (PyErr_Occurred()) SWIG_fail
;
2950 Py_INCREF(Py_None
); resultobj
= Py_None
;
2957 static PyObject
*_wrap_PyShapeEvtHandler_base_OnEndDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2958 PyObject
*resultobj
;
2959 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2962 int arg4
= (int) 0 ;
2963 int arg5
= (int) 0 ;
2964 PyObject
* obj0
= 0 ;
2965 PyObject
* obj1
= 0 ;
2966 PyObject
* obj2
= 0 ;
2967 PyObject
* obj3
= 0 ;
2968 PyObject
* obj4
= 0 ;
2970 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShapeEvtHandler_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
2974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2976 arg2
= (double)SWIG_As_double(obj1
);
2977 if (PyErr_Occurred()) SWIG_fail
;
2978 arg3
= (double)SWIG_As_double(obj2
);
2979 if (PyErr_Occurred()) SWIG_fail
;
2981 arg4
= (int)SWIG_As_int(obj3
);
2982 if (PyErr_Occurred()) SWIG_fail
;
2985 arg5
= (int)SWIG_As_int(obj4
);
2986 if (PyErr_Occurred()) SWIG_fail
;
2989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2990 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
2992 wxPyEndAllowThreads(__tstate
);
2993 if (PyErr_Occurred()) SWIG_fail
;
2995 Py_INCREF(Py_None
); resultobj
= Py_None
;
3002 static PyObject
*_wrap_PyShapeEvtHandler_base_OnDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3003 PyObject
*resultobj
;
3004 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
3008 int arg5
= (int) 0 ;
3009 int arg6
= (int) 0 ;
3010 PyObject
* obj0
= 0 ;
3011 PyObject
* obj1
= 0 ;
3012 PyObject
* obj2
= 0 ;
3013 PyObject
* obj3
= 0 ;
3014 PyObject
* obj4
= 0 ;
3015 PyObject
* obj5
= 0 ;
3017 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
3020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyShapeEvtHandler_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
3021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
3022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3023 arg2
= (bool)SWIG_As_bool(obj1
);
3024 if (PyErr_Occurred()) SWIG_fail
;
3025 arg3
= (double)SWIG_As_double(obj2
);
3026 if (PyErr_Occurred()) SWIG_fail
;
3027 arg4
= (double)SWIG_As_double(obj3
);
3028 if (PyErr_Occurred()) SWIG_fail
;
3030 arg5
= (int)SWIG_As_int(obj4
);
3031 if (PyErr_Occurred()) SWIG_fail
;
3034 arg6
= (int)SWIG_As_int(obj5
);
3035 if (PyErr_Occurred()) SWIG_fail
;
3038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3039 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
3041 wxPyEndAllowThreads(__tstate
);
3042 if (PyErr_Occurred()) SWIG_fail
;
3044 Py_INCREF(Py_None
); resultobj
= Py_None
;
3051 static PyObject
*_wrap_PyShapeEvtHandler_base_OnBeginDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3052 PyObject
*resultobj
;
3053 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
3056 int arg4
= (int) 0 ;
3057 int arg5
= (int) 0 ;
3058 PyObject
* obj0
= 0 ;
3059 PyObject
* obj1
= 0 ;
3060 PyObject
* obj2
= 0 ;
3061 PyObject
* obj3
= 0 ;
3062 PyObject
* obj4
= 0 ;
3064 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
3067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShapeEvtHandler_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
3068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
3069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3070 arg2
= (double)SWIG_As_double(obj1
);
3071 if (PyErr_Occurred()) SWIG_fail
;
3072 arg3
= (double)SWIG_As_double(obj2
);
3073 if (PyErr_Occurred()) SWIG_fail
;
3075 arg4
= (int)SWIG_As_int(obj3
);
3076 if (PyErr_Occurred()) SWIG_fail
;
3079 arg5
= (int)SWIG_As_int(obj4
);
3080 if (PyErr_Occurred()) SWIG_fail
;
3083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3084 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
3086 wxPyEndAllowThreads(__tstate
);
3087 if (PyErr_Occurred()) SWIG_fail
;
3089 Py_INCREF(Py_None
); resultobj
= Py_None
;
3096 static PyObject
*_wrap_PyShapeEvtHandler_base_OnEndDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3097 PyObject
*resultobj
;
3098 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
3101 int arg4
= (int) 0 ;
3102 int arg5
= (int) 0 ;
3103 PyObject
* obj0
= 0 ;
3104 PyObject
* obj1
= 0 ;
3105 PyObject
* obj2
= 0 ;
3106 PyObject
* obj3
= 0 ;
3107 PyObject
* obj4
= 0 ;
3109 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
3112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShapeEvtHandler_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
3113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
3114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3115 arg2
= (double)SWIG_As_double(obj1
);
3116 if (PyErr_Occurred()) SWIG_fail
;
3117 arg3
= (double)SWIG_As_double(obj2
);
3118 if (PyErr_Occurred()) SWIG_fail
;
3120 arg4
= (int)SWIG_As_int(obj3
);
3121 if (PyErr_Occurred()) SWIG_fail
;
3124 arg5
= (int)SWIG_As_int(obj4
);
3125 if (PyErr_Occurred()) SWIG_fail
;
3128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3129 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
3131 wxPyEndAllowThreads(__tstate
);
3132 if (PyErr_Occurred()) SWIG_fail
;
3134 Py_INCREF(Py_None
); resultobj
= Py_None
;
3141 static PyObject
*_wrap_PyShapeEvtHandler_base_OnDrawOutline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3142 PyObject
*resultobj
;
3143 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
3149 PyObject
* obj0
= 0 ;
3150 PyObject
* obj1
= 0 ;
3151 PyObject
* obj2
= 0 ;
3152 PyObject
* obj3
= 0 ;
3153 PyObject
* obj4
= 0 ;
3154 PyObject
* obj5
= 0 ;
3156 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
3159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyShapeEvtHandler_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
3160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
3161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3162 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
3163 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3166 PyErr_SetString(PyExc_TypeError
,"null reference");
3169 arg3
= (double)SWIG_As_double(obj2
);
3170 if (PyErr_Occurred()) SWIG_fail
;
3171 arg4
= (double)SWIG_As_double(obj3
);
3172 if (PyErr_Occurred()) SWIG_fail
;
3173 arg5
= (double)SWIG_As_double(obj4
);
3174 if (PyErr_Occurred()) SWIG_fail
;
3175 arg6
= (double)SWIG_As_double(obj5
);
3176 if (PyErr_Occurred()) SWIG_fail
;
3178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3179 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
3181 wxPyEndAllowThreads(__tstate
);
3182 if (PyErr_Occurred()) SWIG_fail
;
3184 Py_INCREF(Py_None
); resultobj
= Py_None
;
3191 static PyObject
*_wrap_PyShapeEvtHandler_base_OnDrawControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3192 PyObject
*resultobj
;
3193 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
3195 PyObject
* obj0
= 0 ;
3196 PyObject
* obj1
= 0 ;
3198 (char *) "self",(char *) "dc", NULL
3201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
3202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
3203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3204 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
3205 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3208 PyErr_SetString(PyExc_TypeError
,"null reference");
3212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3213 (arg1
)->base_OnDrawControlPoints(*arg2
);
3215 wxPyEndAllowThreads(__tstate
);
3216 if (PyErr_Occurred()) SWIG_fail
;
3218 Py_INCREF(Py_None
); resultobj
= Py_None
;
3225 static PyObject
*_wrap_PyShapeEvtHandler_base_OnEraseControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3226 PyObject
*resultobj
;
3227 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
3229 PyObject
* obj0
= 0 ;
3230 PyObject
* obj1
= 0 ;
3232 (char *) "self",(char *) "dc", NULL
3235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
3236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
3237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3238 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
3239 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3242 PyErr_SetString(PyExc_TypeError
,"null reference");
3246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3247 (arg1
)->base_OnEraseControlPoints(*arg2
);
3249 wxPyEndAllowThreads(__tstate
);
3250 if (PyErr_Occurred()) SWIG_fail
;
3252 Py_INCREF(Py_None
); resultobj
= Py_None
;
3259 static PyObject
*_wrap_PyShapeEvtHandler_base_OnMoveLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3260 PyObject
*resultobj
;
3261 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
3263 bool arg3
= (bool) true ;
3264 PyObject
* obj0
= 0 ;
3265 PyObject
* obj1
= 0 ;
3266 PyObject
* obj2
= 0 ;
3268 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
3271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShapeEvtHandler_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
3273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3274 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
3275 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3278 PyErr_SetString(PyExc_TypeError
,"null reference");
3282 arg3
= (bool)SWIG_As_bool(obj2
);
3283 if (PyErr_Occurred()) SWIG_fail
;
3286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3287 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
3289 wxPyEndAllowThreads(__tstate
);
3290 if (PyErr_Occurred()) SWIG_fail
;
3292 Py_INCREF(Py_None
); resultobj
= Py_None
;
3299 static PyObject
*_wrap_PyShapeEvtHandler_base_OnSizingDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3300 PyObject
*resultobj
;
3301 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
3302 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
3306 int arg6
= (int) 0 ;
3307 int arg7
= (int) 0 ;
3308 PyObject
* obj0
= 0 ;
3309 PyObject
* obj1
= 0 ;
3310 PyObject
* obj2
= 0 ;
3311 PyObject
* obj3
= 0 ;
3312 PyObject
* obj4
= 0 ;
3313 PyObject
* obj5
= 0 ;
3314 PyObject
* obj6
= 0 ;
3316 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
3319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyShapeEvtHandler_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
3321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3322 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
3323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3324 arg3
= (bool)SWIG_As_bool(obj2
);
3325 if (PyErr_Occurred()) SWIG_fail
;
3326 arg4
= (double)SWIG_As_double(obj3
);
3327 if (PyErr_Occurred()) SWIG_fail
;
3328 arg5
= (double)SWIG_As_double(obj4
);
3329 if (PyErr_Occurred()) SWIG_fail
;
3331 arg6
= (int)SWIG_As_int(obj5
);
3332 if (PyErr_Occurred()) SWIG_fail
;
3335 arg7
= (int)SWIG_As_int(obj6
);
3336 if (PyErr_Occurred()) SWIG_fail
;
3339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3340 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
3342 wxPyEndAllowThreads(__tstate
);
3343 if (PyErr_Occurred()) SWIG_fail
;
3345 Py_INCREF(Py_None
); resultobj
= Py_None
;
3352 static PyObject
*_wrap_PyShapeEvtHandler_base_OnSizingBeginDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3353 PyObject
*resultobj
;
3354 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
3355 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
3358 int arg5
= (int) 0 ;
3359 int arg6
= (int) 0 ;
3360 PyObject
* obj0
= 0 ;
3361 PyObject
* obj1
= 0 ;
3362 PyObject
* obj2
= 0 ;
3363 PyObject
* obj3
= 0 ;
3364 PyObject
* obj4
= 0 ;
3365 PyObject
* obj5
= 0 ;
3367 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
3370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyShapeEvtHandler_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
3371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
3372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3373 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
3374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3375 arg3
= (double)SWIG_As_double(obj2
);
3376 if (PyErr_Occurred()) SWIG_fail
;
3377 arg4
= (double)SWIG_As_double(obj3
);
3378 if (PyErr_Occurred()) SWIG_fail
;
3380 arg5
= (int)SWIG_As_int(obj4
);
3381 if (PyErr_Occurred()) SWIG_fail
;
3384 arg6
= (int)SWIG_As_int(obj5
);
3385 if (PyErr_Occurred()) SWIG_fail
;
3388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3389 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
3391 wxPyEndAllowThreads(__tstate
);
3392 if (PyErr_Occurred()) SWIG_fail
;
3394 Py_INCREF(Py_None
); resultobj
= Py_None
;
3401 static PyObject
*_wrap_PyShapeEvtHandler_base_OnSizingEndDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3402 PyObject
*resultobj
;
3403 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
3404 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
3407 int arg5
= (int) 0 ;
3408 int arg6
= (int) 0 ;
3409 PyObject
* obj0
= 0 ;
3410 PyObject
* obj1
= 0 ;
3411 PyObject
* obj2
= 0 ;
3412 PyObject
* obj3
= 0 ;
3413 PyObject
* obj4
= 0 ;
3414 PyObject
* obj5
= 0 ;
3416 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
3419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyShapeEvtHandler_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
3420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
3421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3422 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
3423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3424 arg3
= (double)SWIG_As_double(obj2
);
3425 if (PyErr_Occurred()) SWIG_fail
;
3426 arg4
= (double)SWIG_As_double(obj3
);
3427 if (PyErr_Occurred()) SWIG_fail
;
3429 arg5
= (int)SWIG_As_int(obj4
);
3430 if (PyErr_Occurred()) SWIG_fail
;
3433 arg6
= (int)SWIG_As_int(obj5
);
3434 if (PyErr_Occurred()) SWIG_fail
;
3437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3438 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
3440 wxPyEndAllowThreads(__tstate
);
3441 if (PyErr_Occurred()) SWIG_fail
;
3443 Py_INCREF(Py_None
); resultobj
= Py_None
;
3450 static PyObject
*_wrap_PyShapeEvtHandler_base_OnBeginSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3451 PyObject
*resultobj
;
3452 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
3455 PyObject
* obj0
= 0 ;
3456 PyObject
* obj1
= 0 ;
3457 PyObject
* obj2
= 0 ;
3459 (char *) "self",(char *) "w",(char *) "h", NULL
3462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShapeEvtHandler_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
3464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3465 arg2
= (double)SWIG_As_double(obj1
);
3466 if (PyErr_Occurred()) SWIG_fail
;
3467 arg3
= (double)SWIG_As_double(obj2
);
3468 if (PyErr_Occurred()) SWIG_fail
;
3470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3471 (arg1
)->base_OnBeginSize(arg2
,arg3
);
3473 wxPyEndAllowThreads(__tstate
);
3474 if (PyErr_Occurred()) SWIG_fail
;
3476 Py_INCREF(Py_None
); resultobj
= Py_None
;
3483 static PyObject
*_wrap_PyShapeEvtHandler_base_OnEndSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3484 PyObject
*resultobj
;
3485 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
3488 PyObject
* obj0
= 0 ;
3489 PyObject
* obj1
= 0 ;
3490 PyObject
* obj2
= 0 ;
3492 (char *) "self",(char *) "w",(char *) "h", NULL
3495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShapeEvtHandler_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
3497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3498 arg2
= (double)SWIG_As_double(obj1
);
3499 if (PyErr_Occurred()) SWIG_fail
;
3500 arg3
= (double)SWIG_As_double(obj2
);
3501 if (PyErr_Occurred()) SWIG_fail
;
3503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3504 (arg1
)->base_OnEndSize(arg2
,arg3
);
3506 wxPyEndAllowThreads(__tstate
);
3507 if (PyErr_Occurred()) SWIG_fail
;
3509 Py_INCREF(Py_None
); resultobj
= Py_None
;
3516 static PyObject
* PyShapeEvtHandler_swigregister(PyObject
*, PyObject
*args
) {
3518 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3519 SWIG_TypeClientData(SWIGTYPE_p_wxPyShapeEvtHandler
, obj
);
3521 return Py_BuildValue((char *)"");
3523 static PyObject
*_wrap_new_PyShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3524 PyObject
*resultobj
;
3525 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) NULL
;
3527 PyObject
* obj0
= 0 ;
3529 (char *) "can", NULL
3532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyShape",kwnames
,&obj0
)) goto fail
;
3534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
3535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3539 result
= (wxPyShape
*)new wxPyShape(arg1
);
3541 wxPyEndAllowThreads(__tstate
);
3542 if (PyErr_Occurred()) SWIG_fail
;
3544 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyShape
, 1);
3551 static PyObject
*_wrap_PyShape__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3552 PyObject
*resultobj
;
3553 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3554 PyObject
*arg2
= (PyObject
*) 0 ;
3555 PyObject
*arg3
= (PyObject
*) 0 ;
3556 PyObject
* obj0
= 0 ;
3557 PyObject
* obj1
= 0 ;
3558 PyObject
* obj2
= 0 ;
3560 (char *) "self",(char *) "self",(char *) "_class", NULL
3563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
3565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3570 (arg1
)->_setCallbackInfo(arg2
,arg3
);
3572 wxPyEndAllowThreads(__tstate
);
3573 if (PyErr_Occurred()) SWIG_fail
;
3575 Py_INCREF(Py_None
); resultobj
= Py_None
;
3582 static PyObject
*_wrap_PyShape_GetBoundingBoxMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3583 PyObject
*resultobj
;
3584 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3585 double *arg2
= (double *) 0 ;
3586 double *arg3
= (double *) 0 ;
3591 PyObject
* obj0
= 0 ;
3593 (char *) "self", NULL
3596 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
3597 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
3598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetBoundingBoxMax",kwnames
,&obj0
)) goto fail
;
3599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
3600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3603 (arg1
)->GetBoundingBoxMax(arg2
,arg3
);
3605 wxPyEndAllowThreads(__tstate
);
3606 if (PyErr_Occurred()) SWIG_fail
;
3608 Py_INCREF(Py_None
); resultobj
= Py_None
;
3609 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
3610 SWIG_From_double((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, 0)));
3611 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
3612 SWIG_From_double((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, 0)));
3619 static PyObject
*_wrap_PyShape_GetBoundingBoxMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3620 PyObject
*resultobj
;
3621 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3622 double *arg2
= (double *) 0 ;
3623 double *arg3
= (double *) 0 ;
3628 PyObject
* obj0
= 0 ;
3630 (char *) "self", NULL
3633 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
3634 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
3635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetBoundingBoxMin",kwnames
,&obj0
)) goto fail
;
3636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
3637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3640 (arg1
)->GetBoundingBoxMin(arg2
,arg3
);
3642 wxPyEndAllowThreads(__tstate
);
3643 if (PyErr_Occurred()) SWIG_fail
;
3645 Py_INCREF(Py_None
); resultobj
= Py_None
;
3646 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
3647 SWIG_From_double((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, 0)));
3648 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
3649 SWIG_From_double((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, 0)));
3656 static PyObject
*_wrap_PyShape_GetPerimeterPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3657 PyObject
*resultobj
;
3658 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3663 double *arg6
= (double *) 0 ;
3664 double *arg7
= (double *) 0 ;
3670 PyObject
* obj0
= 0 ;
3671 PyObject
* obj1
= 0 ;
3672 PyObject
* obj2
= 0 ;
3673 PyObject
* obj3
= 0 ;
3674 PyObject
* obj4
= 0 ;
3676 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
3679 arg6
= &temp6
; res6
= SWIG_NEWOBJ
;
3680 arg7
= &temp7
; res7
= SWIG_NEWOBJ
;
3681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyShape_GetPerimeterPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
3682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
3683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3684 arg2
= (double)SWIG_As_double(obj1
);
3685 if (PyErr_Occurred()) SWIG_fail
;
3686 arg3
= (double)SWIG_As_double(obj2
);
3687 if (PyErr_Occurred()) SWIG_fail
;
3688 arg4
= (double)SWIG_As_double(obj3
);
3689 if (PyErr_Occurred()) SWIG_fail
;
3690 arg5
= (double)SWIG_As_double(obj4
);
3691 if (PyErr_Occurred()) SWIG_fail
;
3693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3694 result
= (bool)(arg1
)->GetPerimeterPoint(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
3696 wxPyEndAllowThreads(__tstate
);
3697 if (PyErr_Occurred()) SWIG_fail
;
3700 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3702 resultobj
= t_output_helper(resultobj
, ((res6
== SWIG_NEWOBJ
) ?
3703 SWIG_From_double((*arg6
)) : SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_double
, 0)));
3704 resultobj
= t_output_helper(resultobj
, ((res7
== SWIG_NEWOBJ
) ?
3705 SWIG_From_double((*arg7
)) : SWIG_NewPointerObj((void*)(arg7
), SWIGTYPE_p_double
, 0)));
3712 static PyObject
*_wrap_PyShape_GetCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3713 PyObject
*resultobj
;
3714 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3715 wxPyShapeCanvas
*result
;
3716 PyObject
* obj0
= 0 ;
3718 (char *) "self", NULL
3721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetCanvas",kwnames
,&obj0
)) goto fail
;
3722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
3723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3726 result
= (wxPyShapeCanvas
*)(arg1
)->GetCanvas();
3728 wxPyEndAllowThreads(__tstate
);
3729 if (PyErr_Occurred()) SWIG_fail
;
3732 resultobj
= wxPyMake_wxObject(result
, 0);
3740 static PyObject
*_wrap_PyShape_SetCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3741 PyObject
*resultobj
;
3742 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3743 wxPyShapeCanvas
*arg2
= (wxPyShapeCanvas
*) 0 ;
3744 PyObject
* obj0
= 0 ;
3745 PyObject
* obj1
= 0 ;
3747 (char *) "self",(char *) "the_canvas", NULL
3750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
3751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
3752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3753 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShapeCanvas
,
3754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3757 (arg1
)->SetCanvas(arg2
);
3759 wxPyEndAllowThreads(__tstate
);
3760 if (PyErr_Occurred()) SWIG_fail
;
3762 Py_INCREF(Py_None
); resultobj
= Py_None
;
3769 static PyObject
*_wrap_PyShape_AddToCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3770 PyObject
*resultobj
;
3771 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3772 wxPyShapeCanvas
*arg2
= (wxPyShapeCanvas
*) 0 ;
3773 wxPyShape
*arg3
= (wxPyShape
*) NULL
;
3774 PyObject
* obj0
= 0 ;
3775 PyObject
* obj1
= 0 ;
3776 PyObject
* obj2
= 0 ;
3778 (char *) "self",(char *) "the_canvas",(char *) "addAfter", NULL
3781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShape_AddToCanvas",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
3783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3784 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShapeCanvas
,
3785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3787 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyShape
,
3788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3792 (arg1
)->AddToCanvas(arg2
,arg3
);
3794 wxPyEndAllowThreads(__tstate
);
3795 if (PyErr_Occurred()) SWIG_fail
;
3797 Py_INCREF(Py_None
); resultobj
= Py_None
;
3804 static PyObject
*_wrap_PyShape_InsertInCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3805 PyObject
*resultobj
;
3806 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3807 wxPyShapeCanvas
*arg2
= (wxPyShapeCanvas
*) 0 ;
3808 PyObject
* obj0
= 0 ;
3809 PyObject
* obj1
= 0 ;
3811 (char *) "self",(char *) "the_canvas", NULL
3814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_InsertInCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
3815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
3816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3817 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShapeCanvas
,
3818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3821 (arg1
)->InsertInCanvas(arg2
);
3823 wxPyEndAllowThreads(__tstate
);
3824 if (PyErr_Occurred()) SWIG_fail
;
3826 Py_INCREF(Py_None
); resultobj
= Py_None
;
3833 static PyObject
*_wrap_PyShape_RemoveFromCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3834 PyObject
*resultobj
;
3835 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3836 wxPyShapeCanvas
*arg2
= (wxPyShapeCanvas
*) 0 ;
3837 PyObject
* obj0
= 0 ;
3838 PyObject
* obj1
= 0 ;
3840 (char *) "self",(char *) "the_canvas", NULL
3843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_RemoveFromCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
3844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
3845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3846 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShapeCanvas
,
3847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3850 (arg1
)->RemoveFromCanvas(arg2
);
3852 wxPyEndAllowThreads(__tstate
);
3853 if (PyErr_Occurred()) SWIG_fail
;
3855 Py_INCREF(Py_None
); resultobj
= Py_None
;
3862 static PyObject
*_wrap_PyShape_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3863 PyObject
*resultobj
;
3864 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3866 PyObject
* obj0
= 0 ;
3868 (char *) "self", NULL
3871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetX",kwnames
,&obj0
)) goto fail
;
3872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
3873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3876 result
= (double)(arg1
)->GetX();
3878 wxPyEndAllowThreads(__tstate
);
3879 if (PyErr_Occurred()) SWIG_fail
;
3881 resultobj
= SWIG_From_double((double)result
);
3888 static PyObject
*_wrap_PyShape_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3889 PyObject
*resultobj
;
3890 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3892 PyObject
* obj0
= 0 ;
3894 (char *) "self", NULL
3897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetY",kwnames
,&obj0
)) goto fail
;
3898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
3899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3902 result
= (double)(arg1
)->GetY();
3904 wxPyEndAllowThreads(__tstate
);
3905 if (PyErr_Occurred()) SWIG_fail
;
3907 resultobj
= SWIG_From_double((double)result
);
3914 static PyObject
*_wrap_PyShape_SetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3915 PyObject
*resultobj
;
3916 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3918 PyObject
* obj0
= 0 ;
3919 PyObject
* obj1
= 0 ;
3921 (char *) "self",(char *) "x", NULL
3924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetX",kwnames
,&obj0
,&obj1
)) goto fail
;
3925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
3926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3927 arg2
= (double)SWIG_As_double(obj1
);
3928 if (PyErr_Occurred()) SWIG_fail
;
3930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3933 wxPyEndAllowThreads(__tstate
);
3934 if (PyErr_Occurred()) SWIG_fail
;
3936 Py_INCREF(Py_None
); resultobj
= Py_None
;
3943 static PyObject
*_wrap_PyShape_SetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3944 PyObject
*resultobj
;
3945 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3947 PyObject
* obj0
= 0 ;
3948 PyObject
* obj1
= 0 ;
3950 (char *) "self",(char *) "y", NULL
3953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetY",kwnames
,&obj0
,&obj1
)) goto fail
;
3954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
3955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3956 arg2
= (double)SWIG_As_double(obj1
);
3957 if (PyErr_Occurred()) SWIG_fail
;
3959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3962 wxPyEndAllowThreads(__tstate
);
3963 if (PyErr_Occurred()) SWIG_fail
;
3965 Py_INCREF(Py_None
); resultobj
= Py_None
;
3972 static PyObject
*_wrap_PyShape_GetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3973 PyObject
*resultobj
;
3974 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3976 PyObject
* obj0
= 0 ;
3978 (char *) "self", NULL
3981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetParent",kwnames
,&obj0
)) goto fail
;
3982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
3983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3986 result
= (wxPyShape
*)(arg1
)->GetParent();
3988 wxPyEndAllowThreads(__tstate
);
3989 if (PyErr_Occurred()) SWIG_fail
;
3992 resultobj
= wxPyMake_wxShapeEvtHandler(result
, 0);
4000 static PyObject
*_wrap_PyShape_SetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4001 PyObject
*resultobj
;
4002 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4003 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
4004 PyObject
* obj0
= 0 ;
4005 PyObject
* obj1
= 0 ;
4007 (char *) "self",(char *) "p", NULL
4010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetParent",kwnames
,&obj0
,&obj1
)) goto fail
;
4011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4013 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
4014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4017 (arg1
)->SetParent(arg2
);
4019 wxPyEndAllowThreads(__tstate
);
4020 if (PyErr_Occurred()) SWIG_fail
;
4022 Py_INCREF(Py_None
); resultobj
= Py_None
;
4029 static PyObject
*_wrap_PyShape_GetTopAncestor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4030 PyObject
*resultobj
;
4031 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4033 PyObject
* obj0
= 0 ;
4035 (char *) "self", NULL
4038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetTopAncestor",kwnames
,&obj0
)) goto fail
;
4039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4043 result
= (wxPyShape
*)(arg1
)->GetTopAncestor();
4045 wxPyEndAllowThreads(__tstate
);
4046 if (PyErr_Occurred()) SWIG_fail
;
4049 resultobj
= wxPyMake_wxShapeEvtHandler(result
, 0);
4057 static PyObject
*_wrap_PyShape_GetChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4058 PyObject
*resultobj
;
4059 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4061 PyObject
* obj0
= 0 ;
4063 (char *) "self", NULL
4066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetChildren",kwnames
,&obj0
)) goto fail
;
4067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4071 result
= (PyObject
*)wxPyShape_GetChildren(arg1
);
4073 wxPyEndAllowThreads(__tstate
);
4074 if (PyErr_Occurred()) SWIG_fail
;
4083 static PyObject
*_wrap_PyShape_Unlink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4084 PyObject
*resultobj
;
4085 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4086 PyObject
* obj0
= 0 ;
4088 (char *) "self", NULL
4091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_Unlink",kwnames
,&obj0
)) goto fail
;
4092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4098 wxPyEndAllowThreads(__tstate
);
4099 if (PyErr_Occurred()) SWIG_fail
;
4101 Py_INCREF(Py_None
); resultobj
= Py_None
;
4108 static PyObject
*_wrap_PyShape_SetDrawHandles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4109 PyObject
*resultobj
;
4110 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4112 PyObject
* obj0
= 0 ;
4113 PyObject
* obj1
= 0 ;
4115 (char *) "self",(char *) "drawH", NULL
4118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetDrawHandles",kwnames
,&obj0
,&obj1
)) goto fail
;
4119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4121 arg2
= (bool)SWIG_As_bool(obj1
);
4122 if (PyErr_Occurred()) SWIG_fail
;
4124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4125 (arg1
)->SetDrawHandles(arg2
);
4127 wxPyEndAllowThreads(__tstate
);
4128 if (PyErr_Occurred()) SWIG_fail
;
4130 Py_INCREF(Py_None
); resultobj
= Py_None
;
4137 static PyObject
*_wrap_PyShape_GetDrawHandles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4138 PyObject
*resultobj
;
4139 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4141 PyObject
* obj0
= 0 ;
4143 (char *) "self", NULL
4146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetDrawHandles",kwnames
,&obj0
)) goto fail
;
4147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4151 result
= (bool)(arg1
)->GetDrawHandles();
4153 wxPyEndAllowThreads(__tstate
);
4154 if (PyErr_Occurred()) SWIG_fail
;
4157 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4165 static PyObject
*_wrap_PyShape_MakeControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4166 PyObject
*resultobj
;
4167 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4168 PyObject
* obj0
= 0 ;
4170 (char *) "self", NULL
4173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_MakeControlPoints",kwnames
,&obj0
)) goto fail
;
4174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4178 (arg1
)->MakeControlPoints();
4180 wxPyEndAllowThreads(__tstate
);
4181 if (PyErr_Occurred()) SWIG_fail
;
4183 Py_INCREF(Py_None
); resultobj
= Py_None
;
4190 static PyObject
*_wrap_PyShape_DeleteControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4191 PyObject
*resultobj
;
4192 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4193 wxDC
*arg2
= (wxDC
*) NULL
;
4194 PyObject
* obj0
= 0 ;
4195 PyObject
* obj1
= 0 ;
4197 (char *) "self",(char *) "dc", NULL
4200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyShape_DeleteControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
4201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4204 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
4205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4209 (arg1
)->DeleteControlPoints(arg2
);
4211 wxPyEndAllowThreads(__tstate
);
4212 if (PyErr_Occurred()) SWIG_fail
;
4214 Py_INCREF(Py_None
); resultobj
= Py_None
;
4221 static PyObject
*_wrap_PyShape_ResetControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4222 PyObject
*resultobj
;
4223 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4224 PyObject
* obj0
= 0 ;
4226 (char *) "self", NULL
4229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_ResetControlPoints",kwnames
,&obj0
)) goto fail
;
4230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4234 (arg1
)->ResetControlPoints();
4236 wxPyEndAllowThreads(__tstate
);
4237 if (PyErr_Occurred()) SWIG_fail
;
4239 Py_INCREF(Py_None
); resultobj
= Py_None
;
4246 static PyObject
*_wrap_PyShape_GetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4247 PyObject
*resultobj
;
4248 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4249 wxPyShapeEvtHandler
*result
;
4250 PyObject
* obj0
= 0 ;
4252 (char *) "self", NULL
4255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetEventHandler",kwnames
,&obj0
)) goto fail
;
4256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4260 result
= (wxPyShapeEvtHandler
*)(arg1
)->GetEventHandler();
4262 wxPyEndAllowThreads(__tstate
);
4263 if (PyErr_Occurred()) SWIG_fail
;
4266 resultobj
= wxPyMake_wxShapeEvtHandler(result
, 0);
4274 static PyObject
*_wrap_PyShape_SetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4275 PyObject
*resultobj
;
4276 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4277 wxPyShapeEvtHandler
*arg2
= (wxPyShapeEvtHandler
*) 0 ;
4278 PyObject
* obj0
= 0 ;
4279 PyObject
* obj1
= 0 ;
4281 (char *) "self",(char *) "handler", NULL
4284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
4285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4287 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShapeEvtHandler
,
4288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4291 (arg1
)->SetEventHandler(arg2
);
4293 wxPyEndAllowThreads(__tstate
);
4294 if (PyErr_Occurred()) SWIG_fail
;
4296 Py_INCREF(Py_None
); resultobj
= Py_None
;
4303 static PyObject
*_wrap_PyShape_MakeMandatoryControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4304 PyObject
*resultobj
;
4305 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4306 PyObject
* obj0
= 0 ;
4308 (char *) "self", NULL
4311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_MakeMandatoryControlPoints",kwnames
,&obj0
)) goto fail
;
4312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4316 (arg1
)->MakeMandatoryControlPoints();
4318 wxPyEndAllowThreads(__tstate
);
4319 if (PyErr_Occurred()) SWIG_fail
;
4321 Py_INCREF(Py_None
); resultobj
= Py_None
;
4328 static PyObject
*_wrap_PyShape_ResetMandatoryControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4329 PyObject
*resultobj
;
4330 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4331 PyObject
* obj0
= 0 ;
4333 (char *) "self", NULL
4336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_ResetMandatoryControlPoints",kwnames
,&obj0
)) goto fail
;
4337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4341 (arg1
)->ResetMandatoryControlPoints();
4343 wxPyEndAllowThreads(__tstate
);
4344 if (PyErr_Occurred()) SWIG_fail
;
4346 Py_INCREF(Py_None
); resultobj
= Py_None
;
4353 static PyObject
*_wrap_PyShape_Recompute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4354 PyObject
*resultobj
;
4355 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4357 PyObject
* obj0
= 0 ;
4359 (char *) "self", NULL
4362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_Recompute",kwnames
,&obj0
)) goto fail
;
4363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4367 result
= (bool)(arg1
)->Recompute();
4369 wxPyEndAllowThreads(__tstate
);
4370 if (PyErr_Occurred()) SWIG_fail
;
4373 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4381 static PyObject
*_wrap_PyShape_CalculateSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4382 PyObject
*resultobj
;
4383 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4384 PyObject
* obj0
= 0 ;
4386 (char *) "self", NULL
4389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_CalculateSize",kwnames
,&obj0
)) goto fail
;
4390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4394 (arg1
)->CalculateSize();
4396 wxPyEndAllowThreads(__tstate
);
4397 if (PyErr_Occurred()) SWIG_fail
;
4399 Py_INCREF(Py_None
); resultobj
= Py_None
;
4406 static PyObject
*_wrap_PyShape_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4407 PyObject
*resultobj
;
4408 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4409 bool arg2
= (bool) true ;
4410 wxDC
*arg3
= (wxDC
*) NULL
;
4411 PyObject
* obj0
= 0 ;
4412 PyObject
* obj1
= 0 ;
4413 PyObject
* obj2
= 0 ;
4415 (char *) "self",(char *) "select",(char *) "dc", NULL
4418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyShape_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4422 arg2
= (bool)SWIG_As_bool(obj1
);
4423 if (PyErr_Occurred()) SWIG_fail
;
4426 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
4427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4431 (arg1
)->Select(arg2
,arg3
);
4433 wxPyEndAllowThreads(__tstate
);
4434 if (PyErr_Occurred()) SWIG_fail
;
4436 Py_INCREF(Py_None
); resultobj
= Py_None
;
4443 static PyObject
*_wrap_PyShape_SetHighlight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4444 PyObject
*resultobj
;
4445 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4446 bool arg2
= (bool) true ;
4447 bool arg3
= (bool) false ;
4448 PyObject
* obj0
= 0 ;
4449 PyObject
* obj1
= 0 ;
4450 PyObject
* obj2
= 0 ;
4452 (char *) "self",(char *) "hi",(char *) "recurse", NULL
4455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyShape_SetHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4459 arg2
= (bool)SWIG_As_bool(obj1
);
4460 if (PyErr_Occurred()) SWIG_fail
;
4463 arg3
= (bool)SWIG_As_bool(obj2
);
4464 if (PyErr_Occurred()) SWIG_fail
;
4467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4468 (arg1
)->SetHighlight(arg2
,arg3
);
4470 wxPyEndAllowThreads(__tstate
);
4471 if (PyErr_Occurred()) SWIG_fail
;
4473 Py_INCREF(Py_None
); resultobj
= Py_None
;
4480 static PyObject
*_wrap_PyShape_IsHighlighted(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4481 PyObject
*resultobj
;
4482 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4484 PyObject
* obj0
= 0 ;
4486 (char *) "self", NULL
4489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_IsHighlighted",kwnames
,&obj0
)) goto fail
;
4490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4494 result
= (bool)(arg1
)->IsHighlighted();
4496 wxPyEndAllowThreads(__tstate
);
4497 if (PyErr_Occurred()) SWIG_fail
;
4500 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4508 static PyObject
*_wrap_PyShape_Selected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4509 PyObject
*resultobj
;
4510 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4512 PyObject
* obj0
= 0 ;
4514 (char *) "self", NULL
4517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_Selected",kwnames
,&obj0
)) goto fail
;
4518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4522 result
= (bool)(arg1
)->Selected();
4524 wxPyEndAllowThreads(__tstate
);
4525 if (PyErr_Occurred()) SWIG_fail
;
4528 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4536 static PyObject
*_wrap_PyShape_AncestorSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4537 PyObject
*resultobj
;
4538 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4540 PyObject
* obj0
= 0 ;
4542 (char *) "self", NULL
4545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_AncestorSelected",kwnames
,&obj0
)) goto fail
;
4546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4550 result
= (bool)(arg1
)->AncestorSelected();
4552 wxPyEndAllowThreads(__tstate
);
4553 if (PyErr_Occurred()) SWIG_fail
;
4556 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4564 static PyObject
*_wrap_PyShape_SetSensitivityFilter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4565 PyObject
*resultobj
;
4566 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4567 int arg2
= (int) OP_ALL
;
4568 bool arg3
= (bool) false ;
4569 PyObject
* obj0
= 0 ;
4570 PyObject
* obj1
= 0 ;
4571 PyObject
* obj2
= 0 ;
4573 (char *) "self",(char *) "sens",(char *) "recursive", NULL
4576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyShape_SetSensitivityFilter",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4580 arg2
= (int)SWIG_As_int(obj1
);
4581 if (PyErr_Occurred()) SWIG_fail
;
4584 arg3
= (bool)SWIG_As_bool(obj2
);
4585 if (PyErr_Occurred()) SWIG_fail
;
4588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4589 (arg1
)->SetSensitivityFilter(arg2
,arg3
);
4591 wxPyEndAllowThreads(__tstate
);
4592 if (PyErr_Occurred()) SWIG_fail
;
4594 Py_INCREF(Py_None
); resultobj
= Py_None
;
4601 static PyObject
*_wrap_PyShape_GetSensitivityFilter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4602 PyObject
*resultobj
;
4603 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4605 PyObject
* obj0
= 0 ;
4607 (char *) "self", NULL
4610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetSensitivityFilter",kwnames
,&obj0
)) goto fail
;
4611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4615 result
= (int)(arg1
)->GetSensitivityFilter();
4617 wxPyEndAllowThreads(__tstate
);
4618 if (PyErr_Occurred()) SWIG_fail
;
4620 resultobj
= SWIG_From_int((int)result
);
4627 static PyObject
*_wrap_PyShape_SetDraggable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4628 PyObject
*resultobj
;
4629 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4631 bool arg3
= (bool) false ;
4632 PyObject
* obj0
= 0 ;
4633 PyObject
* obj1
= 0 ;
4634 PyObject
* obj2
= 0 ;
4636 (char *) "self",(char *) "drag",(char *) "recursive", NULL
4639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShape_SetDraggable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4642 arg2
= (bool)SWIG_As_bool(obj1
);
4643 if (PyErr_Occurred()) SWIG_fail
;
4645 arg3
= (bool)SWIG_As_bool(obj2
);
4646 if (PyErr_Occurred()) SWIG_fail
;
4649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4650 (arg1
)->SetDraggable(arg2
,arg3
);
4652 wxPyEndAllowThreads(__tstate
);
4653 if (PyErr_Occurred()) SWIG_fail
;
4655 Py_INCREF(Py_None
); resultobj
= Py_None
;
4662 static PyObject
*_wrap_PyShape_SetFixedSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4663 PyObject
*resultobj
;
4664 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4667 PyObject
* obj0
= 0 ;
4668 PyObject
* obj1
= 0 ;
4669 PyObject
* obj2
= 0 ;
4671 (char *) "self",(char *) "x",(char *) "y", NULL
4674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShape_SetFixedSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4677 arg2
= (bool)SWIG_As_bool(obj1
);
4678 if (PyErr_Occurred()) SWIG_fail
;
4679 arg3
= (bool)SWIG_As_bool(obj2
);
4680 if (PyErr_Occurred()) SWIG_fail
;
4682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4683 (arg1
)->SetFixedSize(arg2
,arg3
);
4685 wxPyEndAllowThreads(__tstate
);
4686 if (PyErr_Occurred()) SWIG_fail
;
4688 Py_INCREF(Py_None
); resultobj
= Py_None
;
4695 static PyObject
*_wrap_PyShape_GetFixedSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4696 PyObject
*resultobj
;
4697 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4698 bool *arg2
= (bool *) 0 ;
4699 bool *arg3
= (bool *) 0 ;
4704 PyObject
* obj0
= 0 ;
4706 (char *) "self", NULL
4709 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
4710 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
4711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetFixedSize",kwnames
,&obj0
)) goto fail
;
4712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4716 (arg1
)->GetFixedSize(arg2
,arg3
);
4718 wxPyEndAllowThreads(__tstate
);
4719 if (PyErr_Occurred()) SWIG_fail
;
4721 Py_INCREF(Py_None
); resultobj
= Py_None
;
4722 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
4723 SWIG_From_bool((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_bool
, 0)));
4724 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
4725 SWIG_From_bool((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_bool
, 0)));
4732 static PyObject
*_wrap_PyShape_GetFixedWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4733 PyObject
*resultobj
;
4734 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4736 PyObject
* obj0
= 0 ;
4738 (char *) "self", NULL
4741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetFixedWidth",kwnames
,&obj0
)) goto fail
;
4742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4746 result
= (bool)(arg1
)->GetFixedWidth();
4748 wxPyEndAllowThreads(__tstate
);
4749 if (PyErr_Occurred()) SWIG_fail
;
4752 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4760 static PyObject
*_wrap_PyShape_GetFixedHeight(PyObject
*, 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_GetFixedHeight",kwnames
,&obj0
)) goto fail
;
4770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4774 result
= (bool)(arg1
)->GetFixedHeight();
4776 wxPyEndAllowThreads(__tstate
);
4777 if (PyErr_Occurred()) SWIG_fail
;
4780 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4788 static PyObject
*_wrap_PyShape_SetSpaceAttachments(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4789 PyObject
*resultobj
;
4790 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4792 PyObject
* obj0
= 0 ;
4793 PyObject
* obj1
= 0 ;
4795 (char *) "self",(char *) "sp", NULL
4798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetSpaceAttachments",kwnames
,&obj0
,&obj1
)) goto fail
;
4799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4801 arg2
= (bool)SWIG_As_bool(obj1
);
4802 if (PyErr_Occurred()) SWIG_fail
;
4804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4805 (arg1
)->SetSpaceAttachments(arg2
);
4807 wxPyEndAllowThreads(__tstate
);
4808 if (PyErr_Occurred()) SWIG_fail
;
4810 Py_INCREF(Py_None
); resultobj
= Py_None
;
4817 static PyObject
*_wrap_PyShape_GetSpaceAttachments(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4818 PyObject
*resultobj
;
4819 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4821 PyObject
* obj0
= 0 ;
4823 (char *) "self", NULL
4826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetSpaceAttachments",kwnames
,&obj0
)) goto fail
;
4827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4831 result
= (bool)(arg1
)->GetSpaceAttachments();
4833 wxPyEndAllowThreads(__tstate
);
4834 if (PyErr_Occurred()) SWIG_fail
;
4837 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4845 static PyObject
*_wrap_PyShape_SetShadowMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4846 PyObject
*resultobj
;
4847 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4849 bool arg3
= (bool) false ;
4850 PyObject
* obj0
= 0 ;
4851 PyObject
* obj1
= 0 ;
4852 PyObject
* obj2
= 0 ;
4854 (char *) "self",(char *) "mode",(char *) "redraw", NULL
4857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShape_SetShadowMode",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4860 arg2
= (int)SWIG_As_int(obj1
);
4861 if (PyErr_Occurred()) SWIG_fail
;
4863 arg3
= (bool)SWIG_As_bool(obj2
);
4864 if (PyErr_Occurred()) SWIG_fail
;
4867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4868 (arg1
)->SetShadowMode(arg2
,arg3
);
4870 wxPyEndAllowThreads(__tstate
);
4871 if (PyErr_Occurred()) SWIG_fail
;
4873 Py_INCREF(Py_None
); resultobj
= Py_None
;
4880 static PyObject
*_wrap_PyShape_GetShadowMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4881 PyObject
*resultobj
;
4882 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4884 PyObject
* obj0
= 0 ;
4886 (char *) "self", NULL
4889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetShadowMode",kwnames
,&obj0
)) goto fail
;
4890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4894 result
= (int)(arg1
)->GetShadowMode();
4896 wxPyEndAllowThreads(__tstate
);
4897 if (PyErr_Occurred()) SWIG_fail
;
4899 resultobj
= SWIG_From_int((int)result
);
4906 static PyObject
*_wrap_PyShape_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4907 PyObject
*resultobj
;
4908 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4911 int *arg4
= (int *) 0 ;
4912 double *arg5
= (double *) 0 ;
4918 PyObject
* obj0
= 0 ;
4919 PyObject
* obj1
= 0 ;
4920 PyObject
* obj2
= 0 ;
4922 (char *) "self",(char *) "x",(char *) "y", NULL
4925 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
4926 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
4927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShape_HitTest",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4930 arg2
= (double)SWIG_As_double(obj1
);
4931 if (PyErr_Occurred()) SWIG_fail
;
4932 arg3
= (double)SWIG_As_double(obj2
);
4933 if (PyErr_Occurred()) SWIG_fail
;
4935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4936 result
= (bool)(arg1
)->HitTest(arg2
,arg3
,arg4
,arg5
);
4938 wxPyEndAllowThreads(__tstate
);
4939 if (PyErr_Occurred()) SWIG_fail
;
4942 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4944 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
4945 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
4946 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
4947 SWIG_From_double((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_double
, 0)));
4954 static PyObject
*_wrap_PyShape_SetCentreResize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4955 PyObject
*resultobj
;
4956 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4958 PyObject
* obj0
= 0 ;
4959 PyObject
* obj1
= 0 ;
4961 (char *) "self",(char *) "cr", NULL
4964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetCentreResize",kwnames
,&obj0
,&obj1
)) goto fail
;
4965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4967 arg2
= (bool)SWIG_As_bool(obj1
);
4968 if (PyErr_Occurred()) SWIG_fail
;
4970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4971 (arg1
)->SetCentreResize(arg2
);
4973 wxPyEndAllowThreads(__tstate
);
4974 if (PyErr_Occurred()) SWIG_fail
;
4976 Py_INCREF(Py_None
); resultobj
= Py_None
;
4983 static PyObject
*_wrap_PyShape_GetCentreResize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4984 PyObject
*resultobj
;
4985 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4987 PyObject
* obj0
= 0 ;
4989 (char *) "self", NULL
4992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetCentreResize",kwnames
,&obj0
)) goto fail
;
4993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4997 result
= (bool)(arg1
)->GetCentreResize();
4999 wxPyEndAllowThreads(__tstate
);
5000 if (PyErr_Occurred()) SWIG_fail
;
5003 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5011 static PyObject
*_wrap_PyShape_SetMaintainAspectRatio(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5012 PyObject
*resultobj
;
5013 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5015 PyObject
* obj0
= 0 ;
5016 PyObject
* obj1
= 0 ;
5018 (char *) "self",(char *) "ar", NULL
5021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetMaintainAspectRatio",kwnames
,&obj0
,&obj1
)) goto fail
;
5022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5024 arg2
= (bool)SWIG_As_bool(obj1
);
5025 if (PyErr_Occurred()) SWIG_fail
;
5027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5028 (arg1
)->SetMaintainAspectRatio(arg2
);
5030 wxPyEndAllowThreads(__tstate
);
5031 if (PyErr_Occurred()) SWIG_fail
;
5033 Py_INCREF(Py_None
); resultobj
= Py_None
;
5040 static PyObject
*_wrap_PyShape_GetMaintainAspectRatio(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5041 PyObject
*resultobj
;
5042 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5044 PyObject
* obj0
= 0 ;
5046 (char *) "self", NULL
5049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetMaintainAspectRatio",kwnames
,&obj0
)) goto fail
;
5050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5054 result
= (bool)(arg1
)->GetMaintainAspectRatio();
5056 wxPyEndAllowThreads(__tstate
);
5057 if (PyErr_Occurred()) SWIG_fail
;
5060 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5068 static PyObject
*_wrap_PyShape_GetLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5069 PyObject
*resultobj
;
5070 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5072 PyObject
* obj0
= 0 ;
5074 (char *) "self", NULL
5077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetLines",kwnames
,&obj0
)) goto fail
;
5078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5082 result
= (PyObject
*)wxPyShape_GetLines(arg1
);
5084 wxPyEndAllowThreads(__tstate
);
5085 if (PyErr_Occurred()) SWIG_fail
;
5094 static PyObject
*_wrap_PyShape_SetDisableLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5095 PyObject
*resultobj
;
5096 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5098 PyObject
* obj0
= 0 ;
5099 PyObject
* obj1
= 0 ;
5101 (char *) "self",(char *) "flag", NULL
5104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetDisableLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
5105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5107 arg2
= (bool)SWIG_As_bool(obj1
);
5108 if (PyErr_Occurred()) SWIG_fail
;
5110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5111 (arg1
)->SetDisableLabel(arg2
);
5113 wxPyEndAllowThreads(__tstate
);
5114 if (PyErr_Occurred()) SWIG_fail
;
5116 Py_INCREF(Py_None
); resultobj
= Py_None
;
5123 static PyObject
*_wrap_PyShape_GetDisableLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5124 PyObject
*resultobj
;
5125 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5127 PyObject
* obj0
= 0 ;
5129 (char *) "self", NULL
5132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetDisableLabel",kwnames
,&obj0
)) goto fail
;
5133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5137 result
= (bool)(arg1
)->GetDisableLabel();
5139 wxPyEndAllowThreads(__tstate
);
5140 if (PyErr_Occurred()) SWIG_fail
;
5143 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5151 static PyObject
*_wrap_PyShape_SetAttachmentMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5152 PyObject
*resultobj
;
5153 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5155 PyObject
* obj0
= 0 ;
5156 PyObject
* obj1
= 0 ;
5158 (char *) "self",(char *) "mode", NULL
5161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetAttachmentMode",kwnames
,&obj0
,&obj1
)) goto fail
;
5162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5164 arg2
= (int)SWIG_As_int(obj1
);
5165 if (PyErr_Occurred()) SWIG_fail
;
5167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5168 (arg1
)->SetAttachmentMode(arg2
);
5170 wxPyEndAllowThreads(__tstate
);
5171 if (PyErr_Occurred()) SWIG_fail
;
5173 Py_INCREF(Py_None
); resultobj
= Py_None
;
5180 static PyObject
*_wrap_PyShape_GetAttachmentMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5181 PyObject
*resultobj
;
5182 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5184 PyObject
* obj0
= 0 ;
5186 (char *) "self", NULL
5189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetAttachmentMode",kwnames
,&obj0
)) goto fail
;
5190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5194 result
= (int)(arg1
)->GetAttachmentMode();
5196 wxPyEndAllowThreads(__tstate
);
5197 if (PyErr_Occurred()) SWIG_fail
;
5199 resultobj
= SWIG_From_int((int)result
);
5206 static PyObject
*_wrap_PyShape_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5207 PyObject
*resultobj
;
5208 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5210 PyObject
* obj0
= 0 ;
5211 PyObject
* obj1
= 0 ;
5213 (char *) "self",(char *) "i", NULL
5216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
5217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5219 arg2
= (long)SWIG_As_long(obj1
);
5220 if (PyErr_Occurred()) SWIG_fail
;
5222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5223 (arg1
)->SetId(arg2
);
5225 wxPyEndAllowThreads(__tstate
);
5226 if (PyErr_Occurred()) SWIG_fail
;
5228 Py_INCREF(Py_None
); resultobj
= Py_None
;
5235 static PyObject
*_wrap_PyShape_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5236 PyObject
*resultobj
;
5237 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5239 PyObject
* obj0
= 0 ;
5241 (char *) "self", NULL
5244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetId",kwnames
,&obj0
)) goto fail
;
5245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5249 result
= (long)(arg1
)->GetId();
5251 wxPyEndAllowThreads(__tstate
);
5252 if (PyErr_Occurred()) SWIG_fail
;
5254 resultobj
= SWIG_From_long((long)result
);
5261 static PyObject
*_wrap_PyShape_SetPen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5262 PyObject
*resultobj
;
5263 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5264 wxPen
*arg2
= (wxPen
*) 0 ;
5265 PyObject
* obj0
= 0 ;
5266 PyObject
* obj1
= 0 ;
5268 (char *) "self",(char *) "pen", NULL
5271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetPen",kwnames
,&obj0
,&obj1
)) goto fail
;
5272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5277 if (obj1
== Py_None
) {
5280 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxPen"))) {
5281 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxPen.");
5286 arg2
= wxThePenList
->FindOrCreatePen(temp
->GetColour(),
5293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5294 (arg1
)->SetPen(arg2
);
5296 wxPyEndAllowThreads(__tstate
);
5297 if (PyErr_Occurred()) SWIG_fail
;
5299 Py_INCREF(Py_None
); resultobj
= Py_None
;
5306 static PyObject
*_wrap_PyShape_SetBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5307 PyObject
*resultobj
;
5308 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5309 wxBrush
*arg2
= (wxBrush
*) 0 ;
5310 PyObject
* obj0
= 0 ;
5311 PyObject
* obj1
= 0 ;
5313 (char *) "self",(char *) "brush", NULL
5316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
5317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5322 if (obj1
== Py_None
) {
5325 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxBrush"))) {
5326 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxBrush.");
5331 arg2
= wxTheBrushList
->FindOrCreateBrush(temp
->GetColour(), temp
->GetStyle());
5336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5337 (arg1
)->SetBrush(arg2
);
5339 wxPyEndAllowThreads(__tstate
);
5340 if (PyErr_Occurred()) SWIG_fail
;
5342 Py_INCREF(Py_None
); resultobj
= Py_None
;
5349 static PyObject
*_wrap_PyShape_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5350 PyObject
*resultobj
;
5351 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5353 PyObject
* obj0
= 0 ;
5354 PyObject
* obj1
= 0 ;
5356 (char *) "self",(char *) "show", NULL
5359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
5360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5362 arg2
= (bool)SWIG_As_bool(obj1
);
5363 if (PyErr_Occurred()) SWIG_fail
;
5365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5368 wxPyEndAllowThreads(__tstate
);
5369 if (PyErr_Occurred()) SWIG_fail
;
5371 Py_INCREF(Py_None
); resultobj
= Py_None
;
5378 static PyObject
*_wrap_PyShape_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5379 PyObject
*resultobj
;
5380 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5382 PyObject
* obj0
= 0 ;
5384 (char *) "self", NULL
5387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_IsShown",kwnames
,&obj0
)) goto fail
;
5388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5392 result
= (bool)(arg1
)->IsShown();
5394 wxPyEndAllowThreads(__tstate
);
5395 if (PyErr_Occurred()) SWIG_fail
;
5398 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5406 static PyObject
*_wrap_PyShape_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5407 PyObject
*resultobj
;
5408 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5412 bool arg5
= (bool) true ;
5413 PyObject
* obj0
= 0 ;
5414 PyObject
* obj1
= 0 ;
5415 PyObject
* obj2
= 0 ;
5416 PyObject
* obj3
= 0 ;
5417 PyObject
* obj4
= 0 ;
5419 (char *) "self",(char *) "dc",(char *) "x1",(char *) "y1",(char *) "display", NULL
5422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PyShape_Move",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5425 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
5426 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5429 PyErr_SetString(PyExc_TypeError
,"null reference");
5432 arg3
= (double)SWIG_As_double(obj2
);
5433 if (PyErr_Occurred()) SWIG_fail
;
5434 arg4
= (double)SWIG_As_double(obj3
);
5435 if (PyErr_Occurred()) SWIG_fail
;
5437 arg5
= (bool)SWIG_As_bool(obj4
);
5438 if (PyErr_Occurred()) SWIG_fail
;
5441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5442 (arg1
)->Move(*arg2
,arg3
,arg4
,arg5
);
5444 wxPyEndAllowThreads(__tstate
);
5445 if (PyErr_Occurred()) SWIG_fail
;
5447 Py_INCREF(Py_None
); resultobj
= Py_None
;
5454 static PyObject
*_wrap_PyShape_Erase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5455 PyObject
*resultobj
;
5456 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5458 PyObject
* obj0
= 0 ;
5459 PyObject
* obj1
= 0 ;
5461 (char *) "self",(char *) "dc", NULL
5464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_Erase",kwnames
,&obj0
,&obj1
)) goto fail
;
5465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5467 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
5468 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5471 PyErr_SetString(PyExc_TypeError
,"null reference");
5475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5476 (arg1
)->Erase(*arg2
);
5478 wxPyEndAllowThreads(__tstate
);
5479 if (PyErr_Occurred()) SWIG_fail
;
5481 Py_INCREF(Py_None
); resultobj
= Py_None
;
5488 static PyObject
*_wrap_PyShape_EraseContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5489 PyObject
*resultobj
;
5490 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5492 PyObject
* obj0
= 0 ;
5493 PyObject
* obj1
= 0 ;
5495 (char *) "self",(char *) "dc", NULL
5498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_EraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
5499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5501 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
5502 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5505 PyErr_SetString(PyExc_TypeError
,"null reference");
5509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5510 (arg1
)->EraseContents(*arg2
);
5512 wxPyEndAllowThreads(__tstate
);
5513 if (PyErr_Occurred()) SWIG_fail
;
5515 Py_INCREF(Py_None
); resultobj
= Py_None
;
5522 static PyObject
*_wrap_PyShape_Draw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5523 PyObject
*resultobj
;
5524 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5526 PyObject
* obj0
= 0 ;
5527 PyObject
* obj1
= 0 ;
5529 (char *) "self",(char *) "dc", NULL
5532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_Draw",kwnames
,&obj0
,&obj1
)) goto fail
;
5533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5535 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
5536 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5539 PyErr_SetString(PyExc_TypeError
,"null reference");
5543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5544 (arg1
)->Draw(*arg2
);
5546 wxPyEndAllowThreads(__tstate
);
5547 if (PyErr_Occurred()) SWIG_fail
;
5549 Py_INCREF(Py_None
); resultobj
= Py_None
;
5556 static PyObject
*_wrap_PyShape_Flash(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5557 PyObject
*resultobj
;
5558 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5559 PyObject
* obj0
= 0 ;
5561 (char *) "self", NULL
5564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_Flash",kwnames
,&obj0
)) goto fail
;
5565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5571 wxPyEndAllowThreads(__tstate
);
5572 if (PyErr_Occurred()) SWIG_fail
;
5574 Py_INCREF(Py_None
); resultobj
= Py_None
;
5581 static PyObject
*_wrap_PyShape_MoveLinks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5582 PyObject
*resultobj
;
5583 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5585 PyObject
* obj0
= 0 ;
5586 PyObject
* obj1
= 0 ;
5588 (char *) "self",(char *) "dc", NULL
5591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_MoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
5592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5594 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
5595 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5598 PyErr_SetString(PyExc_TypeError
,"null reference");
5602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5603 (arg1
)->MoveLinks(*arg2
);
5605 wxPyEndAllowThreads(__tstate
);
5606 if (PyErr_Occurred()) SWIG_fail
;
5608 Py_INCREF(Py_None
); resultobj
= Py_None
;
5615 static PyObject
*_wrap_PyShape_DrawContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5616 PyObject
*resultobj
;
5617 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5619 PyObject
* obj0
= 0 ;
5620 PyObject
* obj1
= 0 ;
5622 (char *) "self",(char *) "dc", NULL
5625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_DrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
5626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5628 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
5629 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5632 PyErr_SetString(PyExc_TypeError
,"null reference");
5636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5637 (arg1
)->DrawContents(*arg2
);
5639 wxPyEndAllowThreads(__tstate
);
5640 if (PyErr_Occurred()) SWIG_fail
;
5642 Py_INCREF(Py_None
); resultobj
= Py_None
;
5649 static PyObject
*_wrap_PyShape_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5650 PyObject
*resultobj
;
5651 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5654 bool arg4
= (bool) true ;
5655 PyObject
* obj0
= 0 ;
5656 PyObject
* obj1
= 0 ;
5657 PyObject
* obj2
= 0 ;
5658 PyObject
* obj3
= 0 ;
5660 (char *) "self",(char *) "x",(char *) "y",(char *) "recursive", NULL
5663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyShape_SetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5666 arg2
= (double)SWIG_As_double(obj1
);
5667 if (PyErr_Occurred()) SWIG_fail
;
5668 arg3
= (double)SWIG_As_double(obj2
);
5669 if (PyErr_Occurred()) SWIG_fail
;
5671 arg4
= (bool)SWIG_As_bool(obj3
);
5672 if (PyErr_Occurred()) SWIG_fail
;
5675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5676 (arg1
)->SetSize(arg2
,arg3
,arg4
);
5678 wxPyEndAllowThreads(__tstate
);
5679 if (PyErr_Occurred()) SWIG_fail
;
5681 Py_INCREF(Py_None
); resultobj
= Py_None
;
5688 static PyObject
*_wrap_PyShape_SetAttachmentSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5689 PyObject
*resultobj
;
5690 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5693 PyObject
* obj0
= 0 ;
5694 PyObject
* obj1
= 0 ;
5695 PyObject
* obj2
= 0 ;
5697 (char *) "self",(char *) "x",(char *) "y", NULL
5700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShape_SetAttachmentSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5703 arg2
= (double)SWIG_As_double(obj1
);
5704 if (PyErr_Occurred()) SWIG_fail
;
5705 arg3
= (double)SWIG_As_double(obj2
);
5706 if (PyErr_Occurred()) SWIG_fail
;
5708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5709 (arg1
)->SetAttachmentSize(arg2
,arg3
);
5711 wxPyEndAllowThreads(__tstate
);
5712 if (PyErr_Occurred()) SWIG_fail
;
5714 Py_INCREF(Py_None
); resultobj
= Py_None
;
5721 static PyObject
*_wrap_PyShape_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5722 PyObject
*resultobj
;
5723 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5724 wxPyShapeCanvas
*arg2
= (wxPyShapeCanvas
*) 0 ;
5725 PyObject
* obj0
= 0 ;
5726 PyObject
* obj1
= 0 ;
5728 (char *) "self",(char *) "can", NULL
5731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
5732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5734 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShapeCanvas
,
5735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5738 (arg1
)->Attach(arg2
);
5740 wxPyEndAllowThreads(__tstate
);
5741 if (PyErr_Occurred()) SWIG_fail
;
5743 Py_INCREF(Py_None
); resultobj
= Py_None
;
5750 static PyObject
*_wrap_PyShape_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5751 PyObject
*resultobj
;
5752 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5753 PyObject
* obj0
= 0 ;
5755 (char *) "self", NULL
5758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_Detach",kwnames
,&obj0
)) goto fail
;
5759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5765 wxPyEndAllowThreads(__tstate
);
5766 if (PyErr_Occurred()) SWIG_fail
;
5768 Py_INCREF(Py_None
); resultobj
= Py_None
;
5775 static PyObject
*_wrap_PyShape_Constrain(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5776 PyObject
*resultobj
;
5777 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5779 PyObject
* obj0
= 0 ;
5781 (char *) "self", NULL
5784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_Constrain",kwnames
,&obj0
)) goto fail
;
5785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5789 result
= (bool)(arg1
)->Constrain();
5791 wxPyEndAllowThreads(__tstate
);
5792 if (PyErr_Occurred()) SWIG_fail
;
5795 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5803 static PyObject
*_wrap_PyShape_AddLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5804 PyObject
*resultobj
;
5805 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5806 wxPyLineShape
*arg2
= (wxPyLineShape
*) 0 ;
5807 wxPyShape
*arg3
= (wxPyShape
*) 0 ;
5808 int arg4
= (int) 0 ;
5809 int arg5
= (int) 0 ;
5810 int arg6
= (int) -1 ;
5811 int arg7
= (int) -1 ;
5812 PyObject
* obj0
= 0 ;
5813 PyObject
* obj1
= 0 ;
5814 PyObject
* obj2
= 0 ;
5815 PyObject
* obj3
= 0 ;
5816 PyObject
* obj4
= 0 ;
5817 PyObject
* obj5
= 0 ;
5818 PyObject
* obj6
= 0 ;
5820 (char *) "self",(char *) "line",(char *) "other",(char *) "attachFrom",(char *) "attachTo",(char *) "positionFrom",(char *) "positionTo", NULL
5823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:PyShape_AddLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5826 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyLineShape
,
5827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5828 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyShape
,
5829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5831 arg4
= (int)SWIG_As_int(obj3
);
5832 if (PyErr_Occurred()) SWIG_fail
;
5835 arg5
= (int)SWIG_As_int(obj4
);
5836 if (PyErr_Occurred()) SWIG_fail
;
5839 arg6
= (int)SWIG_As_int(obj5
);
5840 if (PyErr_Occurred()) SWIG_fail
;
5843 arg7
= (int)SWIG_As_int(obj6
);
5844 if (PyErr_Occurred()) SWIG_fail
;
5847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5848 (arg1
)->AddLine(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
5850 wxPyEndAllowThreads(__tstate
);
5851 if (PyErr_Occurred()) SWIG_fail
;
5853 Py_INCREF(Py_None
); resultobj
= Py_None
;
5860 static PyObject
*_wrap_PyShape_GetLinePosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5861 PyObject
*resultobj
;
5862 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5863 wxPyLineShape
*arg2
= (wxPyLineShape
*) 0 ;
5865 PyObject
* obj0
= 0 ;
5866 PyObject
* obj1
= 0 ;
5868 (char *) "self",(char *) "line", NULL
5871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_GetLinePosition",kwnames
,&obj0
,&obj1
)) goto fail
;
5872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5874 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyLineShape
,
5875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5878 result
= (int)(arg1
)->GetLinePosition(arg2
);
5880 wxPyEndAllowThreads(__tstate
);
5881 if (PyErr_Occurred()) SWIG_fail
;
5883 resultobj
= SWIG_From_int((int)result
);
5890 static PyObject
*_wrap_PyShape_AddText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5891 PyObject
*resultobj
;
5892 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5893 wxString
*arg2
= 0 ;
5894 bool temp2
= false ;
5895 PyObject
* obj0
= 0 ;
5896 PyObject
* obj1
= 0 ;
5898 (char *) "self",(char *) "string", NULL
5901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_AddText",kwnames
,&obj0
,&obj1
)) goto fail
;
5902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5905 arg2
= wxString_in_helper(obj1
);
5906 if (arg2
== NULL
) SWIG_fail
;
5910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5911 (arg1
)->AddText((wxString
const &)*arg2
);
5913 wxPyEndAllowThreads(__tstate
);
5914 if (PyErr_Occurred()) SWIG_fail
;
5916 Py_INCREF(Py_None
); resultobj
= Py_None
;
5931 static PyObject
*_wrap_PyShape_GetPen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5932 PyObject
*resultobj
;
5933 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5935 PyObject
* obj0
= 0 ;
5937 (char *) "self", NULL
5940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetPen",kwnames
,&obj0
)) goto fail
;
5941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5945 result
= (wxPen
*)(arg1
)->GetPen();
5947 wxPyEndAllowThreads(__tstate
);
5948 if (PyErr_Occurred()) SWIG_fail
;
5950 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 0);
5957 static PyObject
*_wrap_PyShape_GetBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5958 PyObject
*resultobj
;
5959 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5961 PyObject
* obj0
= 0 ;
5963 (char *) "self", NULL
5966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetBrush",kwnames
,&obj0
)) goto fail
;
5967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5971 result
= (wxBrush
*)(arg1
)->GetBrush();
5973 wxPyEndAllowThreads(__tstate
);
5974 if (PyErr_Occurred()) SWIG_fail
;
5976 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 0);
5983 static PyObject
*_wrap_PyShape_SetDefaultRegionSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5984 PyObject
*resultobj
;
5985 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5986 PyObject
* obj0
= 0 ;
5988 (char *) "self", NULL
5991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_SetDefaultRegionSize",kwnames
,&obj0
)) goto fail
;
5992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5996 (arg1
)->SetDefaultRegionSize();
5998 wxPyEndAllowThreads(__tstate
);
5999 if (PyErr_Occurred()) SWIG_fail
;
6001 Py_INCREF(Py_None
); resultobj
= Py_None
;
6008 static PyObject
*_wrap_PyShape_FormatText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6009 PyObject
*resultobj
;
6010 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6012 wxString
*arg3
= 0 ;
6013 int arg4
= (int) 0 ;
6014 bool temp3
= false ;
6015 PyObject
* obj0
= 0 ;
6016 PyObject
* obj1
= 0 ;
6017 PyObject
* obj2
= 0 ;
6018 PyObject
* obj3
= 0 ;
6020 (char *) "self",(char *) "dc",(char *) "s",(char *) "regionId", NULL
6023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyShape_FormatText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6026 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
6027 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6030 PyErr_SetString(PyExc_TypeError
,"null reference");
6034 arg3
= wxString_in_helper(obj2
);
6035 if (arg3
== NULL
) SWIG_fail
;
6039 arg4
= (int)SWIG_As_int(obj3
);
6040 if (PyErr_Occurred()) SWIG_fail
;
6043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6044 (arg1
)->FormatText(*arg2
,(wxString
const &)*arg3
,arg4
);
6046 wxPyEndAllowThreads(__tstate
);
6047 if (PyErr_Occurred()) SWIG_fail
;
6049 Py_INCREF(Py_None
); resultobj
= Py_None
;
6064 static PyObject
*_wrap_PyShape_SetFormatMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6065 PyObject
*resultobj
;
6066 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6068 int arg3
= (int) 0 ;
6069 PyObject
* obj0
= 0 ;
6070 PyObject
* obj1
= 0 ;
6071 PyObject
* obj2
= 0 ;
6073 (char *) "self",(char *) "mode",(char *) "regionId", NULL
6076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShape_SetFormatMode",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6079 arg2
= (int)SWIG_As_int(obj1
);
6080 if (PyErr_Occurred()) SWIG_fail
;
6082 arg3
= (int)SWIG_As_int(obj2
);
6083 if (PyErr_Occurred()) SWIG_fail
;
6086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6087 (arg1
)->SetFormatMode(arg2
,arg3
);
6089 wxPyEndAllowThreads(__tstate
);
6090 if (PyErr_Occurred()) SWIG_fail
;
6092 Py_INCREF(Py_None
); resultobj
= Py_None
;
6099 static PyObject
*_wrap_PyShape_GetFormatMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6100 PyObject
*resultobj
;
6101 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6102 int arg2
= (int) 0 ;
6104 PyObject
* obj0
= 0 ;
6105 PyObject
* obj1
= 0 ;
6107 (char *) "self",(char *) "regionId", NULL
6110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyShape_GetFormatMode",kwnames
,&obj0
,&obj1
)) goto fail
;
6111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6114 arg2
= (int)SWIG_As_int(obj1
);
6115 if (PyErr_Occurred()) SWIG_fail
;
6118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6119 result
= (int)(arg1
)->GetFormatMode(arg2
);
6121 wxPyEndAllowThreads(__tstate
);
6122 if (PyErr_Occurred()) SWIG_fail
;
6124 resultobj
= SWIG_From_int((int)result
);
6131 static PyObject
*_wrap_PyShape_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6132 PyObject
*resultobj
;
6133 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6134 wxFont
*arg2
= (wxFont
*) 0 ;
6135 int arg3
= (int) 0 ;
6136 PyObject
* obj0
= 0 ;
6137 PyObject
* obj1
= 0 ;
6138 PyObject
* obj2
= 0 ;
6140 (char *) "self",(char *) "font",(char *) "regionId", NULL
6143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShape_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6149 if (obj1
== Py_None
) {
6152 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxFont"))) {
6153 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxFont.");
6158 arg2
= wxTheFontList
->FindOrCreateFont(temp
->GetPointSize(),
6162 temp
->GetUnderlined(),
6163 temp
->GetFaceName(),
6164 temp
->GetEncoding());
6169 arg3
= (int)SWIG_As_int(obj2
);
6170 if (PyErr_Occurred()) SWIG_fail
;
6173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6174 (arg1
)->SetFont(arg2
,arg3
);
6176 wxPyEndAllowThreads(__tstate
);
6177 if (PyErr_Occurred()) SWIG_fail
;
6179 Py_INCREF(Py_None
); resultobj
= Py_None
;
6186 static PyObject
*_wrap_PyShape_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6187 PyObject
*resultobj
;
6188 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6189 int arg2
= (int) 0 ;
6191 PyObject
* obj0
= 0 ;
6192 PyObject
* obj1
= 0 ;
6194 (char *) "self",(char *) "regionId", NULL
6197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyShape_GetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
6198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6201 arg2
= (int)SWIG_As_int(obj1
);
6202 if (PyErr_Occurred()) SWIG_fail
;
6205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6206 result
= (wxFont
*)(arg1
)->GetFont(arg2
);
6208 wxPyEndAllowThreads(__tstate
);
6209 if (PyErr_Occurred()) SWIG_fail
;
6211 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
6218 static PyObject
*_wrap_PyShape_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6219 PyObject
*resultobj
;
6220 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6221 wxString
*arg2
= 0 ;
6222 int arg3
= (int) 0 ;
6223 bool temp2
= false ;
6224 PyObject
* obj0
= 0 ;
6225 PyObject
* obj1
= 0 ;
6226 PyObject
* obj2
= 0 ;
6228 (char *) "self",(char *) "colour",(char *) "regionId", NULL
6231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShape_SetTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6235 arg2
= wxString_in_helper(obj1
);
6236 if (arg2
== NULL
) SWIG_fail
;
6240 arg3
= (int)SWIG_As_int(obj2
);
6241 if (PyErr_Occurred()) SWIG_fail
;
6244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6245 (arg1
)->SetTextColour((wxString
const &)*arg2
,arg3
);
6247 wxPyEndAllowThreads(__tstate
);
6248 if (PyErr_Occurred()) SWIG_fail
;
6250 Py_INCREF(Py_None
); resultobj
= Py_None
;
6265 static PyObject
*_wrap_PyShape_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6266 PyObject
*resultobj
;
6267 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6268 int arg2
= (int) 0 ;
6270 PyObject
* obj0
= 0 ;
6271 PyObject
* obj1
= 0 ;
6273 (char *) "self",(char *) "regionId", NULL
6276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyShape_GetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
6277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6280 arg2
= (int)SWIG_As_int(obj1
);
6281 if (PyErr_Occurred()) SWIG_fail
;
6284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6285 result
= (arg1
)->GetTextColour(arg2
);
6287 wxPyEndAllowThreads(__tstate
);
6288 if (PyErr_Occurred()) SWIG_fail
;
6292 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6294 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6303 static PyObject
*_wrap_PyShape_GetNumberOfTextRegions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6304 PyObject
*resultobj
;
6305 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6307 PyObject
* obj0
= 0 ;
6309 (char *) "self", NULL
6312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetNumberOfTextRegions",kwnames
,&obj0
)) goto fail
;
6313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6317 result
= (int)(arg1
)->GetNumberOfTextRegions();
6319 wxPyEndAllowThreads(__tstate
);
6320 if (PyErr_Occurred()) SWIG_fail
;
6322 resultobj
= SWIG_From_int((int)result
);
6329 static PyObject
*_wrap_PyShape_SetRegionName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6330 PyObject
*resultobj
;
6331 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6332 wxString
*arg2
= 0 ;
6333 int arg3
= (int) 0 ;
6334 bool temp2
= false ;
6335 PyObject
* obj0
= 0 ;
6336 PyObject
* obj1
= 0 ;
6337 PyObject
* obj2
= 0 ;
6339 (char *) "self",(char *) "name",(char *) "regionId", NULL
6342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShape_SetRegionName",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6346 arg2
= wxString_in_helper(obj1
);
6347 if (arg2
== NULL
) SWIG_fail
;
6351 arg3
= (int)SWIG_As_int(obj2
);
6352 if (PyErr_Occurred()) SWIG_fail
;
6355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6356 (arg1
)->SetRegionName((wxString
const &)*arg2
,arg3
);
6358 wxPyEndAllowThreads(__tstate
);
6359 if (PyErr_Occurred()) SWIG_fail
;
6361 Py_INCREF(Py_None
); resultobj
= Py_None
;
6376 static PyObject
*_wrap_PyShape_GetRegionName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6377 PyObject
*resultobj
;
6378 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6381 PyObject
* obj0
= 0 ;
6382 PyObject
* obj1
= 0 ;
6384 (char *) "self",(char *) "regionId", NULL
6387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_GetRegionName",kwnames
,&obj0
,&obj1
)) goto fail
;
6388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6390 arg2
= (int)SWIG_As_int(obj1
);
6391 if (PyErr_Occurred()) SWIG_fail
;
6393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6394 result
= (arg1
)->GetRegionName(arg2
);
6396 wxPyEndAllowThreads(__tstate
);
6397 if (PyErr_Occurred()) SWIG_fail
;
6401 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6403 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6412 static PyObject
*_wrap_PyShape_GetRegionId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6413 PyObject
*resultobj
;
6414 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6415 wxString
*arg2
= 0 ;
6417 bool temp2
= false ;
6418 PyObject
* obj0
= 0 ;
6419 PyObject
* obj1
= 0 ;
6421 (char *) "self",(char *) "name", NULL
6424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_GetRegionId",kwnames
,&obj0
,&obj1
)) goto fail
;
6425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6428 arg2
= wxString_in_helper(obj1
);
6429 if (arg2
== NULL
) SWIG_fail
;
6433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6434 result
= (int)(arg1
)->GetRegionId((wxString
const &)*arg2
);
6436 wxPyEndAllowThreads(__tstate
);
6437 if (PyErr_Occurred()) SWIG_fail
;
6439 resultobj
= SWIG_From_int((int)result
);
6454 static PyObject
*_wrap_PyShape_NameRegions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6455 PyObject
*resultobj
;
6456 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6457 wxString
const &arg2_defvalue
= wxPyEmptyString
;
6458 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
6459 bool temp2
= false ;
6460 PyObject
* obj0
= 0 ;
6461 PyObject
* obj1
= 0 ;
6463 (char *) "self",(char *) "parentName", NULL
6466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyShape_NameRegions",kwnames
,&obj0
,&obj1
)) goto fail
;
6467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6471 arg2
= wxString_in_helper(obj1
);
6472 if (arg2
== NULL
) SWIG_fail
;
6477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6478 (arg1
)->NameRegions((wxString
const &)*arg2
);
6480 wxPyEndAllowThreads(__tstate
);
6481 if (PyErr_Occurred()) SWIG_fail
;
6483 Py_INCREF(Py_None
); resultobj
= Py_None
;
6498 static PyObject
*_wrap_PyShape_GetRegions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6499 PyObject
*resultobj
;
6500 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6502 PyObject
* obj0
= 0 ;
6504 (char *) "self", NULL
6507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetRegions",kwnames
,&obj0
)) goto fail
;
6508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6512 result
= (PyObject
*)wxPyShape_GetRegions(arg1
);
6514 wxPyEndAllowThreads(__tstate
);
6515 if (PyErr_Occurred()) SWIG_fail
;
6524 static PyObject
*_wrap_PyShape_AddRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6525 PyObject
*resultobj
;
6526 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6527 wxShapeRegion
*arg2
= (wxShapeRegion
*) 0 ;
6528 PyObject
* obj0
= 0 ;
6529 PyObject
* obj1
= 0 ;
6531 (char *) "self",(char *) "region", NULL
6534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_AddRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
6535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6537 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxShapeRegion
,
6538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6541 (arg1
)->AddRegion(arg2
);
6543 wxPyEndAllowThreads(__tstate
);
6544 if (PyErr_Occurred()) SWIG_fail
;
6546 Py_INCREF(Py_None
); resultobj
= Py_None
;
6553 static PyObject
*_wrap_PyShape_ClearRegions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6554 PyObject
*resultobj
;
6555 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6556 PyObject
* obj0
= 0 ;
6558 (char *) "self", NULL
6561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_ClearRegions",kwnames
,&obj0
)) goto fail
;
6562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6566 (arg1
)->ClearRegions();
6568 wxPyEndAllowThreads(__tstate
);
6569 if (PyErr_Occurred()) SWIG_fail
;
6571 Py_INCREF(Py_None
); resultobj
= Py_None
;
6578 static PyObject
*_wrap_PyShape_AssignNewIds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6579 PyObject
*resultobj
;
6580 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6581 PyObject
* obj0
= 0 ;
6583 (char *) "self", NULL
6586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_AssignNewIds",kwnames
,&obj0
)) goto fail
;
6587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6591 (arg1
)->AssignNewIds();
6593 wxPyEndAllowThreads(__tstate
);
6594 if (PyErr_Occurred()) SWIG_fail
;
6596 Py_INCREF(Py_None
); resultobj
= Py_None
;
6603 static PyObject
*_wrap_PyShape_FindRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6604 PyObject
*resultobj
;
6605 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6606 wxString
*arg2
= 0 ;
6607 int *arg3
= (int *) 0 ;
6609 bool temp2
= false ;
6612 PyObject
* obj0
= 0 ;
6613 PyObject
* obj1
= 0 ;
6615 (char *) "self",(char *) "regionName", NULL
6618 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
6619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_FindRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
6620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6623 arg2
= wxString_in_helper(obj1
);
6624 if (arg2
== NULL
) SWIG_fail
;
6628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6629 result
= (wxPyShape
*)(arg1
)->FindRegion((wxString
const &)*arg2
,arg3
);
6631 wxPyEndAllowThreads(__tstate
);
6632 if (PyErr_Occurred()) SWIG_fail
;
6635 resultobj
= wxPyMake_wxShapeEvtHandler(result
, 0);
6637 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
6638 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
6653 static PyObject
*_wrap_PyShape_FindRegionNames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6654 PyObject
*resultobj
;
6655 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6656 wxStringList
*arg2
= 0 ;
6657 PyObject
* obj0
= 0 ;
6658 PyObject
* obj1
= 0 ;
6660 (char *) "self",(char *) "list", NULL
6663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_FindRegionNames",kwnames
,&obj0
,&obj1
)) goto fail
;
6664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6666 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxStringList
,
6667 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6670 PyErr_SetString(PyExc_TypeError
,"null reference");
6674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6675 (arg1
)->FindRegionNames(*arg2
);
6677 wxPyEndAllowThreads(__tstate
);
6678 if (PyErr_Occurred()) SWIG_fail
;
6680 Py_INCREF(Py_None
); resultobj
= Py_None
;
6687 static PyObject
*_wrap_PyShape_ClearText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6688 PyObject
*resultobj
;
6689 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6690 int arg2
= (int) 0 ;
6691 PyObject
* obj0
= 0 ;
6692 PyObject
* obj1
= 0 ;
6694 (char *) "self",(char *) "regionId", NULL
6697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyShape_ClearText",kwnames
,&obj0
,&obj1
)) goto fail
;
6698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6701 arg2
= (int)SWIG_As_int(obj1
);
6702 if (PyErr_Occurred()) SWIG_fail
;
6705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6706 (arg1
)->ClearText(arg2
);
6708 wxPyEndAllowThreads(__tstate
);
6709 if (PyErr_Occurred()) SWIG_fail
;
6711 Py_INCREF(Py_None
); resultobj
= Py_None
;
6718 static PyObject
*_wrap_PyShape_RemoveLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6719 PyObject
*resultobj
;
6720 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6721 wxPyLineShape
*arg2
= (wxPyLineShape
*) 0 ;
6722 PyObject
* obj0
= 0 ;
6723 PyObject
* obj1
= 0 ;
6725 (char *) "self",(char *) "line", NULL
6728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_RemoveLine",kwnames
,&obj0
,&obj1
)) goto fail
;
6729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6731 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyLineShape
,
6732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6735 (arg1
)->RemoveLine(arg2
);
6737 wxPyEndAllowThreads(__tstate
);
6738 if (PyErr_Occurred()) SWIG_fail
;
6740 Py_INCREF(Py_None
); resultobj
= Py_None
;
6747 static PyObject
*_wrap_PyShape_GetAttachmentPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6748 PyObject
*resultobj
;
6749 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6751 double *arg3
= (double *) 0 ;
6752 double *arg4
= (double *) 0 ;
6753 int arg5
= (int) 0 ;
6754 int arg6
= (int) 1 ;
6755 wxPyLineShape
*arg7
= (wxPyLineShape
*) NULL
;
6761 PyObject
* obj0
= 0 ;
6762 PyObject
* obj1
= 0 ;
6763 PyObject
* obj2
= 0 ;
6764 PyObject
* obj3
= 0 ;
6765 PyObject
* obj4
= 0 ;
6767 (char *) "self",(char *) "attachment",(char *) "nth",(char *) "no_arcs",(char *) "line", NULL
6770 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
6771 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
6772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:PyShape_GetAttachmentPosition",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6775 arg2
= (int)SWIG_As_int(obj1
);
6776 if (PyErr_Occurred()) SWIG_fail
;
6778 arg5
= (int)SWIG_As_int(obj2
);
6779 if (PyErr_Occurred()) SWIG_fail
;
6782 arg6
= (int)SWIG_As_int(obj3
);
6783 if (PyErr_Occurred()) SWIG_fail
;
6786 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg7
),SWIGTYPE_p_wxPyLineShape
,
6787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6791 result
= (bool)(arg1
)->GetAttachmentPosition(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
6793 wxPyEndAllowThreads(__tstate
);
6794 if (PyErr_Occurred()) SWIG_fail
;
6797 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6799 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
6800 SWIG_From_double((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, 0)));
6801 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
6802 SWIG_From_double((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_double
, 0)));
6809 static PyObject
*_wrap_PyShape_GetNumberOfAttachments(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6810 PyObject
*resultobj
;
6811 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6813 PyObject
* obj0
= 0 ;
6815 (char *) "self", NULL
6818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetNumberOfAttachments",kwnames
,&obj0
)) goto fail
;
6819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6823 result
= (int)(arg1
)->GetNumberOfAttachments();
6825 wxPyEndAllowThreads(__tstate
);
6826 if (PyErr_Occurred()) SWIG_fail
;
6828 resultobj
= SWIG_From_int((int)result
);
6835 static PyObject
*_wrap_PyShape_AttachmentIsValid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6836 PyObject
*resultobj
;
6837 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6840 PyObject
* obj0
= 0 ;
6841 PyObject
* obj1
= 0 ;
6843 (char *) "self",(char *) "attachment", NULL
6846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_AttachmentIsValid",kwnames
,&obj0
,&obj1
)) goto fail
;
6847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6849 arg2
= (int)SWIG_As_int(obj1
);
6850 if (PyErr_Occurred()) SWIG_fail
;
6852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6853 result
= (bool)(arg1
)->AttachmentIsValid(arg2
);
6855 wxPyEndAllowThreads(__tstate
);
6856 if (PyErr_Occurred()) SWIG_fail
;
6859 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6867 static PyObject
*_wrap_PyShape_GetAttachments(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6868 PyObject
*resultobj
;
6869 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6871 PyObject
* obj0
= 0 ;
6873 (char *) "self", NULL
6876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetAttachments",kwnames
,&obj0
)) goto fail
;
6877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6881 result
= (PyObject
*)wxPyShape_GetAttachments(arg1
);
6883 wxPyEndAllowThreads(__tstate
);
6884 if (PyErr_Occurred()) SWIG_fail
;
6893 static PyObject
*_wrap_PyShape_GetAttachmentPositionEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6894 PyObject
*resultobj
;
6895 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6897 double *arg3
= (double *) 0 ;
6898 double *arg4
= (double *) 0 ;
6899 int arg5
= (int) 0 ;
6900 int arg6
= (int) 1 ;
6901 wxPyLineShape
*arg7
= (wxPyLineShape
*) NULL
;
6907 PyObject
* obj0
= 0 ;
6908 PyObject
* obj1
= 0 ;
6909 PyObject
* obj2
= 0 ;
6910 PyObject
* obj3
= 0 ;
6911 PyObject
* obj4
= 0 ;
6913 (char *) "self",(char *) "attachment",(char *) "nth",(char *) "no_arcs",(char *) "line", NULL
6916 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
6917 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
6918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:PyShape_GetAttachmentPositionEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6921 arg2
= (int)SWIG_As_int(obj1
);
6922 if (PyErr_Occurred()) SWIG_fail
;
6924 arg5
= (int)SWIG_As_int(obj2
);
6925 if (PyErr_Occurred()) SWIG_fail
;
6928 arg6
= (int)SWIG_As_int(obj3
);
6929 if (PyErr_Occurred()) SWIG_fail
;
6932 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg7
),SWIGTYPE_p_wxPyLineShape
,
6933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6937 result
= (bool)(arg1
)->GetAttachmentPositionEdge(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
6939 wxPyEndAllowThreads(__tstate
);
6940 if (PyErr_Occurred()) SWIG_fail
;
6943 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6945 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
6946 SWIG_From_double((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, 0)));
6947 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
6948 SWIG_From_double((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_double
, 0)));
6955 static PyObject
*_wrap_PyShape_CalcSimpleAttachment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6956 PyObject
*resultobj
;
6957 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6958 wxRealPoint
*arg2
= 0 ;
6959 wxRealPoint
*arg3
= 0 ;
6962 wxPyLineShape
*arg6
= (wxPyLineShape
*) 0 ;
6966 PyObject
* obj0
= 0 ;
6967 PyObject
* obj1
= 0 ;
6968 PyObject
* obj2
= 0 ;
6969 PyObject
* obj3
= 0 ;
6970 PyObject
* obj4
= 0 ;
6971 PyObject
* obj5
= 0 ;
6973 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "nth",(char *) "noArcs",(char *) "line", NULL
6976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyShape_CalcSimpleAttachment",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
6977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6981 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6985 if ( ! wxRealPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6987 arg4
= (int)SWIG_As_int(obj3
);
6988 if (PyErr_Occurred()) SWIG_fail
;
6989 arg5
= (int)SWIG_As_int(obj4
);
6990 if (PyErr_Occurred()) SWIG_fail
;
6991 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxPyLineShape
,
6992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6995 result
= (arg1
)->CalcSimpleAttachment((wxRealPoint
const &)*arg2
,(wxRealPoint
const &)*arg3
,arg4
,arg5
,arg6
);
6997 wxPyEndAllowThreads(__tstate
);
6998 if (PyErr_Occurred()) SWIG_fail
;
7001 wxRealPoint
* resultptr
;
7002 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
7003 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
7011 static PyObject
*_wrap_PyShape_AttachmentSortTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7012 PyObject
*resultobj
;
7013 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7015 wxRealPoint
*arg3
= 0 ;
7016 wxRealPoint
*arg4
= 0 ;
7020 PyObject
* obj0
= 0 ;
7021 PyObject
* obj1
= 0 ;
7022 PyObject
* obj2
= 0 ;
7023 PyObject
* obj3
= 0 ;
7025 (char *) "self",(char *) "attachmentPoint",(char *) "pt1",(char *) "pt2", NULL
7028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyShape_AttachmentSortTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7031 arg2
= (int)SWIG_As_int(obj1
);
7032 if (PyErr_Occurred()) SWIG_fail
;
7035 if ( ! wxRealPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7039 if ( ! wxRealPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7043 result
= (bool)(arg1
)->AttachmentSortTest(arg2
,(wxRealPoint
const &)*arg3
,(wxRealPoint
const &)*arg4
);
7045 wxPyEndAllowThreads(__tstate
);
7046 if (PyErr_Occurred()) SWIG_fail
;
7049 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7057 static PyObject
*_wrap_PyShape_EraseLinks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7058 PyObject
*resultobj
;
7059 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7061 int arg3
= (int) -1 ;
7062 bool arg4
= (bool) false ;
7063 PyObject
* obj0
= 0 ;
7064 PyObject
* obj1
= 0 ;
7065 PyObject
* obj2
= 0 ;
7066 PyObject
* obj3
= 0 ;
7068 (char *) "self",(char *) "dc",(char *) "attachment",(char *) "recurse", NULL
7071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:PyShape_EraseLinks",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7074 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
7075 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7078 PyErr_SetString(PyExc_TypeError
,"null reference");
7082 arg3
= (int)SWIG_As_int(obj2
);
7083 if (PyErr_Occurred()) SWIG_fail
;
7086 arg4
= (bool)SWIG_As_bool(obj3
);
7087 if (PyErr_Occurred()) SWIG_fail
;
7090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7091 (arg1
)->EraseLinks(*arg2
,arg3
,arg4
);
7093 wxPyEndAllowThreads(__tstate
);
7094 if (PyErr_Occurred()) SWIG_fail
;
7096 Py_INCREF(Py_None
); resultobj
= Py_None
;
7103 static PyObject
*_wrap_PyShape_DrawLinks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7104 PyObject
*resultobj
;
7105 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7107 int arg3
= (int) -1 ;
7108 bool arg4
= (bool) false ;
7109 PyObject
* obj0
= 0 ;
7110 PyObject
* obj1
= 0 ;
7111 PyObject
* obj2
= 0 ;
7112 PyObject
* obj3
= 0 ;
7114 (char *) "self",(char *) "dc",(char *) "attachment",(char *) "recurse", NULL
7117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:PyShape_DrawLinks",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7120 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
7121 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7124 PyErr_SetString(PyExc_TypeError
,"null reference");
7128 arg3
= (int)SWIG_As_int(obj2
);
7129 if (PyErr_Occurred()) SWIG_fail
;
7132 arg4
= (bool)SWIG_As_bool(obj3
);
7133 if (PyErr_Occurred()) SWIG_fail
;
7136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7137 (arg1
)->DrawLinks(*arg2
,arg3
,arg4
);
7139 wxPyEndAllowThreads(__tstate
);
7140 if (PyErr_Occurred()) SWIG_fail
;
7142 Py_INCREF(Py_None
); resultobj
= Py_None
;
7149 static PyObject
*_wrap_PyShape_MoveLineToNewAttachment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7150 PyObject
*resultobj
;
7151 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7153 wxPyLineShape
*arg3
= (wxPyLineShape
*) 0 ;
7157 PyObject
* obj0
= 0 ;
7158 PyObject
* obj1
= 0 ;
7159 PyObject
* obj2
= 0 ;
7160 PyObject
* obj3
= 0 ;
7161 PyObject
* obj4
= 0 ;
7163 (char *) "self",(char *) "dc",(char *) "to_move",(char *) "x",(char *) "y", NULL
7166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyShape_MoveLineToNewAttachment",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
7167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7169 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
7170 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7173 PyErr_SetString(PyExc_TypeError
,"null reference");
7176 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyLineShape
,
7177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7178 arg4
= (double)SWIG_As_double(obj3
);
7179 if (PyErr_Occurred()) SWIG_fail
;
7180 arg5
= (double)SWIG_As_double(obj4
);
7181 if (PyErr_Occurred()) SWIG_fail
;
7183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7184 result
= (bool)(arg1
)->MoveLineToNewAttachment(*arg2
,arg3
,arg4
,arg5
);
7186 wxPyEndAllowThreads(__tstate
);
7187 if (PyErr_Occurred()) SWIG_fail
;
7190 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7198 static PyObject
*_wrap_PyShape_ApplyAttachmentOrdering(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7199 PyObject
*resultobj
;
7200 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7201 PyObject
*arg2
= (PyObject
*) 0 ;
7202 PyObject
* obj0
= 0 ;
7203 PyObject
* obj1
= 0 ;
7205 (char *) "self",(char *) "linesToSort", NULL
7208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_ApplyAttachmentOrdering",kwnames
,&obj0
,&obj1
)) goto fail
;
7209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7214 wxPyShape_ApplyAttachmentOrdering(arg1
,arg2
);
7216 wxPyEndAllowThreads(__tstate
);
7217 if (PyErr_Occurred()) SWIG_fail
;
7219 Py_INCREF(Py_None
); resultobj
= Py_None
;
7226 static PyObject
*_wrap_PyShape_GetBranchingAttachmentRoot(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7227 PyObject
*resultobj
;
7228 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7231 PyObject
* obj0
= 0 ;
7232 PyObject
* obj1
= 0 ;
7234 (char *) "self",(char *) "attachment", NULL
7237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_GetBranchingAttachmentRoot",kwnames
,&obj0
,&obj1
)) goto fail
;
7238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7240 arg2
= (int)SWIG_As_int(obj1
);
7241 if (PyErr_Occurred()) SWIG_fail
;
7243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7244 result
= (arg1
)->GetBranchingAttachmentRoot(arg2
);
7246 wxPyEndAllowThreads(__tstate
);
7247 if (PyErr_Occurred()) SWIG_fail
;
7250 wxRealPoint
* resultptr
;
7251 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
7252 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
7260 static PyObject
*_wrap_PyShape_GetBranchingAttachmentInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7261 PyObject
*resultobj
;
7262 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7264 wxRealPoint
*arg3
= 0 ;
7265 wxRealPoint
*arg4
= 0 ;
7266 wxRealPoint
*arg5
= 0 ;
7267 wxRealPoint
*arg6
= 0 ;
7273 PyObject
* obj0
= 0 ;
7274 PyObject
* obj1
= 0 ;
7275 PyObject
* obj2
= 0 ;
7276 PyObject
* obj3
= 0 ;
7277 PyObject
* obj4
= 0 ;
7278 PyObject
* obj5
= 0 ;
7280 (char *) "self",(char *) "attachment",(char *) "root",(char *) "neck",(char *) "shoulder1",(char *) "shoulder2", NULL
7283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyShape_GetBranchingAttachmentInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
7284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7286 arg2
= (int)SWIG_As_int(obj1
);
7287 if (PyErr_Occurred()) SWIG_fail
;
7290 if ( ! wxRealPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7294 if ( ! wxRealPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7298 if ( ! wxRealPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7302 if ( ! wxRealPoint_helper(obj5
, &arg6
)) SWIG_fail
;
7305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7306 result
= (bool)(arg1
)->GetBranchingAttachmentInfo(arg2
,*arg3
,*arg4
,*arg5
,*arg6
);
7308 wxPyEndAllowThreads(__tstate
);
7309 if (PyErr_Occurred()) SWIG_fail
;
7312 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7320 static PyObject
*_wrap_PyShape_GetBranchingAttachmentPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7321 PyObject
*resultobj
;
7322 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7325 wxRealPoint
*arg4
= 0 ;
7326 wxRealPoint
*arg5
= 0 ;
7330 PyObject
* obj0
= 0 ;
7331 PyObject
* obj1
= 0 ;
7332 PyObject
* obj2
= 0 ;
7333 PyObject
* obj3
= 0 ;
7334 PyObject
* obj4
= 0 ;
7336 (char *) "self",(char *) "attachment",(char *) "n",(char *) "attachmentPoint",(char *) "stemPoint", NULL
7339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyShape_GetBranchingAttachmentPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
7340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7342 arg2
= (int)SWIG_As_int(obj1
);
7343 if (PyErr_Occurred()) SWIG_fail
;
7344 arg3
= (int)SWIG_As_int(obj2
);
7345 if (PyErr_Occurred()) SWIG_fail
;
7348 if ( ! wxRealPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7352 if ( ! wxRealPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7356 result
= (bool)(arg1
)->GetBranchingAttachmentPoint(arg2
,arg3
,*arg4
,*arg5
);
7358 wxPyEndAllowThreads(__tstate
);
7359 if (PyErr_Occurred()) SWIG_fail
;
7362 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7370 static PyObject
*_wrap_PyShape_GetAttachmentLineCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7371 PyObject
*resultobj
;
7372 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7375 PyObject
* obj0
= 0 ;
7376 PyObject
* obj1
= 0 ;
7378 (char *) "self",(char *) "attachment", NULL
7381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_GetAttachmentLineCount",kwnames
,&obj0
,&obj1
)) goto fail
;
7382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7384 arg2
= (int)SWIG_As_int(obj1
);
7385 if (PyErr_Occurred()) SWIG_fail
;
7387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7388 result
= (int)(arg1
)->GetAttachmentLineCount(arg2
);
7390 wxPyEndAllowThreads(__tstate
);
7391 if (PyErr_Occurred()) SWIG_fail
;
7393 resultobj
= SWIG_From_int((int)result
);
7400 static PyObject
*_wrap_PyShape_SetBranchNeckLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7401 PyObject
*resultobj
;
7402 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7404 PyObject
* obj0
= 0 ;
7405 PyObject
* obj1
= 0 ;
7407 (char *) "self",(char *) "len", NULL
7410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetBranchNeckLength",kwnames
,&obj0
,&obj1
)) goto fail
;
7411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7413 arg2
= (int)SWIG_As_int(obj1
);
7414 if (PyErr_Occurred()) SWIG_fail
;
7416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7417 (arg1
)->SetBranchNeckLength(arg2
);
7419 wxPyEndAllowThreads(__tstate
);
7420 if (PyErr_Occurred()) SWIG_fail
;
7422 Py_INCREF(Py_None
); resultobj
= Py_None
;
7429 static PyObject
*_wrap_PyShape_GetBranchNeckLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7430 PyObject
*resultobj
;
7431 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7433 PyObject
* obj0
= 0 ;
7435 (char *) "self", NULL
7438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetBranchNeckLength",kwnames
,&obj0
)) goto fail
;
7439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7443 result
= (int)(arg1
)->GetBranchNeckLength();
7445 wxPyEndAllowThreads(__tstate
);
7446 if (PyErr_Occurred()) SWIG_fail
;
7448 resultobj
= SWIG_From_int((int)result
);
7455 static PyObject
*_wrap_PyShape_SetBranchStemLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7456 PyObject
*resultobj
;
7457 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7459 PyObject
* obj0
= 0 ;
7460 PyObject
* obj1
= 0 ;
7462 (char *) "self",(char *) "len", NULL
7465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetBranchStemLength",kwnames
,&obj0
,&obj1
)) goto fail
;
7466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7468 arg2
= (int)SWIG_As_int(obj1
);
7469 if (PyErr_Occurred()) SWIG_fail
;
7471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7472 (arg1
)->SetBranchStemLength(arg2
);
7474 wxPyEndAllowThreads(__tstate
);
7475 if (PyErr_Occurred()) SWIG_fail
;
7477 Py_INCREF(Py_None
); resultobj
= Py_None
;
7484 static PyObject
*_wrap_PyShape_GetBranchStemLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7485 PyObject
*resultobj
;
7486 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7488 PyObject
* obj0
= 0 ;
7490 (char *) "self", NULL
7493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetBranchStemLength",kwnames
,&obj0
)) goto fail
;
7494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7498 result
= (int)(arg1
)->GetBranchStemLength();
7500 wxPyEndAllowThreads(__tstate
);
7501 if (PyErr_Occurred()) SWIG_fail
;
7503 resultobj
= SWIG_From_int((int)result
);
7510 static PyObject
*_wrap_PyShape_SetBranchSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7511 PyObject
*resultobj
;
7512 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7514 PyObject
* obj0
= 0 ;
7515 PyObject
* obj1
= 0 ;
7517 (char *) "self",(char *) "len", NULL
7520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetBranchSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
7521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7523 arg2
= (int)SWIG_As_int(obj1
);
7524 if (PyErr_Occurred()) SWIG_fail
;
7526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7527 (arg1
)->SetBranchSpacing(arg2
);
7529 wxPyEndAllowThreads(__tstate
);
7530 if (PyErr_Occurred()) SWIG_fail
;
7532 Py_INCREF(Py_None
); resultobj
= Py_None
;
7539 static PyObject
*_wrap_PyShape_GetBranchSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7540 PyObject
*resultobj
;
7541 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7543 PyObject
* obj0
= 0 ;
7545 (char *) "self", NULL
7548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetBranchSpacing",kwnames
,&obj0
)) goto fail
;
7549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7553 result
= (int)(arg1
)->GetBranchSpacing();
7555 wxPyEndAllowThreads(__tstate
);
7556 if (PyErr_Occurred()) SWIG_fail
;
7558 resultobj
= SWIG_From_int((int)result
);
7565 static PyObject
*_wrap_PyShape_SetBranchStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7566 PyObject
*resultobj
;
7567 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7569 PyObject
* obj0
= 0 ;
7570 PyObject
* obj1
= 0 ;
7572 (char *) "self",(char *) "style", NULL
7575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetBranchStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
7576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7578 arg2
= (long)SWIG_As_long(obj1
);
7579 if (PyErr_Occurred()) SWIG_fail
;
7581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7582 (arg1
)->SetBranchStyle(arg2
);
7584 wxPyEndAllowThreads(__tstate
);
7585 if (PyErr_Occurred()) SWIG_fail
;
7587 Py_INCREF(Py_None
); resultobj
= Py_None
;
7594 static PyObject
*_wrap_PyShape_GetBranchStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7595 PyObject
*resultobj
;
7596 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7598 PyObject
* obj0
= 0 ;
7600 (char *) "self", NULL
7603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetBranchStyle",kwnames
,&obj0
)) goto fail
;
7604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7608 result
= (long)(arg1
)->GetBranchStyle();
7610 wxPyEndAllowThreads(__tstate
);
7611 if (PyErr_Occurred()) SWIG_fail
;
7613 resultobj
= SWIG_From_long((long)result
);
7620 static PyObject
*_wrap_PyShape_PhysicalToLogicalAttachment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7621 PyObject
*resultobj
;
7622 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7625 PyObject
* obj0
= 0 ;
7626 PyObject
* obj1
= 0 ;
7628 (char *) "self",(char *) "physicalAttachment", NULL
7631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_PhysicalToLogicalAttachment",kwnames
,&obj0
,&obj1
)) goto fail
;
7632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7634 arg2
= (int)SWIG_As_int(obj1
);
7635 if (PyErr_Occurred()) SWIG_fail
;
7637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7638 result
= (int)(arg1
)->PhysicalToLogicalAttachment(arg2
);
7640 wxPyEndAllowThreads(__tstate
);
7641 if (PyErr_Occurred()) SWIG_fail
;
7643 resultobj
= SWIG_From_int((int)result
);
7650 static PyObject
*_wrap_PyShape_LogicalToPhysicalAttachment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7651 PyObject
*resultobj
;
7652 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7655 PyObject
* obj0
= 0 ;
7656 PyObject
* obj1
= 0 ;
7658 (char *) "self",(char *) "logicalAttachment", NULL
7661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_LogicalToPhysicalAttachment",kwnames
,&obj0
,&obj1
)) goto fail
;
7662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7664 arg2
= (int)SWIG_As_int(obj1
);
7665 if (PyErr_Occurred()) SWIG_fail
;
7667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7668 result
= (int)(arg1
)->LogicalToPhysicalAttachment(arg2
);
7670 wxPyEndAllowThreads(__tstate
);
7671 if (PyErr_Occurred()) SWIG_fail
;
7673 resultobj
= SWIG_From_int((int)result
);
7680 static PyObject
*_wrap_PyShape_Draggable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7681 PyObject
*resultobj
;
7682 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7684 PyObject
* obj0
= 0 ;
7686 (char *) "self", NULL
7689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_Draggable",kwnames
,&obj0
)) goto fail
;
7690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7694 result
= (bool)(arg1
)->Draggable();
7696 wxPyEndAllowThreads(__tstate
);
7697 if (PyErr_Occurred()) SWIG_fail
;
7700 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7708 static PyObject
*_wrap_PyShape_HasDescendant(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7709 PyObject
*resultobj
;
7710 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7711 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
7713 PyObject
* obj0
= 0 ;
7714 PyObject
* obj1
= 0 ;
7716 (char *) "self",(char *) "image", NULL
7719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_HasDescendant",kwnames
,&obj0
,&obj1
)) goto fail
;
7720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7722 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
7723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7726 result
= (bool)(arg1
)->HasDescendant(arg2
);
7728 wxPyEndAllowThreads(__tstate
);
7729 if (PyErr_Occurred()) SWIG_fail
;
7732 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7740 static PyObject
*_wrap_PyShape_CreateNewCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7741 PyObject
*resultobj
;
7742 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7743 bool arg2
= (bool) true ;
7744 bool arg3
= (bool) true ;
7746 PyObject
* obj0
= 0 ;
7747 PyObject
* obj1
= 0 ;
7748 PyObject
* obj2
= 0 ;
7750 (char *) "self",(char *) "resetMapping",(char *) "recompute", NULL
7753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyShape_CreateNewCopy",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7757 arg2
= (bool)SWIG_As_bool(obj1
);
7758 if (PyErr_Occurred()) SWIG_fail
;
7761 arg3
= (bool)SWIG_As_bool(obj2
);
7762 if (PyErr_Occurred()) SWIG_fail
;
7765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7766 result
= (wxPyShape
*)(arg1
)->CreateNewCopy(arg2
,arg3
);
7768 wxPyEndAllowThreads(__tstate
);
7769 if (PyErr_Occurred()) SWIG_fail
;
7772 resultobj
= wxPyMake_wxShapeEvtHandler(result
, 0);
7780 static PyObject
*_wrap_PyShape_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7781 PyObject
*resultobj
;
7782 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7783 wxPyShape
*arg2
= 0 ;
7784 PyObject
* obj0
= 0 ;
7785 PyObject
* obj1
= 0 ;
7787 (char *) "self",(char *) "copy", NULL
7790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_Copy",kwnames
,&obj0
,&obj1
)) goto fail
;
7791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7793 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
7794 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7797 PyErr_SetString(PyExc_TypeError
,"null reference");
7801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7802 (arg1
)->Copy(*arg2
);
7804 wxPyEndAllowThreads(__tstate
);
7805 if (PyErr_Occurred()) SWIG_fail
;
7807 Py_INCREF(Py_None
); resultobj
= Py_None
;
7814 static PyObject
*_wrap_PyShape_CopyWithHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7815 PyObject
*resultobj
;
7816 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7817 wxPyShape
*arg2
= 0 ;
7818 PyObject
* obj0
= 0 ;
7819 PyObject
* obj1
= 0 ;
7821 (char *) "self",(char *) "copy", NULL
7824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_CopyWithHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
7825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7827 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
7828 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7831 PyErr_SetString(PyExc_TypeError
,"null reference");
7835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7836 (arg1
)->CopyWithHandler(*arg2
);
7838 wxPyEndAllowThreads(__tstate
);
7839 if (PyErr_Occurred()) SWIG_fail
;
7841 Py_INCREF(Py_None
); resultobj
= Py_None
;
7848 static PyObject
*_wrap_PyShape_Rotate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7849 PyObject
*resultobj
;
7850 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7854 PyObject
* obj0
= 0 ;
7855 PyObject
* obj1
= 0 ;
7856 PyObject
* obj2
= 0 ;
7857 PyObject
* obj3
= 0 ;
7859 (char *) "self",(char *) "x",(char *) "y",(char *) "theta", NULL
7862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyShape_Rotate",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7865 arg2
= (double)SWIG_As_double(obj1
);
7866 if (PyErr_Occurred()) SWIG_fail
;
7867 arg3
= (double)SWIG_As_double(obj2
);
7868 if (PyErr_Occurred()) SWIG_fail
;
7869 arg4
= (double)SWIG_As_double(obj3
);
7870 if (PyErr_Occurred()) SWIG_fail
;
7872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7873 (arg1
)->Rotate(arg2
,arg3
,arg4
);
7875 wxPyEndAllowThreads(__tstate
);
7876 if (PyErr_Occurred()) SWIG_fail
;
7878 Py_INCREF(Py_None
); resultobj
= Py_None
;
7885 static PyObject
*_wrap_PyShape_GetRotation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7886 PyObject
*resultobj
;
7887 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7889 PyObject
* obj0
= 0 ;
7891 (char *) "self", NULL
7894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetRotation",kwnames
,&obj0
)) goto fail
;
7895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7899 result
= (double)(arg1
)->GetRotation();
7901 wxPyEndAllowThreads(__tstate
);
7902 if (PyErr_Occurred()) SWIG_fail
;
7904 resultobj
= SWIG_From_double((double)result
);
7911 static PyObject
*_wrap_PyShape_SetRotation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7912 PyObject
*resultobj
;
7913 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7915 PyObject
* obj0
= 0 ;
7916 PyObject
* obj1
= 0 ;
7918 (char *) "self",(char *) "rotation", NULL
7921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetRotation",kwnames
,&obj0
,&obj1
)) goto fail
;
7922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7924 arg2
= (double)SWIG_As_double(obj1
);
7925 if (PyErr_Occurred()) SWIG_fail
;
7927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7928 (arg1
)->SetRotation(arg2
);
7930 wxPyEndAllowThreads(__tstate
);
7931 if (PyErr_Occurred()) SWIG_fail
;
7933 Py_INCREF(Py_None
); resultobj
= Py_None
;
7940 static PyObject
*_wrap_PyShape_ClearAttachments(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7941 PyObject
*resultobj
;
7942 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7943 PyObject
* obj0
= 0 ;
7945 (char *) "self", NULL
7948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_ClearAttachments",kwnames
,&obj0
)) goto fail
;
7949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7953 (arg1
)->ClearAttachments();
7955 wxPyEndAllowThreads(__tstate
);
7956 if (PyErr_Occurred()) SWIG_fail
;
7958 Py_INCREF(Py_None
); resultobj
= Py_None
;
7965 static PyObject
*_wrap_PyShape_Recentre(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7966 PyObject
*resultobj
;
7967 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7969 PyObject
* obj0
= 0 ;
7970 PyObject
* obj1
= 0 ;
7972 (char *) "self",(char *) "dc", NULL
7975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_Recentre",kwnames
,&obj0
,&obj1
)) goto fail
;
7976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7978 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
7979 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7982 PyErr_SetString(PyExc_TypeError
,"null reference");
7986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7987 (arg1
)->Recentre(*arg2
);
7989 wxPyEndAllowThreads(__tstate
);
7990 if (PyErr_Occurred()) SWIG_fail
;
7992 Py_INCREF(Py_None
); resultobj
= Py_None
;
7999 static PyObject
*_wrap_PyShape_ClearPointList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8000 PyObject
*resultobj
;
8001 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8003 PyObject
* obj0
= 0 ;
8004 PyObject
* obj1
= 0 ;
8006 (char *) "self",(char *) "list", NULL
8009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_ClearPointList",kwnames
,&obj0
,&obj1
)) goto fail
;
8010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8012 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxList
,
8013 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8016 PyErr_SetString(PyExc_TypeError
,"null reference");
8020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8021 (arg1
)->ClearPointList(*arg2
);
8023 wxPyEndAllowThreads(__tstate
);
8024 if (PyErr_Occurred()) SWIG_fail
;
8026 Py_INCREF(Py_None
); resultobj
= Py_None
;
8033 static PyObject
*_wrap_PyShape_GetBackgroundPen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8034 PyObject
*resultobj
;
8035 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8037 PyObject
* obj0
= 0 ;
8039 (char *) "self", NULL
8042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetBackgroundPen",kwnames
,&obj0
)) goto fail
;
8043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8047 result
= (arg1
)->GetBackgroundPen();
8049 wxPyEndAllowThreads(__tstate
);
8050 if (PyErr_Occurred()) SWIG_fail
;
8054 resultptr
= new wxPen((wxPen
&) result
);
8055 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPen
, 1);
8063 static PyObject
*_wrap_PyShape_GetBackgroundBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8064 PyObject
*resultobj
;
8065 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8067 PyObject
* obj0
= 0 ;
8069 (char *) "self", NULL
8072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetBackgroundBrush",kwnames
,&obj0
)) goto fail
;
8073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8077 result
= (arg1
)->GetBackgroundBrush();
8079 wxPyEndAllowThreads(__tstate
);
8080 if (PyErr_Occurred()) SWIG_fail
;
8083 wxBrush
* resultptr
;
8084 resultptr
= new wxBrush((wxBrush
&) result
);
8085 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
8093 static PyObject
*_wrap_PyShape_base_OnDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8094 PyObject
*resultobj
;
8095 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8096 PyObject
* obj0
= 0 ;
8098 (char *) "self", NULL
8101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_base_OnDelete",kwnames
,&obj0
)) goto fail
;
8102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8106 (arg1
)->base_OnDelete();
8108 wxPyEndAllowThreads(__tstate
);
8109 if (PyErr_Occurred()) SWIG_fail
;
8111 Py_INCREF(Py_None
); resultobj
= Py_None
;
8118 static PyObject
*_wrap_PyShape_base_OnDraw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8119 PyObject
*resultobj
;
8120 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8122 PyObject
* obj0
= 0 ;
8123 PyObject
* obj1
= 0 ;
8125 (char *) "self",(char *) "dc", NULL
8128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
8129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8131 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
8132 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8135 PyErr_SetString(PyExc_TypeError
,"null reference");
8139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8140 (arg1
)->base_OnDraw(*arg2
);
8142 wxPyEndAllowThreads(__tstate
);
8143 if (PyErr_Occurred()) SWIG_fail
;
8145 Py_INCREF(Py_None
); resultobj
= Py_None
;
8152 static PyObject
*_wrap_PyShape_base_OnDrawContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8153 PyObject
*resultobj
;
8154 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8156 PyObject
* obj0
= 0 ;
8157 PyObject
* obj1
= 0 ;
8159 (char *) "self",(char *) "dc", NULL
8162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
8163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8165 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
8166 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8169 PyErr_SetString(PyExc_TypeError
,"null reference");
8173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8174 (arg1
)->base_OnDrawContents(*arg2
);
8176 wxPyEndAllowThreads(__tstate
);
8177 if (PyErr_Occurred()) SWIG_fail
;
8179 Py_INCREF(Py_None
); resultobj
= Py_None
;
8186 static PyObject
*_wrap_PyShape_base_OnDrawBranches(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8187 PyObject
*resultobj
;
8188 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8190 bool arg3
= (bool) false ;
8191 PyObject
* obj0
= 0 ;
8192 PyObject
* obj1
= 0 ;
8193 PyObject
* obj2
= 0 ;
8195 (char *) "self",(char *) "dc",(char *) "erase", NULL
8198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8201 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
8202 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8205 PyErr_SetString(PyExc_TypeError
,"null reference");
8209 arg3
= (bool)SWIG_As_bool(obj2
);
8210 if (PyErr_Occurred()) SWIG_fail
;
8213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8214 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
8216 wxPyEndAllowThreads(__tstate
);
8217 if (PyErr_Occurred()) SWIG_fail
;
8219 Py_INCREF(Py_None
); resultobj
= Py_None
;
8226 static PyObject
*_wrap_PyShape_base_OnMoveLinks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8227 PyObject
*resultobj
;
8228 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8230 PyObject
* obj0
= 0 ;
8231 PyObject
* obj1
= 0 ;
8233 (char *) "self",(char *) "dc", NULL
8236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
8237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8239 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
8240 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8243 PyErr_SetString(PyExc_TypeError
,"null reference");
8247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8248 (arg1
)->base_OnMoveLinks(*arg2
);
8250 wxPyEndAllowThreads(__tstate
);
8251 if (PyErr_Occurred()) SWIG_fail
;
8253 Py_INCREF(Py_None
); resultobj
= Py_None
;
8260 static PyObject
*_wrap_PyShape_base_OnErase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8261 PyObject
*resultobj
;
8262 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8264 PyObject
* obj0
= 0 ;
8265 PyObject
* obj1
= 0 ;
8267 (char *) "self",(char *) "dc", NULL
8270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
8271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8273 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
8274 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8277 PyErr_SetString(PyExc_TypeError
,"null reference");
8281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8282 (arg1
)->base_OnErase(*arg2
);
8284 wxPyEndAllowThreads(__tstate
);
8285 if (PyErr_Occurred()) SWIG_fail
;
8287 Py_INCREF(Py_None
); resultobj
= Py_None
;
8294 static PyObject
*_wrap_PyShape_base_OnEraseContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8295 PyObject
*resultobj
;
8296 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8298 PyObject
* obj0
= 0 ;
8299 PyObject
* obj1
= 0 ;
8301 (char *) "self",(char *) "dc", NULL
8304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
8305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8307 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
8308 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8311 PyErr_SetString(PyExc_TypeError
,"null reference");
8315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8316 (arg1
)->base_OnEraseContents(*arg2
);
8318 wxPyEndAllowThreads(__tstate
);
8319 if (PyErr_Occurred()) SWIG_fail
;
8321 Py_INCREF(Py_None
); resultobj
= Py_None
;
8328 static PyObject
*_wrap_PyShape_base_OnHighlight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8329 PyObject
*resultobj
;
8330 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8332 PyObject
* obj0
= 0 ;
8333 PyObject
* obj1
= 0 ;
8335 (char *) "self",(char *) "dc", NULL
8338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
8339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8341 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
8342 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8345 PyErr_SetString(PyExc_TypeError
,"null reference");
8349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8350 (arg1
)->base_OnHighlight(*arg2
);
8352 wxPyEndAllowThreads(__tstate
);
8353 if (PyErr_Occurred()) SWIG_fail
;
8355 Py_INCREF(Py_None
); resultobj
= Py_None
;
8362 static PyObject
*_wrap_PyShape_base_OnLeftClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8363 PyObject
*resultobj
;
8364 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8367 int arg4
= (int) 0 ;
8368 int arg5
= (int) 0 ;
8369 PyObject
* obj0
= 0 ;
8370 PyObject
* obj1
= 0 ;
8371 PyObject
* obj2
= 0 ;
8372 PyObject
* obj3
= 0 ;
8373 PyObject
* obj4
= 0 ;
8375 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShape_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
8379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8381 arg2
= (double)SWIG_As_double(obj1
);
8382 if (PyErr_Occurred()) SWIG_fail
;
8383 arg3
= (double)SWIG_As_double(obj2
);
8384 if (PyErr_Occurred()) SWIG_fail
;
8386 arg4
= (int)SWIG_As_int(obj3
);
8387 if (PyErr_Occurred()) SWIG_fail
;
8390 arg5
= (int)SWIG_As_int(obj4
);
8391 if (PyErr_Occurred()) SWIG_fail
;
8394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8395 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
8397 wxPyEndAllowThreads(__tstate
);
8398 if (PyErr_Occurred()) SWIG_fail
;
8400 Py_INCREF(Py_None
); resultobj
= Py_None
;
8407 static PyObject
*_wrap_PyShape_base_OnLeftDoubleClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8408 PyObject
*resultobj
;
8409 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8412 int arg4
= (int) 0 ;
8413 int arg5
= (int) 0 ;
8414 PyObject
* obj0
= 0 ;
8415 PyObject
* obj1
= 0 ;
8416 PyObject
* obj2
= 0 ;
8417 PyObject
* obj3
= 0 ;
8418 PyObject
* obj4
= 0 ;
8420 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
8424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8426 arg2
= (double)SWIG_As_double(obj1
);
8427 if (PyErr_Occurred()) SWIG_fail
;
8428 arg3
= (double)SWIG_As_double(obj2
);
8429 if (PyErr_Occurred()) SWIG_fail
;
8431 arg4
= (int)SWIG_As_int(obj3
);
8432 if (PyErr_Occurred()) SWIG_fail
;
8435 arg5
= (int)SWIG_As_int(obj4
);
8436 if (PyErr_Occurred()) SWIG_fail
;
8439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8440 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
8442 wxPyEndAllowThreads(__tstate
);
8443 if (PyErr_Occurred()) SWIG_fail
;
8445 Py_INCREF(Py_None
); resultobj
= Py_None
;
8452 static PyObject
*_wrap_PyShape_base_OnRightClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8453 PyObject
*resultobj
;
8454 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8457 int arg4
= (int) 0 ;
8458 int arg5
= (int) 0 ;
8459 PyObject
* obj0
= 0 ;
8460 PyObject
* obj1
= 0 ;
8461 PyObject
* obj2
= 0 ;
8462 PyObject
* obj3
= 0 ;
8463 PyObject
* obj4
= 0 ;
8465 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShape_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
8469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8471 arg2
= (double)SWIG_As_double(obj1
);
8472 if (PyErr_Occurred()) SWIG_fail
;
8473 arg3
= (double)SWIG_As_double(obj2
);
8474 if (PyErr_Occurred()) SWIG_fail
;
8476 arg4
= (int)SWIG_As_int(obj3
);
8477 if (PyErr_Occurred()) SWIG_fail
;
8480 arg5
= (int)SWIG_As_int(obj4
);
8481 if (PyErr_Occurred()) SWIG_fail
;
8484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8485 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
8487 wxPyEndAllowThreads(__tstate
);
8488 if (PyErr_Occurred()) SWIG_fail
;
8490 Py_INCREF(Py_None
); resultobj
= Py_None
;
8497 static PyObject
*_wrap_PyShape_base_OnSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8498 PyObject
*resultobj
;
8499 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8502 PyObject
* obj0
= 0 ;
8503 PyObject
* obj1
= 0 ;
8504 PyObject
* obj2
= 0 ;
8506 (char *) "self",(char *) "x",(char *) "y", NULL
8509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShape_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8512 arg2
= (double)SWIG_As_double(obj1
);
8513 if (PyErr_Occurred()) SWIG_fail
;
8514 arg3
= (double)SWIG_As_double(obj2
);
8515 if (PyErr_Occurred()) SWIG_fail
;
8517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8518 (arg1
)->base_OnSize(arg2
,arg3
);
8520 wxPyEndAllowThreads(__tstate
);
8521 if (PyErr_Occurred()) SWIG_fail
;
8523 Py_INCREF(Py_None
); resultobj
= Py_None
;
8530 static PyObject
*_wrap_PyShape_base_OnMovePre(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8531 PyObject
*resultobj
;
8532 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8538 bool arg7
= (bool) true ;
8540 PyObject
* obj0
= 0 ;
8541 PyObject
* obj1
= 0 ;
8542 PyObject
* obj2
= 0 ;
8543 PyObject
* obj3
= 0 ;
8544 PyObject
* obj4
= 0 ;
8545 PyObject
* obj5
= 0 ;
8546 PyObject
* obj6
= 0 ;
8548 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
8551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8554 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
8555 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8558 PyErr_SetString(PyExc_TypeError
,"null reference");
8561 arg3
= (double)SWIG_As_double(obj2
);
8562 if (PyErr_Occurred()) SWIG_fail
;
8563 arg4
= (double)SWIG_As_double(obj3
);
8564 if (PyErr_Occurred()) SWIG_fail
;
8565 arg5
= (double)SWIG_As_double(obj4
);
8566 if (PyErr_Occurred()) SWIG_fail
;
8567 arg6
= (double)SWIG_As_double(obj5
);
8568 if (PyErr_Occurred()) SWIG_fail
;
8570 arg7
= (bool)SWIG_As_bool(obj6
);
8571 if (PyErr_Occurred()) SWIG_fail
;
8574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8575 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
8577 wxPyEndAllowThreads(__tstate
);
8578 if (PyErr_Occurred()) SWIG_fail
;
8581 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8589 static PyObject
*_wrap_PyShape_base_OnMovePost(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8590 PyObject
*resultobj
;
8591 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8597 bool arg7
= (bool) true ;
8598 PyObject
* obj0
= 0 ;
8599 PyObject
* obj1
= 0 ;
8600 PyObject
* obj2
= 0 ;
8601 PyObject
* obj3
= 0 ;
8602 PyObject
* obj4
= 0 ;
8603 PyObject
* obj5
= 0 ;
8604 PyObject
* obj6
= 0 ;
8606 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
8609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8612 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
8613 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8616 PyErr_SetString(PyExc_TypeError
,"null reference");
8619 arg3
= (double)SWIG_As_double(obj2
);
8620 if (PyErr_Occurred()) SWIG_fail
;
8621 arg4
= (double)SWIG_As_double(obj3
);
8622 if (PyErr_Occurred()) SWIG_fail
;
8623 arg5
= (double)SWIG_As_double(obj4
);
8624 if (PyErr_Occurred()) SWIG_fail
;
8625 arg6
= (double)SWIG_As_double(obj5
);
8626 if (PyErr_Occurred()) SWIG_fail
;
8628 arg7
= (bool)SWIG_As_bool(obj6
);
8629 if (PyErr_Occurred()) SWIG_fail
;
8632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8633 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
8635 wxPyEndAllowThreads(__tstate
);
8636 if (PyErr_Occurred()) SWIG_fail
;
8638 Py_INCREF(Py_None
); resultobj
= Py_None
;
8645 static PyObject
*_wrap_PyShape_base_OnDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8646 PyObject
*resultobj
;
8647 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8651 int arg5
= (int) 0 ;
8652 int arg6
= (int) 0 ;
8653 PyObject
* obj0
= 0 ;
8654 PyObject
* obj1
= 0 ;
8655 PyObject
* obj2
= 0 ;
8656 PyObject
* obj3
= 0 ;
8657 PyObject
* obj4
= 0 ;
8658 PyObject
* obj5
= 0 ;
8660 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8666 arg2
= (bool)SWIG_As_bool(obj1
);
8667 if (PyErr_Occurred()) SWIG_fail
;
8668 arg3
= (double)SWIG_As_double(obj2
);
8669 if (PyErr_Occurred()) SWIG_fail
;
8670 arg4
= (double)SWIG_As_double(obj3
);
8671 if (PyErr_Occurred()) SWIG_fail
;
8673 arg5
= (int)SWIG_As_int(obj4
);
8674 if (PyErr_Occurred()) SWIG_fail
;
8677 arg6
= (int)SWIG_As_int(obj5
);
8678 if (PyErr_Occurred()) SWIG_fail
;
8681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8682 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
8684 wxPyEndAllowThreads(__tstate
);
8685 if (PyErr_Occurred()) SWIG_fail
;
8687 Py_INCREF(Py_None
); resultobj
= Py_None
;
8694 static PyObject
*_wrap_PyShape_base_OnBeginDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8695 PyObject
*resultobj
;
8696 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8699 int arg4
= (int) 0 ;
8700 int arg5
= (int) 0 ;
8701 PyObject
* obj0
= 0 ;
8702 PyObject
* obj1
= 0 ;
8703 PyObject
* obj2
= 0 ;
8704 PyObject
* obj3
= 0 ;
8705 PyObject
* obj4
= 0 ;
8707 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShape_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
8711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8713 arg2
= (double)SWIG_As_double(obj1
);
8714 if (PyErr_Occurred()) SWIG_fail
;
8715 arg3
= (double)SWIG_As_double(obj2
);
8716 if (PyErr_Occurred()) SWIG_fail
;
8718 arg4
= (int)SWIG_As_int(obj3
);
8719 if (PyErr_Occurred()) SWIG_fail
;
8722 arg5
= (int)SWIG_As_int(obj4
);
8723 if (PyErr_Occurred()) SWIG_fail
;
8726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8727 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
8729 wxPyEndAllowThreads(__tstate
);
8730 if (PyErr_Occurred()) SWIG_fail
;
8732 Py_INCREF(Py_None
); resultobj
= Py_None
;
8739 static PyObject
*_wrap_PyShape_base_OnEndDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8740 PyObject
*resultobj
;
8741 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8744 int arg4
= (int) 0 ;
8745 int arg5
= (int) 0 ;
8746 PyObject
* obj0
= 0 ;
8747 PyObject
* obj1
= 0 ;
8748 PyObject
* obj2
= 0 ;
8749 PyObject
* obj3
= 0 ;
8750 PyObject
* obj4
= 0 ;
8752 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShape_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
8756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8758 arg2
= (double)SWIG_As_double(obj1
);
8759 if (PyErr_Occurred()) SWIG_fail
;
8760 arg3
= (double)SWIG_As_double(obj2
);
8761 if (PyErr_Occurred()) SWIG_fail
;
8763 arg4
= (int)SWIG_As_int(obj3
);
8764 if (PyErr_Occurred()) SWIG_fail
;
8767 arg5
= (int)SWIG_As_int(obj4
);
8768 if (PyErr_Occurred()) SWIG_fail
;
8771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8772 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
8774 wxPyEndAllowThreads(__tstate
);
8775 if (PyErr_Occurred()) SWIG_fail
;
8777 Py_INCREF(Py_None
); resultobj
= Py_None
;
8784 static PyObject
*_wrap_PyShape_base_OnDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8785 PyObject
*resultobj
;
8786 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8790 int arg5
= (int) 0 ;
8791 int arg6
= (int) 0 ;
8792 PyObject
* obj0
= 0 ;
8793 PyObject
* obj1
= 0 ;
8794 PyObject
* obj2
= 0 ;
8795 PyObject
* obj3
= 0 ;
8796 PyObject
* obj4
= 0 ;
8797 PyObject
* obj5
= 0 ;
8799 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8805 arg2
= (bool)SWIG_As_bool(obj1
);
8806 if (PyErr_Occurred()) SWIG_fail
;
8807 arg3
= (double)SWIG_As_double(obj2
);
8808 if (PyErr_Occurred()) SWIG_fail
;
8809 arg4
= (double)SWIG_As_double(obj3
);
8810 if (PyErr_Occurred()) SWIG_fail
;
8812 arg5
= (int)SWIG_As_int(obj4
);
8813 if (PyErr_Occurred()) SWIG_fail
;
8816 arg6
= (int)SWIG_As_int(obj5
);
8817 if (PyErr_Occurred()) SWIG_fail
;
8820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8821 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
8823 wxPyEndAllowThreads(__tstate
);
8824 if (PyErr_Occurred()) SWIG_fail
;
8826 Py_INCREF(Py_None
); resultobj
= Py_None
;
8833 static PyObject
*_wrap_PyShape_base_OnBeginDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8834 PyObject
*resultobj
;
8835 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8838 int arg4
= (int) 0 ;
8839 int arg5
= (int) 0 ;
8840 PyObject
* obj0
= 0 ;
8841 PyObject
* obj1
= 0 ;
8842 PyObject
* obj2
= 0 ;
8843 PyObject
* obj3
= 0 ;
8844 PyObject
* obj4
= 0 ;
8846 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShape_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
8850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8852 arg2
= (double)SWIG_As_double(obj1
);
8853 if (PyErr_Occurred()) SWIG_fail
;
8854 arg3
= (double)SWIG_As_double(obj2
);
8855 if (PyErr_Occurred()) SWIG_fail
;
8857 arg4
= (int)SWIG_As_int(obj3
);
8858 if (PyErr_Occurred()) SWIG_fail
;
8861 arg5
= (int)SWIG_As_int(obj4
);
8862 if (PyErr_Occurred()) SWIG_fail
;
8865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8866 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
8868 wxPyEndAllowThreads(__tstate
);
8869 if (PyErr_Occurred()) SWIG_fail
;
8871 Py_INCREF(Py_None
); resultobj
= Py_None
;
8878 static PyObject
*_wrap_PyShape_base_OnEndDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8879 PyObject
*resultobj
;
8880 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8883 int arg4
= (int) 0 ;
8884 int arg5
= (int) 0 ;
8885 PyObject
* obj0
= 0 ;
8886 PyObject
* obj1
= 0 ;
8887 PyObject
* obj2
= 0 ;
8888 PyObject
* obj3
= 0 ;
8889 PyObject
* obj4
= 0 ;
8891 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShape_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
8895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8897 arg2
= (double)SWIG_As_double(obj1
);
8898 if (PyErr_Occurred()) SWIG_fail
;
8899 arg3
= (double)SWIG_As_double(obj2
);
8900 if (PyErr_Occurred()) SWIG_fail
;
8902 arg4
= (int)SWIG_As_int(obj3
);
8903 if (PyErr_Occurred()) SWIG_fail
;
8906 arg5
= (int)SWIG_As_int(obj4
);
8907 if (PyErr_Occurred()) SWIG_fail
;
8910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8911 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
8913 wxPyEndAllowThreads(__tstate
);
8914 if (PyErr_Occurred()) SWIG_fail
;
8916 Py_INCREF(Py_None
); resultobj
= Py_None
;
8923 static PyObject
*_wrap_PyShape_base_OnDrawOutline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8924 PyObject
*resultobj
;
8925 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8931 PyObject
* obj0
= 0 ;
8932 PyObject
* obj1
= 0 ;
8933 PyObject
* obj2
= 0 ;
8934 PyObject
* obj3
= 0 ;
8935 PyObject
* obj4
= 0 ;
8936 PyObject
* obj5
= 0 ;
8938 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
8941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8944 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
8945 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8948 PyErr_SetString(PyExc_TypeError
,"null reference");
8951 arg3
= (double)SWIG_As_double(obj2
);
8952 if (PyErr_Occurred()) SWIG_fail
;
8953 arg4
= (double)SWIG_As_double(obj3
);
8954 if (PyErr_Occurred()) SWIG_fail
;
8955 arg5
= (double)SWIG_As_double(obj4
);
8956 if (PyErr_Occurred()) SWIG_fail
;
8957 arg6
= (double)SWIG_As_double(obj5
);
8958 if (PyErr_Occurred()) SWIG_fail
;
8960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8961 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
8963 wxPyEndAllowThreads(__tstate
);
8964 if (PyErr_Occurred()) SWIG_fail
;
8966 Py_INCREF(Py_None
); resultobj
= Py_None
;
8973 static PyObject
*_wrap_PyShape_base_OnDrawControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8974 PyObject
*resultobj
;
8975 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8977 PyObject
* obj0
= 0 ;
8978 PyObject
* obj1
= 0 ;
8980 (char *) "self",(char *) "dc", NULL
8983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
8984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8986 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
8987 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8990 PyErr_SetString(PyExc_TypeError
,"null reference");
8994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8995 (arg1
)->base_OnDrawControlPoints(*arg2
);
8997 wxPyEndAllowThreads(__tstate
);
8998 if (PyErr_Occurred()) SWIG_fail
;
9000 Py_INCREF(Py_None
); resultobj
= Py_None
;
9007 static PyObject
*_wrap_PyShape_base_OnEraseControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9008 PyObject
*resultobj
;
9009 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
9011 PyObject
* obj0
= 0 ;
9012 PyObject
* obj1
= 0 ;
9014 (char *) "self",(char *) "dc", NULL
9017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
9018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
9019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9020 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
9021 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9024 PyErr_SetString(PyExc_TypeError
,"null reference");
9028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9029 (arg1
)->base_OnEraseControlPoints(*arg2
);
9031 wxPyEndAllowThreads(__tstate
);
9032 if (PyErr_Occurred()) SWIG_fail
;
9034 Py_INCREF(Py_None
); resultobj
= Py_None
;
9041 static PyObject
*_wrap_PyShape_base_OnMoveLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9042 PyObject
*resultobj
;
9043 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
9045 bool arg3
= (bool) true ;
9046 PyObject
* obj0
= 0 ;
9047 PyObject
* obj1
= 0 ;
9048 PyObject
* obj2
= 0 ;
9050 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
9053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
9055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9056 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
9057 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9060 PyErr_SetString(PyExc_TypeError
,"null reference");
9064 arg3
= (bool)SWIG_As_bool(obj2
);
9065 if (PyErr_Occurred()) SWIG_fail
;
9068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9069 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
9071 wxPyEndAllowThreads(__tstate
);
9072 if (PyErr_Occurred()) SWIG_fail
;
9074 Py_INCREF(Py_None
); resultobj
= Py_None
;
9081 static PyObject
*_wrap_PyShape_base_OnSizingDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9082 PyObject
*resultobj
;
9083 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
9084 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
9088 int arg6
= (int) 0 ;
9089 int arg7
= (int) 0 ;
9090 PyObject
* obj0
= 0 ;
9091 PyObject
* obj1
= 0 ;
9092 PyObject
* obj2
= 0 ;
9093 PyObject
* obj3
= 0 ;
9094 PyObject
* obj4
= 0 ;
9095 PyObject
* obj5
= 0 ;
9096 PyObject
* obj6
= 0 ;
9098 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
9101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
9103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9104 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
9105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9106 arg3
= (bool)SWIG_As_bool(obj2
);
9107 if (PyErr_Occurred()) SWIG_fail
;
9108 arg4
= (double)SWIG_As_double(obj3
);
9109 if (PyErr_Occurred()) SWIG_fail
;
9110 arg5
= (double)SWIG_As_double(obj4
);
9111 if (PyErr_Occurred()) SWIG_fail
;
9113 arg6
= (int)SWIG_As_int(obj5
);
9114 if (PyErr_Occurred()) SWIG_fail
;
9117 arg7
= (int)SWIG_As_int(obj6
);
9118 if (PyErr_Occurred()) SWIG_fail
;
9121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9122 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
9124 wxPyEndAllowThreads(__tstate
);
9125 if (PyErr_Occurred()) SWIG_fail
;
9127 Py_INCREF(Py_None
); resultobj
= Py_None
;
9134 static PyObject
*_wrap_PyShape_base_OnSizingBeginDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9135 PyObject
*resultobj
;
9136 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
9137 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
9140 int arg5
= (int) 0 ;
9141 int arg6
= (int) 0 ;
9142 PyObject
* obj0
= 0 ;
9143 PyObject
* obj1
= 0 ;
9144 PyObject
* obj2
= 0 ;
9145 PyObject
* obj3
= 0 ;
9146 PyObject
* obj4
= 0 ;
9147 PyObject
* obj5
= 0 ;
9149 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
9152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
9154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9155 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
9156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9157 arg3
= (double)SWIG_As_double(obj2
);
9158 if (PyErr_Occurred()) SWIG_fail
;
9159 arg4
= (double)SWIG_As_double(obj3
);
9160 if (PyErr_Occurred()) SWIG_fail
;
9162 arg5
= (int)SWIG_As_int(obj4
);
9163 if (PyErr_Occurred()) SWIG_fail
;
9166 arg6
= (int)SWIG_As_int(obj5
);
9167 if (PyErr_Occurred()) SWIG_fail
;
9170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9171 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
9173 wxPyEndAllowThreads(__tstate
);
9174 if (PyErr_Occurred()) SWIG_fail
;
9176 Py_INCREF(Py_None
); resultobj
= Py_None
;
9183 static PyObject
*_wrap_PyShape_base_OnSizingEndDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9184 PyObject
*resultobj
;
9185 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
9186 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
9189 int arg5
= (int) 0 ;
9190 int arg6
= (int) 0 ;
9191 PyObject
* obj0
= 0 ;
9192 PyObject
* obj1
= 0 ;
9193 PyObject
* obj2
= 0 ;
9194 PyObject
* obj3
= 0 ;
9195 PyObject
* obj4
= 0 ;
9196 PyObject
* obj5
= 0 ;
9198 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
9201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
9203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9204 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
9205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9206 arg3
= (double)SWIG_As_double(obj2
);
9207 if (PyErr_Occurred()) SWIG_fail
;
9208 arg4
= (double)SWIG_As_double(obj3
);
9209 if (PyErr_Occurred()) SWIG_fail
;
9211 arg5
= (int)SWIG_As_int(obj4
);
9212 if (PyErr_Occurred()) SWIG_fail
;
9215 arg6
= (int)SWIG_As_int(obj5
);
9216 if (PyErr_Occurred()) SWIG_fail
;
9219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9220 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
9222 wxPyEndAllowThreads(__tstate
);
9223 if (PyErr_Occurred()) SWIG_fail
;
9225 Py_INCREF(Py_None
); resultobj
= Py_None
;
9232 static PyObject
*_wrap_PyShape_base_OnBeginSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9233 PyObject
*resultobj
;
9234 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
9237 PyObject
* obj0
= 0 ;
9238 PyObject
* obj1
= 0 ;
9239 PyObject
* obj2
= 0 ;
9241 (char *) "self",(char *) "w",(char *) "h", NULL
9244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShape_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
9246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9247 arg2
= (double)SWIG_As_double(obj1
);
9248 if (PyErr_Occurred()) SWIG_fail
;
9249 arg3
= (double)SWIG_As_double(obj2
);
9250 if (PyErr_Occurred()) SWIG_fail
;
9252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9253 (arg1
)->base_OnBeginSize(arg2
,arg3
);
9255 wxPyEndAllowThreads(__tstate
);
9256 if (PyErr_Occurred()) SWIG_fail
;
9258 Py_INCREF(Py_None
); resultobj
= Py_None
;
9265 static PyObject
*_wrap_PyShape_base_OnEndSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9266 PyObject
*resultobj
;
9267 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
9270 PyObject
* obj0
= 0 ;
9271 PyObject
* obj1
= 0 ;
9272 PyObject
* obj2
= 0 ;
9274 (char *) "self",(char *) "w",(char *) "h", NULL
9277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShape_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
9279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9280 arg2
= (double)SWIG_As_double(obj1
);
9281 if (PyErr_Occurred()) SWIG_fail
;
9282 arg3
= (double)SWIG_As_double(obj2
);
9283 if (PyErr_Occurred()) SWIG_fail
;
9285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9286 (arg1
)->base_OnEndSize(arg2
,arg3
);
9288 wxPyEndAllowThreads(__tstate
);
9289 if (PyErr_Occurred()) SWIG_fail
;
9291 Py_INCREF(Py_None
); resultobj
= Py_None
;
9298 static PyObject
* PyShape_swigregister(PyObject
*, PyObject
*args
) {
9300 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9301 SWIG_TypeClientData(SWIGTYPE_p_wxPyShape
, obj
);
9303 return Py_BuildValue((char *)"");
9305 static PyObject
*_wrap_new_PseudoMetaFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9306 PyObject
*resultobj
;
9307 wxPseudoMetaFile
*result
;
9312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PseudoMetaFile",kwnames
)) goto fail
;
9314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9315 result
= (wxPseudoMetaFile
*)new wxPseudoMetaFile();
9317 wxPyEndAllowThreads(__tstate
);
9318 if (PyErr_Occurred()) SWIG_fail
;
9321 resultobj
= wxPyMake_wxObject(result
, 1);
9329 static PyObject
*_wrap_delete_PseudoMetaFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9330 PyObject
*resultobj
;
9331 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9332 PyObject
* obj0
= 0 ;
9334 (char *) "self", NULL
9337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PseudoMetaFile",kwnames
,&obj0
)) goto fail
;
9338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9344 wxPyEndAllowThreads(__tstate
);
9345 if (PyErr_Occurred()) SWIG_fail
;
9347 Py_INCREF(Py_None
); resultobj
= Py_None
;
9354 static PyObject
*_wrap_PseudoMetaFile_Draw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9355 PyObject
*resultobj
;
9356 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9360 PyObject
* obj0
= 0 ;
9361 PyObject
* obj1
= 0 ;
9362 PyObject
* obj2
= 0 ;
9363 PyObject
* obj3
= 0 ;
9365 (char *) "self",(char *) "dc",(char *) "xoffset",(char *) "yoffset", NULL
9368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoMetaFile_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9371 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
9372 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9375 PyErr_SetString(PyExc_TypeError
,"null reference");
9378 arg3
= (double)SWIG_As_double(obj2
);
9379 if (PyErr_Occurred()) SWIG_fail
;
9380 arg4
= (double)SWIG_As_double(obj3
);
9381 if (PyErr_Occurred()) SWIG_fail
;
9383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9384 (arg1
)->Draw(*arg2
,arg3
,arg4
);
9386 wxPyEndAllowThreads(__tstate
);
9387 if (PyErr_Occurred()) SWIG_fail
;
9389 Py_INCREF(Py_None
); resultobj
= Py_None
;
9396 static PyObject
*_wrap_PseudoMetaFile_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9397 PyObject
*resultobj
;
9398 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9399 PyObject
* obj0
= 0 ;
9401 (char *) "self", NULL
9404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PseudoMetaFile_Clear",kwnames
,&obj0
)) goto fail
;
9405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9411 wxPyEndAllowThreads(__tstate
);
9412 if (PyErr_Occurred()) SWIG_fail
;
9414 Py_INCREF(Py_None
); resultobj
= Py_None
;
9421 static PyObject
*_wrap_PseudoMetaFile_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9422 PyObject
*resultobj
;
9423 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9424 wxPseudoMetaFile
*arg2
= 0 ;
9425 PyObject
* obj0
= 0 ;
9426 PyObject
* obj1
= 0 ;
9428 (char *) "self",(char *) "copy", NULL
9431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_Copy",kwnames
,&obj0
,&obj1
)) goto fail
;
9432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9434 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPseudoMetaFile
,
9435 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9438 PyErr_SetString(PyExc_TypeError
,"null reference");
9442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9443 (arg1
)->Copy(*arg2
);
9445 wxPyEndAllowThreads(__tstate
);
9446 if (PyErr_Occurred()) SWIG_fail
;
9448 Py_INCREF(Py_None
); resultobj
= Py_None
;
9455 static PyObject
*_wrap_PseudoMetaFile_Scale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9456 PyObject
*resultobj
;
9457 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9460 PyObject
* obj0
= 0 ;
9461 PyObject
* obj1
= 0 ;
9462 PyObject
* obj2
= 0 ;
9464 (char *) "self",(char *) "sx",(char *) "sy", NULL
9467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoMetaFile_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9470 arg2
= (double)SWIG_As_double(obj1
);
9471 if (PyErr_Occurred()) SWIG_fail
;
9472 arg3
= (double)SWIG_As_double(obj2
);
9473 if (PyErr_Occurred()) SWIG_fail
;
9475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9476 (arg1
)->Scale(arg2
,arg3
);
9478 wxPyEndAllowThreads(__tstate
);
9479 if (PyErr_Occurred()) SWIG_fail
;
9481 Py_INCREF(Py_None
); resultobj
= Py_None
;
9488 static PyObject
*_wrap_PseudoMetaFile_ScaleTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9489 PyObject
*resultobj
;
9490 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9493 PyObject
* obj0
= 0 ;
9494 PyObject
* obj1
= 0 ;
9495 PyObject
* obj2
= 0 ;
9497 (char *) "self",(char *) "w",(char *) "h", NULL
9500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoMetaFile_ScaleTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9503 arg2
= (double)SWIG_As_double(obj1
);
9504 if (PyErr_Occurred()) SWIG_fail
;
9505 arg3
= (double)SWIG_As_double(obj2
);
9506 if (PyErr_Occurred()) SWIG_fail
;
9508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9509 (arg1
)->ScaleTo(arg2
,arg3
);
9511 wxPyEndAllowThreads(__tstate
);
9512 if (PyErr_Occurred()) SWIG_fail
;
9514 Py_INCREF(Py_None
); resultobj
= Py_None
;
9521 static PyObject
*_wrap_PseudoMetaFile_Translate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9522 PyObject
*resultobj
;
9523 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9526 PyObject
* obj0
= 0 ;
9527 PyObject
* obj1
= 0 ;
9528 PyObject
* obj2
= 0 ;
9530 (char *) "self",(char *) "x",(char *) "y", NULL
9533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoMetaFile_Translate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9536 arg2
= (double)SWIG_As_double(obj1
);
9537 if (PyErr_Occurred()) SWIG_fail
;
9538 arg3
= (double)SWIG_As_double(obj2
);
9539 if (PyErr_Occurred()) SWIG_fail
;
9541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9542 (arg1
)->Translate(arg2
,arg3
);
9544 wxPyEndAllowThreads(__tstate
);
9545 if (PyErr_Occurred()) SWIG_fail
;
9547 Py_INCREF(Py_None
); resultobj
= Py_None
;
9554 static PyObject
*_wrap_PseudoMetaFile_Rotate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9555 PyObject
*resultobj
;
9556 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9560 PyObject
* obj0
= 0 ;
9561 PyObject
* obj1
= 0 ;
9562 PyObject
* obj2
= 0 ;
9563 PyObject
* obj3
= 0 ;
9565 (char *) "self",(char *) "x",(char *) "y",(char *) "theta", NULL
9568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoMetaFile_Rotate",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9571 arg2
= (double)SWIG_As_double(obj1
);
9572 if (PyErr_Occurred()) SWIG_fail
;
9573 arg3
= (double)SWIG_As_double(obj2
);
9574 if (PyErr_Occurred()) SWIG_fail
;
9575 arg4
= (double)SWIG_As_double(obj3
);
9576 if (PyErr_Occurred()) SWIG_fail
;
9578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9579 (arg1
)->Rotate(arg2
,arg3
,arg4
);
9581 wxPyEndAllowThreads(__tstate
);
9582 if (PyErr_Occurred()) SWIG_fail
;
9584 Py_INCREF(Py_None
); resultobj
= Py_None
;
9591 static PyObject
*_wrap_PseudoMetaFile_LoadFromMetaFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9592 PyObject
*resultobj
;
9593 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9594 wxString
*arg2
= 0 ;
9595 double *arg3
= (double *) 0 ;
9596 double *arg4
= (double *) 0 ;
9598 bool temp2
= false ;
9599 PyObject
* obj0
= 0 ;
9600 PyObject
* obj1
= 0 ;
9601 PyObject
* obj2
= 0 ;
9602 PyObject
* obj3
= 0 ;
9604 (char *) "self",(char *) "filename",(char *) "width",(char *) "height", NULL
9607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoMetaFile_LoadFromMetaFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9611 arg2
= wxString_in_helper(obj1
);
9612 if (arg2
== NULL
) SWIG_fail
;
9615 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_double
,
9616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9617 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_double
,
9618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9621 result
= (bool)(arg1
)->LoadFromMetaFile((wxString
const &)*arg2
,arg3
,arg4
);
9623 wxPyEndAllowThreads(__tstate
);
9624 if (PyErr_Occurred()) SWIG_fail
;
9627 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9643 static PyObject
*_wrap_PseudoMetaFile_GetBounds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9644 PyObject
*resultobj
;
9645 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9646 double *arg2
= (double *) 0 ;
9647 double *arg3
= (double *) 0 ;
9648 double *arg4
= (double *) 0 ;
9649 double *arg5
= (double *) 0 ;
9650 PyObject
* obj0
= 0 ;
9651 PyObject
* obj1
= 0 ;
9652 PyObject
* obj2
= 0 ;
9653 PyObject
* obj3
= 0 ;
9654 PyObject
* obj4
= 0 ;
9656 (char *) "self",(char *) "minX",(char *) "minY",(char *) "maxX",(char *) "maxY", NULL
9659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoMetaFile_GetBounds",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
9660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9662 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_double
,
9663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9664 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_double
,
9665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9666 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_double
,
9667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9668 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_double
,
9669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9672 (arg1
)->GetBounds(arg2
,arg3
,arg4
,arg5
);
9674 wxPyEndAllowThreads(__tstate
);
9675 if (PyErr_Occurred()) SWIG_fail
;
9677 Py_INCREF(Py_None
); resultobj
= Py_None
;
9684 static PyObject
*_wrap_PseudoMetaFile_CalculateSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9685 PyObject
*resultobj
;
9686 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9687 wxPyDrawnShape
*arg2
= (wxPyDrawnShape
*) 0 ;
9688 PyObject
* obj0
= 0 ;
9689 PyObject
* obj1
= 0 ;
9691 (char *) "self",(char *) "shape", NULL
9694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_CalculateSize",kwnames
,&obj0
,&obj1
)) goto fail
;
9695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9697 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyDrawnShape
,
9698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9701 (arg1
)->CalculateSize(arg2
);
9703 wxPyEndAllowThreads(__tstate
);
9704 if (PyErr_Occurred()) SWIG_fail
;
9706 Py_INCREF(Py_None
); resultobj
= Py_None
;
9713 static PyObject
*_wrap_PseudoMetaFile_SetRotateable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9714 PyObject
*resultobj
;
9715 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9717 PyObject
* obj0
= 0 ;
9718 PyObject
* obj1
= 0 ;
9720 (char *) "self",(char *) "rot", NULL
9723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_SetRotateable",kwnames
,&obj0
,&obj1
)) goto fail
;
9724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9726 arg2
= (bool)SWIG_As_bool(obj1
);
9727 if (PyErr_Occurred()) SWIG_fail
;
9729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9730 (arg1
)->SetRotateable(arg2
);
9732 wxPyEndAllowThreads(__tstate
);
9733 if (PyErr_Occurred()) SWIG_fail
;
9735 Py_INCREF(Py_None
); resultobj
= Py_None
;
9742 static PyObject
*_wrap_PseudoMetaFile_GetRotateable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9743 PyObject
*resultobj
;
9744 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9746 PyObject
* obj0
= 0 ;
9748 (char *) "self", NULL
9751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PseudoMetaFile_GetRotateable",kwnames
,&obj0
)) goto fail
;
9752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9756 result
= (bool)(arg1
)->GetRotateable();
9758 wxPyEndAllowThreads(__tstate
);
9759 if (PyErr_Occurred()) SWIG_fail
;
9762 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9770 static PyObject
*_wrap_PseudoMetaFile_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9771 PyObject
*resultobj
;
9772 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9775 PyObject
* obj0
= 0 ;
9776 PyObject
* obj1
= 0 ;
9777 PyObject
* obj2
= 0 ;
9779 (char *) "self",(char *) "w",(char *) "h", NULL
9782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoMetaFile_SetSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9785 arg2
= (double)SWIG_As_double(obj1
);
9786 if (PyErr_Occurred()) SWIG_fail
;
9787 arg3
= (double)SWIG_As_double(obj2
);
9788 if (PyErr_Occurred()) SWIG_fail
;
9790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9791 (arg1
)->SetSize(arg2
,arg3
);
9793 wxPyEndAllowThreads(__tstate
);
9794 if (PyErr_Occurred()) SWIG_fail
;
9796 Py_INCREF(Py_None
); resultobj
= Py_None
;
9803 static PyObject
*_wrap_PseudoMetaFile_SetFillBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9804 PyObject
*resultobj
;
9805 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9806 wxBrush
*arg2
= (wxBrush
*) 0 ;
9807 PyObject
* obj0
= 0 ;
9808 PyObject
* obj1
= 0 ;
9810 (char *) "self",(char *) "brush", NULL
9813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_SetFillBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
9814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9819 if (obj1
== Py_None
) {
9822 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxBrush"))) {
9823 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxBrush.");
9828 arg2
= wxTheBrushList
->FindOrCreateBrush(temp
->GetColour(), temp
->GetStyle());
9833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9834 (arg1
)->SetFillBrush(arg2
);
9836 wxPyEndAllowThreads(__tstate
);
9837 if (PyErr_Occurred()) SWIG_fail
;
9839 Py_INCREF(Py_None
); resultobj
= Py_None
;
9846 static PyObject
*_wrap_PseudoMetaFile_GetFillBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9847 PyObject
*resultobj
;
9848 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9850 PyObject
* obj0
= 0 ;
9852 (char *) "self", NULL
9855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PseudoMetaFile_GetFillBrush",kwnames
,&obj0
)) goto fail
;
9856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9860 result
= (wxBrush
*)(arg1
)->GetFillBrush();
9862 wxPyEndAllowThreads(__tstate
);
9863 if (PyErr_Occurred()) SWIG_fail
;
9865 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 0);
9872 static PyObject
*_wrap_PseudoMetaFile_SetOutlinePen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9873 PyObject
*resultobj
;
9874 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9875 wxPen
*arg2
= (wxPen
*) 0 ;
9876 PyObject
* obj0
= 0 ;
9877 PyObject
* obj1
= 0 ;
9879 (char *) "self",(char *) "pen", NULL
9882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_SetOutlinePen",kwnames
,&obj0
,&obj1
)) goto fail
;
9883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9888 if (obj1
== Py_None
) {
9891 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxPen"))) {
9892 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxPen.");
9897 arg2
= wxThePenList
->FindOrCreatePen(temp
->GetColour(),
9904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9905 (arg1
)->SetOutlinePen(arg2
);
9907 wxPyEndAllowThreads(__tstate
);
9908 if (PyErr_Occurred()) SWIG_fail
;
9910 Py_INCREF(Py_None
); resultobj
= Py_None
;
9917 static PyObject
*_wrap_PseudoMetaFile_GetOutlinePen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9918 PyObject
*resultobj
;
9919 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9921 PyObject
* obj0
= 0 ;
9923 (char *) "self", NULL
9926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PseudoMetaFile_GetOutlinePen",kwnames
,&obj0
)) goto fail
;
9927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9931 result
= (wxPen
*)(arg1
)->GetOutlinePen();
9933 wxPyEndAllowThreads(__tstate
);
9934 if (PyErr_Occurred()) SWIG_fail
;
9936 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 0);
9943 static PyObject
*_wrap_PseudoMetaFile_SetOutlineOp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9944 PyObject
*resultobj
;
9945 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9947 PyObject
* obj0
= 0 ;
9948 PyObject
* obj1
= 0 ;
9950 (char *) "self",(char *) "op", NULL
9953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_SetOutlineOp",kwnames
,&obj0
,&obj1
)) goto fail
;
9954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9956 arg2
= (int)SWIG_As_int(obj1
);
9957 if (PyErr_Occurred()) SWIG_fail
;
9959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9960 (arg1
)->SetOutlineOp(arg2
);
9962 wxPyEndAllowThreads(__tstate
);
9963 if (PyErr_Occurred()) SWIG_fail
;
9965 Py_INCREF(Py_None
); resultobj
= Py_None
;
9972 static PyObject
*_wrap_PseudoMetaFile_GetOutlineOp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9973 PyObject
*resultobj
;
9974 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9976 PyObject
* obj0
= 0 ;
9978 (char *) "self", NULL
9981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PseudoMetaFile_GetOutlineOp",kwnames
,&obj0
)) goto fail
;
9982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9986 result
= (int)(arg1
)->GetOutlineOp();
9988 wxPyEndAllowThreads(__tstate
);
9989 if (PyErr_Occurred()) SWIG_fail
;
9991 resultobj
= SWIG_From_int((int)result
);
9998 static PyObject
*_wrap_PseudoMetaFile_IsValid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9999 PyObject
*resultobj
;
10000 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10002 PyObject
* obj0
= 0 ;
10003 char *kwnames
[] = {
10004 (char *) "self", NULL
10007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PseudoMetaFile_IsValid",kwnames
,&obj0
)) goto fail
;
10008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
10009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10012 result
= (bool)(arg1
)->IsValid();
10014 wxPyEndAllowThreads(__tstate
);
10015 if (PyErr_Occurred()) SWIG_fail
;
10018 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10026 static PyObject
*_wrap_PseudoMetaFile_DrawLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10027 PyObject
*resultobj
;
10028 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10029 wxPoint
*arg2
= 0 ;
10030 wxPoint
*arg3
= 0 ;
10033 PyObject
* obj0
= 0 ;
10034 PyObject
* obj1
= 0 ;
10035 PyObject
* obj2
= 0 ;
10036 char *kwnames
[] = {
10037 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
10040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoMetaFile_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
10042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10045 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10049 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10053 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
10055 wxPyEndAllowThreads(__tstate
);
10056 if (PyErr_Occurred()) SWIG_fail
;
10058 Py_INCREF(Py_None
); resultobj
= Py_None
;
10065 static PyObject
*_wrap_PseudoMetaFile_DrawRectangle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10066 PyObject
*resultobj
;
10067 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10070 PyObject
* obj0
= 0 ;
10071 PyObject
* obj1
= 0 ;
10072 char *kwnames
[] = {
10073 (char *) "self",(char *) "rect", NULL
10076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_DrawRectangle",kwnames
,&obj0
,&obj1
)) goto fail
;
10077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
10078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10081 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10085 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
10087 wxPyEndAllowThreads(__tstate
);
10088 if (PyErr_Occurred()) SWIG_fail
;
10090 Py_INCREF(Py_None
); resultobj
= Py_None
;
10097 static PyObject
*_wrap_PseudoMetaFile_DrawRoundedRectangle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10098 PyObject
*resultobj
;
10099 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10103 PyObject
* obj0
= 0 ;
10104 PyObject
* obj1
= 0 ;
10105 PyObject
* obj2
= 0 ;
10106 char *kwnames
[] = {
10107 (char *) "self",(char *) "rect",(char *) "radius", NULL
10110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoMetaFile_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
10112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10115 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10117 arg3
= (double)SWIG_As_double(obj2
);
10118 if (PyErr_Occurred()) SWIG_fail
;
10120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10121 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
10123 wxPyEndAllowThreads(__tstate
);
10124 if (PyErr_Occurred()) SWIG_fail
;
10126 Py_INCREF(Py_None
); resultobj
= Py_None
;
10133 static PyObject
*_wrap_PseudoMetaFile_DrawArc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10134 PyObject
*resultobj
;
10135 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10136 wxPoint
*arg2
= 0 ;
10137 wxPoint
*arg3
= 0 ;
10138 wxPoint
*arg4
= 0 ;
10142 PyObject
* obj0
= 0 ;
10143 PyObject
* obj1
= 0 ;
10144 PyObject
* obj2
= 0 ;
10145 PyObject
* obj3
= 0 ;
10146 char *kwnames
[] = {
10147 (char *) "self",(char *) "centrePt",(char *) "startPt",(char *) "endPt", NULL
10150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoMetaFile_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
10152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10155 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10159 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10163 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10167 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
10169 wxPyEndAllowThreads(__tstate
);
10170 if (PyErr_Occurred()) SWIG_fail
;
10172 Py_INCREF(Py_None
); resultobj
= Py_None
;
10179 static PyObject
*_wrap_PseudoMetaFile_DrawEllipticArc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10180 PyObject
*resultobj
;
10181 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10186 PyObject
* obj0
= 0 ;
10187 PyObject
* obj1
= 0 ;
10188 PyObject
* obj2
= 0 ;
10189 PyObject
* obj3
= 0 ;
10190 char *kwnames
[] = {
10191 (char *) "self",(char *) "rect",(char *) "startAngle",(char *) "endAngle", NULL
10194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoMetaFile_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
10196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10199 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10201 arg3
= (double)SWIG_As_double(obj2
);
10202 if (PyErr_Occurred()) SWIG_fail
;
10203 arg4
= (double)SWIG_As_double(obj3
);
10204 if (PyErr_Occurred()) SWIG_fail
;
10206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10207 (arg1
)->DrawEllipticArc((wxRect
const &)*arg2
,arg3
,arg4
);
10209 wxPyEndAllowThreads(__tstate
);
10210 if (PyErr_Occurred()) SWIG_fail
;
10212 Py_INCREF(Py_None
); resultobj
= Py_None
;
10219 static PyObject
*_wrap_PseudoMetaFile_DrawEllipse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10220 PyObject
*resultobj
;
10221 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10224 PyObject
* obj0
= 0 ;
10225 PyObject
* obj1
= 0 ;
10226 char *kwnames
[] = {
10227 (char *) "self",(char *) "rect", NULL
10230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_DrawEllipse",kwnames
,&obj0
,&obj1
)) goto fail
;
10231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
10232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10235 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10239 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
10241 wxPyEndAllowThreads(__tstate
);
10242 if (PyErr_Occurred()) SWIG_fail
;
10244 Py_INCREF(Py_None
); resultobj
= Py_None
;
10251 static PyObject
*_wrap_PseudoMetaFile_DrawPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10252 PyObject
*resultobj
;
10253 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10254 wxPoint
*arg2
= 0 ;
10256 PyObject
* obj0
= 0 ;
10257 PyObject
* obj1
= 0 ;
10258 char *kwnames
[] = {
10259 (char *) "self",(char *) "pt", NULL
10262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_DrawPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
10263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
10264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10267 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10271 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
10273 wxPyEndAllowThreads(__tstate
);
10274 if (PyErr_Occurred()) SWIG_fail
;
10276 Py_INCREF(Py_None
); resultobj
= Py_None
;
10283 static PyObject
*_wrap_PseudoMetaFile_DrawText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10284 PyObject
*resultobj
;
10285 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10286 wxString
*arg2
= 0 ;
10287 wxPoint
*arg3
= 0 ;
10288 bool temp2
= false ;
10290 PyObject
* obj0
= 0 ;
10291 PyObject
* obj1
= 0 ;
10292 PyObject
* obj2
= 0 ;
10293 char *kwnames
[] = {
10294 (char *) "self",(char *) "text",(char *) "pt", NULL
10297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoMetaFile_DrawText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
10299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10301 arg2
= wxString_in_helper(obj1
);
10302 if (arg2
== NULL
) SWIG_fail
;
10307 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10311 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
10313 wxPyEndAllowThreads(__tstate
);
10314 if (PyErr_Occurred()) SWIG_fail
;
10316 Py_INCREF(Py_None
); resultobj
= Py_None
;
10331 static PyObject
*_wrap_PseudoMetaFile_DrawLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10332 PyObject
*resultobj
;
10333 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10335 wxPoint
*arg3
= (wxPoint
*) 0 ;
10336 PyObject
* obj0
= 0 ;
10337 PyObject
* obj1
= 0 ;
10338 char *kwnames
[] = {
10339 (char *) "self",(char *) "points", NULL
10342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_DrawLines",kwnames
,&obj0
,&obj1
)) goto fail
;
10343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
10344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10346 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
10347 if (arg3
== NULL
) SWIG_fail
;
10350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10351 (arg1
)->DrawLines(arg2
,arg3
);
10353 wxPyEndAllowThreads(__tstate
);
10354 if (PyErr_Occurred()) SWIG_fail
;
10356 Py_INCREF(Py_None
); resultobj
= Py_None
;
10358 if (arg3
) delete [] arg3
;
10363 if (arg3
) delete [] arg3
;
10369 static PyObject
*_wrap_PseudoMetaFile_DrawPolygon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10370 PyObject
*resultobj
;
10371 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10373 wxPoint
*arg3
= (wxPoint
*) 0 ;
10374 int arg4
= (int) 0 ;
10375 PyObject
* obj0
= 0 ;
10376 PyObject
* obj1
= 0 ;
10377 PyObject
* obj2
= 0 ;
10378 char *kwnames
[] = {
10379 (char *) "self",(char *) "points",(char *) "flags", NULL
10382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PseudoMetaFile_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
10384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10386 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
10387 if (arg3
== NULL
) SWIG_fail
;
10390 arg4
= (int)SWIG_As_int(obj2
);
10391 if (PyErr_Occurred()) SWIG_fail
;
10394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10395 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
);
10397 wxPyEndAllowThreads(__tstate
);
10398 if (PyErr_Occurred()) SWIG_fail
;
10400 Py_INCREF(Py_None
); resultobj
= Py_None
;
10402 if (arg3
) delete [] arg3
;
10407 if (arg3
) delete [] arg3
;
10413 static PyObject
*_wrap_PseudoMetaFile_DrawSpline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10414 PyObject
*resultobj
;
10415 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10417 wxPoint
*arg3
= (wxPoint
*) 0 ;
10418 PyObject
* obj0
= 0 ;
10419 PyObject
* obj1
= 0 ;
10420 char *kwnames
[] = {
10421 (char *) "self",(char *) "points", NULL
10424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_DrawSpline",kwnames
,&obj0
,&obj1
)) goto fail
;
10425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
10426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10428 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
10429 if (arg3
== NULL
) SWIG_fail
;
10432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10433 (arg1
)->DrawSpline(arg2
,arg3
);
10435 wxPyEndAllowThreads(__tstate
);
10436 if (PyErr_Occurred()) SWIG_fail
;
10438 Py_INCREF(Py_None
); resultobj
= Py_None
;
10440 if (arg3
) delete [] arg3
;
10445 if (arg3
) delete [] arg3
;
10451 static PyObject
*_wrap_PseudoMetaFile_SetClippingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10452 PyObject
*resultobj
;
10453 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10456 PyObject
* obj0
= 0 ;
10457 PyObject
* obj1
= 0 ;
10458 char *kwnames
[] = {
10459 (char *) "self",(char *) "rect", NULL
10462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_SetClippingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
10463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
10464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10467 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10471 (arg1
)->SetClippingRect((wxRect
const &)*arg2
);
10473 wxPyEndAllowThreads(__tstate
);
10474 if (PyErr_Occurred()) SWIG_fail
;
10476 Py_INCREF(Py_None
); resultobj
= Py_None
;
10483 static PyObject
*_wrap_PseudoMetaFile_DestroyClippingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10484 PyObject
*resultobj
;
10485 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10486 PyObject
* obj0
= 0 ;
10487 char *kwnames
[] = {
10488 (char *) "self", NULL
10491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PseudoMetaFile_DestroyClippingRect",kwnames
,&obj0
)) goto fail
;
10492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
10493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10496 (arg1
)->DestroyClippingRect();
10498 wxPyEndAllowThreads(__tstate
);
10499 if (PyErr_Occurred()) SWIG_fail
;
10501 Py_INCREF(Py_None
); resultobj
= Py_None
;
10508 static PyObject
*_wrap_PseudoMetaFile_SetPen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10509 PyObject
*resultobj
;
10510 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10511 wxPen
*arg2
= (wxPen
*) 0 ;
10512 bool arg3
= (bool) FALSE
;
10513 PyObject
* obj0
= 0 ;
10514 PyObject
* obj1
= 0 ;
10515 PyObject
* obj2
= 0 ;
10516 char *kwnames
[] = {
10517 (char *) "self",(char *) "pen",(char *) "isOutline", NULL
10520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PseudoMetaFile_SetPen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
10522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10526 if (obj1
== Py_None
) {
10529 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxPen"))) {
10530 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxPen.");
10535 arg2
= wxThePenList
->FindOrCreatePen(temp
->GetColour(),
10542 arg3
= (bool)SWIG_As_bool(obj2
);
10543 if (PyErr_Occurred()) SWIG_fail
;
10546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10547 (arg1
)->SetPen(arg2
,arg3
);
10549 wxPyEndAllowThreads(__tstate
);
10550 if (PyErr_Occurred()) SWIG_fail
;
10552 Py_INCREF(Py_None
); resultobj
= Py_None
;
10559 static PyObject
*_wrap_PseudoMetaFile_SetBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10560 PyObject
*resultobj
;
10561 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10562 wxBrush
*arg2
= (wxBrush
*) 0 ;
10563 bool arg3
= (bool) FALSE
;
10564 PyObject
* obj0
= 0 ;
10565 PyObject
* obj1
= 0 ;
10566 PyObject
* obj2
= 0 ;
10567 char *kwnames
[] = {
10568 (char *) "self",(char *) "brush",(char *) "isFill", NULL
10571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PseudoMetaFile_SetBrush",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
10573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10577 if (obj1
== Py_None
) {
10580 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxBrush"))) {
10581 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxBrush.");
10586 arg2
= wxTheBrushList
->FindOrCreateBrush(temp
->GetColour(), temp
->GetStyle());
10591 arg3
= (bool)SWIG_As_bool(obj2
);
10592 if (PyErr_Occurred()) SWIG_fail
;
10595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10596 (arg1
)->SetBrush(arg2
,arg3
);
10598 wxPyEndAllowThreads(__tstate
);
10599 if (PyErr_Occurred()) SWIG_fail
;
10601 Py_INCREF(Py_None
); resultobj
= Py_None
;
10608 static PyObject
*_wrap_PseudoMetaFile_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10609 PyObject
*resultobj
;
10610 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10611 wxFont
*arg2
= (wxFont
*) 0 ;
10612 PyObject
* obj0
= 0 ;
10613 PyObject
* obj1
= 0 ;
10614 char *kwnames
[] = {
10615 (char *) "self",(char *) "font", NULL
10618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
10619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
10620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10624 if (obj1
== Py_None
) {
10627 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxFont"))) {
10628 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxFont.");
10633 arg2
= wxTheFontList
->FindOrCreateFont(temp
->GetPointSize(),
10637 temp
->GetUnderlined(),
10638 temp
->GetFaceName(),
10639 temp
->GetEncoding());
10644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10645 (arg1
)->SetFont(arg2
);
10647 wxPyEndAllowThreads(__tstate
);
10648 if (PyErr_Occurred()) SWIG_fail
;
10650 Py_INCREF(Py_None
); resultobj
= Py_None
;
10657 static PyObject
*_wrap_PseudoMetaFile_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10658 PyObject
*resultobj
;
10659 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10660 wxColour
*arg2
= 0 ;
10662 PyObject
* obj0
= 0 ;
10663 PyObject
* obj1
= 0 ;
10664 char *kwnames
[] = {
10665 (char *) "self",(char *) "colour", NULL
10668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
10669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
10670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10673 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10677 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
10679 wxPyEndAllowThreads(__tstate
);
10680 if (PyErr_Occurred()) SWIG_fail
;
10682 Py_INCREF(Py_None
); resultobj
= Py_None
;
10689 static PyObject
*_wrap_PseudoMetaFile_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10690 PyObject
*resultobj
;
10691 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10692 wxColour
*arg2
= 0 ;
10694 PyObject
* obj0
= 0 ;
10695 PyObject
* obj1
= 0 ;
10696 char *kwnames
[] = {
10697 (char *) "self",(char *) "colour", NULL
10700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
10701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
10702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10705 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10709 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
10711 wxPyEndAllowThreads(__tstate
);
10712 if (PyErr_Occurred()) SWIG_fail
;
10714 Py_INCREF(Py_None
); resultobj
= Py_None
;
10721 static PyObject
*_wrap_PseudoMetaFile_SetBackgroundMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10722 PyObject
*resultobj
;
10723 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10725 PyObject
* obj0
= 0 ;
10726 PyObject
* obj1
= 0 ;
10727 char *kwnames
[] = {
10728 (char *) "self",(char *) "mode", NULL
10731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) goto fail
;
10732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
10733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10734 arg2
= (int)SWIG_As_int(obj1
);
10735 if (PyErr_Occurred()) SWIG_fail
;
10737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10738 (arg1
)->SetBackgroundMode(arg2
);
10740 wxPyEndAllowThreads(__tstate
);
10741 if (PyErr_Occurred()) SWIG_fail
;
10743 Py_INCREF(Py_None
); resultobj
= Py_None
;
10750 static PyObject
* PseudoMetaFile_swigregister(PyObject
*, PyObject
*args
) {
10752 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10753 SWIG_TypeClientData(SWIGTYPE_p_wxPseudoMetaFile
, obj
);
10755 return Py_BuildValue((char *)"");
10757 static PyObject
*_wrap_new_PyRectangleShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10758 PyObject
*resultobj
;
10759 double arg1
= (double) 0.0 ;
10760 double arg2
= (double) 0.0 ;
10761 wxPyRectangleShape
*result
;
10762 PyObject
* obj0
= 0 ;
10763 PyObject
* obj1
= 0 ;
10764 char *kwnames
[] = {
10765 (char *) "width",(char *) "height", NULL
10768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyRectangleShape",kwnames
,&obj0
,&obj1
)) goto fail
;
10770 arg1
= (double)SWIG_As_double(obj0
);
10771 if (PyErr_Occurred()) SWIG_fail
;
10774 arg2
= (double)SWIG_As_double(obj1
);
10775 if (PyErr_Occurred()) SWIG_fail
;
10778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10779 result
= (wxPyRectangleShape
*)new wxPyRectangleShape(arg1
,arg2
);
10781 wxPyEndAllowThreads(__tstate
);
10782 if (PyErr_Occurred()) SWIG_fail
;
10784 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyRectangleShape
, 1);
10791 static PyObject
*_wrap_PyRectangleShape__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10792 PyObject
*resultobj
;
10793 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
10794 PyObject
*arg2
= (PyObject
*) 0 ;
10795 PyObject
*arg3
= (PyObject
*) 0 ;
10796 PyObject
* obj0
= 0 ;
10797 PyObject
* obj1
= 0 ;
10798 PyObject
* obj2
= 0 ;
10799 char *kwnames
[] = {
10800 (char *) "self",(char *) "self",(char *) "_class", NULL
10803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyRectangleShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
10805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10810 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10812 wxPyEndAllowThreads(__tstate
);
10813 if (PyErr_Occurred()) SWIG_fail
;
10815 Py_INCREF(Py_None
); resultobj
= Py_None
;
10822 static PyObject
*_wrap_PyRectangleShape_SetCornerRadius(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10823 PyObject
*resultobj
;
10824 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
10826 PyObject
* obj0
= 0 ;
10827 PyObject
* obj1
= 0 ;
10828 char *kwnames
[] = {
10829 (char *) "self",(char *) "radius", NULL
10832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyRectangleShape_SetCornerRadius",kwnames
,&obj0
,&obj1
)) goto fail
;
10833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
10834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10835 arg2
= (double)SWIG_As_double(obj1
);
10836 if (PyErr_Occurred()) SWIG_fail
;
10838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10839 (arg1
)->SetCornerRadius(arg2
);
10841 wxPyEndAllowThreads(__tstate
);
10842 if (PyErr_Occurred()) SWIG_fail
;
10844 Py_INCREF(Py_None
); resultobj
= Py_None
;
10851 static PyObject
*_wrap_PyRectangleShape_GetCornerRadius(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10852 PyObject
*resultobj
;
10853 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
10855 PyObject
* obj0
= 0 ;
10856 char *kwnames
[] = {
10857 (char *) "self", NULL
10860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyRectangleShape_GetCornerRadius",kwnames
,&obj0
)) goto fail
;
10861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
10862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10865 result
= (double)(arg1
)->GetCornerRadius();
10867 wxPyEndAllowThreads(__tstate
);
10868 if (PyErr_Occurred()) SWIG_fail
;
10870 resultobj
= SWIG_From_double((double)result
);
10877 static PyObject
*_wrap_PyRectangleShape_base_OnDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10878 PyObject
*resultobj
;
10879 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
10880 PyObject
* obj0
= 0 ;
10881 char *kwnames
[] = {
10882 (char *) "self", NULL
10885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyRectangleShape_base_OnDelete",kwnames
,&obj0
)) goto fail
;
10886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
10887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10890 (arg1
)->base_OnDelete();
10892 wxPyEndAllowThreads(__tstate
);
10893 if (PyErr_Occurred()) SWIG_fail
;
10895 Py_INCREF(Py_None
); resultobj
= Py_None
;
10902 static PyObject
*_wrap_PyRectangleShape_base_OnDraw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10903 PyObject
*resultobj
;
10904 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
10906 PyObject
* obj0
= 0 ;
10907 PyObject
* obj1
= 0 ;
10908 char *kwnames
[] = {
10909 (char *) "self",(char *) "dc", NULL
10912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyRectangleShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
10913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
10914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10915 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
10916 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10918 if (arg2
== NULL
) {
10919 PyErr_SetString(PyExc_TypeError
,"null reference");
10923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10924 (arg1
)->base_OnDraw(*arg2
);
10926 wxPyEndAllowThreads(__tstate
);
10927 if (PyErr_Occurred()) SWIG_fail
;
10929 Py_INCREF(Py_None
); resultobj
= Py_None
;
10936 static PyObject
*_wrap_PyRectangleShape_base_OnDrawContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10937 PyObject
*resultobj
;
10938 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
10940 PyObject
* obj0
= 0 ;
10941 PyObject
* obj1
= 0 ;
10942 char *kwnames
[] = {
10943 (char *) "self",(char *) "dc", NULL
10946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyRectangleShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
10947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
10948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10949 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
10950 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10952 if (arg2
== NULL
) {
10953 PyErr_SetString(PyExc_TypeError
,"null reference");
10957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10958 (arg1
)->base_OnDrawContents(*arg2
);
10960 wxPyEndAllowThreads(__tstate
);
10961 if (PyErr_Occurred()) SWIG_fail
;
10963 Py_INCREF(Py_None
); resultobj
= Py_None
;
10970 static PyObject
*_wrap_PyRectangleShape_base_OnDrawBranches(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10971 PyObject
*resultobj
;
10972 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
10974 bool arg3
= (bool) FALSE
;
10975 PyObject
* obj0
= 0 ;
10976 PyObject
* obj1
= 0 ;
10977 PyObject
* obj2
= 0 ;
10978 char *kwnames
[] = {
10979 (char *) "self",(char *) "dc",(char *) "erase", NULL
10982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyRectangleShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
10984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10985 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
10986 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10988 if (arg2
== NULL
) {
10989 PyErr_SetString(PyExc_TypeError
,"null reference");
10993 arg3
= (bool)SWIG_As_bool(obj2
);
10994 if (PyErr_Occurred()) SWIG_fail
;
10997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10998 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
11000 wxPyEndAllowThreads(__tstate
);
11001 if (PyErr_Occurred()) SWIG_fail
;
11003 Py_INCREF(Py_None
); resultobj
= Py_None
;
11010 static PyObject
*_wrap_PyRectangleShape_base_OnMoveLinks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11011 PyObject
*resultobj
;
11012 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11014 PyObject
* obj0
= 0 ;
11015 PyObject
* obj1
= 0 ;
11016 char *kwnames
[] = {
11017 (char *) "self",(char *) "dc", NULL
11020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyRectangleShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
11021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11023 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
11024 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11026 if (arg2
== NULL
) {
11027 PyErr_SetString(PyExc_TypeError
,"null reference");
11031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11032 (arg1
)->base_OnMoveLinks(*arg2
);
11034 wxPyEndAllowThreads(__tstate
);
11035 if (PyErr_Occurred()) SWIG_fail
;
11037 Py_INCREF(Py_None
); resultobj
= Py_None
;
11044 static PyObject
*_wrap_PyRectangleShape_base_OnErase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11045 PyObject
*resultobj
;
11046 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11048 PyObject
* obj0
= 0 ;
11049 PyObject
* obj1
= 0 ;
11050 char *kwnames
[] = {
11051 (char *) "self",(char *) "dc", NULL
11054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyRectangleShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
11055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11057 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
11058 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11060 if (arg2
== NULL
) {
11061 PyErr_SetString(PyExc_TypeError
,"null reference");
11065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11066 (arg1
)->base_OnErase(*arg2
);
11068 wxPyEndAllowThreads(__tstate
);
11069 if (PyErr_Occurred()) SWIG_fail
;
11071 Py_INCREF(Py_None
); resultobj
= Py_None
;
11078 static PyObject
*_wrap_PyRectangleShape_base_OnEraseContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11079 PyObject
*resultobj
;
11080 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11082 PyObject
* obj0
= 0 ;
11083 PyObject
* obj1
= 0 ;
11084 char *kwnames
[] = {
11085 (char *) "self",(char *) "dc", NULL
11088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyRectangleShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
11089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11091 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
11092 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11094 if (arg2
== NULL
) {
11095 PyErr_SetString(PyExc_TypeError
,"null reference");
11099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11100 (arg1
)->base_OnEraseContents(*arg2
);
11102 wxPyEndAllowThreads(__tstate
);
11103 if (PyErr_Occurred()) SWIG_fail
;
11105 Py_INCREF(Py_None
); resultobj
= Py_None
;
11112 static PyObject
*_wrap_PyRectangleShape_base_OnHighlight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11113 PyObject
*resultobj
;
11114 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11116 PyObject
* obj0
= 0 ;
11117 PyObject
* obj1
= 0 ;
11118 char *kwnames
[] = {
11119 (char *) "self",(char *) "dc", NULL
11122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyRectangleShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
11123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11125 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
11126 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11128 if (arg2
== NULL
) {
11129 PyErr_SetString(PyExc_TypeError
,"null reference");
11133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11134 (arg1
)->base_OnHighlight(*arg2
);
11136 wxPyEndAllowThreads(__tstate
);
11137 if (PyErr_Occurred()) SWIG_fail
;
11139 Py_INCREF(Py_None
); resultobj
= Py_None
;
11146 static PyObject
*_wrap_PyRectangleShape_base_OnLeftClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11147 PyObject
*resultobj
;
11148 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11151 int arg4
= (int) 0 ;
11152 int arg5
= (int) 0 ;
11153 PyObject
* obj0
= 0 ;
11154 PyObject
* obj1
= 0 ;
11155 PyObject
* obj2
= 0 ;
11156 PyObject
* obj3
= 0 ;
11157 PyObject
* obj4
= 0 ;
11158 char *kwnames
[] = {
11159 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyRectangleShape_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11165 arg2
= (double)SWIG_As_double(obj1
);
11166 if (PyErr_Occurred()) SWIG_fail
;
11167 arg3
= (double)SWIG_As_double(obj2
);
11168 if (PyErr_Occurred()) SWIG_fail
;
11170 arg4
= (int)SWIG_As_int(obj3
);
11171 if (PyErr_Occurred()) SWIG_fail
;
11174 arg5
= (int)SWIG_As_int(obj4
);
11175 if (PyErr_Occurred()) SWIG_fail
;
11178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11179 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
11181 wxPyEndAllowThreads(__tstate
);
11182 if (PyErr_Occurred()) SWIG_fail
;
11184 Py_INCREF(Py_None
); resultobj
= Py_None
;
11191 static PyObject
*_wrap_PyRectangleShape_base_OnLeftDoubleClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11192 PyObject
*resultobj
;
11193 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11196 int arg4
= (int) 0 ;
11197 int arg5
= (int) 0 ;
11198 PyObject
* obj0
= 0 ;
11199 PyObject
* obj1
= 0 ;
11200 PyObject
* obj2
= 0 ;
11201 PyObject
* obj3
= 0 ;
11202 PyObject
* obj4
= 0 ;
11203 char *kwnames
[] = {
11204 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyRectangleShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11210 arg2
= (double)SWIG_As_double(obj1
);
11211 if (PyErr_Occurred()) SWIG_fail
;
11212 arg3
= (double)SWIG_As_double(obj2
);
11213 if (PyErr_Occurred()) SWIG_fail
;
11215 arg4
= (int)SWIG_As_int(obj3
);
11216 if (PyErr_Occurred()) SWIG_fail
;
11219 arg5
= (int)SWIG_As_int(obj4
);
11220 if (PyErr_Occurred()) SWIG_fail
;
11223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11224 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
11226 wxPyEndAllowThreads(__tstate
);
11227 if (PyErr_Occurred()) SWIG_fail
;
11229 Py_INCREF(Py_None
); resultobj
= Py_None
;
11236 static PyObject
*_wrap_PyRectangleShape_base_OnRightClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11237 PyObject
*resultobj
;
11238 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11241 int arg4
= (int) 0 ;
11242 int arg5
= (int) 0 ;
11243 PyObject
* obj0
= 0 ;
11244 PyObject
* obj1
= 0 ;
11245 PyObject
* obj2
= 0 ;
11246 PyObject
* obj3
= 0 ;
11247 PyObject
* obj4
= 0 ;
11248 char *kwnames
[] = {
11249 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyRectangleShape_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11255 arg2
= (double)SWIG_As_double(obj1
);
11256 if (PyErr_Occurred()) SWIG_fail
;
11257 arg3
= (double)SWIG_As_double(obj2
);
11258 if (PyErr_Occurred()) SWIG_fail
;
11260 arg4
= (int)SWIG_As_int(obj3
);
11261 if (PyErr_Occurred()) SWIG_fail
;
11264 arg5
= (int)SWIG_As_int(obj4
);
11265 if (PyErr_Occurred()) SWIG_fail
;
11268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11269 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
11271 wxPyEndAllowThreads(__tstate
);
11272 if (PyErr_Occurred()) SWIG_fail
;
11274 Py_INCREF(Py_None
); resultobj
= Py_None
;
11281 static PyObject
*_wrap_PyRectangleShape_base_OnSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11282 PyObject
*resultobj
;
11283 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11286 PyObject
* obj0
= 0 ;
11287 PyObject
* obj1
= 0 ;
11288 PyObject
* obj2
= 0 ;
11289 char *kwnames
[] = {
11290 (char *) "self",(char *) "x",(char *) "y", NULL
11293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyRectangleShape_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11296 arg2
= (double)SWIG_As_double(obj1
);
11297 if (PyErr_Occurred()) SWIG_fail
;
11298 arg3
= (double)SWIG_As_double(obj2
);
11299 if (PyErr_Occurred()) SWIG_fail
;
11301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11302 (arg1
)->base_OnSize(arg2
,arg3
);
11304 wxPyEndAllowThreads(__tstate
);
11305 if (PyErr_Occurred()) SWIG_fail
;
11307 Py_INCREF(Py_None
); resultobj
= Py_None
;
11314 static PyObject
*_wrap_PyRectangleShape_base_OnMovePre(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11315 PyObject
*resultobj
;
11316 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11322 bool arg7
= (bool) true ;
11324 PyObject
* obj0
= 0 ;
11325 PyObject
* obj1
= 0 ;
11326 PyObject
* obj2
= 0 ;
11327 PyObject
* obj3
= 0 ;
11328 PyObject
* obj4
= 0 ;
11329 PyObject
* obj5
= 0 ;
11330 PyObject
* obj6
= 0 ;
11331 char *kwnames
[] = {
11332 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
11335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyRectangleShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11338 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
11339 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11341 if (arg2
== NULL
) {
11342 PyErr_SetString(PyExc_TypeError
,"null reference");
11345 arg3
= (double)SWIG_As_double(obj2
);
11346 if (PyErr_Occurred()) SWIG_fail
;
11347 arg4
= (double)SWIG_As_double(obj3
);
11348 if (PyErr_Occurred()) SWIG_fail
;
11349 arg5
= (double)SWIG_As_double(obj4
);
11350 if (PyErr_Occurred()) SWIG_fail
;
11351 arg6
= (double)SWIG_As_double(obj5
);
11352 if (PyErr_Occurred()) SWIG_fail
;
11354 arg7
= (bool)SWIG_As_bool(obj6
);
11355 if (PyErr_Occurred()) SWIG_fail
;
11358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11359 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
11361 wxPyEndAllowThreads(__tstate
);
11362 if (PyErr_Occurred()) SWIG_fail
;
11365 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11373 static PyObject
*_wrap_PyRectangleShape_base_OnMovePost(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11374 PyObject
*resultobj
;
11375 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11381 bool arg7
= (bool) true ;
11382 PyObject
* obj0
= 0 ;
11383 PyObject
* obj1
= 0 ;
11384 PyObject
* obj2
= 0 ;
11385 PyObject
* obj3
= 0 ;
11386 PyObject
* obj4
= 0 ;
11387 PyObject
* obj5
= 0 ;
11388 PyObject
* obj6
= 0 ;
11389 char *kwnames
[] = {
11390 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
11393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyRectangleShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11396 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
11397 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11399 if (arg2
== NULL
) {
11400 PyErr_SetString(PyExc_TypeError
,"null reference");
11403 arg3
= (double)SWIG_As_double(obj2
);
11404 if (PyErr_Occurred()) SWIG_fail
;
11405 arg4
= (double)SWIG_As_double(obj3
);
11406 if (PyErr_Occurred()) SWIG_fail
;
11407 arg5
= (double)SWIG_As_double(obj4
);
11408 if (PyErr_Occurred()) SWIG_fail
;
11409 arg6
= (double)SWIG_As_double(obj5
);
11410 if (PyErr_Occurred()) SWIG_fail
;
11412 arg7
= (bool)SWIG_As_bool(obj6
);
11413 if (PyErr_Occurred()) SWIG_fail
;
11416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11417 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
11419 wxPyEndAllowThreads(__tstate
);
11420 if (PyErr_Occurred()) SWIG_fail
;
11422 Py_INCREF(Py_None
); resultobj
= Py_None
;
11429 static PyObject
*_wrap_PyRectangleShape_base_OnDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11430 PyObject
*resultobj
;
11431 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11435 int arg5
= (int) 0 ;
11436 int arg6
= (int) 0 ;
11437 PyObject
* obj0
= 0 ;
11438 PyObject
* obj1
= 0 ;
11439 PyObject
* obj2
= 0 ;
11440 PyObject
* obj3
= 0 ;
11441 PyObject
* obj4
= 0 ;
11442 PyObject
* obj5
= 0 ;
11443 char *kwnames
[] = {
11444 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyRectangleShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11450 arg2
= (bool)SWIG_As_bool(obj1
);
11451 if (PyErr_Occurred()) SWIG_fail
;
11452 arg3
= (double)SWIG_As_double(obj2
);
11453 if (PyErr_Occurred()) SWIG_fail
;
11454 arg4
= (double)SWIG_As_double(obj3
);
11455 if (PyErr_Occurred()) SWIG_fail
;
11457 arg5
= (int)SWIG_As_int(obj4
);
11458 if (PyErr_Occurred()) SWIG_fail
;
11461 arg6
= (int)SWIG_As_int(obj5
);
11462 if (PyErr_Occurred()) SWIG_fail
;
11465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11466 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
11468 wxPyEndAllowThreads(__tstate
);
11469 if (PyErr_Occurred()) SWIG_fail
;
11471 Py_INCREF(Py_None
); resultobj
= Py_None
;
11478 static PyObject
*_wrap_PyRectangleShape_base_OnBeginDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11479 PyObject
*resultobj
;
11480 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11483 int arg4
= (int) 0 ;
11484 int arg5
= (int) 0 ;
11485 PyObject
* obj0
= 0 ;
11486 PyObject
* obj1
= 0 ;
11487 PyObject
* obj2
= 0 ;
11488 PyObject
* obj3
= 0 ;
11489 PyObject
* obj4
= 0 ;
11490 char *kwnames
[] = {
11491 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyRectangleShape_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11497 arg2
= (double)SWIG_As_double(obj1
);
11498 if (PyErr_Occurred()) SWIG_fail
;
11499 arg3
= (double)SWIG_As_double(obj2
);
11500 if (PyErr_Occurred()) SWIG_fail
;
11502 arg4
= (int)SWIG_As_int(obj3
);
11503 if (PyErr_Occurred()) SWIG_fail
;
11506 arg5
= (int)SWIG_As_int(obj4
);
11507 if (PyErr_Occurred()) SWIG_fail
;
11510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11511 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
11513 wxPyEndAllowThreads(__tstate
);
11514 if (PyErr_Occurred()) SWIG_fail
;
11516 Py_INCREF(Py_None
); resultobj
= Py_None
;
11523 static PyObject
*_wrap_PyRectangleShape_base_OnEndDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11524 PyObject
*resultobj
;
11525 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11528 int arg4
= (int) 0 ;
11529 int arg5
= (int) 0 ;
11530 PyObject
* obj0
= 0 ;
11531 PyObject
* obj1
= 0 ;
11532 PyObject
* obj2
= 0 ;
11533 PyObject
* obj3
= 0 ;
11534 PyObject
* obj4
= 0 ;
11535 char *kwnames
[] = {
11536 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyRectangleShape_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11542 arg2
= (double)SWIG_As_double(obj1
);
11543 if (PyErr_Occurred()) SWIG_fail
;
11544 arg3
= (double)SWIG_As_double(obj2
);
11545 if (PyErr_Occurred()) SWIG_fail
;
11547 arg4
= (int)SWIG_As_int(obj3
);
11548 if (PyErr_Occurred()) SWIG_fail
;
11551 arg5
= (int)SWIG_As_int(obj4
);
11552 if (PyErr_Occurred()) SWIG_fail
;
11555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11556 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
11558 wxPyEndAllowThreads(__tstate
);
11559 if (PyErr_Occurred()) SWIG_fail
;
11561 Py_INCREF(Py_None
); resultobj
= Py_None
;
11568 static PyObject
*_wrap_PyRectangleShape_base_OnDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11569 PyObject
*resultobj
;
11570 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11574 int arg5
= (int) 0 ;
11575 int arg6
= (int) 0 ;
11576 PyObject
* obj0
= 0 ;
11577 PyObject
* obj1
= 0 ;
11578 PyObject
* obj2
= 0 ;
11579 PyObject
* obj3
= 0 ;
11580 PyObject
* obj4
= 0 ;
11581 PyObject
* obj5
= 0 ;
11582 char *kwnames
[] = {
11583 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyRectangleShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11589 arg2
= (bool)SWIG_As_bool(obj1
);
11590 if (PyErr_Occurred()) SWIG_fail
;
11591 arg3
= (double)SWIG_As_double(obj2
);
11592 if (PyErr_Occurred()) SWIG_fail
;
11593 arg4
= (double)SWIG_As_double(obj3
);
11594 if (PyErr_Occurred()) SWIG_fail
;
11596 arg5
= (int)SWIG_As_int(obj4
);
11597 if (PyErr_Occurred()) SWIG_fail
;
11600 arg6
= (int)SWIG_As_int(obj5
);
11601 if (PyErr_Occurred()) SWIG_fail
;
11604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11605 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
11607 wxPyEndAllowThreads(__tstate
);
11608 if (PyErr_Occurred()) SWIG_fail
;
11610 Py_INCREF(Py_None
); resultobj
= Py_None
;
11617 static PyObject
*_wrap_PyRectangleShape_base_OnBeginDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11618 PyObject
*resultobj
;
11619 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11622 int arg4
= (int) 0 ;
11623 int arg5
= (int) 0 ;
11624 PyObject
* obj0
= 0 ;
11625 PyObject
* obj1
= 0 ;
11626 PyObject
* obj2
= 0 ;
11627 PyObject
* obj3
= 0 ;
11628 PyObject
* obj4
= 0 ;
11629 char *kwnames
[] = {
11630 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyRectangleShape_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11636 arg2
= (double)SWIG_As_double(obj1
);
11637 if (PyErr_Occurred()) SWIG_fail
;
11638 arg3
= (double)SWIG_As_double(obj2
);
11639 if (PyErr_Occurred()) SWIG_fail
;
11641 arg4
= (int)SWIG_As_int(obj3
);
11642 if (PyErr_Occurred()) SWIG_fail
;
11645 arg5
= (int)SWIG_As_int(obj4
);
11646 if (PyErr_Occurred()) SWIG_fail
;
11649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11650 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
11652 wxPyEndAllowThreads(__tstate
);
11653 if (PyErr_Occurred()) SWIG_fail
;
11655 Py_INCREF(Py_None
); resultobj
= Py_None
;
11662 static PyObject
*_wrap_PyRectangleShape_base_OnEndDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11663 PyObject
*resultobj
;
11664 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11667 int arg4
= (int) 0 ;
11668 int arg5
= (int) 0 ;
11669 PyObject
* obj0
= 0 ;
11670 PyObject
* obj1
= 0 ;
11671 PyObject
* obj2
= 0 ;
11672 PyObject
* obj3
= 0 ;
11673 PyObject
* obj4
= 0 ;
11674 char *kwnames
[] = {
11675 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyRectangleShape_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11681 arg2
= (double)SWIG_As_double(obj1
);
11682 if (PyErr_Occurred()) SWIG_fail
;
11683 arg3
= (double)SWIG_As_double(obj2
);
11684 if (PyErr_Occurred()) SWIG_fail
;
11686 arg4
= (int)SWIG_As_int(obj3
);
11687 if (PyErr_Occurred()) SWIG_fail
;
11690 arg5
= (int)SWIG_As_int(obj4
);
11691 if (PyErr_Occurred()) SWIG_fail
;
11694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11695 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
11697 wxPyEndAllowThreads(__tstate
);
11698 if (PyErr_Occurred()) SWIG_fail
;
11700 Py_INCREF(Py_None
); resultobj
= Py_None
;
11707 static PyObject
*_wrap_PyRectangleShape_base_OnDrawOutline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11708 PyObject
*resultobj
;
11709 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11715 PyObject
* obj0
= 0 ;
11716 PyObject
* obj1
= 0 ;
11717 PyObject
* obj2
= 0 ;
11718 PyObject
* obj3
= 0 ;
11719 PyObject
* obj4
= 0 ;
11720 PyObject
* obj5
= 0 ;
11721 char *kwnames
[] = {
11722 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
11725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyRectangleShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11728 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
11729 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11731 if (arg2
== NULL
) {
11732 PyErr_SetString(PyExc_TypeError
,"null reference");
11735 arg3
= (double)SWIG_As_double(obj2
);
11736 if (PyErr_Occurred()) SWIG_fail
;
11737 arg4
= (double)SWIG_As_double(obj3
);
11738 if (PyErr_Occurred()) SWIG_fail
;
11739 arg5
= (double)SWIG_As_double(obj4
);
11740 if (PyErr_Occurred()) SWIG_fail
;
11741 arg6
= (double)SWIG_As_double(obj5
);
11742 if (PyErr_Occurred()) SWIG_fail
;
11744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11745 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
11747 wxPyEndAllowThreads(__tstate
);
11748 if (PyErr_Occurred()) SWIG_fail
;
11750 Py_INCREF(Py_None
); resultobj
= Py_None
;
11757 static PyObject
*_wrap_PyRectangleShape_base_OnDrawControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11758 PyObject
*resultobj
;
11759 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11761 PyObject
* obj0
= 0 ;
11762 PyObject
* obj1
= 0 ;
11763 char *kwnames
[] = {
11764 (char *) "self",(char *) "dc", NULL
11767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyRectangleShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
11768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11770 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
11771 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11773 if (arg2
== NULL
) {
11774 PyErr_SetString(PyExc_TypeError
,"null reference");
11778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11779 (arg1
)->base_OnDrawControlPoints(*arg2
);
11781 wxPyEndAllowThreads(__tstate
);
11782 if (PyErr_Occurred()) SWIG_fail
;
11784 Py_INCREF(Py_None
); resultobj
= Py_None
;
11791 static PyObject
*_wrap_PyRectangleShape_base_OnEraseControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11792 PyObject
*resultobj
;
11793 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11795 PyObject
* obj0
= 0 ;
11796 PyObject
* obj1
= 0 ;
11797 char *kwnames
[] = {
11798 (char *) "self",(char *) "dc", NULL
11801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyRectangleShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
11802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11804 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
11805 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11807 if (arg2
== NULL
) {
11808 PyErr_SetString(PyExc_TypeError
,"null reference");
11812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11813 (arg1
)->base_OnEraseControlPoints(*arg2
);
11815 wxPyEndAllowThreads(__tstate
);
11816 if (PyErr_Occurred()) SWIG_fail
;
11818 Py_INCREF(Py_None
); resultobj
= Py_None
;
11825 static PyObject
*_wrap_PyRectangleShape_base_OnMoveLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11826 PyObject
*resultobj
;
11827 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11829 bool arg3
= (bool) true ;
11830 PyObject
* obj0
= 0 ;
11831 PyObject
* obj1
= 0 ;
11832 PyObject
* obj2
= 0 ;
11833 char *kwnames
[] = {
11834 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
11837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyRectangleShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11840 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
11841 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11843 if (arg2
== NULL
) {
11844 PyErr_SetString(PyExc_TypeError
,"null reference");
11848 arg3
= (bool)SWIG_As_bool(obj2
);
11849 if (PyErr_Occurred()) SWIG_fail
;
11852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11853 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
11855 wxPyEndAllowThreads(__tstate
);
11856 if (PyErr_Occurred()) SWIG_fail
;
11858 Py_INCREF(Py_None
); resultobj
= Py_None
;
11865 static PyObject
*_wrap_PyRectangleShape_base_OnSizingDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11866 PyObject
*resultobj
;
11867 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11868 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
11872 int arg6
= (int) 0 ;
11873 int arg7
= (int) 0 ;
11874 PyObject
* obj0
= 0 ;
11875 PyObject
* obj1
= 0 ;
11876 PyObject
* obj2
= 0 ;
11877 PyObject
* obj3
= 0 ;
11878 PyObject
* obj4
= 0 ;
11879 PyObject
* obj5
= 0 ;
11880 PyObject
* obj6
= 0 ;
11881 char *kwnames
[] = {
11882 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyRectangleShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11888 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
11889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11890 arg3
= (bool)SWIG_As_bool(obj2
);
11891 if (PyErr_Occurred()) SWIG_fail
;
11892 arg4
= (double)SWIG_As_double(obj3
);
11893 if (PyErr_Occurred()) SWIG_fail
;
11894 arg5
= (double)SWIG_As_double(obj4
);
11895 if (PyErr_Occurred()) SWIG_fail
;
11897 arg6
= (int)SWIG_As_int(obj5
);
11898 if (PyErr_Occurred()) SWIG_fail
;
11901 arg7
= (int)SWIG_As_int(obj6
);
11902 if (PyErr_Occurred()) SWIG_fail
;
11905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11906 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
11908 wxPyEndAllowThreads(__tstate
);
11909 if (PyErr_Occurred()) SWIG_fail
;
11911 Py_INCREF(Py_None
); resultobj
= Py_None
;
11918 static PyObject
*_wrap_PyRectangleShape_base_OnSizingBeginDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11919 PyObject
*resultobj
;
11920 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11921 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
11924 int arg5
= (int) 0 ;
11925 int arg6
= (int) 0 ;
11926 PyObject
* obj0
= 0 ;
11927 PyObject
* obj1
= 0 ;
11928 PyObject
* obj2
= 0 ;
11929 PyObject
* obj3
= 0 ;
11930 PyObject
* obj4
= 0 ;
11931 PyObject
* obj5
= 0 ;
11932 char *kwnames
[] = {
11933 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyRectangleShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11939 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
11940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11941 arg3
= (double)SWIG_As_double(obj2
);
11942 if (PyErr_Occurred()) SWIG_fail
;
11943 arg4
= (double)SWIG_As_double(obj3
);
11944 if (PyErr_Occurred()) SWIG_fail
;
11946 arg5
= (int)SWIG_As_int(obj4
);
11947 if (PyErr_Occurred()) SWIG_fail
;
11950 arg6
= (int)SWIG_As_int(obj5
);
11951 if (PyErr_Occurred()) SWIG_fail
;
11954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11955 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
11957 wxPyEndAllowThreads(__tstate
);
11958 if (PyErr_Occurred()) SWIG_fail
;
11960 Py_INCREF(Py_None
); resultobj
= Py_None
;
11967 static PyObject
*_wrap_PyRectangleShape_base_OnSizingEndDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11968 PyObject
*resultobj
;
11969 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11970 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
11973 int arg5
= (int) 0 ;
11974 int arg6
= (int) 0 ;
11975 PyObject
* obj0
= 0 ;
11976 PyObject
* obj1
= 0 ;
11977 PyObject
* obj2
= 0 ;
11978 PyObject
* obj3
= 0 ;
11979 PyObject
* obj4
= 0 ;
11980 PyObject
* obj5
= 0 ;
11981 char *kwnames
[] = {
11982 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyRectangleShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11988 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
11989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11990 arg3
= (double)SWIG_As_double(obj2
);
11991 if (PyErr_Occurred()) SWIG_fail
;
11992 arg4
= (double)SWIG_As_double(obj3
);
11993 if (PyErr_Occurred()) SWIG_fail
;
11995 arg5
= (int)SWIG_As_int(obj4
);
11996 if (PyErr_Occurred()) SWIG_fail
;
11999 arg6
= (int)SWIG_As_int(obj5
);
12000 if (PyErr_Occurred()) SWIG_fail
;
12003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12004 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
12006 wxPyEndAllowThreads(__tstate
);
12007 if (PyErr_Occurred()) SWIG_fail
;
12009 Py_INCREF(Py_None
); resultobj
= Py_None
;
12016 static PyObject
*_wrap_PyRectangleShape_base_OnBeginSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12017 PyObject
*resultobj
;
12018 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
12021 PyObject
* obj0
= 0 ;
12022 PyObject
* obj1
= 0 ;
12023 PyObject
* obj2
= 0 ;
12024 char *kwnames
[] = {
12025 (char *) "self",(char *) "w",(char *) "h", NULL
12028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyRectangleShape_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
12030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12031 arg2
= (double)SWIG_As_double(obj1
);
12032 if (PyErr_Occurred()) SWIG_fail
;
12033 arg3
= (double)SWIG_As_double(obj2
);
12034 if (PyErr_Occurred()) SWIG_fail
;
12036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12037 (arg1
)->base_OnBeginSize(arg2
,arg3
);
12039 wxPyEndAllowThreads(__tstate
);
12040 if (PyErr_Occurred()) SWIG_fail
;
12042 Py_INCREF(Py_None
); resultobj
= Py_None
;
12049 static PyObject
*_wrap_PyRectangleShape_base_OnEndSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12050 PyObject
*resultobj
;
12051 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
12054 PyObject
* obj0
= 0 ;
12055 PyObject
* obj1
= 0 ;
12056 PyObject
* obj2
= 0 ;
12057 char *kwnames
[] = {
12058 (char *) "self",(char *) "w",(char *) "h", NULL
12061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyRectangleShape_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
12063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12064 arg2
= (double)SWIG_As_double(obj1
);
12065 if (PyErr_Occurred()) SWIG_fail
;
12066 arg3
= (double)SWIG_As_double(obj2
);
12067 if (PyErr_Occurred()) SWIG_fail
;
12069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12070 (arg1
)->base_OnEndSize(arg2
,arg3
);
12072 wxPyEndAllowThreads(__tstate
);
12073 if (PyErr_Occurred()) SWIG_fail
;
12075 Py_INCREF(Py_None
); resultobj
= Py_None
;
12082 static PyObject
* PyRectangleShape_swigregister(PyObject
*, PyObject
*args
) {
12084 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12085 SWIG_TypeClientData(SWIGTYPE_p_wxPyRectangleShape
, obj
);
12087 return Py_BuildValue((char *)"");
12089 static PyObject
*_wrap_new_PyControlPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12090 PyObject
*resultobj
;
12091 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) NULL
;
12092 wxPyShape
*arg2
= (wxPyShape
*) NULL
;
12093 double arg3
= (double) 0.0 ;
12094 double arg4
= (double) 0.0 ;
12095 double arg5
= (double) 0.0 ;
12096 int arg6
= (int) 0 ;
12097 wxPyControlPoint
*result
;
12098 PyObject
* obj0
= 0 ;
12099 PyObject
* obj1
= 0 ;
12100 PyObject
* obj2
= 0 ;
12101 PyObject
* obj3
= 0 ;
12102 PyObject
* obj4
= 0 ;
12103 PyObject
* obj5
= 0 ;
12104 char *kwnames
[] = {
12105 (char *) "the_canvas",(char *) "object",(char *) "size",(char *) "the_xoffset",(char *) "the_yoffset",(char *) "the_type", NULL
12108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOO:new_PyControlPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
12111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12114 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
12115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12118 arg3
= (double)SWIG_As_double(obj2
);
12119 if (PyErr_Occurred()) SWIG_fail
;
12122 arg4
= (double)SWIG_As_double(obj3
);
12123 if (PyErr_Occurred()) SWIG_fail
;
12126 arg5
= (double)SWIG_As_double(obj4
);
12127 if (PyErr_Occurred()) SWIG_fail
;
12130 arg6
= (int)SWIG_As_int(obj5
);
12131 if (PyErr_Occurred()) SWIG_fail
;
12134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12135 result
= (wxPyControlPoint
*)new wxPyControlPoint(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
12137 wxPyEndAllowThreads(__tstate
);
12138 if (PyErr_Occurred()) SWIG_fail
;
12140 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControlPoint
, 1);
12147 static PyObject
*_wrap_PyControlPoint__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12148 PyObject
*resultobj
;
12149 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12150 PyObject
*arg2
= (PyObject
*) 0 ;
12151 PyObject
*arg3
= (PyObject
*) 0 ;
12152 PyObject
* obj0
= 0 ;
12153 PyObject
* obj1
= 0 ;
12154 PyObject
* obj2
= 0 ;
12155 char *kwnames
[] = {
12156 (char *) "self",(char *) "self",(char *) "_class", NULL
12159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControlPoint__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12166 (arg1
)->_setCallbackInfo(arg2
,arg3
);
12168 wxPyEndAllowThreads(__tstate
);
12169 if (PyErr_Occurred()) SWIG_fail
;
12171 Py_INCREF(Py_None
); resultobj
= Py_None
;
12178 static PyObject
*_wrap_PyControlPoint_SetCornerRadius(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12179 PyObject
*resultobj
;
12180 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12182 PyObject
* obj0
= 0 ;
12183 PyObject
* obj1
= 0 ;
12184 char *kwnames
[] = {
12185 (char *) "self",(char *) "radius", NULL
12188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControlPoint_SetCornerRadius",kwnames
,&obj0
,&obj1
)) goto fail
;
12189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12191 arg2
= (double)SWIG_As_double(obj1
);
12192 if (PyErr_Occurred()) SWIG_fail
;
12194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12195 (arg1
)->SetCornerRadius(arg2
);
12197 wxPyEndAllowThreads(__tstate
);
12198 if (PyErr_Occurred()) SWIG_fail
;
12200 Py_INCREF(Py_None
); resultobj
= Py_None
;
12207 static PyObject
*_wrap_PyControlPoint_base_OnDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12208 PyObject
*resultobj
;
12209 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12210 PyObject
* obj0
= 0 ;
12211 char *kwnames
[] = {
12212 (char *) "self", NULL
12215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControlPoint_base_OnDelete",kwnames
,&obj0
)) goto fail
;
12216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12220 (arg1
)->base_OnDelete();
12222 wxPyEndAllowThreads(__tstate
);
12223 if (PyErr_Occurred()) SWIG_fail
;
12225 Py_INCREF(Py_None
); resultobj
= Py_None
;
12232 static PyObject
*_wrap_PyControlPoint_base_OnDraw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12233 PyObject
*resultobj
;
12234 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12236 PyObject
* obj0
= 0 ;
12237 PyObject
* obj1
= 0 ;
12238 char *kwnames
[] = {
12239 (char *) "self",(char *) "dc", NULL
12242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControlPoint_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
12243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12245 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
12246 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12248 if (arg2
== NULL
) {
12249 PyErr_SetString(PyExc_TypeError
,"null reference");
12253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12254 (arg1
)->base_OnDraw(*arg2
);
12256 wxPyEndAllowThreads(__tstate
);
12257 if (PyErr_Occurred()) SWIG_fail
;
12259 Py_INCREF(Py_None
); resultobj
= Py_None
;
12266 static PyObject
*_wrap_PyControlPoint_base_OnDrawContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12267 PyObject
*resultobj
;
12268 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12270 PyObject
* obj0
= 0 ;
12271 PyObject
* obj1
= 0 ;
12272 char *kwnames
[] = {
12273 (char *) "self",(char *) "dc", NULL
12276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControlPoint_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
12277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12279 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
12280 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12282 if (arg2
== NULL
) {
12283 PyErr_SetString(PyExc_TypeError
,"null reference");
12287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12288 (arg1
)->base_OnDrawContents(*arg2
);
12290 wxPyEndAllowThreads(__tstate
);
12291 if (PyErr_Occurred()) SWIG_fail
;
12293 Py_INCREF(Py_None
); resultobj
= Py_None
;
12300 static PyObject
*_wrap_PyControlPoint_base_OnDrawBranches(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12301 PyObject
*resultobj
;
12302 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12304 bool arg3
= (bool) FALSE
;
12305 PyObject
* obj0
= 0 ;
12306 PyObject
* obj1
= 0 ;
12307 PyObject
* obj2
= 0 ;
12308 char *kwnames
[] = {
12309 (char *) "self",(char *) "dc",(char *) "erase", NULL
12312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyControlPoint_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12315 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
12316 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12318 if (arg2
== NULL
) {
12319 PyErr_SetString(PyExc_TypeError
,"null reference");
12323 arg3
= (bool)SWIG_As_bool(obj2
);
12324 if (PyErr_Occurred()) SWIG_fail
;
12327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12328 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
12330 wxPyEndAllowThreads(__tstate
);
12331 if (PyErr_Occurred()) SWIG_fail
;
12333 Py_INCREF(Py_None
); resultobj
= Py_None
;
12340 static PyObject
*_wrap_PyControlPoint_base_OnMoveLinks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12341 PyObject
*resultobj
;
12342 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12344 PyObject
* obj0
= 0 ;
12345 PyObject
* obj1
= 0 ;
12346 char *kwnames
[] = {
12347 (char *) "self",(char *) "dc", NULL
12350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControlPoint_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
12351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12353 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
12354 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12356 if (arg2
== NULL
) {
12357 PyErr_SetString(PyExc_TypeError
,"null reference");
12361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12362 (arg1
)->base_OnMoveLinks(*arg2
);
12364 wxPyEndAllowThreads(__tstate
);
12365 if (PyErr_Occurred()) SWIG_fail
;
12367 Py_INCREF(Py_None
); resultobj
= Py_None
;
12374 static PyObject
*_wrap_PyControlPoint_base_OnErase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12375 PyObject
*resultobj
;
12376 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12378 PyObject
* obj0
= 0 ;
12379 PyObject
* obj1
= 0 ;
12380 char *kwnames
[] = {
12381 (char *) "self",(char *) "dc", NULL
12384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControlPoint_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
12385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12387 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
12388 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12390 if (arg2
== NULL
) {
12391 PyErr_SetString(PyExc_TypeError
,"null reference");
12395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12396 (arg1
)->base_OnErase(*arg2
);
12398 wxPyEndAllowThreads(__tstate
);
12399 if (PyErr_Occurred()) SWIG_fail
;
12401 Py_INCREF(Py_None
); resultobj
= Py_None
;
12408 static PyObject
*_wrap_PyControlPoint_base_OnEraseContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12409 PyObject
*resultobj
;
12410 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12412 PyObject
* obj0
= 0 ;
12413 PyObject
* obj1
= 0 ;
12414 char *kwnames
[] = {
12415 (char *) "self",(char *) "dc", NULL
12418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControlPoint_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
12419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12421 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
12422 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12424 if (arg2
== NULL
) {
12425 PyErr_SetString(PyExc_TypeError
,"null reference");
12429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12430 (arg1
)->base_OnEraseContents(*arg2
);
12432 wxPyEndAllowThreads(__tstate
);
12433 if (PyErr_Occurred()) SWIG_fail
;
12435 Py_INCREF(Py_None
); resultobj
= Py_None
;
12442 static PyObject
*_wrap_PyControlPoint_base_OnHighlight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12443 PyObject
*resultobj
;
12444 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12446 PyObject
* obj0
= 0 ;
12447 PyObject
* obj1
= 0 ;
12448 char *kwnames
[] = {
12449 (char *) "self",(char *) "dc", NULL
12452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControlPoint_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
12453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12455 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
12456 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12458 if (arg2
== NULL
) {
12459 PyErr_SetString(PyExc_TypeError
,"null reference");
12463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12464 (arg1
)->base_OnHighlight(*arg2
);
12466 wxPyEndAllowThreads(__tstate
);
12467 if (PyErr_Occurred()) SWIG_fail
;
12469 Py_INCREF(Py_None
); resultobj
= Py_None
;
12476 static PyObject
*_wrap_PyControlPoint_base_OnLeftClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12477 PyObject
*resultobj
;
12478 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12481 int arg4
= (int) 0 ;
12482 int arg5
= (int) 0 ;
12483 PyObject
* obj0
= 0 ;
12484 PyObject
* obj1
= 0 ;
12485 PyObject
* obj2
= 0 ;
12486 PyObject
* obj3
= 0 ;
12487 PyObject
* obj4
= 0 ;
12488 char *kwnames
[] = {
12489 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyControlPoint_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12495 arg2
= (double)SWIG_As_double(obj1
);
12496 if (PyErr_Occurred()) SWIG_fail
;
12497 arg3
= (double)SWIG_As_double(obj2
);
12498 if (PyErr_Occurred()) SWIG_fail
;
12500 arg4
= (int)SWIG_As_int(obj3
);
12501 if (PyErr_Occurred()) SWIG_fail
;
12504 arg5
= (int)SWIG_As_int(obj4
);
12505 if (PyErr_Occurred()) SWIG_fail
;
12508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12509 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
12511 wxPyEndAllowThreads(__tstate
);
12512 if (PyErr_Occurred()) SWIG_fail
;
12514 Py_INCREF(Py_None
); resultobj
= Py_None
;
12521 static PyObject
*_wrap_PyControlPoint_base_OnLeftDoubleClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12522 PyObject
*resultobj
;
12523 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12526 int arg4
= (int) 0 ;
12527 int arg5
= (int) 0 ;
12528 PyObject
* obj0
= 0 ;
12529 PyObject
* obj1
= 0 ;
12530 PyObject
* obj2
= 0 ;
12531 PyObject
* obj3
= 0 ;
12532 PyObject
* obj4
= 0 ;
12533 char *kwnames
[] = {
12534 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyControlPoint_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12540 arg2
= (double)SWIG_As_double(obj1
);
12541 if (PyErr_Occurred()) SWIG_fail
;
12542 arg3
= (double)SWIG_As_double(obj2
);
12543 if (PyErr_Occurred()) SWIG_fail
;
12545 arg4
= (int)SWIG_As_int(obj3
);
12546 if (PyErr_Occurred()) SWIG_fail
;
12549 arg5
= (int)SWIG_As_int(obj4
);
12550 if (PyErr_Occurred()) SWIG_fail
;
12553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12554 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
12556 wxPyEndAllowThreads(__tstate
);
12557 if (PyErr_Occurred()) SWIG_fail
;
12559 Py_INCREF(Py_None
); resultobj
= Py_None
;
12566 static PyObject
*_wrap_PyControlPoint_base_OnRightClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12567 PyObject
*resultobj
;
12568 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12571 int arg4
= (int) 0 ;
12572 int arg5
= (int) 0 ;
12573 PyObject
* obj0
= 0 ;
12574 PyObject
* obj1
= 0 ;
12575 PyObject
* obj2
= 0 ;
12576 PyObject
* obj3
= 0 ;
12577 PyObject
* obj4
= 0 ;
12578 char *kwnames
[] = {
12579 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyControlPoint_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12585 arg2
= (double)SWIG_As_double(obj1
);
12586 if (PyErr_Occurred()) SWIG_fail
;
12587 arg3
= (double)SWIG_As_double(obj2
);
12588 if (PyErr_Occurred()) SWIG_fail
;
12590 arg4
= (int)SWIG_As_int(obj3
);
12591 if (PyErr_Occurred()) SWIG_fail
;
12594 arg5
= (int)SWIG_As_int(obj4
);
12595 if (PyErr_Occurred()) SWIG_fail
;
12598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12599 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
12601 wxPyEndAllowThreads(__tstate
);
12602 if (PyErr_Occurred()) SWIG_fail
;
12604 Py_INCREF(Py_None
); resultobj
= Py_None
;
12611 static PyObject
*_wrap_PyControlPoint_base_OnSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12612 PyObject
*resultobj
;
12613 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12616 PyObject
* obj0
= 0 ;
12617 PyObject
* obj1
= 0 ;
12618 PyObject
* obj2
= 0 ;
12619 char *kwnames
[] = {
12620 (char *) "self",(char *) "x",(char *) "y", NULL
12623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControlPoint_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12626 arg2
= (double)SWIG_As_double(obj1
);
12627 if (PyErr_Occurred()) SWIG_fail
;
12628 arg3
= (double)SWIG_As_double(obj2
);
12629 if (PyErr_Occurred()) SWIG_fail
;
12631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12632 (arg1
)->base_OnSize(arg2
,arg3
);
12634 wxPyEndAllowThreads(__tstate
);
12635 if (PyErr_Occurred()) SWIG_fail
;
12637 Py_INCREF(Py_None
); resultobj
= Py_None
;
12644 static PyObject
*_wrap_PyControlPoint_base_OnMovePre(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12645 PyObject
*resultobj
;
12646 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12652 bool arg7
= (bool) true ;
12654 PyObject
* obj0
= 0 ;
12655 PyObject
* obj1
= 0 ;
12656 PyObject
* obj2
= 0 ;
12657 PyObject
* obj3
= 0 ;
12658 PyObject
* obj4
= 0 ;
12659 PyObject
* obj5
= 0 ;
12660 PyObject
* obj6
= 0 ;
12661 char *kwnames
[] = {
12662 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
12665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyControlPoint_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
12666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12668 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
12669 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12671 if (arg2
== NULL
) {
12672 PyErr_SetString(PyExc_TypeError
,"null reference");
12675 arg3
= (double)SWIG_As_double(obj2
);
12676 if (PyErr_Occurred()) SWIG_fail
;
12677 arg4
= (double)SWIG_As_double(obj3
);
12678 if (PyErr_Occurred()) SWIG_fail
;
12679 arg5
= (double)SWIG_As_double(obj4
);
12680 if (PyErr_Occurred()) SWIG_fail
;
12681 arg6
= (double)SWIG_As_double(obj5
);
12682 if (PyErr_Occurred()) SWIG_fail
;
12684 arg7
= (bool)SWIG_As_bool(obj6
);
12685 if (PyErr_Occurred()) SWIG_fail
;
12688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12689 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
12691 wxPyEndAllowThreads(__tstate
);
12692 if (PyErr_Occurred()) SWIG_fail
;
12695 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12703 static PyObject
*_wrap_PyControlPoint_base_OnMovePost(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12704 PyObject
*resultobj
;
12705 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12711 bool arg7
= (bool) true ;
12712 PyObject
* obj0
= 0 ;
12713 PyObject
* obj1
= 0 ;
12714 PyObject
* obj2
= 0 ;
12715 PyObject
* obj3
= 0 ;
12716 PyObject
* obj4
= 0 ;
12717 PyObject
* obj5
= 0 ;
12718 PyObject
* obj6
= 0 ;
12719 char *kwnames
[] = {
12720 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
12723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyControlPoint_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
12724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12726 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
12727 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12729 if (arg2
== NULL
) {
12730 PyErr_SetString(PyExc_TypeError
,"null reference");
12733 arg3
= (double)SWIG_As_double(obj2
);
12734 if (PyErr_Occurred()) SWIG_fail
;
12735 arg4
= (double)SWIG_As_double(obj3
);
12736 if (PyErr_Occurred()) SWIG_fail
;
12737 arg5
= (double)SWIG_As_double(obj4
);
12738 if (PyErr_Occurred()) SWIG_fail
;
12739 arg6
= (double)SWIG_As_double(obj5
);
12740 if (PyErr_Occurred()) SWIG_fail
;
12742 arg7
= (bool)SWIG_As_bool(obj6
);
12743 if (PyErr_Occurred()) SWIG_fail
;
12746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12747 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
12749 wxPyEndAllowThreads(__tstate
);
12750 if (PyErr_Occurred()) SWIG_fail
;
12752 Py_INCREF(Py_None
); resultobj
= Py_None
;
12759 static PyObject
*_wrap_PyControlPoint_base_OnDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12760 PyObject
*resultobj
;
12761 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12765 int arg5
= (int) 0 ;
12766 int arg6
= (int) 0 ;
12767 PyObject
* obj0
= 0 ;
12768 PyObject
* obj1
= 0 ;
12769 PyObject
* obj2
= 0 ;
12770 PyObject
* obj3
= 0 ;
12771 PyObject
* obj4
= 0 ;
12772 PyObject
* obj5
= 0 ;
12773 char *kwnames
[] = {
12774 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyControlPoint_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12780 arg2
= (bool)SWIG_As_bool(obj1
);
12781 if (PyErr_Occurred()) SWIG_fail
;
12782 arg3
= (double)SWIG_As_double(obj2
);
12783 if (PyErr_Occurred()) SWIG_fail
;
12784 arg4
= (double)SWIG_As_double(obj3
);
12785 if (PyErr_Occurred()) SWIG_fail
;
12787 arg5
= (int)SWIG_As_int(obj4
);
12788 if (PyErr_Occurred()) SWIG_fail
;
12791 arg6
= (int)SWIG_As_int(obj5
);
12792 if (PyErr_Occurred()) SWIG_fail
;
12795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12796 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
12798 wxPyEndAllowThreads(__tstate
);
12799 if (PyErr_Occurred()) SWIG_fail
;
12801 Py_INCREF(Py_None
); resultobj
= Py_None
;
12808 static PyObject
*_wrap_PyControlPoint_base_OnBeginDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12809 PyObject
*resultobj
;
12810 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12813 int arg4
= (int) 0 ;
12814 int arg5
= (int) 0 ;
12815 PyObject
* obj0
= 0 ;
12816 PyObject
* obj1
= 0 ;
12817 PyObject
* obj2
= 0 ;
12818 PyObject
* obj3
= 0 ;
12819 PyObject
* obj4
= 0 ;
12820 char *kwnames
[] = {
12821 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyControlPoint_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12827 arg2
= (double)SWIG_As_double(obj1
);
12828 if (PyErr_Occurred()) SWIG_fail
;
12829 arg3
= (double)SWIG_As_double(obj2
);
12830 if (PyErr_Occurred()) SWIG_fail
;
12832 arg4
= (int)SWIG_As_int(obj3
);
12833 if (PyErr_Occurred()) SWIG_fail
;
12836 arg5
= (int)SWIG_As_int(obj4
);
12837 if (PyErr_Occurred()) SWIG_fail
;
12840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12841 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
12843 wxPyEndAllowThreads(__tstate
);
12844 if (PyErr_Occurred()) SWIG_fail
;
12846 Py_INCREF(Py_None
); resultobj
= Py_None
;
12853 static PyObject
*_wrap_PyControlPoint_base_OnEndDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12854 PyObject
*resultobj
;
12855 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12858 int arg4
= (int) 0 ;
12859 int arg5
= (int) 0 ;
12860 PyObject
* obj0
= 0 ;
12861 PyObject
* obj1
= 0 ;
12862 PyObject
* obj2
= 0 ;
12863 PyObject
* obj3
= 0 ;
12864 PyObject
* obj4
= 0 ;
12865 char *kwnames
[] = {
12866 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyControlPoint_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12872 arg2
= (double)SWIG_As_double(obj1
);
12873 if (PyErr_Occurred()) SWIG_fail
;
12874 arg3
= (double)SWIG_As_double(obj2
);
12875 if (PyErr_Occurred()) SWIG_fail
;
12877 arg4
= (int)SWIG_As_int(obj3
);
12878 if (PyErr_Occurred()) SWIG_fail
;
12881 arg5
= (int)SWIG_As_int(obj4
);
12882 if (PyErr_Occurred()) SWIG_fail
;
12885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12886 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
12888 wxPyEndAllowThreads(__tstate
);
12889 if (PyErr_Occurred()) SWIG_fail
;
12891 Py_INCREF(Py_None
); resultobj
= Py_None
;
12898 static PyObject
*_wrap_PyControlPoint_base_OnDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12899 PyObject
*resultobj
;
12900 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12904 int arg5
= (int) 0 ;
12905 int arg6
= (int) 0 ;
12906 PyObject
* obj0
= 0 ;
12907 PyObject
* obj1
= 0 ;
12908 PyObject
* obj2
= 0 ;
12909 PyObject
* obj3
= 0 ;
12910 PyObject
* obj4
= 0 ;
12911 PyObject
* obj5
= 0 ;
12912 char *kwnames
[] = {
12913 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyControlPoint_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12919 arg2
= (bool)SWIG_As_bool(obj1
);
12920 if (PyErr_Occurred()) SWIG_fail
;
12921 arg3
= (double)SWIG_As_double(obj2
);
12922 if (PyErr_Occurred()) SWIG_fail
;
12923 arg4
= (double)SWIG_As_double(obj3
);
12924 if (PyErr_Occurred()) SWIG_fail
;
12926 arg5
= (int)SWIG_As_int(obj4
);
12927 if (PyErr_Occurred()) SWIG_fail
;
12930 arg6
= (int)SWIG_As_int(obj5
);
12931 if (PyErr_Occurred()) SWIG_fail
;
12934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12935 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
12937 wxPyEndAllowThreads(__tstate
);
12938 if (PyErr_Occurred()) SWIG_fail
;
12940 Py_INCREF(Py_None
); resultobj
= Py_None
;
12947 static PyObject
*_wrap_PyControlPoint_base_OnBeginDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12948 PyObject
*resultobj
;
12949 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12952 int arg4
= (int) 0 ;
12953 int arg5
= (int) 0 ;
12954 PyObject
* obj0
= 0 ;
12955 PyObject
* obj1
= 0 ;
12956 PyObject
* obj2
= 0 ;
12957 PyObject
* obj3
= 0 ;
12958 PyObject
* obj4
= 0 ;
12959 char *kwnames
[] = {
12960 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyControlPoint_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12966 arg2
= (double)SWIG_As_double(obj1
);
12967 if (PyErr_Occurred()) SWIG_fail
;
12968 arg3
= (double)SWIG_As_double(obj2
);
12969 if (PyErr_Occurred()) SWIG_fail
;
12971 arg4
= (int)SWIG_As_int(obj3
);
12972 if (PyErr_Occurred()) SWIG_fail
;
12975 arg5
= (int)SWIG_As_int(obj4
);
12976 if (PyErr_Occurred()) SWIG_fail
;
12979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12980 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
12982 wxPyEndAllowThreads(__tstate
);
12983 if (PyErr_Occurred()) SWIG_fail
;
12985 Py_INCREF(Py_None
); resultobj
= Py_None
;
12992 static PyObject
*_wrap_PyControlPoint_base_OnEndDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12993 PyObject
*resultobj
;
12994 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12997 int arg4
= (int) 0 ;
12998 int arg5
= (int) 0 ;
12999 PyObject
* obj0
= 0 ;
13000 PyObject
* obj1
= 0 ;
13001 PyObject
* obj2
= 0 ;
13002 PyObject
* obj3
= 0 ;
13003 PyObject
* obj4
= 0 ;
13004 char *kwnames
[] = {
13005 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyControlPoint_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
13010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13011 arg2
= (double)SWIG_As_double(obj1
);
13012 if (PyErr_Occurred()) SWIG_fail
;
13013 arg3
= (double)SWIG_As_double(obj2
);
13014 if (PyErr_Occurred()) SWIG_fail
;
13016 arg4
= (int)SWIG_As_int(obj3
);
13017 if (PyErr_Occurred()) SWIG_fail
;
13020 arg5
= (int)SWIG_As_int(obj4
);
13021 if (PyErr_Occurred()) SWIG_fail
;
13024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13025 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
13027 wxPyEndAllowThreads(__tstate
);
13028 if (PyErr_Occurred()) SWIG_fail
;
13030 Py_INCREF(Py_None
); resultobj
= Py_None
;
13037 static PyObject
*_wrap_PyControlPoint_base_OnDrawOutline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13038 PyObject
*resultobj
;
13039 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
13045 PyObject
* obj0
= 0 ;
13046 PyObject
* obj1
= 0 ;
13047 PyObject
* obj2
= 0 ;
13048 PyObject
* obj3
= 0 ;
13049 PyObject
* obj4
= 0 ;
13050 PyObject
* obj5
= 0 ;
13051 char *kwnames
[] = {
13052 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
13055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyControlPoint_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
13056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
13057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13058 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
13059 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13061 if (arg2
== NULL
) {
13062 PyErr_SetString(PyExc_TypeError
,"null reference");
13065 arg3
= (double)SWIG_As_double(obj2
);
13066 if (PyErr_Occurred()) SWIG_fail
;
13067 arg4
= (double)SWIG_As_double(obj3
);
13068 if (PyErr_Occurred()) SWIG_fail
;
13069 arg5
= (double)SWIG_As_double(obj4
);
13070 if (PyErr_Occurred()) SWIG_fail
;
13071 arg6
= (double)SWIG_As_double(obj5
);
13072 if (PyErr_Occurred()) SWIG_fail
;
13074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13075 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
13077 wxPyEndAllowThreads(__tstate
);
13078 if (PyErr_Occurred()) SWIG_fail
;
13080 Py_INCREF(Py_None
); resultobj
= Py_None
;
13087 static PyObject
*_wrap_PyControlPoint_base_OnDrawControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13088 PyObject
*resultobj
;
13089 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
13091 PyObject
* obj0
= 0 ;
13092 PyObject
* obj1
= 0 ;
13093 char *kwnames
[] = {
13094 (char *) "self",(char *) "dc", NULL
13097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControlPoint_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
13098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
13099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13100 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
13101 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13103 if (arg2
== NULL
) {
13104 PyErr_SetString(PyExc_TypeError
,"null reference");
13108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13109 (arg1
)->base_OnDrawControlPoints(*arg2
);
13111 wxPyEndAllowThreads(__tstate
);
13112 if (PyErr_Occurred()) SWIG_fail
;
13114 Py_INCREF(Py_None
); resultobj
= Py_None
;
13121 static PyObject
*_wrap_PyControlPoint_base_OnEraseControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13122 PyObject
*resultobj
;
13123 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
13125 PyObject
* obj0
= 0 ;
13126 PyObject
* obj1
= 0 ;
13127 char *kwnames
[] = {
13128 (char *) "self",(char *) "dc", NULL
13131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControlPoint_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
13132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
13133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13134 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
13135 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13137 if (arg2
== NULL
) {
13138 PyErr_SetString(PyExc_TypeError
,"null reference");
13142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13143 (arg1
)->base_OnEraseControlPoints(*arg2
);
13145 wxPyEndAllowThreads(__tstate
);
13146 if (PyErr_Occurred()) SWIG_fail
;
13148 Py_INCREF(Py_None
); resultobj
= Py_None
;
13155 static PyObject
*_wrap_PyControlPoint_base_OnMoveLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13156 PyObject
*resultobj
;
13157 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
13159 bool arg3
= (bool) true ;
13160 PyObject
* obj0
= 0 ;
13161 PyObject
* obj1
= 0 ;
13162 PyObject
* obj2
= 0 ;
13163 char *kwnames
[] = {
13164 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
13167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyControlPoint_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
13169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13170 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
13171 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13173 if (arg2
== NULL
) {
13174 PyErr_SetString(PyExc_TypeError
,"null reference");
13178 arg3
= (bool)SWIG_As_bool(obj2
);
13179 if (PyErr_Occurred()) SWIG_fail
;
13182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13183 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
13185 wxPyEndAllowThreads(__tstate
);
13186 if (PyErr_Occurred()) SWIG_fail
;
13188 Py_INCREF(Py_None
); resultobj
= Py_None
;
13195 static PyObject
*_wrap_PyControlPoint_base_OnSizingDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13196 PyObject
*resultobj
;
13197 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
13198 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
13202 int arg6
= (int) 0 ;
13203 int arg7
= (int) 0 ;
13204 PyObject
* obj0
= 0 ;
13205 PyObject
* obj1
= 0 ;
13206 PyObject
* obj2
= 0 ;
13207 PyObject
* obj3
= 0 ;
13208 PyObject
* obj4
= 0 ;
13209 PyObject
* obj5
= 0 ;
13210 PyObject
* obj6
= 0 ;
13211 char *kwnames
[] = {
13212 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyControlPoint_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
13216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
13217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13218 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
13219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13220 arg3
= (bool)SWIG_As_bool(obj2
);
13221 if (PyErr_Occurred()) SWIG_fail
;
13222 arg4
= (double)SWIG_As_double(obj3
);
13223 if (PyErr_Occurred()) SWIG_fail
;
13224 arg5
= (double)SWIG_As_double(obj4
);
13225 if (PyErr_Occurred()) SWIG_fail
;
13227 arg6
= (int)SWIG_As_int(obj5
);
13228 if (PyErr_Occurred()) SWIG_fail
;
13231 arg7
= (int)SWIG_As_int(obj6
);
13232 if (PyErr_Occurred()) SWIG_fail
;
13235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13236 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
13238 wxPyEndAllowThreads(__tstate
);
13239 if (PyErr_Occurred()) SWIG_fail
;
13241 Py_INCREF(Py_None
); resultobj
= Py_None
;
13248 static PyObject
*_wrap_PyControlPoint_base_OnSizingBeginDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13249 PyObject
*resultobj
;
13250 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
13251 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
13254 int arg5
= (int) 0 ;
13255 int arg6
= (int) 0 ;
13256 PyObject
* obj0
= 0 ;
13257 PyObject
* obj1
= 0 ;
13258 PyObject
* obj2
= 0 ;
13259 PyObject
* obj3
= 0 ;
13260 PyObject
* obj4
= 0 ;
13261 PyObject
* obj5
= 0 ;
13262 char *kwnames
[] = {
13263 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyControlPoint_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
13267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
13268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13269 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
13270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13271 arg3
= (double)SWIG_As_double(obj2
);
13272 if (PyErr_Occurred()) SWIG_fail
;
13273 arg4
= (double)SWIG_As_double(obj3
);
13274 if (PyErr_Occurred()) SWIG_fail
;
13276 arg5
= (int)SWIG_As_int(obj4
);
13277 if (PyErr_Occurred()) SWIG_fail
;
13280 arg6
= (int)SWIG_As_int(obj5
);
13281 if (PyErr_Occurred()) SWIG_fail
;
13284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13285 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
13287 wxPyEndAllowThreads(__tstate
);
13288 if (PyErr_Occurred()) SWIG_fail
;
13290 Py_INCREF(Py_None
); resultobj
= Py_None
;
13297 static PyObject
*_wrap_PyControlPoint_base_OnSizingEndDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13298 PyObject
*resultobj
;
13299 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
13300 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
13303 int arg5
= (int) 0 ;
13304 int arg6
= (int) 0 ;
13305 PyObject
* obj0
= 0 ;
13306 PyObject
* obj1
= 0 ;
13307 PyObject
* obj2
= 0 ;
13308 PyObject
* obj3
= 0 ;
13309 PyObject
* obj4
= 0 ;
13310 PyObject
* obj5
= 0 ;
13311 char *kwnames
[] = {
13312 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyControlPoint_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
13316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
13317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13318 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
13319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13320 arg3
= (double)SWIG_As_double(obj2
);
13321 if (PyErr_Occurred()) SWIG_fail
;
13322 arg4
= (double)SWIG_As_double(obj3
);
13323 if (PyErr_Occurred()) SWIG_fail
;
13325 arg5
= (int)SWIG_As_int(obj4
);
13326 if (PyErr_Occurred()) SWIG_fail
;
13329 arg6
= (int)SWIG_As_int(obj5
);
13330 if (PyErr_Occurred()) SWIG_fail
;
13333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13334 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
13336 wxPyEndAllowThreads(__tstate
);
13337 if (PyErr_Occurred()) SWIG_fail
;
13339 Py_INCREF(Py_None
); resultobj
= Py_None
;
13346 static PyObject
*_wrap_PyControlPoint_base_OnBeginSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13347 PyObject
*resultobj
;
13348 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
13351 PyObject
* obj0
= 0 ;
13352 PyObject
* obj1
= 0 ;
13353 PyObject
* obj2
= 0 ;
13354 char *kwnames
[] = {
13355 (char *) "self",(char *) "w",(char *) "h", NULL
13358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControlPoint_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
13360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13361 arg2
= (double)SWIG_As_double(obj1
);
13362 if (PyErr_Occurred()) SWIG_fail
;
13363 arg3
= (double)SWIG_As_double(obj2
);
13364 if (PyErr_Occurred()) SWIG_fail
;
13366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13367 (arg1
)->base_OnBeginSize(arg2
,arg3
);
13369 wxPyEndAllowThreads(__tstate
);
13370 if (PyErr_Occurred()) SWIG_fail
;
13372 Py_INCREF(Py_None
); resultobj
= Py_None
;
13379 static PyObject
*_wrap_PyControlPoint_base_OnEndSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13380 PyObject
*resultobj
;
13381 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
13384 PyObject
* obj0
= 0 ;
13385 PyObject
* obj1
= 0 ;
13386 PyObject
* obj2
= 0 ;
13387 char *kwnames
[] = {
13388 (char *) "self",(char *) "w",(char *) "h", NULL
13391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControlPoint_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
13393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13394 arg2
= (double)SWIG_As_double(obj1
);
13395 if (PyErr_Occurred()) SWIG_fail
;
13396 arg3
= (double)SWIG_As_double(obj2
);
13397 if (PyErr_Occurred()) SWIG_fail
;
13399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13400 (arg1
)->base_OnEndSize(arg2
,arg3
);
13402 wxPyEndAllowThreads(__tstate
);
13403 if (PyErr_Occurred()) SWIG_fail
;
13405 Py_INCREF(Py_None
); resultobj
= Py_None
;
13412 static PyObject
* PyControlPoint_swigregister(PyObject
*, PyObject
*args
) {
13414 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13415 SWIG_TypeClientData(SWIGTYPE_p_wxPyControlPoint
, obj
);
13417 return Py_BuildValue((char *)"");
13419 static PyObject
*_wrap_new_PyBitmapShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13420 PyObject
*resultobj
;
13421 wxPyBitmapShape
*result
;
13422 char *kwnames
[] = {
13426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyBitmapShape",kwnames
)) goto fail
;
13428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13429 result
= (wxPyBitmapShape
*)new wxPyBitmapShape();
13431 wxPyEndAllowThreads(__tstate
);
13432 if (PyErr_Occurred()) SWIG_fail
;
13434 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyBitmapShape
, 1);
13441 static PyObject
*_wrap_PyBitmapShape__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13442 PyObject
*resultobj
;
13443 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13444 PyObject
*arg2
= (PyObject
*) 0 ;
13445 PyObject
*arg3
= (PyObject
*) 0 ;
13446 PyObject
* obj0
= 0 ;
13447 PyObject
* obj1
= 0 ;
13448 PyObject
* obj2
= 0 ;
13449 char *kwnames
[] = {
13450 (char *) "self",(char *) "self",(char *) "_class", NULL
13453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13460 (arg1
)->_setCallbackInfo(arg2
,arg3
);
13462 wxPyEndAllowThreads(__tstate
);
13463 if (PyErr_Occurred()) SWIG_fail
;
13465 Py_INCREF(Py_None
); resultobj
= Py_None
;
13472 static PyObject
*_wrap_PyBitmapShape_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13473 PyObject
*resultobj
;
13474 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13476 PyObject
* obj0
= 0 ;
13477 char *kwnames
[] = {
13478 (char *) "self", NULL
13481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyBitmapShape_GetBitmap",kwnames
,&obj0
)) goto fail
;
13482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13487 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
13488 result
= (wxBitmap
*) &_result_ref
;
13491 wxPyEndAllowThreads(__tstate
);
13492 if (PyErr_Occurred()) SWIG_fail
;
13495 wxBitmap
* resultptr
= new wxBitmap(*result
);
13496 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
13504 static PyObject
*_wrap_PyBitmapShape_GetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13505 PyObject
*resultobj
;
13506 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13508 PyObject
* obj0
= 0 ;
13509 char *kwnames
[] = {
13510 (char *) "self", NULL
13513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyBitmapShape_GetFilename",kwnames
,&obj0
)) goto fail
;
13514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13518 result
= (arg1
)->GetFilename();
13520 wxPyEndAllowThreads(__tstate
);
13521 if (PyErr_Occurred()) SWIG_fail
;
13525 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13527 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13536 static PyObject
*_wrap_PyBitmapShape_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13537 PyObject
*resultobj
;
13538 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13539 wxBitmap
*arg2
= 0 ;
13540 PyObject
* obj0
= 0 ;
13541 PyObject
* obj1
= 0 ;
13542 char *kwnames
[] = {
13543 (char *) "self",(char *) "bitmap", NULL
13546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
13547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13549 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
13550 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13552 if (arg2
== NULL
) {
13553 PyErr_SetString(PyExc_TypeError
,"null reference");
13557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13558 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
13560 wxPyEndAllowThreads(__tstate
);
13561 if (PyErr_Occurred()) SWIG_fail
;
13563 Py_INCREF(Py_None
); resultobj
= Py_None
;
13570 static PyObject
*_wrap_PyBitmapShape_SetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13571 PyObject
*resultobj
;
13572 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13573 wxString
*arg2
= 0 ;
13574 bool temp2
= false ;
13575 PyObject
* obj0
= 0 ;
13576 PyObject
* obj1
= 0 ;
13577 char *kwnames
[] = {
13578 (char *) "self",(char *) "filename", NULL
13581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
13582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13585 arg2
= wxString_in_helper(obj1
);
13586 if (arg2
== NULL
) SWIG_fail
;
13590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13591 (arg1
)->SetFilename((wxString
const &)*arg2
);
13593 wxPyEndAllowThreads(__tstate
);
13594 if (PyErr_Occurred()) SWIG_fail
;
13596 Py_INCREF(Py_None
); resultobj
= Py_None
;
13611 static PyObject
*_wrap_PyBitmapShape_base_OnDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13612 PyObject
*resultobj
;
13613 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13614 PyObject
* obj0
= 0 ;
13615 char *kwnames
[] = {
13616 (char *) "self", NULL
13619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyBitmapShape_base_OnDelete",kwnames
,&obj0
)) goto fail
;
13620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13624 (arg1
)->base_OnDelete();
13626 wxPyEndAllowThreads(__tstate
);
13627 if (PyErr_Occurred()) SWIG_fail
;
13629 Py_INCREF(Py_None
); resultobj
= Py_None
;
13636 static PyObject
*_wrap_PyBitmapShape_base_OnDraw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13637 PyObject
*resultobj
;
13638 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13640 PyObject
* obj0
= 0 ;
13641 PyObject
* obj1
= 0 ;
13642 char *kwnames
[] = {
13643 (char *) "self",(char *) "dc", NULL
13646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
13647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13649 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
13650 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13652 if (arg2
== NULL
) {
13653 PyErr_SetString(PyExc_TypeError
,"null reference");
13657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13658 (arg1
)->base_OnDraw(*arg2
);
13660 wxPyEndAllowThreads(__tstate
);
13661 if (PyErr_Occurred()) SWIG_fail
;
13663 Py_INCREF(Py_None
); resultobj
= Py_None
;
13670 static PyObject
*_wrap_PyBitmapShape_base_OnDrawContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13671 PyObject
*resultobj
;
13672 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13674 PyObject
* obj0
= 0 ;
13675 PyObject
* obj1
= 0 ;
13676 char *kwnames
[] = {
13677 (char *) "self",(char *) "dc", NULL
13680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
13681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13683 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
13684 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13686 if (arg2
== NULL
) {
13687 PyErr_SetString(PyExc_TypeError
,"null reference");
13691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13692 (arg1
)->base_OnDrawContents(*arg2
);
13694 wxPyEndAllowThreads(__tstate
);
13695 if (PyErr_Occurred()) SWIG_fail
;
13697 Py_INCREF(Py_None
); resultobj
= Py_None
;
13704 static PyObject
*_wrap_PyBitmapShape_base_OnDrawBranches(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13705 PyObject
*resultobj
;
13706 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13708 bool arg3
= (bool) FALSE
;
13709 PyObject
* obj0
= 0 ;
13710 PyObject
* obj1
= 0 ;
13711 PyObject
* obj2
= 0 ;
13712 char *kwnames
[] = {
13713 (char *) "self",(char *) "dc",(char *) "erase", NULL
13716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyBitmapShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13719 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
13720 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13722 if (arg2
== NULL
) {
13723 PyErr_SetString(PyExc_TypeError
,"null reference");
13727 arg3
= (bool)SWIG_As_bool(obj2
);
13728 if (PyErr_Occurred()) SWIG_fail
;
13731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13732 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
13734 wxPyEndAllowThreads(__tstate
);
13735 if (PyErr_Occurred()) SWIG_fail
;
13737 Py_INCREF(Py_None
); resultobj
= Py_None
;
13744 static PyObject
*_wrap_PyBitmapShape_base_OnMoveLinks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13745 PyObject
*resultobj
;
13746 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13748 PyObject
* obj0
= 0 ;
13749 PyObject
* obj1
= 0 ;
13750 char *kwnames
[] = {
13751 (char *) "self",(char *) "dc", NULL
13754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
13755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13757 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
13758 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13760 if (arg2
== NULL
) {
13761 PyErr_SetString(PyExc_TypeError
,"null reference");
13765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13766 (arg1
)->base_OnMoveLinks(*arg2
);
13768 wxPyEndAllowThreads(__tstate
);
13769 if (PyErr_Occurred()) SWIG_fail
;
13771 Py_INCREF(Py_None
); resultobj
= Py_None
;
13778 static PyObject
*_wrap_PyBitmapShape_base_OnErase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13779 PyObject
*resultobj
;
13780 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13782 PyObject
* obj0
= 0 ;
13783 PyObject
* obj1
= 0 ;
13784 char *kwnames
[] = {
13785 (char *) "self",(char *) "dc", NULL
13788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
13789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13791 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
13792 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13794 if (arg2
== NULL
) {
13795 PyErr_SetString(PyExc_TypeError
,"null reference");
13799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13800 (arg1
)->base_OnErase(*arg2
);
13802 wxPyEndAllowThreads(__tstate
);
13803 if (PyErr_Occurred()) SWIG_fail
;
13805 Py_INCREF(Py_None
); resultobj
= Py_None
;
13812 static PyObject
*_wrap_PyBitmapShape_base_OnEraseContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13813 PyObject
*resultobj
;
13814 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13816 PyObject
* obj0
= 0 ;
13817 PyObject
* obj1
= 0 ;
13818 char *kwnames
[] = {
13819 (char *) "self",(char *) "dc", NULL
13822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
13823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13825 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
13826 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13828 if (arg2
== NULL
) {
13829 PyErr_SetString(PyExc_TypeError
,"null reference");
13833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13834 (arg1
)->base_OnEraseContents(*arg2
);
13836 wxPyEndAllowThreads(__tstate
);
13837 if (PyErr_Occurred()) SWIG_fail
;
13839 Py_INCREF(Py_None
); resultobj
= Py_None
;
13846 static PyObject
*_wrap_PyBitmapShape_base_OnHighlight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13847 PyObject
*resultobj
;
13848 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13850 PyObject
* obj0
= 0 ;
13851 PyObject
* obj1
= 0 ;
13852 char *kwnames
[] = {
13853 (char *) "self",(char *) "dc", NULL
13856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
13857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13859 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
13860 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13862 if (arg2
== NULL
) {
13863 PyErr_SetString(PyExc_TypeError
,"null reference");
13867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13868 (arg1
)->base_OnHighlight(*arg2
);
13870 wxPyEndAllowThreads(__tstate
);
13871 if (PyErr_Occurred()) SWIG_fail
;
13873 Py_INCREF(Py_None
); resultobj
= Py_None
;
13880 static PyObject
*_wrap_PyBitmapShape_base_OnLeftClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13881 PyObject
*resultobj
;
13882 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13885 int arg4
= (int) 0 ;
13886 int arg5
= (int) 0 ;
13887 PyObject
* obj0
= 0 ;
13888 PyObject
* obj1
= 0 ;
13889 PyObject
* obj2
= 0 ;
13890 PyObject
* obj3
= 0 ;
13891 PyObject
* obj4
= 0 ;
13892 char *kwnames
[] = {
13893 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyBitmapShape_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13899 arg2
= (double)SWIG_As_double(obj1
);
13900 if (PyErr_Occurred()) SWIG_fail
;
13901 arg3
= (double)SWIG_As_double(obj2
);
13902 if (PyErr_Occurred()) SWIG_fail
;
13904 arg4
= (int)SWIG_As_int(obj3
);
13905 if (PyErr_Occurred()) SWIG_fail
;
13908 arg5
= (int)SWIG_As_int(obj4
);
13909 if (PyErr_Occurred()) SWIG_fail
;
13912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13913 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
13915 wxPyEndAllowThreads(__tstate
);
13916 if (PyErr_Occurred()) SWIG_fail
;
13918 Py_INCREF(Py_None
); resultobj
= Py_None
;
13925 static PyObject
*_wrap_PyBitmapShape_base_OnLeftDoubleClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13926 PyObject
*resultobj
;
13927 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13930 int arg4
= (int) 0 ;
13931 int arg5
= (int) 0 ;
13932 PyObject
* obj0
= 0 ;
13933 PyObject
* obj1
= 0 ;
13934 PyObject
* obj2
= 0 ;
13935 PyObject
* obj3
= 0 ;
13936 PyObject
* obj4
= 0 ;
13937 char *kwnames
[] = {
13938 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyBitmapShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13944 arg2
= (double)SWIG_As_double(obj1
);
13945 if (PyErr_Occurred()) SWIG_fail
;
13946 arg3
= (double)SWIG_As_double(obj2
);
13947 if (PyErr_Occurred()) SWIG_fail
;
13949 arg4
= (int)SWIG_As_int(obj3
);
13950 if (PyErr_Occurred()) SWIG_fail
;
13953 arg5
= (int)SWIG_As_int(obj4
);
13954 if (PyErr_Occurred()) SWIG_fail
;
13957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13958 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
13960 wxPyEndAllowThreads(__tstate
);
13961 if (PyErr_Occurred()) SWIG_fail
;
13963 Py_INCREF(Py_None
); resultobj
= Py_None
;
13970 static PyObject
*_wrap_PyBitmapShape_base_OnRightClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13971 PyObject
*resultobj
;
13972 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13975 int arg4
= (int) 0 ;
13976 int arg5
= (int) 0 ;
13977 PyObject
* obj0
= 0 ;
13978 PyObject
* obj1
= 0 ;
13979 PyObject
* obj2
= 0 ;
13980 PyObject
* obj3
= 0 ;
13981 PyObject
* obj4
= 0 ;
13982 char *kwnames
[] = {
13983 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyBitmapShape_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13989 arg2
= (double)SWIG_As_double(obj1
);
13990 if (PyErr_Occurred()) SWIG_fail
;
13991 arg3
= (double)SWIG_As_double(obj2
);
13992 if (PyErr_Occurred()) SWIG_fail
;
13994 arg4
= (int)SWIG_As_int(obj3
);
13995 if (PyErr_Occurred()) SWIG_fail
;
13998 arg5
= (int)SWIG_As_int(obj4
);
13999 if (PyErr_Occurred()) SWIG_fail
;
14002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14003 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
14005 wxPyEndAllowThreads(__tstate
);
14006 if (PyErr_Occurred()) SWIG_fail
;
14008 Py_INCREF(Py_None
); resultobj
= Py_None
;
14015 static PyObject
*_wrap_PyBitmapShape_base_OnSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14016 PyObject
*resultobj
;
14017 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14020 PyObject
* obj0
= 0 ;
14021 PyObject
* obj1
= 0 ;
14022 PyObject
* obj2
= 0 ;
14023 char *kwnames
[] = {
14024 (char *) "self",(char *) "x",(char *) "y", NULL
14027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapShape_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
14029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14030 arg2
= (double)SWIG_As_double(obj1
);
14031 if (PyErr_Occurred()) SWIG_fail
;
14032 arg3
= (double)SWIG_As_double(obj2
);
14033 if (PyErr_Occurred()) SWIG_fail
;
14035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14036 (arg1
)->base_OnSize(arg2
,arg3
);
14038 wxPyEndAllowThreads(__tstate
);
14039 if (PyErr_Occurred()) SWIG_fail
;
14041 Py_INCREF(Py_None
); resultobj
= Py_None
;
14048 static PyObject
*_wrap_PyBitmapShape_base_OnMovePre(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14049 PyObject
*resultobj
;
14050 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14056 bool arg7
= (bool) true ;
14058 PyObject
* obj0
= 0 ;
14059 PyObject
* obj1
= 0 ;
14060 PyObject
* obj2
= 0 ;
14061 PyObject
* obj3
= 0 ;
14062 PyObject
* obj4
= 0 ;
14063 PyObject
* obj5
= 0 ;
14064 PyObject
* obj6
= 0 ;
14065 char *kwnames
[] = {
14066 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
14069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyBitmapShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
14071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14072 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
14073 SWIG_POINTER_EXCEPTION
| 0)) == -1)
14075 if (arg2
== NULL
) {
14076 PyErr_SetString(PyExc_TypeError
,"null reference");
14079 arg3
= (double)SWIG_As_double(obj2
);
14080 if (PyErr_Occurred()) SWIG_fail
;
14081 arg4
= (double)SWIG_As_double(obj3
);
14082 if (PyErr_Occurred()) SWIG_fail
;
14083 arg5
= (double)SWIG_As_double(obj4
);
14084 if (PyErr_Occurred()) SWIG_fail
;
14085 arg6
= (double)SWIG_As_double(obj5
);
14086 if (PyErr_Occurred()) SWIG_fail
;
14088 arg7
= (bool)SWIG_As_bool(obj6
);
14089 if (PyErr_Occurred()) SWIG_fail
;
14092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14093 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
14095 wxPyEndAllowThreads(__tstate
);
14096 if (PyErr_Occurred()) SWIG_fail
;
14099 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14107 static PyObject
*_wrap_PyBitmapShape_base_OnMovePost(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14108 PyObject
*resultobj
;
14109 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14115 bool arg7
= (bool) true ;
14116 PyObject
* obj0
= 0 ;
14117 PyObject
* obj1
= 0 ;
14118 PyObject
* obj2
= 0 ;
14119 PyObject
* obj3
= 0 ;
14120 PyObject
* obj4
= 0 ;
14121 PyObject
* obj5
= 0 ;
14122 PyObject
* obj6
= 0 ;
14123 char *kwnames
[] = {
14124 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
14127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyBitmapShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
14129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14130 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
14131 SWIG_POINTER_EXCEPTION
| 0)) == -1)
14133 if (arg2
== NULL
) {
14134 PyErr_SetString(PyExc_TypeError
,"null reference");
14137 arg3
= (double)SWIG_As_double(obj2
);
14138 if (PyErr_Occurred()) SWIG_fail
;
14139 arg4
= (double)SWIG_As_double(obj3
);
14140 if (PyErr_Occurred()) SWIG_fail
;
14141 arg5
= (double)SWIG_As_double(obj4
);
14142 if (PyErr_Occurred()) SWIG_fail
;
14143 arg6
= (double)SWIG_As_double(obj5
);
14144 if (PyErr_Occurred()) SWIG_fail
;
14146 arg7
= (bool)SWIG_As_bool(obj6
);
14147 if (PyErr_Occurred()) SWIG_fail
;
14150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14151 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
14153 wxPyEndAllowThreads(__tstate
);
14154 if (PyErr_Occurred()) SWIG_fail
;
14156 Py_INCREF(Py_None
); resultobj
= Py_None
;
14163 static PyObject
*_wrap_PyBitmapShape_base_OnDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14164 PyObject
*resultobj
;
14165 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14169 int arg5
= (int) 0 ;
14170 int arg6
= (int) 0 ;
14171 PyObject
* obj0
= 0 ;
14172 PyObject
* obj1
= 0 ;
14173 PyObject
* obj2
= 0 ;
14174 PyObject
* obj3
= 0 ;
14175 PyObject
* obj4
= 0 ;
14176 PyObject
* obj5
= 0 ;
14177 char *kwnames
[] = {
14178 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyBitmapShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
14183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14184 arg2
= (bool)SWIG_As_bool(obj1
);
14185 if (PyErr_Occurred()) SWIG_fail
;
14186 arg3
= (double)SWIG_As_double(obj2
);
14187 if (PyErr_Occurred()) SWIG_fail
;
14188 arg4
= (double)SWIG_As_double(obj3
);
14189 if (PyErr_Occurred()) SWIG_fail
;
14191 arg5
= (int)SWIG_As_int(obj4
);
14192 if (PyErr_Occurred()) SWIG_fail
;
14195 arg6
= (int)SWIG_As_int(obj5
);
14196 if (PyErr_Occurred()) SWIG_fail
;
14199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14200 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
14202 wxPyEndAllowThreads(__tstate
);
14203 if (PyErr_Occurred()) SWIG_fail
;
14205 Py_INCREF(Py_None
); resultobj
= Py_None
;
14212 static PyObject
*_wrap_PyBitmapShape_base_OnBeginDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14213 PyObject
*resultobj
;
14214 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14217 int arg4
= (int) 0 ;
14218 int arg5
= (int) 0 ;
14219 PyObject
* obj0
= 0 ;
14220 PyObject
* obj1
= 0 ;
14221 PyObject
* obj2
= 0 ;
14222 PyObject
* obj3
= 0 ;
14223 PyObject
* obj4
= 0 ;
14224 char *kwnames
[] = {
14225 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyBitmapShape_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
14230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14231 arg2
= (double)SWIG_As_double(obj1
);
14232 if (PyErr_Occurred()) SWIG_fail
;
14233 arg3
= (double)SWIG_As_double(obj2
);
14234 if (PyErr_Occurred()) SWIG_fail
;
14236 arg4
= (int)SWIG_As_int(obj3
);
14237 if (PyErr_Occurred()) SWIG_fail
;
14240 arg5
= (int)SWIG_As_int(obj4
);
14241 if (PyErr_Occurred()) SWIG_fail
;
14244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14245 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
14247 wxPyEndAllowThreads(__tstate
);
14248 if (PyErr_Occurred()) SWIG_fail
;
14250 Py_INCREF(Py_None
); resultobj
= Py_None
;
14257 static PyObject
*_wrap_PyBitmapShape_base_OnEndDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14258 PyObject
*resultobj
;
14259 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14262 int arg4
= (int) 0 ;
14263 int arg5
= (int) 0 ;
14264 PyObject
* obj0
= 0 ;
14265 PyObject
* obj1
= 0 ;
14266 PyObject
* obj2
= 0 ;
14267 PyObject
* obj3
= 0 ;
14268 PyObject
* obj4
= 0 ;
14269 char *kwnames
[] = {
14270 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyBitmapShape_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
14275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14276 arg2
= (double)SWIG_As_double(obj1
);
14277 if (PyErr_Occurred()) SWIG_fail
;
14278 arg3
= (double)SWIG_As_double(obj2
);
14279 if (PyErr_Occurred()) SWIG_fail
;
14281 arg4
= (int)SWIG_As_int(obj3
);
14282 if (PyErr_Occurred()) SWIG_fail
;
14285 arg5
= (int)SWIG_As_int(obj4
);
14286 if (PyErr_Occurred()) SWIG_fail
;
14289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14290 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
14292 wxPyEndAllowThreads(__tstate
);
14293 if (PyErr_Occurred()) SWIG_fail
;
14295 Py_INCREF(Py_None
); resultobj
= Py_None
;
14302 static PyObject
*_wrap_PyBitmapShape_base_OnDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14303 PyObject
*resultobj
;
14304 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14308 int arg5
= (int) 0 ;
14309 int arg6
= (int) 0 ;
14310 PyObject
* obj0
= 0 ;
14311 PyObject
* obj1
= 0 ;
14312 PyObject
* obj2
= 0 ;
14313 PyObject
* obj3
= 0 ;
14314 PyObject
* obj4
= 0 ;
14315 PyObject
* obj5
= 0 ;
14316 char *kwnames
[] = {
14317 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyBitmapShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
14322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14323 arg2
= (bool)SWIG_As_bool(obj1
);
14324 if (PyErr_Occurred()) SWIG_fail
;
14325 arg3
= (double)SWIG_As_double(obj2
);
14326 if (PyErr_Occurred()) SWIG_fail
;
14327 arg4
= (double)SWIG_As_double(obj3
);
14328 if (PyErr_Occurred()) SWIG_fail
;
14330 arg5
= (int)SWIG_As_int(obj4
);
14331 if (PyErr_Occurred()) SWIG_fail
;
14334 arg6
= (int)SWIG_As_int(obj5
);
14335 if (PyErr_Occurred()) SWIG_fail
;
14338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14339 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
14341 wxPyEndAllowThreads(__tstate
);
14342 if (PyErr_Occurred()) SWIG_fail
;
14344 Py_INCREF(Py_None
); resultobj
= Py_None
;
14351 static PyObject
*_wrap_PyBitmapShape_base_OnBeginDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14352 PyObject
*resultobj
;
14353 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14356 int arg4
= (int) 0 ;
14357 int arg5
= (int) 0 ;
14358 PyObject
* obj0
= 0 ;
14359 PyObject
* obj1
= 0 ;
14360 PyObject
* obj2
= 0 ;
14361 PyObject
* obj3
= 0 ;
14362 PyObject
* obj4
= 0 ;
14363 char *kwnames
[] = {
14364 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyBitmapShape_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
14369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14370 arg2
= (double)SWIG_As_double(obj1
);
14371 if (PyErr_Occurred()) SWIG_fail
;
14372 arg3
= (double)SWIG_As_double(obj2
);
14373 if (PyErr_Occurred()) SWIG_fail
;
14375 arg4
= (int)SWIG_As_int(obj3
);
14376 if (PyErr_Occurred()) SWIG_fail
;
14379 arg5
= (int)SWIG_As_int(obj4
);
14380 if (PyErr_Occurred()) SWIG_fail
;
14383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14384 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
14386 wxPyEndAllowThreads(__tstate
);
14387 if (PyErr_Occurred()) SWIG_fail
;
14389 Py_INCREF(Py_None
); resultobj
= Py_None
;
14396 static PyObject
*_wrap_PyBitmapShape_base_OnEndDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14397 PyObject
*resultobj
;
14398 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14401 int arg4
= (int) 0 ;
14402 int arg5
= (int) 0 ;
14403 PyObject
* obj0
= 0 ;
14404 PyObject
* obj1
= 0 ;
14405 PyObject
* obj2
= 0 ;
14406 PyObject
* obj3
= 0 ;
14407 PyObject
* obj4
= 0 ;
14408 char *kwnames
[] = {
14409 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyBitmapShape_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
14414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14415 arg2
= (double)SWIG_As_double(obj1
);
14416 if (PyErr_Occurred()) SWIG_fail
;
14417 arg3
= (double)SWIG_As_double(obj2
);
14418 if (PyErr_Occurred()) SWIG_fail
;
14420 arg4
= (int)SWIG_As_int(obj3
);
14421 if (PyErr_Occurred()) SWIG_fail
;
14424 arg5
= (int)SWIG_As_int(obj4
);
14425 if (PyErr_Occurred()) SWIG_fail
;
14428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14429 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
14431 wxPyEndAllowThreads(__tstate
);
14432 if (PyErr_Occurred()) SWIG_fail
;
14434 Py_INCREF(Py_None
); resultobj
= Py_None
;
14441 static PyObject
*_wrap_PyBitmapShape_base_OnDrawOutline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14442 PyObject
*resultobj
;
14443 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14449 PyObject
* obj0
= 0 ;
14450 PyObject
* obj1
= 0 ;
14451 PyObject
* obj2
= 0 ;
14452 PyObject
* obj3
= 0 ;
14453 PyObject
* obj4
= 0 ;
14454 PyObject
* obj5
= 0 ;
14455 char *kwnames
[] = {
14456 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
14459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyBitmapShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
14461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14462 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
14463 SWIG_POINTER_EXCEPTION
| 0)) == -1)
14465 if (arg2
== NULL
) {
14466 PyErr_SetString(PyExc_TypeError
,"null reference");
14469 arg3
= (double)SWIG_As_double(obj2
);
14470 if (PyErr_Occurred()) SWIG_fail
;
14471 arg4
= (double)SWIG_As_double(obj3
);
14472 if (PyErr_Occurred()) SWIG_fail
;
14473 arg5
= (double)SWIG_As_double(obj4
);
14474 if (PyErr_Occurred()) SWIG_fail
;
14475 arg6
= (double)SWIG_As_double(obj5
);
14476 if (PyErr_Occurred()) SWIG_fail
;
14478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14479 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
14481 wxPyEndAllowThreads(__tstate
);
14482 if (PyErr_Occurred()) SWIG_fail
;
14484 Py_INCREF(Py_None
); resultobj
= Py_None
;
14491 static PyObject
*_wrap_PyBitmapShape_base_OnDrawControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14492 PyObject
*resultobj
;
14493 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14495 PyObject
* obj0
= 0 ;
14496 PyObject
* obj1
= 0 ;
14497 char *kwnames
[] = {
14498 (char *) "self",(char *) "dc", NULL
14501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
14502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
14503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14504 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
14505 SWIG_POINTER_EXCEPTION
| 0)) == -1)
14507 if (arg2
== NULL
) {
14508 PyErr_SetString(PyExc_TypeError
,"null reference");
14512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14513 (arg1
)->base_OnDrawControlPoints(*arg2
);
14515 wxPyEndAllowThreads(__tstate
);
14516 if (PyErr_Occurred()) SWIG_fail
;
14518 Py_INCREF(Py_None
); resultobj
= Py_None
;
14525 static PyObject
*_wrap_PyBitmapShape_base_OnEraseControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14526 PyObject
*resultobj
;
14527 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14529 PyObject
* obj0
= 0 ;
14530 PyObject
* obj1
= 0 ;
14531 char *kwnames
[] = {
14532 (char *) "self",(char *) "dc", NULL
14535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
14536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
14537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14538 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
14539 SWIG_POINTER_EXCEPTION
| 0)) == -1)
14541 if (arg2
== NULL
) {
14542 PyErr_SetString(PyExc_TypeError
,"null reference");
14546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14547 (arg1
)->base_OnEraseControlPoints(*arg2
);
14549 wxPyEndAllowThreads(__tstate
);
14550 if (PyErr_Occurred()) SWIG_fail
;
14552 Py_INCREF(Py_None
); resultobj
= Py_None
;
14559 static PyObject
*_wrap_PyBitmapShape_base_OnMoveLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14560 PyObject
*resultobj
;
14561 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14563 bool arg3
= (bool) true ;
14564 PyObject
* obj0
= 0 ;
14565 PyObject
* obj1
= 0 ;
14566 PyObject
* obj2
= 0 ;
14567 char *kwnames
[] = {
14568 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
14571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyBitmapShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
14573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14574 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
14575 SWIG_POINTER_EXCEPTION
| 0)) == -1)
14577 if (arg2
== NULL
) {
14578 PyErr_SetString(PyExc_TypeError
,"null reference");
14582 arg3
= (bool)SWIG_As_bool(obj2
);
14583 if (PyErr_Occurred()) SWIG_fail
;
14586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14587 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
14589 wxPyEndAllowThreads(__tstate
);
14590 if (PyErr_Occurred()) SWIG_fail
;
14592 Py_INCREF(Py_None
); resultobj
= Py_None
;
14599 static PyObject
*_wrap_PyBitmapShape_base_OnSizingDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14600 PyObject
*resultobj
;
14601 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14602 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
14606 int arg6
= (int) 0 ;
14607 int arg7
= (int) 0 ;
14608 PyObject
* obj0
= 0 ;
14609 PyObject
* obj1
= 0 ;
14610 PyObject
* obj2
= 0 ;
14611 PyObject
* obj3
= 0 ;
14612 PyObject
* obj4
= 0 ;
14613 PyObject
* obj5
= 0 ;
14614 PyObject
* obj6
= 0 ;
14615 char *kwnames
[] = {
14616 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyBitmapShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
14621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14622 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
14623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14624 arg3
= (bool)SWIG_As_bool(obj2
);
14625 if (PyErr_Occurred()) SWIG_fail
;
14626 arg4
= (double)SWIG_As_double(obj3
);
14627 if (PyErr_Occurred()) SWIG_fail
;
14628 arg5
= (double)SWIG_As_double(obj4
);
14629 if (PyErr_Occurred()) SWIG_fail
;
14631 arg6
= (int)SWIG_As_int(obj5
);
14632 if (PyErr_Occurred()) SWIG_fail
;
14635 arg7
= (int)SWIG_As_int(obj6
);
14636 if (PyErr_Occurred()) SWIG_fail
;
14639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14640 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
14642 wxPyEndAllowThreads(__tstate
);
14643 if (PyErr_Occurred()) SWIG_fail
;
14645 Py_INCREF(Py_None
); resultobj
= Py_None
;
14652 static PyObject
*_wrap_PyBitmapShape_base_OnSizingBeginDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14653 PyObject
*resultobj
;
14654 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14655 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
14658 int arg5
= (int) 0 ;
14659 int arg6
= (int) 0 ;
14660 PyObject
* obj0
= 0 ;
14661 PyObject
* obj1
= 0 ;
14662 PyObject
* obj2
= 0 ;
14663 PyObject
* obj3
= 0 ;
14664 PyObject
* obj4
= 0 ;
14665 PyObject
* obj5
= 0 ;
14666 char *kwnames
[] = {
14667 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyBitmapShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
14672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14673 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
14674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14675 arg3
= (double)SWIG_As_double(obj2
);
14676 if (PyErr_Occurred()) SWIG_fail
;
14677 arg4
= (double)SWIG_As_double(obj3
);
14678 if (PyErr_Occurred()) SWIG_fail
;
14680 arg5
= (int)SWIG_As_int(obj4
);
14681 if (PyErr_Occurred()) SWIG_fail
;
14684 arg6
= (int)SWIG_As_int(obj5
);
14685 if (PyErr_Occurred()) SWIG_fail
;
14688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14689 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
14691 wxPyEndAllowThreads(__tstate
);
14692 if (PyErr_Occurred()) SWIG_fail
;
14694 Py_INCREF(Py_None
); resultobj
= Py_None
;
14701 static PyObject
*_wrap_PyBitmapShape_base_OnSizingEndDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14702 PyObject
*resultobj
;
14703 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14704 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
14707 int arg5
= (int) 0 ;
14708 int arg6
= (int) 0 ;
14709 PyObject
* obj0
= 0 ;
14710 PyObject
* obj1
= 0 ;
14711 PyObject
* obj2
= 0 ;
14712 PyObject
* obj3
= 0 ;
14713 PyObject
* obj4
= 0 ;
14714 PyObject
* obj5
= 0 ;
14715 char *kwnames
[] = {
14716 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyBitmapShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
14721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14722 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
14723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14724 arg3
= (double)SWIG_As_double(obj2
);
14725 if (PyErr_Occurred()) SWIG_fail
;
14726 arg4
= (double)SWIG_As_double(obj3
);
14727 if (PyErr_Occurred()) SWIG_fail
;
14729 arg5
= (int)SWIG_As_int(obj4
);
14730 if (PyErr_Occurred()) SWIG_fail
;
14733 arg6
= (int)SWIG_As_int(obj5
);
14734 if (PyErr_Occurred()) SWIG_fail
;
14737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14738 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
14740 wxPyEndAllowThreads(__tstate
);
14741 if (PyErr_Occurred()) SWIG_fail
;
14743 Py_INCREF(Py_None
); resultobj
= Py_None
;
14750 static PyObject
*_wrap_PyBitmapShape_base_OnBeginSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14751 PyObject
*resultobj
;
14752 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14755 PyObject
* obj0
= 0 ;
14756 PyObject
* obj1
= 0 ;
14757 PyObject
* obj2
= 0 ;
14758 char *kwnames
[] = {
14759 (char *) "self",(char *) "w",(char *) "h", NULL
14762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapShape_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
14764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14765 arg2
= (double)SWIG_As_double(obj1
);
14766 if (PyErr_Occurred()) SWIG_fail
;
14767 arg3
= (double)SWIG_As_double(obj2
);
14768 if (PyErr_Occurred()) SWIG_fail
;
14770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14771 (arg1
)->base_OnBeginSize(arg2
,arg3
);
14773 wxPyEndAllowThreads(__tstate
);
14774 if (PyErr_Occurred()) SWIG_fail
;
14776 Py_INCREF(Py_None
); resultobj
= Py_None
;
14783 static PyObject
*_wrap_PyBitmapShape_base_OnEndSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14784 PyObject
*resultobj
;
14785 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14788 PyObject
* obj0
= 0 ;
14789 PyObject
* obj1
= 0 ;
14790 PyObject
* obj2
= 0 ;
14791 char *kwnames
[] = {
14792 (char *) "self",(char *) "w",(char *) "h", NULL
14795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapShape_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
14797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14798 arg2
= (double)SWIG_As_double(obj1
);
14799 if (PyErr_Occurred()) SWIG_fail
;
14800 arg3
= (double)SWIG_As_double(obj2
);
14801 if (PyErr_Occurred()) SWIG_fail
;
14803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14804 (arg1
)->base_OnEndSize(arg2
,arg3
);
14806 wxPyEndAllowThreads(__tstate
);
14807 if (PyErr_Occurred()) SWIG_fail
;
14809 Py_INCREF(Py_None
); resultobj
= Py_None
;
14816 static PyObject
* PyBitmapShape_swigregister(PyObject
*, PyObject
*args
) {
14818 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14819 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapShape
, obj
);
14821 return Py_BuildValue((char *)"");
14823 static PyObject
*_wrap_new_PyDrawnShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14824 PyObject
*resultobj
;
14825 wxPyDrawnShape
*result
;
14826 char *kwnames
[] = {
14830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyDrawnShape",kwnames
)) goto fail
;
14832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14833 result
= (wxPyDrawnShape
*)new wxPyDrawnShape();
14835 wxPyEndAllowThreads(__tstate
);
14836 if (PyErr_Occurred()) SWIG_fail
;
14838 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDrawnShape
, 1);
14845 static PyObject
*_wrap_PyDrawnShape__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14846 PyObject
*resultobj
;
14847 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
14848 PyObject
*arg2
= (PyObject
*) 0 ;
14849 PyObject
*arg3
= (PyObject
*) 0 ;
14850 PyObject
* obj0
= 0 ;
14851 PyObject
* obj1
= 0 ;
14852 PyObject
* obj2
= 0 ;
14853 char *kwnames
[] = {
14854 (char *) "self",(char *) "self",(char *) "_class", NULL
14857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDrawnShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
14859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14864 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14866 wxPyEndAllowThreads(__tstate
);
14867 if (PyErr_Occurred()) SWIG_fail
;
14869 Py_INCREF(Py_None
); resultobj
= Py_None
;
14876 static PyObject
*_wrap_PyDrawnShape_CalculateSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14877 PyObject
*resultobj
;
14878 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
14879 PyObject
* obj0
= 0 ;
14880 char *kwnames
[] = {
14881 (char *) "self", NULL
14884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDrawnShape_CalculateSize",kwnames
,&obj0
)) goto fail
;
14885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
14886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14889 (arg1
)->CalculateSize();
14891 wxPyEndAllowThreads(__tstate
);
14892 if (PyErr_Occurred()) SWIG_fail
;
14894 Py_INCREF(Py_None
); resultobj
= Py_None
;
14901 static PyObject
*_wrap_PyDrawnShape_DestroyClippingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14902 PyObject
*resultobj
;
14903 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
14904 PyObject
* obj0
= 0 ;
14905 char *kwnames
[] = {
14906 (char *) "self", NULL
14909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDrawnShape_DestroyClippingRect",kwnames
,&obj0
)) goto fail
;
14910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
14911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14914 (arg1
)->DestroyClippingRect();
14916 wxPyEndAllowThreads(__tstate
);
14917 if (PyErr_Occurred()) SWIG_fail
;
14919 Py_INCREF(Py_None
); resultobj
= Py_None
;
14926 static PyObject
*_wrap_PyDrawnShape_DrawArc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14927 PyObject
*resultobj
;
14928 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
14929 wxPoint
*arg2
= 0 ;
14930 wxPoint
*arg3
= 0 ;
14931 wxPoint
*arg4
= 0 ;
14935 PyObject
* obj0
= 0 ;
14936 PyObject
* obj1
= 0 ;
14937 PyObject
* obj2
= 0 ;
14938 PyObject
* obj3
= 0 ;
14939 char *kwnames
[] = {
14940 (char *) "self",(char *) "centrePoint",(char *) "startPoint",(char *) "endPoint", NULL
14943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyDrawnShape_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
14945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14948 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14952 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14956 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14960 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
14962 wxPyEndAllowThreads(__tstate
);
14963 if (PyErr_Occurred()) SWIG_fail
;
14965 Py_INCREF(Py_None
); resultobj
= Py_None
;
14972 static PyObject
*_wrap_PyDrawnShape_DrawAtAngle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14973 PyObject
*resultobj
;
14974 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
14976 PyObject
* obj0
= 0 ;
14977 PyObject
* obj1
= 0 ;
14978 char *kwnames
[] = {
14979 (char *) "self",(char *) "angle", NULL
14982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_DrawAtAngle",kwnames
,&obj0
,&obj1
)) goto fail
;
14983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
14984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14985 arg2
= (int)SWIG_As_int(obj1
);
14986 if (PyErr_Occurred()) SWIG_fail
;
14988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14989 (arg1
)->DrawAtAngle(arg2
);
14991 wxPyEndAllowThreads(__tstate
);
14992 if (PyErr_Occurred()) SWIG_fail
;
14994 Py_INCREF(Py_None
); resultobj
= Py_None
;
15001 static PyObject
*_wrap_PyDrawnShape_DrawEllipticArc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15002 PyObject
*resultobj
;
15003 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15008 PyObject
* obj0
= 0 ;
15009 PyObject
* obj1
= 0 ;
15010 PyObject
* obj2
= 0 ;
15011 PyObject
* obj3
= 0 ;
15012 char *kwnames
[] = {
15013 (char *) "self",(char *) "rect",(char *) "startAngle",(char *) "endAngle", NULL
15016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyDrawnShape_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15021 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
15023 arg3
= (double)SWIG_As_double(obj2
);
15024 if (PyErr_Occurred()) SWIG_fail
;
15025 arg4
= (double)SWIG_As_double(obj3
);
15026 if (PyErr_Occurred()) SWIG_fail
;
15028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15029 (arg1
)->DrawEllipticArc((wxRect
const &)*arg2
,arg3
,arg4
);
15031 wxPyEndAllowThreads(__tstate
);
15032 if (PyErr_Occurred()) SWIG_fail
;
15034 Py_INCREF(Py_None
); resultobj
= Py_None
;
15041 static PyObject
*_wrap_PyDrawnShape_DrawLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15042 PyObject
*resultobj
;
15043 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15044 wxPoint
*arg2
= 0 ;
15045 wxPoint
*arg3
= 0 ;
15048 PyObject
* obj0
= 0 ;
15049 PyObject
* obj1
= 0 ;
15050 PyObject
* obj2
= 0 ;
15051 char *kwnames
[] = {
15052 (char *) "self",(char *) "point1",(char *) "point2", NULL
15055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDrawnShape_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15060 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15064 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15068 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
15070 wxPyEndAllowThreads(__tstate
);
15071 if (PyErr_Occurred()) SWIG_fail
;
15073 Py_INCREF(Py_None
); resultobj
= Py_None
;
15080 static PyObject
*_wrap_PyDrawnShape_DrawLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15081 PyObject
*resultobj
;
15082 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15084 wxPoint
*arg3
= (wxPoint
*) 0 ;
15085 PyObject
* obj0
= 0 ;
15086 PyObject
* obj1
= 0 ;
15087 char *kwnames
[] = {
15088 (char *) "self",(char *) "points", NULL
15091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_DrawLines",kwnames
,&obj0
,&obj1
)) goto fail
;
15092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15095 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
15096 if (arg3
== NULL
) SWIG_fail
;
15099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15100 (arg1
)->DrawLines(arg2
,arg3
);
15102 wxPyEndAllowThreads(__tstate
);
15103 if (PyErr_Occurred()) SWIG_fail
;
15105 Py_INCREF(Py_None
); resultobj
= Py_None
;
15107 if (arg3
) delete [] arg3
;
15112 if (arg3
) delete [] arg3
;
15118 static PyObject
*_wrap_PyDrawnShape_DrawPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15119 PyObject
*resultobj
;
15120 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15121 wxPoint
*arg2
= 0 ;
15123 PyObject
* obj0
= 0 ;
15124 PyObject
* obj1
= 0 ;
15125 char *kwnames
[] = {
15126 (char *) "self",(char *) "point", NULL
15129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_DrawPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
15130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15134 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15138 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
15140 wxPyEndAllowThreads(__tstate
);
15141 if (PyErr_Occurred()) SWIG_fail
;
15143 Py_INCREF(Py_None
); resultobj
= Py_None
;
15150 static PyObject
*_wrap_PyDrawnShape_DrawPolygon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15151 PyObject
*resultobj
;
15152 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15154 wxPoint
*arg3
= (wxPoint
*) 0 ;
15155 int arg4
= (int) 0 ;
15156 PyObject
* obj0
= 0 ;
15157 PyObject
* obj1
= 0 ;
15158 PyObject
* obj2
= 0 ;
15159 char *kwnames
[] = {
15160 (char *) "self",(char *) "points",(char *) "flags", NULL
15163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyDrawnShape_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15167 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
15168 if (arg3
== NULL
) SWIG_fail
;
15171 arg4
= (int)SWIG_As_int(obj2
);
15172 if (PyErr_Occurred()) SWIG_fail
;
15175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15176 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
);
15178 wxPyEndAllowThreads(__tstate
);
15179 if (PyErr_Occurred()) SWIG_fail
;
15181 Py_INCREF(Py_None
); resultobj
= Py_None
;
15183 if (arg3
) delete [] arg3
;
15188 if (arg3
) delete [] arg3
;
15194 static PyObject
*_wrap_PyDrawnShape_DrawRectangle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15195 PyObject
*resultobj
;
15196 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15199 PyObject
* obj0
= 0 ;
15200 PyObject
* obj1
= 0 ;
15201 char *kwnames
[] = {
15202 (char *) "self",(char *) "rect", NULL
15205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_DrawRectangle",kwnames
,&obj0
,&obj1
)) goto fail
;
15206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15210 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
15213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15214 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
15216 wxPyEndAllowThreads(__tstate
);
15217 if (PyErr_Occurred()) SWIG_fail
;
15219 Py_INCREF(Py_None
); resultobj
= Py_None
;
15226 static PyObject
*_wrap_PyDrawnShape_DrawRoundedRectangle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15227 PyObject
*resultobj
;
15228 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15232 PyObject
* obj0
= 0 ;
15233 PyObject
* obj1
= 0 ;
15234 PyObject
* obj2
= 0 ;
15235 char *kwnames
[] = {
15236 (char *) "self",(char *) "rect",(char *) "radius", NULL
15239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDrawnShape_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15244 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
15246 arg3
= (double)SWIG_As_double(obj2
);
15247 if (PyErr_Occurred()) SWIG_fail
;
15249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15250 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
15252 wxPyEndAllowThreads(__tstate
);
15253 if (PyErr_Occurred()) SWIG_fail
;
15255 Py_INCREF(Py_None
); resultobj
= Py_None
;
15262 static PyObject
*_wrap_PyDrawnShape_DrawSpline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15263 PyObject
*resultobj
;
15264 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15266 wxPoint
*arg3
= (wxPoint
*) 0 ;
15267 PyObject
* obj0
= 0 ;
15268 PyObject
* obj1
= 0 ;
15269 char *kwnames
[] = {
15270 (char *) "self",(char *) "points", NULL
15273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_DrawSpline",kwnames
,&obj0
,&obj1
)) goto fail
;
15274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15277 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
15278 if (arg3
== NULL
) SWIG_fail
;
15281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15282 (arg1
)->DrawSpline(arg2
,arg3
);
15284 wxPyEndAllowThreads(__tstate
);
15285 if (PyErr_Occurred()) SWIG_fail
;
15287 Py_INCREF(Py_None
); resultobj
= Py_None
;
15289 if (arg3
) delete [] arg3
;
15294 if (arg3
) delete [] arg3
;
15300 static PyObject
*_wrap_PyDrawnShape_DrawText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15301 PyObject
*resultobj
;
15302 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15303 wxString
*arg2
= 0 ;
15304 wxPoint
*arg3
= 0 ;
15305 bool temp2
= false ;
15307 PyObject
* obj0
= 0 ;
15308 PyObject
* obj1
= 0 ;
15309 PyObject
* obj2
= 0 ;
15310 char *kwnames
[] = {
15311 (char *) "self",(char *) "text",(char *) "point", NULL
15314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDrawnShape_DrawText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15318 arg2
= wxString_in_helper(obj1
);
15319 if (arg2
== NULL
) SWIG_fail
;
15324 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15328 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
15330 wxPyEndAllowThreads(__tstate
);
15331 if (PyErr_Occurred()) SWIG_fail
;
15333 Py_INCREF(Py_None
); resultobj
= Py_None
;
15348 static PyObject
*_wrap_PyDrawnShape_GetAngle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15349 PyObject
*resultobj
;
15350 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15352 PyObject
* obj0
= 0 ;
15353 char *kwnames
[] = {
15354 (char *) "self", NULL
15357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDrawnShape_GetAngle",kwnames
,&obj0
)) goto fail
;
15358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15362 result
= (int)(arg1
)->GetAngle();
15364 wxPyEndAllowThreads(__tstate
);
15365 if (PyErr_Occurred()) SWIG_fail
;
15367 resultobj
= SWIG_From_int((int)result
);
15374 static PyObject
*_wrap_PyDrawnShape_GetMetaFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15375 PyObject
*resultobj
;
15376 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15377 wxPseudoMetaFile
*result
;
15378 PyObject
* obj0
= 0 ;
15379 char *kwnames
[] = {
15380 (char *) "self", NULL
15383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDrawnShape_GetMetaFile",kwnames
,&obj0
)) goto fail
;
15384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15389 wxPseudoMetaFile
&_result_ref
= (arg1
)->GetMetaFile();
15390 result
= (wxPseudoMetaFile
*) &_result_ref
;
15393 wxPyEndAllowThreads(__tstate
);
15394 if (PyErr_Occurred()) SWIG_fail
;
15396 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPseudoMetaFile
, 0);
15403 static PyObject
*_wrap_PyDrawnShape_GetRotation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15404 PyObject
*resultobj
;
15405 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15407 PyObject
* obj0
= 0 ;
15408 char *kwnames
[] = {
15409 (char *) "self", NULL
15412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDrawnShape_GetRotation",kwnames
,&obj0
)) goto fail
;
15413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15417 result
= (double)(arg1
)->GetRotation();
15419 wxPyEndAllowThreads(__tstate
);
15420 if (PyErr_Occurred()) SWIG_fail
;
15422 resultobj
= SWIG_From_double((double)result
);
15429 static PyObject
*_wrap_PyDrawnShape_LoadFromMetaFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15430 PyObject
*resultobj
;
15431 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15432 wxString
*arg2
= 0 ;
15434 bool temp2
= false ;
15435 PyObject
* obj0
= 0 ;
15436 PyObject
* obj1
= 0 ;
15437 char *kwnames
[] = {
15438 (char *) "self",(char *) "filename", NULL
15441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_LoadFromMetaFile",kwnames
,&obj0
,&obj1
)) goto fail
;
15442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15445 arg2
= wxString_in_helper(obj1
);
15446 if (arg2
== NULL
) SWIG_fail
;
15450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15451 result
= (bool)(arg1
)->LoadFromMetaFile((wxString
const &)*arg2
);
15453 wxPyEndAllowThreads(__tstate
);
15454 if (PyErr_Occurred()) SWIG_fail
;
15457 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15473 static PyObject
*_wrap_PyDrawnShape_Rotate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15474 PyObject
*resultobj
;
15475 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15479 PyObject
* obj0
= 0 ;
15480 PyObject
* obj1
= 0 ;
15481 PyObject
* obj2
= 0 ;
15482 PyObject
* obj3
= 0 ;
15483 char *kwnames
[] = {
15484 (char *) "self",(char *) "x",(char *) "y",(char *) "theta", NULL
15487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyDrawnShape_Rotate",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15490 arg2
= (double)SWIG_As_double(obj1
);
15491 if (PyErr_Occurred()) SWIG_fail
;
15492 arg3
= (double)SWIG_As_double(obj2
);
15493 if (PyErr_Occurred()) SWIG_fail
;
15494 arg4
= (double)SWIG_As_double(obj3
);
15495 if (PyErr_Occurred()) SWIG_fail
;
15497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15498 (arg1
)->Rotate(arg2
,arg3
,arg4
);
15500 wxPyEndAllowThreads(__tstate
);
15501 if (PyErr_Occurred()) SWIG_fail
;
15503 Py_INCREF(Py_None
); resultobj
= Py_None
;
15510 static PyObject
*_wrap_PyDrawnShape_SetClippingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15511 PyObject
*resultobj
;
15512 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15515 PyObject
* obj0
= 0 ;
15516 PyObject
* obj1
= 0 ;
15517 char *kwnames
[] = {
15518 (char *) "self",(char *) "rect", NULL
15521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_SetClippingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
15522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15526 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
15529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15530 (arg1
)->SetClippingRect((wxRect
const &)*arg2
);
15532 wxPyEndAllowThreads(__tstate
);
15533 if (PyErr_Occurred()) SWIG_fail
;
15535 Py_INCREF(Py_None
); resultobj
= Py_None
;
15542 static PyObject
*_wrap_PyDrawnShape_SetDrawnBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15543 PyObject
*resultobj
;
15544 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15545 wxColour
*arg2
= 0 ;
15547 PyObject
* obj0
= 0 ;
15548 PyObject
* obj1
= 0 ;
15549 char *kwnames
[] = {
15550 (char *) "self",(char *) "colour", NULL
15553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_SetDrawnBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
15554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15558 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15562 (arg1
)->SetDrawnBackgroundColour((wxColour
const &)*arg2
);
15564 wxPyEndAllowThreads(__tstate
);
15565 if (PyErr_Occurred()) SWIG_fail
;
15567 Py_INCREF(Py_None
); resultobj
= Py_None
;
15574 static PyObject
*_wrap_PyDrawnShape_SetDrawnBackgroundMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15575 PyObject
*resultobj
;
15576 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15578 PyObject
* obj0
= 0 ;
15579 PyObject
* obj1
= 0 ;
15580 char *kwnames
[] = {
15581 (char *) "self",(char *) "mode", NULL
15584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_SetDrawnBackgroundMode",kwnames
,&obj0
,&obj1
)) goto fail
;
15585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15587 arg2
= (int)SWIG_As_int(obj1
);
15588 if (PyErr_Occurred()) SWIG_fail
;
15590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15591 (arg1
)->SetDrawnBackgroundMode(arg2
);
15593 wxPyEndAllowThreads(__tstate
);
15594 if (PyErr_Occurred()) SWIG_fail
;
15596 Py_INCREF(Py_None
); resultobj
= Py_None
;
15603 static PyObject
*_wrap_PyDrawnShape_SetDrawnBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15604 PyObject
*resultobj
;
15605 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15606 wxBrush
*arg2
= (wxBrush
*) 0 ;
15607 bool arg3
= (bool) FALSE
;
15608 PyObject
* obj0
= 0 ;
15609 PyObject
* obj1
= 0 ;
15610 PyObject
* obj2
= 0 ;
15611 char *kwnames
[] = {
15612 (char *) "self",(char *) "pen",(char *) "isOutline", NULL
15615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyDrawnShape_SetDrawnBrush",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15621 if (obj1
== Py_None
) {
15624 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxBrush"))) {
15625 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxBrush.");
15630 arg2
= wxTheBrushList
->FindOrCreateBrush(temp
->GetColour(), temp
->GetStyle());
15635 arg3
= (bool)SWIG_As_bool(obj2
);
15636 if (PyErr_Occurred()) SWIG_fail
;
15639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15640 (arg1
)->SetDrawnBrush(arg2
,arg3
);
15642 wxPyEndAllowThreads(__tstate
);
15643 if (PyErr_Occurred()) SWIG_fail
;
15645 Py_INCREF(Py_None
); resultobj
= Py_None
;
15652 static PyObject
*_wrap_PyDrawnShape_SetDrawnFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15653 PyObject
*resultobj
;
15654 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15655 wxFont
*arg2
= (wxFont
*) 0 ;
15656 PyObject
* obj0
= 0 ;
15657 PyObject
* obj1
= 0 ;
15658 char *kwnames
[] = {
15659 (char *) "self",(char *) "font", NULL
15662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_SetDrawnFont",kwnames
,&obj0
,&obj1
)) goto fail
;
15663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15668 if (obj1
== Py_None
) {
15671 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxFont"))) {
15672 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxFont.");
15677 arg2
= wxTheFontList
->FindOrCreateFont(temp
->GetPointSize(),
15681 temp
->GetUnderlined(),
15682 temp
->GetFaceName(),
15683 temp
->GetEncoding());
15688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15689 (arg1
)->SetDrawnFont(arg2
);
15691 wxPyEndAllowThreads(__tstate
);
15692 if (PyErr_Occurred()) SWIG_fail
;
15694 Py_INCREF(Py_None
); resultobj
= Py_None
;
15701 static PyObject
*_wrap_PyDrawnShape_SetDrawnPen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15702 PyObject
*resultobj
;
15703 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15704 wxPen
*arg2
= (wxPen
*) 0 ;
15705 bool arg3
= (bool) FALSE
;
15706 PyObject
* obj0
= 0 ;
15707 PyObject
* obj1
= 0 ;
15708 PyObject
* obj2
= 0 ;
15709 char *kwnames
[] = {
15710 (char *) "self",(char *) "pen",(char *) "isOutline", NULL
15713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyDrawnShape_SetDrawnPen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15719 if (obj1
== Py_None
) {
15722 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxPen"))) {
15723 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxPen.");
15728 arg2
= wxThePenList
->FindOrCreatePen(temp
->GetColour(),
15735 arg3
= (bool)SWIG_As_bool(obj2
);
15736 if (PyErr_Occurred()) SWIG_fail
;
15739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15740 (arg1
)->SetDrawnPen(arg2
,arg3
);
15742 wxPyEndAllowThreads(__tstate
);
15743 if (PyErr_Occurred()) SWIG_fail
;
15745 Py_INCREF(Py_None
); resultobj
= Py_None
;
15752 static PyObject
*_wrap_PyDrawnShape_SetDrawnTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15753 PyObject
*resultobj
;
15754 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15755 wxColour
*arg2
= 0 ;
15757 PyObject
* obj0
= 0 ;
15758 PyObject
* obj1
= 0 ;
15759 char *kwnames
[] = {
15760 (char *) "self",(char *) "colour", NULL
15763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_SetDrawnTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
15764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15768 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15772 (arg1
)->SetDrawnTextColour((wxColour
const &)*arg2
);
15774 wxPyEndAllowThreads(__tstate
);
15775 if (PyErr_Occurred()) SWIG_fail
;
15777 Py_INCREF(Py_None
); resultobj
= Py_None
;
15784 static PyObject
*_wrap_PyDrawnShape_Scale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15785 PyObject
*resultobj
;
15786 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15789 PyObject
* obj0
= 0 ;
15790 PyObject
* obj1
= 0 ;
15791 PyObject
* obj2
= 0 ;
15792 char *kwnames
[] = {
15793 (char *) "self",(char *) "sx",(char *) "sy", NULL
15796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDrawnShape_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15799 arg2
= (double)SWIG_As_double(obj1
);
15800 if (PyErr_Occurred()) SWIG_fail
;
15801 arg3
= (double)SWIG_As_double(obj2
);
15802 if (PyErr_Occurred()) SWIG_fail
;
15804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15805 (arg1
)->Scale(arg2
,arg3
);
15807 wxPyEndAllowThreads(__tstate
);
15808 if (PyErr_Occurred()) SWIG_fail
;
15810 Py_INCREF(Py_None
); resultobj
= Py_None
;
15817 static PyObject
*_wrap_PyDrawnShape_SetSaveToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15818 PyObject
*resultobj
;
15819 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15821 PyObject
* obj0
= 0 ;
15822 PyObject
* obj1
= 0 ;
15823 char *kwnames
[] = {
15824 (char *) "self",(char *) "save", NULL
15827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_SetSaveToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
15828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15830 arg2
= (bool)SWIG_As_bool(obj1
);
15831 if (PyErr_Occurred()) SWIG_fail
;
15833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15834 (arg1
)->SetSaveToFile(arg2
);
15836 wxPyEndAllowThreads(__tstate
);
15837 if (PyErr_Occurred()) SWIG_fail
;
15839 Py_INCREF(Py_None
); resultobj
= Py_None
;
15846 static PyObject
*_wrap_PyDrawnShape_Translate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15847 PyObject
*resultobj
;
15848 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15851 PyObject
* obj0
= 0 ;
15852 PyObject
* obj1
= 0 ;
15853 PyObject
* obj2
= 0 ;
15854 char *kwnames
[] = {
15855 (char *) "self",(char *) "x",(char *) "y", NULL
15858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDrawnShape_Translate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15861 arg2
= (double)SWIG_As_double(obj1
);
15862 if (PyErr_Occurred()) SWIG_fail
;
15863 arg3
= (double)SWIG_As_double(obj2
);
15864 if (PyErr_Occurred()) SWIG_fail
;
15866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15867 (arg1
)->Translate(arg2
,arg3
);
15869 wxPyEndAllowThreads(__tstate
);
15870 if (PyErr_Occurred()) SWIG_fail
;
15872 Py_INCREF(Py_None
); resultobj
= Py_None
;
15879 static PyObject
*_wrap_PyDrawnShape_base_OnDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15880 PyObject
*resultobj
;
15881 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15882 PyObject
* obj0
= 0 ;
15883 char *kwnames
[] = {
15884 (char *) "self", NULL
15887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDrawnShape_base_OnDelete",kwnames
,&obj0
)) goto fail
;
15888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15892 (arg1
)->base_OnDelete();
15894 wxPyEndAllowThreads(__tstate
);
15895 if (PyErr_Occurred()) SWIG_fail
;
15897 Py_INCREF(Py_None
); resultobj
= Py_None
;
15904 static PyObject
*_wrap_PyDrawnShape_base_OnDraw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15905 PyObject
*resultobj
;
15906 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15908 PyObject
* obj0
= 0 ;
15909 PyObject
* obj1
= 0 ;
15910 char *kwnames
[] = {
15911 (char *) "self",(char *) "dc", NULL
15914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
15915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15917 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
15918 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15920 if (arg2
== NULL
) {
15921 PyErr_SetString(PyExc_TypeError
,"null reference");
15925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15926 (arg1
)->base_OnDraw(*arg2
);
15928 wxPyEndAllowThreads(__tstate
);
15929 if (PyErr_Occurred()) SWIG_fail
;
15931 Py_INCREF(Py_None
); resultobj
= Py_None
;
15938 static PyObject
*_wrap_PyDrawnShape_base_OnDrawContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15939 PyObject
*resultobj
;
15940 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15942 PyObject
* obj0
= 0 ;
15943 PyObject
* obj1
= 0 ;
15944 char *kwnames
[] = {
15945 (char *) "self",(char *) "dc", NULL
15948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
15949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15951 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
15952 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15954 if (arg2
== NULL
) {
15955 PyErr_SetString(PyExc_TypeError
,"null reference");
15959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15960 (arg1
)->base_OnDrawContents(*arg2
);
15962 wxPyEndAllowThreads(__tstate
);
15963 if (PyErr_Occurred()) SWIG_fail
;
15965 Py_INCREF(Py_None
); resultobj
= Py_None
;
15972 static PyObject
*_wrap_PyDrawnShape_base_OnDrawBranches(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15973 PyObject
*resultobj
;
15974 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15976 bool arg3
= (bool) FALSE
;
15977 PyObject
* obj0
= 0 ;
15978 PyObject
* obj1
= 0 ;
15979 PyObject
* obj2
= 0 ;
15980 char *kwnames
[] = {
15981 (char *) "self",(char *) "dc",(char *) "erase", NULL
15984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyDrawnShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15987 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
15988 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15990 if (arg2
== NULL
) {
15991 PyErr_SetString(PyExc_TypeError
,"null reference");
15995 arg3
= (bool)SWIG_As_bool(obj2
);
15996 if (PyErr_Occurred()) SWIG_fail
;
15999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16000 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
16002 wxPyEndAllowThreads(__tstate
);
16003 if (PyErr_Occurred()) SWIG_fail
;
16005 Py_INCREF(Py_None
); resultobj
= Py_None
;
16012 static PyObject
*_wrap_PyDrawnShape_base_OnMoveLinks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16013 PyObject
*resultobj
;
16014 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16016 PyObject
* obj0
= 0 ;
16017 PyObject
* obj1
= 0 ;
16018 char *kwnames
[] = {
16019 (char *) "self",(char *) "dc", NULL
16022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
16023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16025 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
16026 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16028 if (arg2
== NULL
) {
16029 PyErr_SetString(PyExc_TypeError
,"null reference");
16033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16034 (arg1
)->base_OnMoveLinks(*arg2
);
16036 wxPyEndAllowThreads(__tstate
);
16037 if (PyErr_Occurred()) SWIG_fail
;
16039 Py_INCREF(Py_None
); resultobj
= Py_None
;
16046 static PyObject
*_wrap_PyDrawnShape_base_OnErase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16047 PyObject
*resultobj
;
16048 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16050 PyObject
* obj0
= 0 ;
16051 PyObject
* obj1
= 0 ;
16052 char *kwnames
[] = {
16053 (char *) "self",(char *) "dc", NULL
16056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
16057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16059 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
16060 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16062 if (arg2
== NULL
) {
16063 PyErr_SetString(PyExc_TypeError
,"null reference");
16067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16068 (arg1
)->base_OnErase(*arg2
);
16070 wxPyEndAllowThreads(__tstate
);
16071 if (PyErr_Occurred()) SWIG_fail
;
16073 Py_INCREF(Py_None
); resultobj
= Py_None
;
16080 static PyObject
*_wrap_PyDrawnShape_base_OnEraseContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16081 PyObject
*resultobj
;
16082 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16084 PyObject
* obj0
= 0 ;
16085 PyObject
* obj1
= 0 ;
16086 char *kwnames
[] = {
16087 (char *) "self",(char *) "dc", NULL
16090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
16091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16093 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
16094 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16096 if (arg2
== NULL
) {
16097 PyErr_SetString(PyExc_TypeError
,"null reference");
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_PyDrawnShape_base_OnHighlight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16115 PyObject
*resultobj
;
16116 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 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:PyDrawnShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
16125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16127 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
16128 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16130 if (arg2
== NULL
) {
16131 PyErr_SetString(PyExc_TypeError
,"null reference");
16135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16136 (arg1
)->base_OnHighlight(*arg2
);
16138 wxPyEndAllowThreads(__tstate
);
16139 if (PyErr_Occurred()) SWIG_fail
;
16141 Py_INCREF(Py_None
); resultobj
= Py_None
;
16148 static PyObject
*_wrap_PyDrawnShape_base_OnLeftClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16149 PyObject
*resultobj
;
16150 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16153 int arg4
= (int) 0 ;
16154 int arg5
= (int) 0 ;
16155 PyObject
* obj0
= 0 ;
16156 PyObject
* obj1
= 0 ;
16157 PyObject
* obj2
= 0 ;
16158 PyObject
* obj3
= 0 ;
16159 PyObject
* obj4
= 0 ;
16160 char *kwnames
[] = {
16161 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDrawnShape_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16167 arg2
= (double)SWIG_As_double(obj1
);
16168 if (PyErr_Occurred()) SWIG_fail
;
16169 arg3
= (double)SWIG_As_double(obj2
);
16170 if (PyErr_Occurred()) SWIG_fail
;
16172 arg4
= (int)SWIG_As_int(obj3
);
16173 if (PyErr_Occurred()) SWIG_fail
;
16176 arg5
= (int)SWIG_As_int(obj4
);
16177 if (PyErr_Occurred()) SWIG_fail
;
16180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16181 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
16183 wxPyEndAllowThreads(__tstate
);
16184 if (PyErr_Occurred()) SWIG_fail
;
16186 Py_INCREF(Py_None
); resultobj
= Py_None
;
16193 static PyObject
*_wrap_PyDrawnShape_base_OnLeftDoubleClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16194 PyObject
*resultobj
;
16195 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16198 int arg4
= (int) 0 ;
16199 int arg5
= (int) 0 ;
16200 PyObject
* obj0
= 0 ;
16201 PyObject
* obj1
= 0 ;
16202 PyObject
* obj2
= 0 ;
16203 PyObject
* obj3
= 0 ;
16204 PyObject
* obj4
= 0 ;
16205 char *kwnames
[] = {
16206 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDrawnShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16212 arg2
= (double)SWIG_As_double(obj1
);
16213 if (PyErr_Occurred()) SWIG_fail
;
16214 arg3
= (double)SWIG_As_double(obj2
);
16215 if (PyErr_Occurred()) SWIG_fail
;
16217 arg4
= (int)SWIG_As_int(obj3
);
16218 if (PyErr_Occurred()) SWIG_fail
;
16221 arg5
= (int)SWIG_As_int(obj4
);
16222 if (PyErr_Occurred()) SWIG_fail
;
16225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16226 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
16228 wxPyEndAllowThreads(__tstate
);
16229 if (PyErr_Occurred()) SWIG_fail
;
16231 Py_INCREF(Py_None
); resultobj
= Py_None
;
16238 static PyObject
*_wrap_PyDrawnShape_base_OnRightClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16239 PyObject
*resultobj
;
16240 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16243 int arg4
= (int) 0 ;
16244 int arg5
= (int) 0 ;
16245 PyObject
* obj0
= 0 ;
16246 PyObject
* obj1
= 0 ;
16247 PyObject
* obj2
= 0 ;
16248 PyObject
* obj3
= 0 ;
16249 PyObject
* obj4
= 0 ;
16250 char *kwnames
[] = {
16251 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDrawnShape_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16257 arg2
= (double)SWIG_As_double(obj1
);
16258 if (PyErr_Occurred()) SWIG_fail
;
16259 arg3
= (double)SWIG_As_double(obj2
);
16260 if (PyErr_Occurred()) SWIG_fail
;
16262 arg4
= (int)SWIG_As_int(obj3
);
16263 if (PyErr_Occurred()) SWIG_fail
;
16266 arg5
= (int)SWIG_As_int(obj4
);
16267 if (PyErr_Occurred()) SWIG_fail
;
16270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16271 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
16273 wxPyEndAllowThreads(__tstate
);
16274 if (PyErr_Occurred()) SWIG_fail
;
16276 Py_INCREF(Py_None
); resultobj
= Py_None
;
16283 static PyObject
*_wrap_PyDrawnShape_base_OnSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16284 PyObject
*resultobj
;
16285 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16288 PyObject
* obj0
= 0 ;
16289 PyObject
* obj1
= 0 ;
16290 PyObject
* obj2
= 0 ;
16291 char *kwnames
[] = {
16292 (char *) "self",(char *) "x",(char *) "y", NULL
16295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDrawnShape_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16298 arg2
= (double)SWIG_As_double(obj1
);
16299 if (PyErr_Occurred()) SWIG_fail
;
16300 arg3
= (double)SWIG_As_double(obj2
);
16301 if (PyErr_Occurred()) SWIG_fail
;
16303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16304 (arg1
)->base_OnSize(arg2
,arg3
);
16306 wxPyEndAllowThreads(__tstate
);
16307 if (PyErr_Occurred()) SWIG_fail
;
16309 Py_INCREF(Py_None
); resultobj
= Py_None
;
16316 static PyObject
*_wrap_PyDrawnShape_base_OnMovePre(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16317 PyObject
*resultobj
;
16318 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16324 bool arg7
= (bool) true ;
16326 PyObject
* obj0
= 0 ;
16327 PyObject
* obj1
= 0 ;
16328 PyObject
* obj2
= 0 ;
16329 PyObject
* obj3
= 0 ;
16330 PyObject
* obj4
= 0 ;
16331 PyObject
* obj5
= 0 ;
16332 PyObject
* obj6
= 0 ;
16333 char *kwnames
[] = {
16334 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
16337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyDrawnShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
16338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16340 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
16341 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16343 if (arg2
== NULL
) {
16344 PyErr_SetString(PyExc_TypeError
,"null reference");
16347 arg3
= (double)SWIG_As_double(obj2
);
16348 if (PyErr_Occurred()) SWIG_fail
;
16349 arg4
= (double)SWIG_As_double(obj3
);
16350 if (PyErr_Occurred()) SWIG_fail
;
16351 arg5
= (double)SWIG_As_double(obj4
);
16352 if (PyErr_Occurred()) SWIG_fail
;
16353 arg6
= (double)SWIG_As_double(obj5
);
16354 if (PyErr_Occurred()) SWIG_fail
;
16356 arg7
= (bool)SWIG_As_bool(obj6
);
16357 if (PyErr_Occurred()) SWIG_fail
;
16360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16361 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
16363 wxPyEndAllowThreads(__tstate
);
16364 if (PyErr_Occurred()) SWIG_fail
;
16367 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16375 static PyObject
*_wrap_PyDrawnShape_base_OnMovePost(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16376 PyObject
*resultobj
;
16377 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16383 bool arg7
= (bool) true ;
16384 PyObject
* obj0
= 0 ;
16385 PyObject
* obj1
= 0 ;
16386 PyObject
* obj2
= 0 ;
16387 PyObject
* obj3
= 0 ;
16388 PyObject
* obj4
= 0 ;
16389 PyObject
* obj5
= 0 ;
16390 PyObject
* obj6
= 0 ;
16391 char *kwnames
[] = {
16392 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
16395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyDrawnShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
16396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16398 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
16399 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16401 if (arg2
== NULL
) {
16402 PyErr_SetString(PyExc_TypeError
,"null reference");
16405 arg3
= (double)SWIG_As_double(obj2
);
16406 if (PyErr_Occurred()) SWIG_fail
;
16407 arg4
= (double)SWIG_As_double(obj3
);
16408 if (PyErr_Occurred()) SWIG_fail
;
16409 arg5
= (double)SWIG_As_double(obj4
);
16410 if (PyErr_Occurred()) SWIG_fail
;
16411 arg6
= (double)SWIG_As_double(obj5
);
16412 if (PyErr_Occurred()) SWIG_fail
;
16414 arg7
= (bool)SWIG_As_bool(obj6
);
16415 if (PyErr_Occurred()) SWIG_fail
;
16418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16419 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
16421 wxPyEndAllowThreads(__tstate
);
16422 if (PyErr_Occurred()) SWIG_fail
;
16424 Py_INCREF(Py_None
); resultobj
= Py_None
;
16431 static PyObject
*_wrap_PyDrawnShape_base_OnDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16432 PyObject
*resultobj
;
16433 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16437 int arg5
= (int) 0 ;
16438 int arg6
= (int) 0 ;
16439 PyObject
* obj0
= 0 ;
16440 PyObject
* obj1
= 0 ;
16441 PyObject
* obj2
= 0 ;
16442 PyObject
* obj3
= 0 ;
16443 PyObject
* obj4
= 0 ;
16444 PyObject
* obj5
= 0 ;
16445 char *kwnames
[] = {
16446 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyDrawnShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16452 arg2
= (bool)SWIG_As_bool(obj1
);
16453 if (PyErr_Occurred()) SWIG_fail
;
16454 arg3
= (double)SWIG_As_double(obj2
);
16455 if (PyErr_Occurred()) SWIG_fail
;
16456 arg4
= (double)SWIG_As_double(obj3
);
16457 if (PyErr_Occurred()) SWIG_fail
;
16459 arg5
= (int)SWIG_As_int(obj4
);
16460 if (PyErr_Occurred()) SWIG_fail
;
16463 arg6
= (int)SWIG_As_int(obj5
);
16464 if (PyErr_Occurred()) SWIG_fail
;
16467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16468 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
16470 wxPyEndAllowThreads(__tstate
);
16471 if (PyErr_Occurred()) SWIG_fail
;
16473 Py_INCREF(Py_None
); resultobj
= Py_None
;
16480 static PyObject
*_wrap_PyDrawnShape_base_OnBeginDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16481 PyObject
*resultobj
;
16482 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16485 int arg4
= (int) 0 ;
16486 int arg5
= (int) 0 ;
16487 PyObject
* obj0
= 0 ;
16488 PyObject
* obj1
= 0 ;
16489 PyObject
* obj2
= 0 ;
16490 PyObject
* obj3
= 0 ;
16491 PyObject
* obj4
= 0 ;
16492 char *kwnames
[] = {
16493 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDrawnShape_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16499 arg2
= (double)SWIG_As_double(obj1
);
16500 if (PyErr_Occurred()) SWIG_fail
;
16501 arg3
= (double)SWIG_As_double(obj2
);
16502 if (PyErr_Occurred()) SWIG_fail
;
16504 arg4
= (int)SWIG_As_int(obj3
);
16505 if (PyErr_Occurred()) SWIG_fail
;
16508 arg5
= (int)SWIG_As_int(obj4
);
16509 if (PyErr_Occurred()) SWIG_fail
;
16512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16513 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
16515 wxPyEndAllowThreads(__tstate
);
16516 if (PyErr_Occurred()) SWIG_fail
;
16518 Py_INCREF(Py_None
); resultobj
= Py_None
;
16525 static PyObject
*_wrap_PyDrawnShape_base_OnEndDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16526 PyObject
*resultobj
;
16527 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16530 int arg4
= (int) 0 ;
16531 int arg5
= (int) 0 ;
16532 PyObject
* obj0
= 0 ;
16533 PyObject
* obj1
= 0 ;
16534 PyObject
* obj2
= 0 ;
16535 PyObject
* obj3
= 0 ;
16536 PyObject
* obj4
= 0 ;
16537 char *kwnames
[] = {
16538 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDrawnShape_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16544 arg2
= (double)SWIG_As_double(obj1
);
16545 if (PyErr_Occurred()) SWIG_fail
;
16546 arg3
= (double)SWIG_As_double(obj2
);
16547 if (PyErr_Occurred()) SWIG_fail
;
16549 arg4
= (int)SWIG_As_int(obj3
);
16550 if (PyErr_Occurred()) SWIG_fail
;
16553 arg5
= (int)SWIG_As_int(obj4
);
16554 if (PyErr_Occurred()) SWIG_fail
;
16557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16558 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
16560 wxPyEndAllowThreads(__tstate
);
16561 if (PyErr_Occurred()) SWIG_fail
;
16563 Py_INCREF(Py_None
); resultobj
= Py_None
;
16570 static PyObject
*_wrap_PyDrawnShape_base_OnDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16571 PyObject
*resultobj
;
16572 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16576 int arg5
= (int) 0 ;
16577 int arg6
= (int) 0 ;
16578 PyObject
* obj0
= 0 ;
16579 PyObject
* obj1
= 0 ;
16580 PyObject
* obj2
= 0 ;
16581 PyObject
* obj3
= 0 ;
16582 PyObject
* obj4
= 0 ;
16583 PyObject
* obj5
= 0 ;
16584 char *kwnames
[] = {
16585 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyDrawnShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16591 arg2
= (bool)SWIG_As_bool(obj1
);
16592 if (PyErr_Occurred()) SWIG_fail
;
16593 arg3
= (double)SWIG_As_double(obj2
);
16594 if (PyErr_Occurred()) SWIG_fail
;
16595 arg4
= (double)SWIG_As_double(obj3
);
16596 if (PyErr_Occurred()) SWIG_fail
;
16598 arg5
= (int)SWIG_As_int(obj4
);
16599 if (PyErr_Occurred()) SWIG_fail
;
16602 arg6
= (int)SWIG_As_int(obj5
);
16603 if (PyErr_Occurred()) SWIG_fail
;
16606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16607 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
16609 wxPyEndAllowThreads(__tstate
);
16610 if (PyErr_Occurred()) SWIG_fail
;
16612 Py_INCREF(Py_None
); resultobj
= Py_None
;
16619 static PyObject
*_wrap_PyDrawnShape_base_OnBeginDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16620 PyObject
*resultobj
;
16621 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16624 int arg4
= (int) 0 ;
16625 int arg5
= (int) 0 ;
16626 PyObject
* obj0
= 0 ;
16627 PyObject
* obj1
= 0 ;
16628 PyObject
* obj2
= 0 ;
16629 PyObject
* obj3
= 0 ;
16630 PyObject
* obj4
= 0 ;
16631 char *kwnames
[] = {
16632 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDrawnShape_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16638 arg2
= (double)SWIG_As_double(obj1
);
16639 if (PyErr_Occurred()) SWIG_fail
;
16640 arg3
= (double)SWIG_As_double(obj2
);
16641 if (PyErr_Occurred()) SWIG_fail
;
16643 arg4
= (int)SWIG_As_int(obj3
);
16644 if (PyErr_Occurred()) SWIG_fail
;
16647 arg5
= (int)SWIG_As_int(obj4
);
16648 if (PyErr_Occurred()) SWIG_fail
;
16651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16652 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
16654 wxPyEndAllowThreads(__tstate
);
16655 if (PyErr_Occurred()) SWIG_fail
;
16657 Py_INCREF(Py_None
); resultobj
= Py_None
;
16664 static PyObject
*_wrap_PyDrawnShape_base_OnEndDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16665 PyObject
*resultobj
;
16666 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16669 int arg4
= (int) 0 ;
16670 int arg5
= (int) 0 ;
16671 PyObject
* obj0
= 0 ;
16672 PyObject
* obj1
= 0 ;
16673 PyObject
* obj2
= 0 ;
16674 PyObject
* obj3
= 0 ;
16675 PyObject
* obj4
= 0 ;
16676 char *kwnames
[] = {
16677 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDrawnShape_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16683 arg2
= (double)SWIG_As_double(obj1
);
16684 if (PyErr_Occurred()) SWIG_fail
;
16685 arg3
= (double)SWIG_As_double(obj2
);
16686 if (PyErr_Occurred()) SWIG_fail
;
16688 arg4
= (int)SWIG_As_int(obj3
);
16689 if (PyErr_Occurred()) SWIG_fail
;
16692 arg5
= (int)SWIG_As_int(obj4
);
16693 if (PyErr_Occurred()) SWIG_fail
;
16696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16697 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
16699 wxPyEndAllowThreads(__tstate
);
16700 if (PyErr_Occurred()) SWIG_fail
;
16702 Py_INCREF(Py_None
); resultobj
= Py_None
;
16709 static PyObject
*_wrap_PyDrawnShape_base_OnDrawOutline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16710 PyObject
*resultobj
;
16711 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16717 PyObject
* obj0
= 0 ;
16718 PyObject
* obj1
= 0 ;
16719 PyObject
* obj2
= 0 ;
16720 PyObject
* obj3
= 0 ;
16721 PyObject
* obj4
= 0 ;
16722 PyObject
* obj5
= 0 ;
16723 char *kwnames
[] = {
16724 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
16727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyDrawnShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16730 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
16731 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16733 if (arg2
== NULL
) {
16734 PyErr_SetString(PyExc_TypeError
,"null reference");
16737 arg3
= (double)SWIG_As_double(obj2
);
16738 if (PyErr_Occurred()) SWIG_fail
;
16739 arg4
= (double)SWIG_As_double(obj3
);
16740 if (PyErr_Occurred()) SWIG_fail
;
16741 arg5
= (double)SWIG_As_double(obj4
);
16742 if (PyErr_Occurred()) SWIG_fail
;
16743 arg6
= (double)SWIG_As_double(obj5
);
16744 if (PyErr_Occurred()) SWIG_fail
;
16746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16747 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
16749 wxPyEndAllowThreads(__tstate
);
16750 if (PyErr_Occurred()) SWIG_fail
;
16752 Py_INCREF(Py_None
); resultobj
= Py_None
;
16759 static PyObject
*_wrap_PyDrawnShape_base_OnDrawControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16760 PyObject
*resultobj
;
16761 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16763 PyObject
* obj0
= 0 ;
16764 PyObject
* obj1
= 0 ;
16765 char *kwnames
[] = {
16766 (char *) "self",(char *) "dc", NULL
16769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
16770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16772 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
16773 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16775 if (arg2
== NULL
) {
16776 PyErr_SetString(PyExc_TypeError
,"null reference");
16780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16781 (arg1
)->base_OnDrawControlPoints(*arg2
);
16783 wxPyEndAllowThreads(__tstate
);
16784 if (PyErr_Occurred()) SWIG_fail
;
16786 Py_INCREF(Py_None
); resultobj
= Py_None
;
16793 static PyObject
*_wrap_PyDrawnShape_base_OnEraseControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16794 PyObject
*resultobj
;
16795 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16797 PyObject
* obj0
= 0 ;
16798 PyObject
* obj1
= 0 ;
16799 char *kwnames
[] = {
16800 (char *) "self",(char *) "dc", NULL
16803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
16804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16806 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
16807 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16809 if (arg2
== NULL
) {
16810 PyErr_SetString(PyExc_TypeError
,"null reference");
16814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16815 (arg1
)->base_OnEraseControlPoints(*arg2
);
16817 wxPyEndAllowThreads(__tstate
);
16818 if (PyErr_Occurred()) SWIG_fail
;
16820 Py_INCREF(Py_None
); resultobj
= Py_None
;
16827 static PyObject
*_wrap_PyDrawnShape_base_OnMoveLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16828 PyObject
*resultobj
;
16829 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16831 bool arg3
= (bool) true ;
16832 PyObject
* obj0
= 0 ;
16833 PyObject
* obj1
= 0 ;
16834 PyObject
* obj2
= 0 ;
16835 char *kwnames
[] = {
16836 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
16839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyDrawnShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16842 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
16843 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16845 if (arg2
== NULL
) {
16846 PyErr_SetString(PyExc_TypeError
,"null reference");
16850 arg3
= (bool)SWIG_As_bool(obj2
);
16851 if (PyErr_Occurred()) SWIG_fail
;
16854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16855 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
16857 wxPyEndAllowThreads(__tstate
);
16858 if (PyErr_Occurred()) SWIG_fail
;
16860 Py_INCREF(Py_None
); resultobj
= Py_None
;
16867 static PyObject
*_wrap_PyDrawnShape_base_OnSizingDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16868 PyObject
*resultobj
;
16869 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16870 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
16874 int arg6
= (int) 0 ;
16875 int arg7
= (int) 0 ;
16876 PyObject
* obj0
= 0 ;
16877 PyObject
* obj1
= 0 ;
16878 PyObject
* obj2
= 0 ;
16879 PyObject
* obj3
= 0 ;
16880 PyObject
* obj4
= 0 ;
16881 PyObject
* obj5
= 0 ;
16882 PyObject
* obj6
= 0 ;
16883 char *kwnames
[] = {
16884 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyDrawnShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
16888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16890 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
16891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16892 arg3
= (bool)SWIG_As_bool(obj2
);
16893 if (PyErr_Occurred()) SWIG_fail
;
16894 arg4
= (double)SWIG_As_double(obj3
);
16895 if (PyErr_Occurred()) SWIG_fail
;
16896 arg5
= (double)SWIG_As_double(obj4
);
16897 if (PyErr_Occurred()) SWIG_fail
;
16899 arg6
= (int)SWIG_As_int(obj5
);
16900 if (PyErr_Occurred()) SWIG_fail
;
16903 arg7
= (int)SWIG_As_int(obj6
);
16904 if (PyErr_Occurred()) SWIG_fail
;
16907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16908 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
16910 wxPyEndAllowThreads(__tstate
);
16911 if (PyErr_Occurred()) SWIG_fail
;
16913 Py_INCREF(Py_None
); resultobj
= Py_None
;
16920 static PyObject
*_wrap_PyDrawnShape_base_OnSizingBeginDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16921 PyObject
*resultobj
;
16922 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16923 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
16926 int arg5
= (int) 0 ;
16927 int arg6
= (int) 0 ;
16928 PyObject
* obj0
= 0 ;
16929 PyObject
* obj1
= 0 ;
16930 PyObject
* obj2
= 0 ;
16931 PyObject
* obj3
= 0 ;
16932 PyObject
* obj4
= 0 ;
16933 PyObject
* obj5
= 0 ;
16934 char *kwnames
[] = {
16935 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyDrawnShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16941 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
16942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16943 arg3
= (double)SWIG_As_double(obj2
);
16944 if (PyErr_Occurred()) SWIG_fail
;
16945 arg4
= (double)SWIG_As_double(obj3
);
16946 if (PyErr_Occurred()) SWIG_fail
;
16948 arg5
= (int)SWIG_As_int(obj4
);
16949 if (PyErr_Occurred()) SWIG_fail
;
16952 arg6
= (int)SWIG_As_int(obj5
);
16953 if (PyErr_Occurred()) SWIG_fail
;
16956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16957 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
16959 wxPyEndAllowThreads(__tstate
);
16960 if (PyErr_Occurred()) SWIG_fail
;
16962 Py_INCREF(Py_None
); resultobj
= Py_None
;
16969 static PyObject
*_wrap_PyDrawnShape_base_OnSizingEndDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16970 PyObject
*resultobj
;
16971 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16972 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
16975 int arg5
= (int) 0 ;
16976 int arg6
= (int) 0 ;
16977 PyObject
* obj0
= 0 ;
16978 PyObject
* obj1
= 0 ;
16979 PyObject
* obj2
= 0 ;
16980 PyObject
* obj3
= 0 ;
16981 PyObject
* obj4
= 0 ;
16982 PyObject
* obj5
= 0 ;
16983 char *kwnames
[] = {
16984 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyDrawnShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16990 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
16991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16992 arg3
= (double)SWIG_As_double(obj2
);
16993 if (PyErr_Occurred()) SWIG_fail
;
16994 arg4
= (double)SWIG_As_double(obj3
);
16995 if (PyErr_Occurred()) SWIG_fail
;
16997 arg5
= (int)SWIG_As_int(obj4
);
16998 if (PyErr_Occurred()) SWIG_fail
;
17001 arg6
= (int)SWIG_As_int(obj5
);
17002 if (PyErr_Occurred()) SWIG_fail
;
17005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17006 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
17008 wxPyEndAllowThreads(__tstate
);
17009 if (PyErr_Occurred()) SWIG_fail
;
17011 Py_INCREF(Py_None
); resultobj
= Py_None
;
17018 static PyObject
*_wrap_PyDrawnShape_base_OnBeginSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17019 PyObject
*resultobj
;
17020 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
17023 PyObject
* obj0
= 0 ;
17024 PyObject
* obj1
= 0 ;
17025 PyObject
* obj2
= 0 ;
17026 char *kwnames
[] = {
17027 (char *) "self",(char *) "w",(char *) "h", NULL
17030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDrawnShape_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
17032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17033 arg2
= (double)SWIG_As_double(obj1
);
17034 if (PyErr_Occurred()) SWIG_fail
;
17035 arg3
= (double)SWIG_As_double(obj2
);
17036 if (PyErr_Occurred()) SWIG_fail
;
17038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17039 (arg1
)->base_OnBeginSize(arg2
,arg3
);
17041 wxPyEndAllowThreads(__tstate
);
17042 if (PyErr_Occurred()) SWIG_fail
;
17044 Py_INCREF(Py_None
); resultobj
= Py_None
;
17051 static PyObject
*_wrap_PyDrawnShape_base_OnEndSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17052 PyObject
*resultobj
;
17053 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
17056 PyObject
* obj0
= 0 ;
17057 PyObject
* obj1
= 0 ;
17058 PyObject
* obj2
= 0 ;
17059 char *kwnames
[] = {
17060 (char *) "self",(char *) "w",(char *) "h", NULL
17063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDrawnShape_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
17065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17066 arg2
= (double)SWIG_As_double(obj1
);
17067 if (PyErr_Occurred()) SWIG_fail
;
17068 arg3
= (double)SWIG_As_double(obj2
);
17069 if (PyErr_Occurred()) SWIG_fail
;
17071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17072 (arg1
)->base_OnEndSize(arg2
,arg3
);
17074 wxPyEndAllowThreads(__tstate
);
17075 if (PyErr_Occurred()) SWIG_fail
;
17077 Py_INCREF(Py_None
); resultobj
= Py_None
;
17084 static PyObject
* PyDrawnShape_swigregister(PyObject
*, PyObject
*args
) {
17086 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17087 SWIG_TypeClientData(SWIGTYPE_p_wxPyDrawnShape
, obj
);
17089 return Py_BuildValue((char *)"");
17091 static PyObject
*_wrap_new_OGLConstraint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17092 PyObject
*resultobj
;
17094 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
17095 PyObject
*arg3
= (PyObject
*) 0 ;
17096 wxOGLConstraint
*result
;
17097 PyObject
* obj0
= 0 ;
17098 PyObject
* obj1
= 0 ;
17099 PyObject
* obj2
= 0 ;
17100 char *kwnames
[] = {
17101 (char *) "type",(char *) "constraining",(char *) "constrained", NULL
17104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_OGLConstraint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17105 arg1
= (int)SWIG_As_int(obj0
);
17106 if (PyErr_Occurred()) SWIG_fail
;
17107 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
17108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17112 result
= (wxOGLConstraint
*)new_wxOGLConstraint(arg1
,arg2
,arg3
);
17114 wxPyEndAllowThreads(__tstate
);
17115 if (PyErr_Occurred()) SWIG_fail
;
17118 resultobj
= wxPyMake_wxObject(result
, 1);
17126 static PyObject
*_wrap_OGLConstraint_Evaluate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17127 PyObject
*resultobj
;
17128 wxOGLConstraint
*arg1
= (wxOGLConstraint
*) 0 ;
17130 PyObject
* obj0
= 0 ;
17131 char *kwnames
[] = {
17132 (char *) "self", NULL
17135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:OGLConstraint_Evaluate",kwnames
,&obj0
)) goto fail
;
17136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxOGLConstraint
,
17137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17140 result
= (bool)(arg1
)->Evaluate();
17142 wxPyEndAllowThreads(__tstate
);
17143 if (PyErr_Occurred()) SWIG_fail
;
17146 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17154 static PyObject
*_wrap_OGLConstraint_SetSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17155 PyObject
*resultobj
;
17156 wxOGLConstraint
*arg1
= (wxOGLConstraint
*) 0 ;
17159 PyObject
* obj0
= 0 ;
17160 PyObject
* obj1
= 0 ;
17161 PyObject
* obj2
= 0 ;
17162 char *kwnames
[] = {
17163 (char *) "self",(char *) "x",(char *) "y", NULL
17166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:OGLConstraint_SetSpacing",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxOGLConstraint
,
17168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17169 arg2
= (double)SWIG_As_double(obj1
);
17170 if (PyErr_Occurred()) SWIG_fail
;
17171 arg3
= (double)SWIG_As_double(obj2
);
17172 if (PyErr_Occurred()) SWIG_fail
;
17174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17175 (arg1
)->SetSpacing(arg2
,arg3
);
17177 wxPyEndAllowThreads(__tstate
);
17178 if (PyErr_Occurred()) SWIG_fail
;
17180 Py_INCREF(Py_None
); resultobj
= Py_None
;
17187 static PyObject
*_wrap_OGLConstraint_Equals(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17188 PyObject
*resultobj
;
17189 wxOGLConstraint
*arg1
= (wxOGLConstraint
*) 0 ;
17193 PyObject
* obj0
= 0 ;
17194 PyObject
* obj1
= 0 ;
17195 PyObject
* obj2
= 0 ;
17196 char *kwnames
[] = {
17197 (char *) "self",(char *) "a",(char *) "b", NULL
17200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:OGLConstraint_Equals",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxOGLConstraint
,
17202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17203 arg2
= (double)SWIG_As_double(obj1
);
17204 if (PyErr_Occurred()) SWIG_fail
;
17205 arg3
= (double)SWIG_As_double(obj2
);
17206 if (PyErr_Occurred()) SWIG_fail
;
17208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17209 result
= (bool)(arg1
)->Equals(arg2
,arg3
);
17211 wxPyEndAllowThreads(__tstate
);
17212 if (PyErr_Occurred()) SWIG_fail
;
17215 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17223 static PyObject
* OGLConstraint_swigregister(PyObject
*, PyObject
*args
) {
17225 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17226 SWIG_TypeClientData(SWIGTYPE_p_wxOGLConstraint
, obj
);
17228 return Py_BuildValue((char *)"");
17230 static PyObject
*_wrap_new_PyCompositeShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17231 PyObject
*resultobj
;
17232 wxPyCompositeShape
*result
;
17233 char *kwnames
[] = {
17237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyCompositeShape",kwnames
)) goto fail
;
17239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17240 result
= (wxPyCompositeShape
*)new wxPyCompositeShape();
17242 wxPyEndAllowThreads(__tstate
);
17243 if (PyErr_Occurred()) SWIG_fail
;
17245 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyCompositeShape
, 1);
17252 static PyObject
*_wrap_PyCompositeShape__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17253 PyObject
*resultobj
;
17254 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17255 PyObject
*arg2
= (PyObject
*) 0 ;
17256 PyObject
*arg3
= (PyObject
*) 0 ;
17257 PyObject
* obj0
= 0 ;
17258 PyObject
* obj1
= 0 ;
17259 PyObject
* obj2
= 0 ;
17260 char *kwnames
[] = {
17261 (char *) "self",(char *) "self",(char *) "_class", NULL
17264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyCompositeShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17271 (arg1
)->_setCallbackInfo(arg2
,arg3
);
17273 wxPyEndAllowThreads(__tstate
);
17274 if (PyErr_Occurred()) SWIG_fail
;
17276 Py_INCREF(Py_None
); resultobj
= Py_None
;
17283 static PyObject
*_wrap_PyCompositeShape_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17284 PyObject
*resultobj
;
17285 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17286 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
17287 wxPyShape
*arg3
= (wxPyShape
*) NULL
;
17288 PyObject
* obj0
= 0 ;
17289 PyObject
* obj1
= 0 ;
17290 PyObject
* obj2
= 0 ;
17291 char *kwnames
[] = {
17292 (char *) "self",(char *) "child",(char *) "addAfter", NULL
17295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyCompositeShape_AddChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17298 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
17299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17301 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyShape
,
17302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17306 (arg1
)->AddChild(arg2
,arg3
);
17308 wxPyEndAllowThreads(__tstate
);
17309 if (PyErr_Occurred()) SWIG_fail
;
17311 Py_INCREF(Py_None
); resultobj
= Py_None
;
17318 static PyObject
*_wrap_PyCompositeShape_AddConstraint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17319 PyObject
*resultobj
;
17320 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17321 wxOGLConstraint
*arg2
= (wxOGLConstraint
*) 0 ;
17322 wxOGLConstraint
*result
;
17323 PyObject
* obj0
= 0 ;
17324 PyObject
* obj1
= 0 ;
17325 char *kwnames
[] = {
17326 (char *) "self",(char *) "constraint", NULL
17329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_AddConstraint",kwnames
,&obj0
,&obj1
)) goto fail
;
17330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17332 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxOGLConstraint
,
17333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17336 result
= (wxOGLConstraint
*)(arg1
)->AddConstraint(arg2
);
17338 wxPyEndAllowThreads(__tstate
);
17339 if (PyErr_Occurred()) SWIG_fail
;
17342 resultobj
= wxPyMake_wxObject(result
, 0);
17350 static PyObject
*_wrap_PyCompositeShape_AddConstrainedShapes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17351 PyObject
*resultobj
;
17352 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17354 wxPyShape
*arg3
= (wxPyShape
*) 0 ;
17355 PyObject
*arg4
= (PyObject
*) 0 ;
17356 wxOGLConstraint
*result
;
17357 PyObject
* obj0
= 0 ;
17358 PyObject
* obj1
= 0 ;
17359 PyObject
* obj2
= 0 ;
17360 PyObject
* obj3
= 0 ;
17361 char *kwnames
[] = {
17362 (char *) "self",(char *) "type",(char *) "constraining",(char *) "constrained", NULL
17365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyCompositeShape_AddConstrainedShapes",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17368 arg2
= (int)SWIG_As_int(obj1
);
17369 if (PyErr_Occurred()) SWIG_fail
;
17370 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyShape
,
17371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17375 result
= (wxOGLConstraint
*)wxPyCompositeShape_AddConstrainedShapes(arg1
,arg2
,arg3
,arg4
);
17377 wxPyEndAllowThreads(__tstate
);
17378 if (PyErr_Occurred()) SWIG_fail
;
17381 resultobj
= wxPyMake_wxObject(result
, 0);
17389 static PyObject
*_wrap_PyCompositeShape_AddSimpleConstraint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17390 PyObject
*resultobj
;
17391 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17393 wxPyShape
*arg3
= (wxPyShape
*) 0 ;
17394 wxPyShape
*arg4
= (wxPyShape
*) 0 ;
17395 wxOGLConstraint
*result
;
17396 PyObject
* obj0
= 0 ;
17397 PyObject
* obj1
= 0 ;
17398 PyObject
* obj2
= 0 ;
17399 PyObject
* obj3
= 0 ;
17400 char *kwnames
[] = {
17401 (char *) "self",(char *) "type",(char *) "constraining",(char *) "constrained", NULL
17404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyCompositeShape_AddSimpleConstraint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17407 arg2
= (int)SWIG_As_int(obj1
);
17408 if (PyErr_Occurred()) SWIG_fail
;
17409 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyShape
,
17410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17411 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxPyShape
,
17412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17415 result
= (wxOGLConstraint
*)(arg1
)->AddConstraint(arg2
,arg3
,arg4
);
17417 wxPyEndAllowThreads(__tstate
);
17418 if (PyErr_Occurred()) SWIG_fail
;
17421 resultobj
= wxPyMake_wxObject(result
, 0);
17429 static PyObject
*_wrap_PyCompositeShape_CalculateSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17430 PyObject
*resultobj
;
17431 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17432 PyObject
* obj0
= 0 ;
17433 char *kwnames
[] = {
17434 (char *) "self", NULL
17437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCompositeShape_CalculateSize",kwnames
,&obj0
)) goto fail
;
17438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17442 (arg1
)->CalculateSize();
17444 wxPyEndAllowThreads(__tstate
);
17445 if (PyErr_Occurred()) SWIG_fail
;
17447 Py_INCREF(Py_None
); resultobj
= Py_None
;
17454 static PyObject
*_wrap_PyCompositeShape_ContainsDivision(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17455 PyObject
*resultobj
;
17456 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17457 wxPyDivisionShape
*arg2
= (wxPyDivisionShape
*) 0 ;
17459 PyObject
* obj0
= 0 ;
17460 PyObject
* obj1
= 0 ;
17461 char *kwnames
[] = {
17462 (char *) "self",(char *) "division", NULL
17465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_ContainsDivision",kwnames
,&obj0
,&obj1
)) goto fail
;
17466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17468 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyDivisionShape
,
17469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17472 result
= (bool)(arg1
)->ContainsDivision(arg2
);
17474 wxPyEndAllowThreads(__tstate
);
17475 if (PyErr_Occurred()) SWIG_fail
;
17478 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17486 static PyObject
*_wrap_PyCompositeShape_DeleteConstraint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17487 PyObject
*resultobj
;
17488 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17489 wxOGLConstraint
*arg2
= (wxOGLConstraint
*) 0 ;
17490 PyObject
* obj0
= 0 ;
17491 PyObject
* obj1
= 0 ;
17492 char *kwnames
[] = {
17493 (char *) "self",(char *) "constraint", NULL
17496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_DeleteConstraint",kwnames
,&obj0
,&obj1
)) goto fail
;
17497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17499 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxOGLConstraint
,
17500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17503 (arg1
)->DeleteConstraint(arg2
);
17505 wxPyEndAllowThreads(__tstate
);
17506 if (PyErr_Occurred()) SWIG_fail
;
17508 Py_INCREF(Py_None
); resultobj
= Py_None
;
17515 static PyObject
*_wrap_PyCompositeShape_DeleteConstraintsInvolvingChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17516 PyObject
*resultobj
;
17517 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17518 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
17519 PyObject
* obj0
= 0 ;
17520 PyObject
* obj1
= 0 ;
17521 char *kwnames
[] = {
17522 (char *) "self",(char *) "child", NULL
17525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_DeleteConstraintsInvolvingChild",kwnames
,&obj0
,&obj1
)) goto fail
;
17526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17528 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
17529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17532 (arg1
)->DeleteConstraintsInvolvingChild(arg2
);
17534 wxPyEndAllowThreads(__tstate
);
17535 if (PyErr_Occurred()) SWIG_fail
;
17537 Py_INCREF(Py_None
); resultobj
= Py_None
;
17544 static PyObject
*_wrap_PyCompositeShape_FindContainerImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17545 PyObject
*resultobj
;
17546 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17548 PyObject
* obj0
= 0 ;
17549 char *kwnames
[] = {
17550 (char *) "self", NULL
17553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCompositeShape_FindContainerImage",kwnames
,&obj0
)) goto fail
;
17554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17558 result
= (wxPyShape
*)(arg1
)->FindContainerImage();
17560 wxPyEndAllowThreads(__tstate
);
17561 if (PyErr_Occurred()) SWIG_fail
;
17564 resultobj
= wxPyMake_wxShapeEvtHandler(result
, 0);
17572 static PyObject
*_wrap_PyCompositeShape_GetConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17573 PyObject
*resultobj
;
17574 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17576 PyObject
* obj0
= 0 ;
17577 char *kwnames
[] = {
17578 (char *) "self", NULL
17581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCompositeShape_GetConstraints",kwnames
,&obj0
)) goto fail
;
17582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17586 result
= (PyObject
*)wxPyCompositeShape_GetConstraints(arg1
);
17588 wxPyEndAllowThreads(__tstate
);
17589 if (PyErr_Occurred()) SWIG_fail
;
17591 resultobj
= result
;
17598 static PyObject
*_wrap_PyCompositeShape_GetDivisions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17599 PyObject
*resultobj
;
17600 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17602 PyObject
* obj0
= 0 ;
17603 char *kwnames
[] = {
17604 (char *) "self", NULL
17607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCompositeShape_GetDivisions",kwnames
,&obj0
)) goto fail
;
17608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17612 result
= (PyObject
*)wxPyCompositeShape_GetDivisions(arg1
);
17614 wxPyEndAllowThreads(__tstate
);
17615 if (PyErr_Occurred()) SWIG_fail
;
17617 resultobj
= result
;
17624 static PyObject
*_wrap_PyCompositeShape_MakeContainer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17625 PyObject
*resultobj
;
17626 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17627 PyObject
* obj0
= 0 ;
17628 char *kwnames
[] = {
17629 (char *) "self", NULL
17632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCompositeShape_MakeContainer",kwnames
,&obj0
)) goto fail
;
17633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17637 (arg1
)->MakeContainer();
17639 wxPyEndAllowThreads(__tstate
);
17640 if (PyErr_Occurred()) SWIG_fail
;
17642 Py_INCREF(Py_None
); resultobj
= Py_None
;
17649 static PyObject
*_wrap_PyCompositeShape_Recompute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17650 PyObject
*resultobj
;
17651 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17653 PyObject
* obj0
= 0 ;
17654 char *kwnames
[] = {
17655 (char *) "self", NULL
17658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCompositeShape_Recompute",kwnames
,&obj0
)) goto fail
;
17659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17663 result
= (bool)(arg1
)->Recompute();
17665 wxPyEndAllowThreads(__tstate
);
17666 if (PyErr_Occurred()) SWIG_fail
;
17669 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17677 static PyObject
*_wrap_PyCompositeShape_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17678 PyObject
*resultobj
;
17679 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17680 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
17681 PyObject
* obj0
= 0 ;
17682 PyObject
* obj1
= 0 ;
17683 char *kwnames
[] = {
17684 (char *) "self",(char *) "child", NULL
17687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
17688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17690 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
17691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17694 (arg1
)->RemoveChild(arg2
);
17696 wxPyEndAllowThreads(__tstate
);
17697 if (PyErr_Occurred()) SWIG_fail
;
17699 Py_INCREF(Py_None
); resultobj
= Py_None
;
17706 static PyObject
*_wrap_PyCompositeShape_base_OnDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17707 PyObject
*resultobj
;
17708 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17709 PyObject
* obj0
= 0 ;
17710 char *kwnames
[] = {
17711 (char *) "self", NULL
17714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCompositeShape_base_OnDelete",kwnames
,&obj0
)) goto fail
;
17715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17719 (arg1
)->base_OnDelete();
17721 wxPyEndAllowThreads(__tstate
);
17722 if (PyErr_Occurred()) SWIG_fail
;
17724 Py_INCREF(Py_None
); resultobj
= Py_None
;
17731 static PyObject
*_wrap_PyCompositeShape_base_OnDraw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17732 PyObject
*resultobj
;
17733 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17735 PyObject
* obj0
= 0 ;
17736 PyObject
* obj1
= 0 ;
17737 char *kwnames
[] = {
17738 (char *) "self",(char *) "dc", NULL
17741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
17742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17744 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
17745 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17747 if (arg2
== NULL
) {
17748 PyErr_SetString(PyExc_TypeError
,"null reference");
17752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17753 (arg1
)->base_OnDraw(*arg2
);
17755 wxPyEndAllowThreads(__tstate
);
17756 if (PyErr_Occurred()) SWIG_fail
;
17758 Py_INCREF(Py_None
); resultobj
= Py_None
;
17765 static PyObject
*_wrap_PyCompositeShape_base_OnDrawContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17766 PyObject
*resultobj
;
17767 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17769 PyObject
* obj0
= 0 ;
17770 PyObject
* obj1
= 0 ;
17771 char *kwnames
[] = {
17772 (char *) "self",(char *) "dc", NULL
17775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
17776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17778 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
17779 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17781 if (arg2
== NULL
) {
17782 PyErr_SetString(PyExc_TypeError
,"null reference");
17786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17787 (arg1
)->base_OnDrawContents(*arg2
);
17789 wxPyEndAllowThreads(__tstate
);
17790 if (PyErr_Occurred()) SWIG_fail
;
17792 Py_INCREF(Py_None
); resultobj
= Py_None
;
17799 static PyObject
*_wrap_PyCompositeShape_base_OnDrawBranches(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17800 PyObject
*resultobj
;
17801 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17803 bool arg3
= (bool) FALSE
;
17804 PyObject
* obj0
= 0 ;
17805 PyObject
* obj1
= 0 ;
17806 PyObject
* obj2
= 0 ;
17807 char *kwnames
[] = {
17808 (char *) "self",(char *) "dc",(char *) "erase", NULL
17811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyCompositeShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17814 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
17815 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17817 if (arg2
== NULL
) {
17818 PyErr_SetString(PyExc_TypeError
,"null reference");
17822 arg3
= (bool)SWIG_As_bool(obj2
);
17823 if (PyErr_Occurred()) SWIG_fail
;
17826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17827 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
17829 wxPyEndAllowThreads(__tstate
);
17830 if (PyErr_Occurred()) SWIG_fail
;
17832 Py_INCREF(Py_None
); resultobj
= Py_None
;
17839 static PyObject
*_wrap_PyCompositeShape_base_OnMoveLinks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17840 PyObject
*resultobj
;
17841 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17843 PyObject
* obj0
= 0 ;
17844 PyObject
* obj1
= 0 ;
17845 char *kwnames
[] = {
17846 (char *) "self",(char *) "dc", NULL
17849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
17850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17852 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
17853 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17855 if (arg2
== NULL
) {
17856 PyErr_SetString(PyExc_TypeError
,"null reference");
17860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17861 (arg1
)->base_OnMoveLinks(*arg2
);
17863 wxPyEndAllowThreads(__tstate
);
17864 if (PyErr_Occurred()) SWIG_fail
;
17866 Py_INCREF(Py_None
); resultobj
= Py_None
;
17873 static PyObject
*_wrap_PyCompositeShape_base_OnErase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17874 PyObject
*resultobj
;
17875 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17877 PyObject
* obj0
= 0 ;
17878 PyObject
* obj1
= 0 ;
17879 char *kwnames
[] = {
17880 (char *) "self",(char *) "dc", NULL
17883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
17884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17886 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
17887 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17889 if (arg2
== NULL
) {
17890 PyErr_SetString(PyExc_TypeError
,"null reference");
17894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17895 (arg1
)->base_OnErase(*arg2
);
17897 wxPyEndAllowThreads(__tstate
);
17898 if (PyErr_Occurred()) SWIG_fail
;
17900 Py_INCREF(Py_None
); resultobj
= Py_None
;
17907 static PyObject
*_wrap_PyCompositeShape_base_OnEraseContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17908 PyObject
*resultobj
;
17909 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17911 PyObject
* obj0
= 0 ;
17912 PyObject
* obj1
= 0 ;
17913 char *kwnames
[] = {
17914 (char *) "self",(char *) "dc", NULL
17917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
17918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17920 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
17921 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17923 if (arg2
== NULL
) {
17924 PyErr_SetString(PyExc_TypeError
,"null reference");
17928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17929 (arg1
)->base_OnEraseContents(*arg2
);
17931 wxPyEndAllowThreads(__tstate
);
17932 if (PyErr_Occurred()) SWIG_fail
;
17934 Py_INCREF(Py_None
); resultobj
= Py_None
;
17941 static PyObject
*_wrap_PyCompositeShape_base_OnHighlight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17942 PyObject
*resultobj
;
17943 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17945 PyObject
* obj0
= 0 ;
17946 PyObject
* obj1
= 0 ;
17947 char *kwnames
[] = {
17948 (char *) "self",(char *) "dc", NULL
17951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
17952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17954 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
17955 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17957 if (arg2
== NULL
) {
17958 PyErr_SetString(PyExc_TypeError
,"null reference");
17962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17963 (arg1
)->base_OnHighlight(*arg2
);
17965 wxPyEndAllowThreads(__tstate
);
17966 if (PyErr_Occurred()) SWIG_fail
;
17968 Py_INCREF(Py_None
); resultobj
= Py_None
;
17975 static PyObject
*_wrap_PyCompositeShape_base_OnLeftClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17976 PyObject
*resultobj
;
17977 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17980 int arg4
= (int) 0 ;
17981 int arg5
= (int) 0 ;
17982 PyObject
* obj0
= 0 ;
17983 PyObject
* obj1
= 0 ;
17984 PyObject
* obj2
= 0 ;
17985 PyObject
* obj3
= 0 ;
17986 PyObject
* obj4
= 0 ;
17987 char *kwnames
[] = {
17988 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
17991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCompositeShape_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17994 arg2
= (double)SWIG_As_double(obj1
);
17995 if (PyErr_Occurred()) SWIG_fail
;
17996 arg3
= (double)SWIG_As_double(obj2
);
17997 if (PyErr_Occurred()) SWIG_fail
;
17999 arg4
= (int)SWIG_As_int(obj3
);
18000 if (PyErr_Occurred()) SWIG_fail
;
18003 arg5
= (int)SWIG_As_int(obj4
);
18004 if (PyErr_Occurred()) SWIG_fail
;
18007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18008 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
18010 wxPyEndAllowThreads(__tstate
);
18011 if (PyErr_Occurred()) SWIG_fail
;
18013 Py_INCREF(Py_None
); resultobj
= Py_None
;
18020 static PyObject
*_wrap_PyCompositeShape_base_OnLeftDoubleClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18021 PyObject
*resultobj
;
18022 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18025 int arg4
= (int) 0 ;
18026 int arg5
= (int) 0 ;
18027 PyObject
* obj0
= 0 ;
18028 PyObject
* obj1
= 0 ;
18029 PyObject
* obj2
= 0 ;
18030 PyObject
* obj3
= 0 ;
18031 PyObject
* obj4
= 0 ;
18032 char *kwnames
[] = {
18033 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCompositeShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18039 arg2
= (double)SWIG_As_double(obj1
);
18040 if (PyErr_Occurred()) SWIG_fail
;
18041 arg3
= (double)SWIG_As_double(obj2
);
18042 if (PyErr_Occurred()) SWIG_fail
;
18044 arg4
= (int)SWIG_As_int(obj3
);
18045 if (PyErr_Occurred()) SWIG_fail
;
18048 arg5
= (int)SWIG_As_int(obj4
);
18049 if (PyErr_Occurred()) SWIG_fail
;
18052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18053 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
18055 wxPyEndAllowThreads(__tstate
);
18056 if (PyErr_Occurred()) SWIG_fail
;
18058 Py_INCREF(Py_None
); resultobj
= Py_None
;
18065 static PyObject
*_wrap_PyCompositeShape_base_OnRightClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18066 PyObject
*resultobj
;
18067 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18070 int arg4
= (int) 0 ;
18071 int arg5
= (int) 0 ;
18072 PyObject
* obj0
= 0 ;
18073 PyObject
* obj1
= 0 ;
18074 PyObject
* obj2
= 0 ;
18075 PyObject
* obj3
= 0 ;
18076 PyObject
* obj4
= 0 ;
18077 char *kwnames
[] = {
18078 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCompositeShape_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18084 arg2
= (double)SWIG_As_double(obj1
);
18085 if (PyErr_Occurred()) SWIG_fail
;
18086 arg3
= (double)SWIG_As_double(obj2
);
18087 if (PyErr_Occurred()) SWIG_fail
;
18089 arg4
= (int)SWIG_As_int(obj3
);
18090 if (PyErr_Occurred()) SWIG_fail
;
18093 arg5
= (int)SWIG_As_int(obj4
);
18094 if (PyErr_Occurred()) SWIG_fail
;
18097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18098 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
18100 wxPyEndAllowThreads(__tstate
);
18101 if (PyErr_Occurred()) SWIG_fail
;
18103 Py_INCREF(Py_None
); resultobj
= Py_None
;
18110 static PyObject
*_wrap_PyCompositeShape_base_OnSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18111 PyObject
*resultobj
;
18112 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18115 PyObject
* obj0
= 0 ;
18116 PyObject
* obj1
= 0 ;
18117 PyObject
* obj2
= 0 ;
18118 char *kwnames
[] = {
18119 (char *) "self",(char *) "x",(char *) "y", NULL
18122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyCompositeShape_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18125 arg2
= (double)SWIG_As_double(obj1
);
18126 if (PyErr_Occurred()) SWIG_fail
;
18127 arg3
= (double)SWIG_As_double(obj2
);
18128 if (PyErr_Occurred()) SWIG_fail
;
18130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18131 (arg1
)->base_OnSize(arg2
,arg3
);
18133 wxPyEndAllowThreads(__tstate
);
18134 if (PyErr_Occurred()) SWIG_fail
;
18136 Py_INCREF(Py_None
); resultobj
= Py_None
;
18143 static PyObject
*_wrap_PyCompositeShape_base_OnMovePre(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18144 PyObject
*resultobj
;
18145 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18151 bool arg7
= (bool) true ;
18153 PyObject
* obj0
= 0 ;
18154 PyObject
* obj1
= 0 ;
18155 PyObject
* obj2
= 0 ;
18156 PyObject
* obj3
= 0 ;
18157 PyObject
* obj4
= 0 ;
18158 PyObject
* obj5
= 0 ;
18159 PyObject
* obj6
= 0 ;
18160 char *kwnames
[] = {
18161 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
18164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyCompositeShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
18165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18167 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
18168 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18170 if (arg2
== NULL
) {
18171 PyErr_SetString(PyExc_TypeError
,"null reference");
18174 arg3
= (double)SWIG_As_double(obj2
);
18175 if (PyErr_Occurred()) SWIG_fail
;
18176 arg4
= (double)SWIG_As_double(obj3
);
18177 if (PyErr_Occurred()) SWIG_fail
;
18178 arg5
= (double)SWIG_As_double(obj4
);
18179 if (PyErr_Occurred()) SWIG_fail
;
18180 arg6
= (double)SWIG_As_double(obj5
);
18181 if (PyErr_Occurred()) SWIG_fail
;
18183 arg7
= (bool)SWIG_As_bool(obj6
);
18184 if (PyErr_Occurred()) SWIG_fail
;
18187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18188 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18190 wxPyEndAllowThreads(__tstate
);
18191 if (PyErr_Occurred()) SWIG_fail
;
18194 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18202 static PyObject
*_wrap_PyCompositeShape_base_OnMovePost(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18203 PyObject
*resultobj
;
18204 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18210 bool arg7
= (bool) true ;
18211 PyObject
* obj0
= 0 ;
18212 PyObject
* obj1
= 0 ;
18213 PyObject
* obj2
= 0 ;
18214 PyObject
* obj3
= 0 ;
18215 PyObject
* obj4
= 0 ;
18216 PyObject
* obj5
= 0 ;
18217 PyObject
* obj6
= 0 ;
18218 char *kwnames
[] = {
18219 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
18222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyCompositeShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
18223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18225 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
18226 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18228 if (arg2
== NULL
) {
18229 PyErr_SetString(PyExc_TypeError
,"null reference");
18232 arg3
= (double)SWIG_As_double(obj2
);
18233 if (PyErr_Occurred()) SWIG_fail
;
18234 arg4
= (double)SWIG_As_double(obj3
);
18235 if (PyErr_Occurred()) SWIG_fail
;
18236 arg5
= (double)SWIG_As_double(obj4
);
18237 if (PyErr_Occurred()) SWIG_fail
;
18238 arg6
= (double)SWIG_As_double(obj5
);
18239 if (PyErr_Occurred()) SWIG_fail
;
18241 arg7
= (bool)SWIG_As_bool(obj6
);
18242 if (PyErr_Occurred()) SWIG_fail
;
18245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18246 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18248 wxPyEndAllowThreads(__tstate
);
18249 if (PyErr_Occurred()) SWIG_fail
;
18251 Py_INCREF(Py_None
); resultobj
= Py_None
;
18258 static PyObject
*_wrap_PyCompositeShape_base_OnDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18259 PyObject
*resultobj
;
18260 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18264 int arg5
= (int) 0 ;
18265 int arg6
= (int) 0 ;
18266 PyObject
* obj0
= 0 ;
18267 PyObject
* obj1
= 0 ;
18268 PyObject
* obj2
= 0 ;
18269 PyObject
* obj3
= 0 ;
18270 PyObject
* obj4
= 0 ;
18271 PyObject
* obj5
= 0 ;
18272 char *kwnames
[] = {
18273 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyCompositeShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18279 arg2
= (bool)SWIG_As_bool(obj1
);
18280 if (PyErr_Occurred()) SWIG_fail
;
18281 arg3
= (double)SWIG_As_double(obj2
);
18282 if (PyErr_Occurred()) SWIG_fail
;
18283 arg4
= (double)SWIG_As_double(obj3
);
18284 if (PyErr_Occurred()) SWIG_fail
;
18286 arg5
= (int)SWIG_As_int(obj4
);
18287 if (PyErr_Occurred()) SWIG_fail
;
18290 arg6
= (int)SWIG_As_int(obj5
);
18291 if (PyErr_Occurred()) SWIG_fail
;
18294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18295 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
18297 wxPyEndAllowThreads(__tstate
);
18298 if (PyErr_Occurred()) SWIG_fail
;
18300 Py_INCREF(Py_None
); resultobj
= Py_None
;
18307 static PyObject
*_wrap_PyCompositeShape_base_OnBeginDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18308 PyObject
*resultobj
;
18309 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18312 int arg4
= (int) 0 ;
18313 int arg5
= (int) 0 ;
18314 PyObject
* obj0
= 0 ;
18315 PyObject
* obj1
= 0 ;
18316 PyObject
* obj2
= 0 ;
18317 PyObject
* obj3
= 0 ;
18318 PyObject
* obj4
= 0 ;
18319 char *kwnames
[] = {
18320 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCompositeShape_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18326 arg2
= (double)SWIG_As_double(obj1
);
18327 if (PyErr_Occurred()) SWIG_fail
;
18328 arg3
= (double)SWIG_As_double(obj2
);
18329 if (PyErr_Occurred()) SWIG_fail
;
18331 arg4
= (int)SWIG_As_int(obj3
);
18332 if (PyErr_Occurred()) SWIG_fail
;
18335 arg5
= (int)SWIG_As_int(obj4
);
18336 if (PyErr_Occurred()) SWIG_fail
;
18339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18340 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
18342 wxPyEndAllowThreads(__tstate
);
18343 if (PyErr_Occurred()) SWIG_fail
;
18345 Py_INCREF(Py_None
); resultobj
= Py_None
;
18352 static PyObject
*_wrap_PyCompositeShape_base_OnEndDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18353 PyObject
*resultobj
;
18354 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18357 int arg4
= (int) 0 ;
18358 int arg5
= (int) 0 ;
18359 PyObject
* obj0
= 0 ;
18360 PyObject
* obj1
= 0 ;
18361 PyObject
* obj2
= 0 ;
18362 PyObject
* obj3
= 0 ;
18363 PyObject
* obj4
= 0 ;
18364 char *kwnames
[] = {
18365 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCompositeShape_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18371 arg2
= (double)SWIG_As_double(obj1
);
18372 if (PyErr_Occurred()) SWIG_fail
;
18373 arg3
= (double)SWIG_As_double(obj2
);
18374 if (PyErr_Occurred()) SWIG_fail
;
18376 arg4
= (int)SWIG_As_int(obj3
);
18377 if (PyErr_Occurred()) SWIG_fail
;
18380 arg5
= (int)SWIG_As_int(obj4
);
18381 if (PyErr_Occurred()) SWIG_fail
;
18384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18385 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
18387 wxPyEndAllowThreads(__tstate
);
18388 if (PyErr_Occurred()) SWIG_fail
;
18390 Py_INCREF(Py_None
); resultobj
= Py_None
;
18397 static PyObject
*_wrap_PyCompositeShape_base_OnDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18398 PyObject
*resultobj
;
18399 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18403 int arg5
= (int) 0 ;
18404 int arg6
= (int) 0 ;
18405 PyObject
* obj0
= 0 ;
18406 PyObject
* obj1
= 0 ;
18407 PyObject
* obj2
= 0 ;
18408 PyObject
* obj3
= 0 ;
18409 PyObject
* obj4
= 0 ;
18410 PyObject
* obj5
= 0 ;
18411 char *kwnames
[] = {
18412 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyCompositeShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18418 arg2
= (bool)SWIG_As_bool(obj1
);
18419 if (PyErr_Occurred()) SWIG_fail
;
18420 arg3
= (double)SWIG_As_double(obj2
);
18421 if (PyErr_Occurred()) SWIG_fail
;
18422 arg4
= (double)SWIG_As_double(obj3
);
18423 if (PyErr_Occurred()) SWIG_fail
;
18425 arg5
= (int)SWIG_As_int(obj4
);
18426 if (PyErr_Occurred()) SWIG_fail
;
18429 arg6
= (int)SWIG_As_int(obj5
);
18430 if (PyErr_Occurred()) SWIG_fail
;
18433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18434 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
18436 wxPyEndAllowThreads(__tstate
);
18437 if (PyErr_Occurred()) SWIG_fail
;
18439 Py_INCREF(Py_None
); resultobj
= Py_None
;
18446 static PyObject
*_wrap_PyCompositeShape_base_OnBeginDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18447 PyObject
*resultobj
;
18448 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18451 int arg4
= (int) 0 ;
18452 int arg5
= (int) 0 ;
18453 PyObject
* obj0
= 0 ;
18454 PyObject
* obj1
= 0 ;
18455 PyObject
* obj2
= 0 ;
18456 PyObject
* obj3
= 0 ;
18457 PyObject
* obj4
= 0 ;
18458 char *kwnames
[] = {
18459 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCompositeShape_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18465 arg2
= (double)SWIG_As_double(obj1
);
18466 if (PyErr_Occurred()) SWIG_fail
;
18467 arg3
= (double)SWIG_As_double(obj2
);
18468 if (PyErr_Occurred()) SWIG_fail
;
18470 arg4
= (int)SWIG_As_int(obj3
);
18471 if (PyErr_Occurred()) SWIG_fail
;
18474 arg5
= (int)SWIG_As_int(obj4
);
18475 if (PyErr_Occurred()) SWIG_fail
;
18478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18479 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
18481 wxPyEndAllowThreads(__tstate
);
18482 if (PyErr_Occurred()) SWIG_fail
;
18484 Py_INCREF(Py_None
); resultobj
= Py_None
;
18491 static PyObject
*_wrap_PyCompositeShape_base_OnEndDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18492 PyObject
*resultobj
;
18493 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18496 int arg4
= (int) 0 ;
18497 int arg5
= (int) 0 ;
18498 PyObject
* obj0
= 0 ;
18499 PyObject
* obj1
= 0 ;
18500 PyObject
* obj2
= 0 ;
18501 PyObject
* obj3
= 0 ;
18502 PyObject
* obj4
= 0 ;
18503 char *kwnames
[] = {
18504 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCompositeShape_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18510 arg2
= (double)SWIG_As_double(obj1
);
18511 if (PyErr_Occurred()) SWIG_fail
;
18512 arg3
= (double)SWIG_As_double(obj2
);
18513 if (PyErr_Occurred()) SWIG_fail
;
18515 arg4
= (int)SWIG_As_int(obj3
);
18516 if (PyErr_Occurred()) SWIG_fail
;
18519 arg5
= (int)SWIG_As_int(obj4
);
18520 if (PyErr_Occurred()) SWIG_fail
;
18523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18524 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
18526 wxPyEndAllowThreads(__tstate
);
18527 if (PyErr_Occurred()) SWIG_fail
;
18529 Py_INCREF(Py_None
); resultobj
= Py_None
;
18536 static PyObject
*_wrap_PyCompositeShape_base_OnDrawOutline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18537 PyObject
*resultobj
;
18538 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18544 PyObject
* obj0
= 0 ;
18545 PyObject
* obj1
= 0 ;
18546 PyObject
* obj2
= 0 ;
18547 PyObject
* obj3
= 0 ;
18548 PyObject
* obj4
= 0 ;
18549 PyObject
* obj5
= 0 ;
18550 char *kwnames
[] = {
18551 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
18554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyCompositeShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18557 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
18558 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18560 if (arg2
== NULL
) {
18561 PyErr_SetString(PyExc_TypeError
,"null reference");
18564 arg3
= (double)SWIG_As_double(obj2
);
18565 if (PyErr_Occurred()) SWIG_fail
;
18566 arg4
= (double)SWIG_As_double(obj3
);
18567 if (PyErr_Occurred()) SWIG_fail
;
18568 arg5
= (double)SWIG_As_double(obj4
);
18569 if (PyErr_Occurred()) SWIG_fail
;
18570 arg6
= (double)SWIG_As_double(obj5
);
18571 if (PyErr_Occurred()) SWIG_fail
;
18573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18574 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
18576 wxPyEndAllowThreads(__tstate
);
18577 if (PyErr_Occurred()) SWIG_fail
;
18579 Py_INCREF(Py_None
); resultobj
= Py_None
;
18586 static PyObject
*_wrap_PyCompositeShape_base_OnDrawControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18587 PyObject
*resultobj
;
18588 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18590 PyObject
* obj0
= 0 ;
18591 PyObject
* obj1
= 0 ;
18592 char *kwnames
[] = {
18593 (char *) "self",(char *) "dc", NULL
18596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
18597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18599 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
18600 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18602 if (arg2
== NULL
) {
18603 PyErr_SetString(PyExc_TypeError
,"null reference");
18607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18608 (arg1
)->base_OnDrawControlPoints(*arg2
);
18610 wxPyEndAllowThreads(__tstate
);
18611 if (PyErr_Occurred()) SWIG_fail
;
18613 Py_INCREF(Py_None
); resultobj
= Py_None
;
18620 static PyObject
*_wrap_PyCompositeShape_base_OnEraseControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18621 PyObject
*resultobj
;
18622 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18624 PyObject
* obj0
= 0 ;
18625 PyObject
* obj1
= 0 ;
18626 char *kwnames
[] = {
18627 (char *) "self",(char *) "dc", NULL
18630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
18631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18633 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
18634 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18636 if (arg2
== NULL
) {
18637 PyErr_SetString(PyExc_TypeError
,"null reference");
18641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18642 (arg1
)->base_OnEraseControlPoints(*arg2
);
18644 wxPyEndAllowThreads(__tstate
);
18645 if (PyErr_Occurred()) SWIG_fail
;
18647 Py_INCREF(Py_None
); resultobj
= Py_None
;
18654 static PyObject
*_wrap_PyCompositeShape_base_OnMoveLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18655 PyObject
*resultobj
;
18656 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18658 bool arg3
= (bool) true ;
18659 PyObject
* obj0
= 0 ;
18660 PyObject
* obj1
= 0 ;
18661 PyObject
* obj2
= 0 ;
18662 char *kwnames
[] = {
18663 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
18666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyCompositeShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18669 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
18670 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18672 if (arg2
== NULL
) {
18673 PyErr_SetString(PyExc_TypeError
,"null reference");
18677 arg3
= (bool)SWIG_As_bool(obj2
);
18678 if (PyErr_Occurred()) SWIG_fail
;
18681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18682 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
18684 wxPyEndAllowThreads(__tstate
);
18685 if (PyErr_Occurred()) SWIG_fail
;
18687 Py_INCREF(Py_None
); resultobj
= Py_None
;
18694 static PyObject
*_wrap_PyCompositeShape_base_OnSizingDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18695 PyObject
*resultobj
;
18696 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18697 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
18701 int arg6
= (int) 0 ;
18702 int arg7
= (int) 0 ;
18703 PyObject
* obj0
= 0 ;
18704 PyObject
* obj1
= 0 ;
18705 PyObject
* obj2
= 0 ;
18706 PyObject
* obj3
= 0 ;
18707 PyObject
* obj4
= 0 ;
18708 PyObject
* obj5
= 0 ;
18709 PyObject
* obj6
= 0 ;
18710 char *kwnames
[] = {
18711 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyCompositeShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
18715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18717 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
18718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18719 arg3
= (bool)SWIG_As_bool(obj2
);
18720 if (PyErr_Occurred()) SWIG_fail
;
18721 arg4
= (double)SWIG_As_double(obj3
);
18722 if (PyErr_Occurred()) SWIG_fail
;
18723 arg5
= (double)SWIG_As_double(obj4
);
18724 if (PyErr_Occurred()) SWIG_fail
;
18726 arg6
= (int)SWIG_As_int(obj5
);
18727 if (PyErr_Occurred()) SWIG_fail
;
18730 arg7
= (int)SWIG_As_int(obj6
);
18731 if (PyErr_Occurred()) SWIG_fail
;
18734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18735 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18737 wxPyEndAllowThreads(__tstate
);
18738 if (PyErr_Occurred()) SWIG_fail
;
18740 Py_INCREF(Py_None
); resultobj
= Py_None
;
18747 static PyObject
*_wrap_PyCompositeShape_base_OnSizingBeginDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18748 PyObject
*resultobj
;
18749 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18750 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
18753 int arg5
= (int) 0 ;
18754 int arg6
= (int) 0 ;
18755 PyObject
* obj0
= 0 ;
18756 PyObject
* obj1
= 0 ;
18757 PyObject
* obj2
= 0 ;
18758 PyObject
* obj3
= 0 ;
18759 PyObject
* obj4
= 0 ;
18760 PyObject
* obj5
= 0 ;
18761 char *kwnames
[] = {
18762 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyCompositeShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18768 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
18769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18770 arg3
= (double)SWIG_As_double(obj2
);
18771 if (PyErr_Occurred()) SWIG_fail
;
18772 arg4
= (double)SWIG_As_double(obj3
);
18773 if (PyErr_Occurred()) SWIG_fail
;
18775 arg5
= (int)SWIG_As_int(obj4
);
18776 if (PyErr_Occurred()) SWIG_fail
;
18779 arg6
= (int)SWIG_As_int(obj5
);
18780 if (PyErr_Occurred()) SWIG_fail
;
18783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18784 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
18786 wxPyEndAllowThreads(__tstate
);
18787 if (PyErr_Occurred()) SWIG_fail
;
18789 Py_INCREF(Py_None
); resultobj
= Py_None
;
18796 static PyObject
*_wrap_PyCompositeShape_base_OnSizingEndDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18797 PyObject
*resultobj
;
18798 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18799 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
18802 int arg5
= (int) 0 ;
18803 int arg6
= (int) 0 ;
18804 PyObject
* obj0
= 0 ;
18805 PyObject
* obj1
= 0 ;
18806 PyObject
* obj2
= 0 ;
18807 PyObject
* obj3
= 0 ;
18808 PyObject
* obj4
= 0 ;
18809 PyObject
* obj5
= 0 ;
18810 char *kwnames
[] = {
18811 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyCompositeShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18817 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
18818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18819 arg3
= (double)SWIG_As_double(obj2
);
18820 if (PyErr_Occurred()) SWIG_fail
;
18821 arg4
= (double)SWIG_As_double(obj3
);
18822 if (PyErr_Occurred()) SWIG_fail
;
18824 arg5
= (int)SWIG_As_int(obj4
);
18825 if (PyErr_Occurred()) SWIG_fail
;
18828 arg6
= (int)SWIG_As_int(obj5
);
18829 if (PyErr_Occurred()) SWIG_fail
;
18832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18833 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
18835 wxPyEndAllowThreads(__tstate
);
18836 if (PyErr_Occurred()) SWIG_fail
;
18838 Py_INCREF(Py_None
); resultobj
= Py_None
;
18845 static PyObject
*_wrap_PyCompositeShape_base_OnBeginSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18846 PyObject
*resultobj
;
18847 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18850 PyObject
* obj0
= 0 ;
18851 PyObject
* obj1
= 0 ;
18852 PyObject
* obj2
= 0 ;
18853 char *kwnames
[] = {
18854 (char *) "self",(char *) "w",(char *) "h", NULL
18857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyCompositeShape_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18860 arg2
= (double)SWIG_As_double(obj1
);
18861 if (PyErr_Occurred()) SWIG_fail
;
18862 arg3
= (double)SWIG_As_double(obj2
);
18863 if (PyErr_Occurred()) SWIG_fail
;
18865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18866 (arg1
)->base_OnBeginSize(arg2
,arg3
);
18868 wxPyEndAllowThreads(__tstate
);
18869 if (PyErr_Occurred()) SWIG_fail
;
18871 Py_INCREF(Py_None
); resultobj
= Py_None
;
18878 static PyObject
*_wrap_PyCompositeShape_base_OnEndSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18879 PyObject
*resultobj
;
18880 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18883 PyObject
* obj0
= 0 ;
18884 PyObject
* obj1
= 0 ;
18885 PyObject
* obj2
= 0 ;
18886 char *kwnames
[] = {
18887 (char *) "self",(char *) "w",(char *) "h", NULL
18890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyCompositeShape_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18893 arg2
= (double)SWIG_As_double(obj1
);
18894 if (PyErr_Occurred()) SWIG_fail
;
18895 arg3
= (double)SWIG_As_double(obj2
);
18896 if (PyErr_Occurred()) SWIG_fail
;
18898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18899 (arg1
)->base_OnEndSize(arg2
,arg3
);
18901 wxPyEndAllowThreads(__tstate
);
18902 if (PyErr_Occurred()) SWIG_fail
;
18904 Py_INCREF(Py_None
); resultobj
= Py_None
;
18911 static PyObject
* PyCompositeShape_swigregister(PyObject
*, PyObject
*args
) {
18913 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18914 SWIG_TypeClientData(SWIGTYPE_p_wxPyCompositeShape
, obj
);
18916 return Py_BuildValue((char *)"");
18918 static PyObject
*_wrap_new_PyDividedShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18919 PyObject
*resultobj
;
18920 double arg1
= (double) 0.0 ;
18921 double arg2
= (double) 0.0 ;
18922 wxPyDividedShape
*result
;
18923 PyObject
* obj0
= 0 ;
18924 PyObject
* obj1
= 0 ;
18925 char *kwnames
[] = {
18926 (char *) "width",(char *) "height", NULL
18929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyDividedShape",kwnames
,&obj0
,&obj1
)) goto fail
;
18931 arg1
= (double)SWIG_As_double(obj0
);
18932 if (PyErr_Occurred()) SWIG_fail
;
18935 arg2
= (double)SWIG_As_double(obj1
);
18936 if (PyErr_Occurred()) SWIG_fail
;
18939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18940 result
= (wxPyDividedShape
*)new wxPyDividedShape(arg1
,arg2
);
18942 wxPyEndAllowThreads(__tstate
);
18943 if (PyErr_Occurred()) SWIG_fail
;
18945 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDividedShape
, 1);
18952 static PyObject
*_wrap_PyDividedShape__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18953 PyObject
*resultobj
;
18954 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
18955 PyObject
*arg2
= (PyObject
*) 0 ;
18956 PyObject
*arg3
= (PyObject
*) 0 ;
18957 PyObject
* obj0
= 0 ;
18958 PyObject
* obj1
= 0 ;
18959 PyObject
* obj2
= 0 ;
18960 char *kwnames
[] = {
18961 (char *) "self",(char *) "self",(char *) "_class", NULL
18964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDividedShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
18966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18971 (arg1
)->_setCallbackInfo(arg2
,arg3
);
18973 wxPyEndAllowThreads(__tstate
);
18974 if (PyErr_Occurred()) SWIG_fail
;
18976 Py_INCREF(Py_None
); resultobj
= Py_None
;
18983 static PyObject
*_wrap_PyDividedShape_EditRegions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18984 PyObject
*resultobj
;
18985 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
18986 PyObject
* obj0
= 0 ;
18987 char *kwnames
[] = {
18988 (char *) "self", NULL
18991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDividedShape_EditRegions",kwnames
,&obj0
)) goto fail
;
18992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
18993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18996 (arg1
)->EditRegions();
18998 wxPyEndAllowThreads(__tstate
);
18999 if (PyErr_Occurred()) SWIG_fail
;
19001 Py_INCREF(Py_None
); resultobj
= Py_None
;
19008 static PyObject
*_wrap_PyDividedShape_SetRegionSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19009 PyObject
*resultobj
;
19010 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19011 PyObject
* obj0
= 0 ;
19012 char *kwnames
[] = {
19013 (char *) "self", NULL
19016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDividedShape_SetRegionSizes",kwnames
,&obj0
)) goto fail
;
19017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19021 (arg1
)->SetRegionSizes();
19023 wxPyEndAllowThreads(__tstate
);
19024 if (PyErr_Occurred()) SWIG_fail
;
19026 Py_INCREF(Py_None
); resultobj
= Py_None
;
19033 static PyObject
*_wrap_PyDividedShape_base_OnDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19034 PyObject
*resultobj
;
19035 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19036 PyObject
* obj0
= 0 ;
19037 char *kwnames
[] = {
19038 (char *) "self", NULL
19041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDividedShape_base_OnDelete",kwnames
,&obj0
)) goto fail
;
19042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19046 (arg1
)->base_OnDelete();
19048 wxPyEndAllowThreads(__tstate
);
19049 if (PyErr_Occurred()) SWIG_fail
;
19051 Py_INCREF(Py_None
); resultobj
= Py_None
;
19058 static PyObject
*_wrap_PyDividedShape_base_OnDraw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19059 PyObject
*resultobj
;
19060 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19062 PyObject
* obj0
= 0 ;
19063 PyObject
* obj1
= 0 ;
19064 char *kwnames
[] = {
19065 (char *) "self",(char *) "dc", NULL
19068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDividedShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
19069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19071 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
19072 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19074 if (arg2
== NULL
) {
19075 PyErr_SetString(PyExc_TypeError
,"null reference");
19079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19080 (arg1
)->base_OnDraw(*arg2
);
19082 wxPyEndAllowThreads(__tstate
);
19083 if (PyErr_Occurred()) SWIG_fail
;
19085 Py_INCREF(Py_None
); resultobj
= Py_None
;
19092 static PyObject
*_wrap_PyDividedShape_base_OnDrawContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19093 PyObject
*resultobj
;
19094 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19096 PyObject
* obj0
= 0 ;
19097 PyObject
* obj1
= 0 ;
19098 char *kwnames
[] = {
19099 (char *) "self",(char *) "dc", NULL
19102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDividedShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
19103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19105 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
19106 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19108 if (arg2
== NULL
) {
19109 PyErr_SetString(PyExc_TypeError
,"null reference");
19113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19114 (arg1
)->base_OnDrawContents(*arg2
);
19116 wxPyEndAllowThreads(__tstate
);
19117 if (PyErr_Occurred()) SWIG_fail
;
19119 Py_INCREF(Py_None
); resultobj
= Py_None
;
19126 static PyObject
*_wrap_PyDividedShape_base_OnDrawBranches(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19127 PyObject
*resultobj
;
19128 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19130 bool arg3
= (bool) FALSE
;
19131 PyObject
* obj0
= 0 ;
19132 PyObject
* obj1
= 0 ;
19133 PyObject
* obj2
= 0 ;
19134 char *kwnames
[] = {
19135 (char *) "self",(char *) "dc",(char *) "erase", NULL
19138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyDividedShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19141 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
19142 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19144 if (arg2
== NULL
) {
19145 PyErr_SetString(PyExc_TypeError
,"null reference");
19149 arg3
= (bool)SWIG_As_bool(obj2
);
19150 if (PyErr_Occurred()) SWIG_fail
;
19153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19154 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
19156 wxPyEndAllowThreads(__tstate
);
19157 if (PyErr_Occurred()) SWIG_fail
;
19159 Py_INCREF(Py_None
); resultobj
= Py_None
;
19166 static PyObject
*_wrap_PyDividedShape_base_OnMoveLinks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19167 PyObject
*resultobj
;
19168 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19170 PyObject
* obj0
= 0 ;
19171 PyObject
* obj1
= 0 ;
19172 char *kwnames
[] = {
19173 (char *) "self",(char *) "dc", NULL
19176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDividedShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
19177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19179 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
19180 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19182 if (arg2
== NULL
) {
19183 PyErr_SetString(PyExc_TypeError
,"null reference");
19187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19188 (arg1
)->base_OnMoveLinks(*arg2
);
19190 wxPyEndAllowThreads(__tstate
);
19191 if (PyErr_Occurred()) SWIG_fail
;
19193 Py_INCREF(Py_None
); resultobj
= Py_None
;
19200 static PyObject
*_wrap_PyDividedShape_base_OnErase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19201 PyObject
*resultobj
;
19202 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19204 PyObject
* obj0
= 0 ;
19205 PyObject
* obj1
= 0 ;
19206 char *kwnames
[] = {
19207 (char *) "self",(char *) "dc", NULL
19210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDividedShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
19211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19213 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
19214 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19216 if (arg2
== NULL
) {
19217 PyErr_SetString(PyExc_TypeError
,"null reference");
19221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19222 (arg1
)->base_OnErase(*arg2
);
19224 wxPyEndAllowThreads(__tstate
);
19225 if (PyErr_Occurred()) SWIG_fail
;
19227 Py_INCREF(Py_None
); resultobj
= Py_None
;
19234 static PyObject
*_wrap_PyDividedShape_base_OnEraseContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19235 PyObject
*resultobj
;
19236 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19238 PyObject
* obj0
= 0 ;
19239 PyObject
* obj1
= 0 ;
19240 char *kwnames
[] = {
19241 (char *) "self",(char *) "dc", NULL
19244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDividedShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
19245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19247 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
19248 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19250 if (arg2
== NULL
) {
19251 PyErr_SetString(PyExc_TypeError
,"null reference");
19255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19256 (arg1
)->base_OnEraseContents(*arg2
);
19258 wxPyEndAllowThreads(__tstate
);
19259 if (PyErr_Occurred()) SWIG_fail
;
19261 Py_INCREF(Py_None
); resultobj
= Py_None
;
19268 static PyObject
*_wrap_PyDividedShape_base_OnHighlight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19269 PyObject
*resultobj
;
19270 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19272 PyObject
* obj0
= 0 ;
19273 PyObject
* obj1
= 0 ;
19274 char *kwnames
[] = {
19275 (char *) "self",(char *) "dc", NULL
19278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDividedShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
19279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19281 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
19282 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19284 if (arg2
== NULL
) {
19285 PyErr_SetString(PyExc_TypeError
,"null reference");
19289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19290 (arg1
)->base_OnHighlight(*arg2
);
19292 wxPyEndAllowThreads(__tstate
);
19293 if (PyErr_Occurred()) SWIG_fail
;
19295 Py_INCREF(Py_None
); resultobj
= Py_None
;
19302 static PyObject
*_wrap_PyDividedShape_base_OnLeftClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19303 PyObject
*resultobj
;
19304 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19307 int arg4
= (int) 0 ;
19308 int arg5
= (int) 0 ;
19309 PyObject
* obj0
= 0 ;
19310 PyObject
* obj1
= 0 ;
19311 PyObject
* obj2
= 0 ;
19312 PyObject
* obj3
= 0 ;
19313 PyObject
* obj4
= 0 ;
19314 char *kwnames
[] = {
19315 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDividedShape_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
19319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19321 arg2
= (double)SWIG_As_double(obj1
);
19322 if (PyErr_Occurred()) SWIG_fail
;
19323 arg3
= (double)SWIG_As_double(obj2
);
19324 if (PyErr_Occurred()) SWIG_fail
;
19326 arg4
= (int)SWIG_As_int(obj3
);
19327 if (PyErr_Occurred()) SWIG_fail
;
19330 arg5
= (int)SWIG_As_int(obj4
);
19331 if (PyErr_Occurred()) SWIG_fail
;
19334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19335 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
19337 wxPyEndAllowThreads(__tstate
);
19338 if (PyErr_Occurred()) SWIG_fail
;
19340 Py_INCREF(Py_None
); resultobj
= Py_None
;
19347 static PyObject
*_wrap_PyDividedShape_base_OnLeftDoubleClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19348 PyObject
*resultobj
;
19349 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19352 int arg4
= (int) 0 ;
19353 int arg5
= (int) 0 ;
19354 PyObject
* obj0
= 0 ;
19355 PyObject
* obj1
= 0 ;
19356 PyObject
* obj2
= 0 ;
19357 PyObject
* obj3
= 0 ;
19358 PyObject
* obj4
= 0 ;
19359 char *kwnames
[] = {
19360 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDividedShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
19364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19366 arg2
= (double)SWIG_As_double(obj1
);
19367 if (PyErr_Occurred()) SWIG_fail
;
19368 arg3
= (double)SWIG_As_double(obj2
);
19369 if (PyErr_Occurred()) SWIG_fail
;
19371 arg4
= (int)SWIG_As_int(obj3
);
19372 if (PyErr_Occurred()) SWIG_fail
;
19375 arg5
= (int)SWIG_As_int(obj4
);
19376 if (PyErr_Occurred()) SWIG_fail
;
19379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19380 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
19382 wxPyEndAllowThreads(__tstate
);
19383 if (PyErr_Occurred()) SWIG_fail
;
19385 Py_INCREF(Py_None
); resultobj
= Py_None
;
19392 static PyObject
*_wrap_PyDividedShape_base_OnRightClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19393 PyObject
*resultobj
;
19394 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19397 int arg4
= (int) 0 ;
19398 int arg5
= (int) 0 ;
19399 PyObject
* obj0
= 0 ;
19400 PyObject
* obj1
= 0 ;
19401 PyObject
* obj2
= 0 ;
19402 PyObject
* obj3
= 0 ;
19403 PyObject
* obj4
= 0 ;
19404 char *kwnames
[] = {
19405 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDividedShape_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
19409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19411 arg2
= (double)SWIG_As_double(obj1
);
19412 if (PyErr_Occurred()) SWIG_fail
;
19413 arg3
= (double)SWIG_As_double(obj2
);
19414 if (PyErr_Occurred()) SWIG_fail
;
19416 arg4
= (int)SWIG_As_int(obj3
);
19417 if (PyErr_Occurred()) SWIG_fail
;
19420 arg5
= (int)SWIG_As_int(obj4
);
19421 if (PyErr_Occurred()) SWIG_fail
;
19424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19425 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
19427 wxPyEndAllowThreads(__tstate
);
19428 if (PyErr_Occurred()) SWIG_fail
;
19430 Py_INCREF(Py_None
); resultobj
= Py_None
;
19437 static PyObject
*_wrap_PyDividedShape_base_OnSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19438 PyObject
*resultobj
;
19439 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19442 PyObject
* obj0
= 0 ;
19443 PyObject
* obj1
= 0 ;
19444 PyObject
* obj2
= 0 ;
19445 char *kwnames
[] = {
19446 (char *) "self",(char *) "x",(char *) "y", NULL
19449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDividedShape_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19452 arg2
= (double)SWIG_As_double(obj1
);
19453 if (PyErr_Occurred()) SWIG_fail
;
19454 arg3
= (double)SWIG_As_double(obj2
);
19455 if (PyErr_Occurred()) SWIG_fail
;
19457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19458 (arg1
)->base_OnSize(arg2
,arg3
);
19460 wxPyEndAllowThreads(__tstate
);
19461 if (PyErr_Occurred()) SWIG_fail
;
19463 Py_INCREF(Py_None
); resultobj
= Py_None
;
19470 static PyObject
*_wrap_PyDividedShape_base_OnMovePre(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19471 PyObject
*resultobj
;
19472 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19478 bool arg7
= (bool) true ;
19480 PyObject
* obj0
= 0 ;
19481 PyObject
* obj1
= 0 ;
19482 PyObject
* obj2
= 0 ;
19483 PyObject
* obj3
= 0 ;
19484 PyObject
* obj4
= 0 ;
19485 PyObject
* obj5
= 0 ;
19486 PyObject
* obj6
= 0 ;
19487 char *kwnames
[] = {
19488 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
19491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyDividedShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
19492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19494 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
19495 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19497 if (arg2
== NULL
) {
19498 PyErr_SetString(PyExc_TypeError
,"null reference");
19501 arg3
= (double)SWIG_As_double(obj2
);
19502 if (PyErr_Occurred()) SWIG_fail
;
19503 arg4
= (double)SWIG_As_double(obj3
);
19504 if (PyErr_Occurred()) SWIG_fail
;
19505 arg5
= (double)SWIG_As_double(obj4
);
19506 if (PyErr_Occurred()) SWIG_fail
;
19507 arg6
= (double)SWIG_As_double(obj5
);
19508 if (PyErr_Occurred()) SWIG_fail
;
19510 arg7
= (bool)SWIG_As_bool(obj6
);
19511 if (PyErr_Occurred()) SWIG_fail
;
19514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19515 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
19517 wxPyEndAllowThreads(__tstate
);
19518 if (PyErr_Occurred()) SWIG_fail
;
19521 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19529 static PyObject
*_wrap_PyDividedShape_base_OnMovePost(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19530 PyObject
*resultobj
;
19531 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19537 bool arg7
= (bool) true ;
19538 PyObject
* obj0
= 0 ;
19539 PyObject
* obj1
= 0 ;
19540 PyObject
* obj2
= 0 ;
19541 PyObject
* obj3
= 0 ;
19542 PyObject
* obj4
= 0 ;
19543 PyObject
* obj5
= 0 ;
19544 PyObject
* obj6
= 0 ;
19545 char *kwnames
[] = {
19546 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
19549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyDividedShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
19550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19552 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
19553 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19555 if (arg2
== NULL
) {
19556 PyErr_SetString(PyExc_TypeError
,"null reference");
19559 arg3
= (double)SWIG_As_double(obj2
);
19560 if (PyErr_Occurred()) SWIG_fail
;
19561 arg4
= (double)SWIG_As_double(obj3
);
19562 if (PyErr_Occurred()) SWIG_fail
;
19563 arg5
= (double)SWIG_As_double(obj4
);
19564 if (PyErr_Occurred()) SWIG_fail
;
19565 arg6
= (double)SWIG_As_double(obj5
);
19566 if (PyErr_Occurred()) SWIG_fail
;
19568 arg7
= (bool)SWIG_As_bool(obj6
);
19569 if (PyErr_Occurred()) SWIG_fail
;
19572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19573 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
19575 wxPyEndAllowThreads(__tstate
);
19576 if (PyErr_Occurred()) SWIG_fail
;
19578 Py_INCREF(Py_None
); resultobj
= Py_None
;
19585 static PyObject
*_wrap_PyDividedShape_base_OnDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19586 PyObject
*resultobj
;
19587 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19591 int arg5
= (int) 0 ;
19592 int arg6
= (int) 0 ;
19593 PyObject
* obj0
= 0 ;
19594 PyObject
* obj1
= 0 ;
19595 PyObject
* obj2
= 0 ;
19596 PyObject
* obj3
= 0 ;
19597 PyObject
* obj4
= 0 ;
19598 PyObject
* obj5
= 0 ;
19599 char *kwnames
[] = {
19600 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyDividedShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
19604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19606 arg2
= (bool)SWIG_As_bool(obj1
);
19607 if (PyErr_Occurred()) SWIG_fail
;
19608 arg3
= (double)SWIG_As_double(obj2
);
19609 if (PyErr_Occurred()) SWIG_fail
;
19610 arg4
= (double)SWIG_As_double(obj3
);
19611 if (PyErr_Occurred()) SWIG_fail
;
19613 arg5
= (int)SWIG_As_int(obj4
);
19614 if (PyErr_Occurred()) SWIG_fail
;
19617 arg6
= (int)SWIG_As_int(obj5
);
19618 if (PyErr_Occurred()) SWIG_fail
;
19621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19622 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
19624 wxPyEndAllowThreads(__tstate
);
19625 if (PyErr_Occurred()) SWIG_fail
;
19627 Py_INCREF(Py_None
); resultobj
= Py_None
;
19634 static PyObject
*_wrap_PyDividedShape_base_OnBeginDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19635 PyObject
*resultobj
;
19636 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19639 int arg4
= (int) 0 ;
19640 int arg5
= (int) 0 ;
19641 PyObject
* obj0
= 0 ;
19642 PyObject
* obj1
= 0 ;
19643 PyObject
* obj2
= 0 ;
19644 PyObject
* obj3
= 0 ;
19645 PyObject
* obj4
= 0 ;
19646 char *kwnames
[] = {
19647 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDividedShape_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
19651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19653 arg2
= (double)SWIG_As_double(obj1
);
19654 if (PyErr_Occurred()) SWIG_fail
;
19655 arg3
= (double)SWIG_As_double(obj2
);
19656 if (PyErr_Occurred()) SWIG_fail
;
19658 arg4
= (int)SWIG_As_int(obj3
);
19659 if (PyErr_Occurred()) SWIG_fail
;
19662 arg5
= (int)SWIG_As_int(obj4
);
19663 if (PyErr_Occurred()) SWIG_fail
;
19666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19667 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
19669 wxPyEndAllowThreads(__tstate
);
19670 if (PyErr_Occurred()) SWIG_fail
;
19672 Py_INCREF(Py_None
); resultobj
= Py_None
;
19679 static PyObject
*_wrap_PyDividedShape_base_OnEndDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19680 PyObject
*resultobj
;
19681 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19684 int arg4
= (int) 0 ;
19685 int arg5
= (int) 0 ;
19686 PyObject
* obj0
= 0 ;
19687 PyObject
* obj1
= 0 ;
19688 PyObject
* obj2
= 0 ;
19689 PyObject
* obj3
= 0 ;
19690 PyObject
* obj4
= 0 ;
19691 char *kwnames
[] = {
19692 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDividedShape_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
19696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19698 arg2
= (double)SWIG_As_double(obj1
);
19699 if (PyErr_Occurred()) SWIG_fail
;
19700 arg3
= (double)SWIG_As_double(obj2
);
19701 if (PyErr_Occurred()) SWIG_fail
;
19703 arg4
= (int)SWIG_As_int(obj3
);
19704 if (PyErr_Occurred()) SWIG_fail
;
19707 arg5
= (int)SWIG_As_int(obj4
);
19708 if (PyErr_Occurred()) SWIG_fail
;
19711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19712 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
19714 wxPyEndAllowThreads(__tstate
);
19715 if (PyErr_Occurred()) SWIG_fail
;
19717 Py_INCREF(Py_None
); resultobj
= Py_None
;
19724 static PyObject
*_wrap_PyDividedShape_base_OnDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19725 PyObject
*resultobj
;
19726 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19730 int arg5
= (int) 0 ;
19731 int arg6
= (int) 0 ;
19732 PyObject
* obj0
= 0 ;
19733 PyObject
* obj1
= 0 ;
19734 PyObject
* obj2
= 0 ;
19735 PyObject
* obj3
= 0 ;
19736 PyObject
* obj4
= 0 ;
19737 PyObject
* obj5
= 0 ;
19738 char *kwnames
[] = {
19739 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyDividedShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
19743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19745 arg2
= (bool)SWIG_As_bool(obj1
);
19746 if (PyErr_Occurred()) SWIG_fail
;
19747 arg3
= (double)SWIG_As_double(obj2
);
19748 if (PyErr_Occurred()) SWIG_fail
;
19749 arg4
= (double)SWIG_As_double(obj3
);
19750 if (PyErr_Occurred()) SWIG_fail
;
19752 arg5
= (int)SWIG_As_int(obj4
);
19753 if (PyErr_Occurred()) SWIG_fail
;
19756 arg6
= (int)SWIG_As_int(obj5
);
19757 if (PyErr_Occurred()) SWIG_fail
;
19760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19761 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
19763 wxPyEndAllowThreads(__tstate
);
19764 if (PyErr_Occurred()) SWIG_fail
;
19766 Py_INCREF(Py_None
); resultobj
= Py_None
;
19773 static PyObject
*_wrap_PyDividedShape_base_OnBeginDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19774 PyObject
*resultobj
;
19775 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19778 int arg4
= (int) 0 ;
19779 int arg5
= (int) 0 ;
19780 PyObject
* obj0
= 0 ;
19781 PyObject
* obj1
= 0 ;
19782 PyObject
* obj2
= 0 ;
19783 PyObject
* obj3
= 0 ;
19784 PyObject
* obj4
= 0 ;
19785 char *kwnames
[] = {
19786 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDividedShape_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
19790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19792 arg2
= (double)SWIG_As_double(obj1
);
19793 if (PyErr_Occurred()) SWIG_fail
;
19794 arg3
= (double)SWIG_As_double(obj2
);
19795 if (PyErr_Occurred()) SWIG_fail
;
19797 arg4
= (int)SWIG_As_int(obj3
);
19798 if (PyErr_Occurred()) SWIG_fail
;
19801 arg5
= (int)SWIG_As_int(obj4
);
19802 if (PyErr_Occurred()) SWIG_fail
;
19805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19806 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
19808 wxPyEndAllowThreads(__tstate
);
19809 if (PyErr_Occurred()) SWIG_fail
;
19811 Py_INCREF(Py_None
); resultobj
= Py_None
;
19818 static PyObject
*_wrap_PyDividedShape_base_OnEndDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19819 PyObject
*resultobj
;
19820 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19823 int arg4
= (int) 0 ;
19824 int arg5
= (int) 0 ;
19825 PyObject
* obj0
= 0 ;
19826 PyObject
* obj1
= 0 ;
19827 PyObject
* obj2
= 0 ;
19828 PyObject
* obj3
= 0 ;
19829 PyObject
* obj4
= 0 ;
19830 char *kwnames
[] = {
19831 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDividedShape_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
19835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19837 arg2
= (double)SWIG_As_double(obj1
);
19838 if (PyErr_Occurred()) SWIG_fail
;
19839 arg3
= (double)SWIG_As_double(obj2
);
19840 if (PyErr_Occurred()) SWIG_fail
;
19842 arg4
= (int)SWIG_As_int(obj3
);
19843 if (PyErr_Occurred()) SWIG_fail
;
19846 arg5
= (int)SWIG_As_int(obj4
);
19847 if (PyErr_Occurred()) SWIG_fail
;
19850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19851 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
19853 wxPyEndAllowThreads(__tstate
);
19854 if (PyErr_Occurred()) SWIG_fail
;
19856 Py_INCREF(Py_None
); resultobj
= Py_None
;
19863 static PyObject
*_wrap_PyDividedShape_base_OnDrawOutline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19864 PyObject
*resultobj
;
19865 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19871 PyObject
* obj0
= 0 ;
19872 PyObject
* obj1
= 0 ;
19873 PyObject
* obj2
= 0 ;
19874 PyObject
* obj3
= 0 ;
19875 PyObject
* obj4
= 0 ;
19876 PyObject
* obj5
= 0 ;
19877 char *kwnames
[] = {
19878 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
19881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyDividedShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
19882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19884 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
19885 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19887 if (arg2
== NULL
) {
19888 PyErr_SetString(PyExc_TypeError
,"null reference");
19891 arg3
= (double)SWIG_As_double(obj2
);
19892 if (PyErr_Occurred()) SWIG_fail
;
19893 arg4
= (double)SWIG_As_double(obj3
);
19894 if (PyErr_Occurred()) SWIG_fail
;
19895 arg5
= (double)SWIG_As_double(obj4
);
19896 if (PyErr_Occurred()) SWIG_fail
;
19897 arg6
= (double)SWIG_As_double(obj5
);
19898 if (PyErr_Occurred()) SWIG_fail
;
19900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19901 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
19903 wxPyEndAllowThreads(__tstate
);
19904 if (PyErr_Occurred()) SWIG_fail
;
19906 Py_INCREF(Py_None
); resultobj
= Py_None
;
19913 static PyObject
*_wrap_PyDividedShape_base_OnDrawControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19914 PyObject
*resultobj
;
19915 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19917 PyObject
* obj0
= 0 ;
19918 PyObject
* obj1
= 0 ;
19919 char *kwnames
[] = {
19920 (char *) "self",(char *) "dc", NULL
19923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDividedShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
19924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19926 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
19927 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19929 if (arg2
== NULL
) {
19930 PyErr_SetString(PyExc_TypeError
,"null reference");
19934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19935 (arg1
)->base_OnDrawControlPoints(*arg2
);
19937 wxPyEndAllowThreads(__tstate
);
19938 if (PyErr_Occurred()) SWIG_fail
;
19940 Py_INCREF(Py_None
); resultobj
= Py_None
;
19947 static PyObject
*_wrap_PyDividedShape_base_OnEraseControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19948 PyObject
*resultobj
;
19949 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19951 PyObject
* obj0
= 0 ;
19952 PyObject
* obj1
= 0 ;
19953 char *kwnames
[] = {
19954 (char *) "self",(char *) "dc", NULL
19957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDividedShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
19958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19960 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
19961 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19963 if (arg2
== NULL
) {
19964 PyErr_SetString(PyExc_TypeError
,"null reference");
19968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19969 (arg1
)->base_OnEraseControlPoints(*arg2
);
19971 wxPyEndAllowThreads(__tstate
);
19972 if (PyErr_Occurred()) SWIG_fail
;
19974 Py_INCREF(Py_None
); resultobj
= Py_None
;
19981 static PyObject
*_wrap_PyDividedShape_base_OnMoveLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19982 PyObject
*resultobj
;
19983 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19985 bool arg3
= (bool) true ;
19986 PyObject
* obj0
= 0 ;
19987 PyObject
* obj1
= 0 ;
19988 PyObject
* obj2
= 0 ;
19989 char *kwnames
[] = {
19990 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
19993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyDividedShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19996 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
19997 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19999 if (arg2
== NULL
) {
20000 PyErr_SetString(PyExc_TypeError
,"null reference");
20004 arg3
= (bool)SWIG_As_bool(obj2
);
20005 if (PyErr_Occurred()) SWIG_fail
;
20008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20009 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
20011 wxPyEndAllowThreads(__tstate
);
20012 if (PyErr_Occurred()) SWIG_fail
;
20014 Py_INCREF(Py_None
); resultobj
= Py_None
;
20021 static PyObject
*_wrap_PyDividedShape_base_OnSizingDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20022 PyObject
*resultobj
;
20023 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
20024 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
20028 int arg6
= (int) 0 ;
20029 int arg7
= (int) 0 ;
20030 PyObject
* obj0
= 0 ;
20031 PyObject
* obj1
= 0 ;
20032 PyObject
* obj2
= 0 ;
20033 PyObject
* obj3
= 0 ;
20034 PyObject
* obj4
= 0 ;
20035 PyObject
* obj5
= 0 ;
20036 PyObject
* obj6
= 0 ;
20037 char *kwnames
[] = {
20038 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
20041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyDividedShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
20042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
20043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20044 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
20045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20046 arg3
= (bool)SWIG_As_bool(obj2
);
20047 if (PyErr_Occurred()) SWIG_fail
;
20048 arg4
= (double)SWIG_As_double(obj3
);
20049 if (PyErr_Occurred()) SWIG_fail
;
20050 arg5
= (double)SWIG_As_double(obj4
);
20051 if (PyErr_Occurred()) SWIG_fail
;
20053 arg6
= (int)SWIG_As_int(obj5
);
20054 if (PyErr_Occurred()) SWIG_fail
;
20057 arg7
= (int)SWIG_As_int(obj6
);
20058 if (PyErr_Occurred()) SWIG_fail
;
20061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20062 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
20064 wxPyEndAllowThreads(__tstate
);
20065 if (PyErr_Occurred()) SWIG_fail
;
20067 Py_INCREF(Py_None
); resultobj
= Py_None
;
20074 static PyObject
*_wrap_PyDividedShape_base_OnSizingBeginDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20075 PyObject
*resultobj
;
20076 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
20077 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
20080 int arg5
= (int) 0 ;
20081 int arg6
= (int) 0 ;
20082 PyObject
* obj0
= 0 ;
20083 PyObject
* obj1
= 0 ;
20084 PyObject
* obj2
= 0 ;
20085 PyObject
* obj3
= 0 ;
20086 PyObject
* obj4
= 0 ;
20087 PyObject
* obj5
= 0 ;
20088 char *kwnames
[] = {
20089 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
20092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyDividedShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
20093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
20094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20095 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
20096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20097 arg3
= (double)SWIG_As_double(obj2
);
20098 if (PyErr_Occurred()) SWIG_fail
;
20099 arg4
= (double)SWIG_As_double(obj3
);
20100 if (PyErr_Occurred()) SWIG_fail
;
20102 arg5
= (int)SWIG_As_int(obj4
);
20103 if (PyErr_Occurred()) SWIG_fail
;
20106 arg6
= (int)SWIG_As_int(obj5
);
20107 if (PyErr_Occurred()) SWIG_fail
;
20110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20111 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
20113 wxPyEndAllowThreads(__tstate
);
20114 if (PyErr_Occurred()) SWIG_fail
;
20116 Py_INCREF(Py_None
); resultobj
= Py_None
;
20123 static PyObject
*_wrap_PyDividedShape_base_OnSizingEndDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20124 PyObject
*resultobj
;
20125 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
20126 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
20129 int arg5
= (int) 0 ;
20130 int arg6
= (int) 0 ;
20131 PyObject
* obj0
= 0 ;
20132 PyObject
* obj1
= 0 ;
20133 PyObject
* obj2
= 0 ;
20134 PyObject
* obj3
= 0 ;
20135 PyObject
* obj4
= 0 ;
20136 PyObject
* obj5
= 0 ;
20137 char *kwnames
[] = {
20138 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
20141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyDividedShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
20142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
20143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20144 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
20145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20146 arg3
= (double)SWIG_As_double(obj2
);
20147 if (PyErr_Occurred()) SWIG_fail
;
20148 arg4
= (double)SWIG_As_double(obj3
);
20149 if (PyErr_Occurred()) SWIG_fail
;
20151 arg5
= (int)SWIG_As_int(obj4
);
20152 if (PyErr_Occurred()) SWIG_fail
;
20155 arg6
= (int)SWIG_As_int(obj5
);
20156 if (PyErr_Occurred()) SWIG_fail
;
20159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20160 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
20162 wxPyEndAllowThreads(__tstate
);
20163 if (PyErr_Occurred()) SWIG_fail
;
20165 Py_INCREF(Py_None
); resultobj
= Py_None
;
20172 static PyObject
*_wrap_PyDividedShape_base_OnBeginSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20173 PyObject
*resultobj
;
20174 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
20177 PyObject
* obj0
= 0 ;
20178 PyObject
* obj1
= 0 ;
20179 PyObject
* obj2
= 0 ;
20180 char *kwnames
[] = {
20181 (char *) "self",(char *) "w",(char *) "h", NULL
20184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDividedShape_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
20186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20187 arg2
= (double)SWIG_As_double(obj1
);
20188 if (PyErr_Occurred()) SWIG_fail
;
20189 arg3
= (double)SWIG_As_double(obj2
);
20190 if (PyErr_Occurred()) SWIG_fail
;
20192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20193 (arg1
)->base_OnBeginSize(arg2
,arg3
);
20195 wxPyEndAllowThreads(__tstate
);
20196 if (PyErr_Occurred()) SWIG_fail
;
20198 Py_INCREF(Py_None
); resultobj
= Py_None
;
20205 static PyObject
*_wrap_PyDividedShape_base_OnEndSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20206 PyObject
*resultobj
;
20207 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
20210 PyObject
* obj0
= 0 ;
20211 PyObject
* obj1
= 0 ;
20212 PyObject
* obj2
= 0 ;
20213 char *kwnames
[] = {
20214 (char *) "self",(char *) "w",(char *) "h", NULL
20217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDividedShape_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
20219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20220 arg2
= (double)SWIG_As_double(obj1
);
20221 if (PyErr_Occurred()) SWIG_fail
;
20222 arg3
= (double)SWIG_As_double(obj2
);
20223 if (PyErr_Occurred()) SWIG_fail
;
20225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20226 (arg1
)->base_OnEndSize(arg2
,arg3
);
20228 wxPyEndAllowThreads(__tstate
);
20229 if (PyErr_Occurred()) SWIG_fail
;
20231 Py_INCREF(Py_None
); resultobj
= Py_None
;
20238 static PyObject
* PyDividedShape_swigregister(PyObject
*, PyObject
*args
) {
20240 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20241 SWIG_TypeClientData(SWIGTYPE_p_wxPyDividedShape
, obj
);
20243 return Py_BuildValue((char *)"");
20245 static PyObject
*_wrap_new_PyDivisionShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20246 PyObject
*resultobj
;
20247 wxPyDivisionShape
*result
;
20248 char *kwnames
[] = {
20252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyDivisionShape",kwnames
)) goto fail
;
20254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20255 result
= (wxPyDivisionShape
*)new wxPyDivisionShape();
20257 wxPyEndAllowThreads(__tstate
);
20258 if (PyErr_Occurred()) SWIG_fail
;
20260 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDivisionShape
, 1);
20267 static PyObject
*_wrap_PyDivisionShape__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20268 PyObject
*resultobj
;
20269 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20270 PyObject
*arg2
= (PyObject
*) 0 ;
20271 PyObject
*arg3
= (PyObject
*) 0 ;
20272 PyObject
* obj0
= 0 ;
20273 PyObject
* obj1
= 0 ;
20274 PyObject
* obj2
= 0 ;
20275 char *kwnames
[] = {
20276 (char *) "self",(char *) "self",(char *) "_class", NULL
20279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDivisionShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20286 (arg1
)->_setCallbackInfo(arg2
,arg3
);
20288 wxPyEndAllowThreads(__tstate
);
20289 if (PyErr_Occurred()) SWIG_fail
;
20291 Py_INCREF(Py_None
); resultobj
= Py_None
;
20298 static PyObject
*_wrap_PyDivisionShape_AdjustBottom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20299 PyObject
*resultobj
;
20300 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20303 PyObject
* obj0
= 0 ;
20304 PyObject
* obj1
= 0 ;
20305 PyObject
* obj2
= 0 ;
20306 char *kwnames
[] = {
20307 (char *) "self",(char *) "bottom",(char *) "test", NULL
20310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDivisionShape_AdjustBottom",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20313 arg2
= (double)SWIG_As_double(obj1
);
20314 if (PyErr_Occurred()) SWIG_fail
;
20315 arg3
= (bool)SWIG_As_bool(obj2
);
20316 if (PyErr_Occurred()) SWIG_fail
;
20318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20319 (arg1
)->AdjustBottom(arg2
,arg3
);
20321 wxPyEndAllowThreads(__tstate
);
20322 if (PyErr_Occurred()) SWIG_fail
;
20324 Py_INCREF(Py_None
); resultobj
= Py_None
;
20331 static PyObject
*_wrap_PyDivisionShape_AdjustLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20332 PyObject
*resultobj
;
20333 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20336 PyObject
* obj0
= 0 ;
20337 PyObject
* obj1
= 0 ;
20338 PyObject
* obj2
= 0 ;
20339 char *kwnames
[] = {
20340 (char *) "self",(char *) "left",(char *) "test", NULL
20343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDivisionShape_AdjustLeft",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20346 arg2
= (double)SWIG_As_double(obj1
);
20347 if (PyErr_Occurred()) SWIG_fail
;
20348 arg3
= (bool)SWIG_As_bool(obj2
);
20349 if (PyErr_Occurred()) SWIG_fail
;
20351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20352 (arg1
)->AdjustLeft(arg2
,arg3
);
20354 wxPyEndAllowThreads(__tstate
);
20355 if (PyErr_Occurred()) SWIG_fail
;
20357 Py_INCREF(Py_None
); resultobj
= Py_None
;
20364 static PyObject
*_wrap_PyDivisionShape_AdjustRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20365 PyObject
*resultobj
;
20366 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20369 PyObject
* obj0
= 0 ;
20370 PyObject
* obj1
= 0 ;
20371 PyObject
* obj2
= 0 ;
20372 char *kwnames
[] = {
20373 (char *) "self",(char *) "right",(char *) "test", NULL
20376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDivisionShape_AdjustRight",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20379 arg2
= (double)SWIG_As_double(obj1
);
20380 if (PyErr_Occurred()) SWIG_fail
;
20381 arg3
= (bool)SWIG_As_bool(obj2
);
20382 if (PyErr_Occurred()) SWIG_fail
;
20384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20385 (arg1
)->AdjustRight(arg2
,arg3
);
20387 wxPyEndAllowThreads(__tstate
);
20388 if (PyErr_Occurred()) SWIG_fail
;
20390 Py_INCREF(Py_None
); resultobj
= Py_None
;
20397 static PyObject
*_wrap_PyDivisionShape_AdjustTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20398 PyObject
*resultobj
;
20399 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20402 PyObject
* obj0
= 0 ;
20403 PyObject
* obj1
= 0 ;
20404 PyObject
* obj2
= 0 ;
20405 char *kwnames
[] = {
20406 (char *) "self",(char *) "top",(char *) "test", NULL
20409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDivisionShape_AdjustTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20412 arg2
= (double)SWIG_As_double(obj1
);
20413 if (PyErr_Occurred()) SWIG_fail
;
20414 arg3
= (bool)SWIG_As_bool(obj2
);
20415 if (PyErr_Occurred()) SWIG_fail
;
20417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20418 (arg1
)->AdjustTop(arg2
,arg3
);
20420 wxPyEndAllowThreads(__tstate
);
20421 if (PyErr_Occurred()) SWIG_fail
;
20423 Py_INCREF(Py_None
); resultobj
= Py_None
;
20430 static PyObject
*_wrap_PyDivisionShape_Divide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20431 PyObject
*resultobj
;
20432 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20434 PyObject
* obj0
= 0 ;
20435 PyObject
* obj1
= 0 ;
20436 char *kwnames
[] = {
20437 (char *) "self",(char *) "direction", NULL
20440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_Divide",kwnames
,&obj0
,&obj1
)) goto fail
;
20441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20443 arg2
= (int)SWIG_As_int(obj1
);
20444 if (PyErr_Occurred()) SWIG_fail
;
20446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20447 (arg1
)->Divide(arg2
);
20449 wxPyEndAllowThreads(__tstate
);
20450 if (PyErr_Occurred()) SWIG_fail
;
20452 Py_INCREF(Py_None
); resultobj
= Py_None
;
20459 static PyObject
*_wrap_PyDivisionShape_EditEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20460 PyObject
*resultobj
;
20461 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20463 PyObject
* obj0
= 0 ;
20464 PyObject
* obj1
= 0 ;
20465 char *kwnames
[] = {
20466 (char *) "self",(char *) "side", NULL
20469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_EditEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
20470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20472 arg2
= (int)SWIG_As_int(obj1
);
20473 if (PyErr_Occurred()) SWIG_fail
;
20475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20476 (arg1
)->EditEdge(arg2
);
20478 wxPyEndAllowThreads(__tstate
);
20479 if (PyErr_Occurred()) SWIG_fail
;
20481 Py_INCREF(Py_None
); resultobj
= Py_None
;
20488 static PyObject
*_wrap_PyDivisionShape_GetBottomSide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20489 PyObject
*resultobj
;
20490 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20491 wxPyDivisionShape
*result
;
20492 PyObject
* obj0
= 0 ;
20493 char *kwnames
[] = {
20494 (char *) "self", NULL
20497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDivisionShape_GetBottomSide",kwnames
,&obj0
)) goto fail
;
20498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20502 result
= (wxPyDivisionShape
*)(arg1
)->GetBottomSide();
20504 wxPyEndAllowThreads(__tstate
);
20505 if (PyErr_Occurred()) SWIG_fail
;
20508 resultobj
= wxPyMake_wxShapeEvtHandler(result
, 0);
20516 static PyObject
*_wrap_PyDivisionShape_GetHandleSide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20517 PyObject
*resultobj
;
20518 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20520 PyObject
* obj0
= 0 ;
20521 char *kwnames
[] = {
20522 (char *) "self", NULL
20525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDivisionShape_GetHandleSide",kwnames
,&obj0
)) goto fail
;
20526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20530 result
= (int)(arg1
)->GetHandleSide();
20532 wxPyEndAllowThreads(__tstate
);
20533 if (PyErr_Occurred()) SWIG_fail
;
20535 resultobj
= SWIG_From_int((int)result
);
20542 static PyObject
*_wrap_PyDivisionShape_GetLeftSide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20543 PyObject
*resultobj
;
20544 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20545 wxPyDivisionShape
*result
;
20546 PyObject
* obj0
= 0 ;
20547 char *kwnames
[] = {
20548 (char *) "self", NULL
20551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDivisionShape_GetLeftSide",kwnames
,&obj0
)) goto fail
;
20552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20556 result
= (wxPyDivisionShape
*)(arg1
)->GetLeftSide();
20558 wxPyEndAllowThreads(__tstate
);
20559 if (PyErr_Occurred()) SWIG_fail
;
20562 resultobj
= wxPyMake_wxShapeEvtHandler(result
, 0);
20570 static PyObject
*_wrap_PyDivisionShape_GetLeftSideColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20571 PyObject
*resultobj
;
20572 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20574 PyObject
* obj0
= 0 ;
20575 char *kwnames
[] = {
20576 (char *) "self", NULL
20579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDivisionShape_GetLeftSideColour",kwnames
,&obj0
)) goto fail
;
20580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20584 result
= (arg1
)->GetLeftSideColour();
20586 wxPyEndAllowThreads(__tstate
);
20587 if (PyErr_Occurred()) SWIG_fail
;
20591 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20593 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20602 static PyObject
*_wrap_PyDivisionShape_GetLeftSidePen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20603 PyObject
*resultobj
;
20604 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20606 PyObject
* obj0
= 0 ;
20607 char *kwnames
[] = {
20608 (char *) "self", NULL
20611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDivisionShape_GetLeftSidePen",kwnames
,&obj0
)) goto fail
;
20612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20616 result
= (wxPen
*)(arg1
)->GetLeftSidePen();
20618 wxPyEndAllowThreads(__tstate
);
20619 if (PyErr_Occurred()) SWIG_fail
;
20621 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 0);
20628 static PyObject
*_wrap_PyDivisionShape_GetRightSide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20629 PyObject
*resultobj
;
20630 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20631 wxPyDivisionShape
*result
;
20632 PyObject
* obj0
= 0 ;
20633 char *kwnames
[] = {
20634 (char *) "self", NULL
20637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDivisionShape_GetRightSide",kwnames
,&obj0
)) goto fail
;
20638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20642 result
= (wxPyDivisionShape
*)(arg1
)->GetRightSide();
20644 wxPyEndAllowThreads(__tstate
);
20645 if (PyErr_Occurred()) SWIG_fail
;
20648 resultobj
= wxPyMake_wxShapeEvtHandler(result
, 0);
20656 static PyObject
*_wrap_PyDivisionShape_GetTopSide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20657 PyObject
*resultobj
;
20658 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20659 wxPyDivisionShape
*result
;
20660 PyObject
* obj0
= 0 ;
20661 char *kwnames
[] = {
20662 (char *) "self", NULL
20665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDivisionShape_GetTopSide",kwnames
,&obj0
)) goto fail
;
20666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20670 result
= (wxPyDivisionShape
*)(arg1
)->GetTopSide();
20672 wxPyEndAllowThreads(__tstate
);
20673 if (PyErr_Occurred()) SWIG_fail
;
20676 resultobj
= wxPyMake_wxShapeEvtHandler(result
, 0);
20684 static PyObject
*_wrap_PyDivisionShape_GetTopSidePen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20685 PyObject
*resultobj
;
20686 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20688 PyObject
* obj0
= 0 ;
20689 char *kwnames
[] = {
20690 (char *) "self", NULL
20693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDivisionShape_GetTopSidePen",kwnames
,&obj0
)) goto fail
;
20694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20698 result
= (wxPen
*)(arg1
)->GetTopSidePen();
20700 wxPyEndAllowThreads(__tstate
);
20701 if (PyErr_Occurred()) SWIG_fail
;
20703 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 0);
20710 static PyObject
*_wrap_PyDivisionShape_ResizeAdjoining(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20711 PyObject
*resultobj
;
20712 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20716 PyObject
* obj0
= 0 ;
20717 PyObject
* obj1
= 0 ;
20718 PyObject
* obj2
= 0 ;
20719 PyObject
* obj3
= 0 ;
20720 char *kwnames
[] = {
20721 (char *) "self",(char *) "side",(char *) "newPos",(char *) "test", NULL
20724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyDivisionShape_ResizeAdjoining",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20727 arg2
= (int)SWIG_As_int(obj1
);
20728 if (PyErr_Occurred()) SWIG_fail
;
20729 arg3
= (double)SWIG_As_double(obj2
);
20730 if (PyErr_Occurred()) SWIG_fail
;
20731 arg4
= (bool)SWIG_As_bool(obj3
);
20732 if (PyErr_Occurred()) SWIG_fail
;
20734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20735 (arg1
)->ResizeAdjoining(arg2
,arg3
,arg4
);
20737 wxPyEndAllowThreads(__tstate
);
20738 if (PyErr_Occurred()) SWIG_fail
;
20740 Py_INCREF(Py_None
); resultobj
= Py_None
;
20747 static PyObject
*_wrap_PyDivisionShape_PopupMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20748 PyObject
*resultobj
;
20749 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20752 PyObject
* obj0
= 0 ;
20753 PyObject
* obj1
= 0 ;
20754 PyObject
* obj2
= 0 ;
20755 char *kwnames
[] = {
20756 (char *) "self",(char *) "x",(char *) "y", NULL
20759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDivisionShape_PopupMenu",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20762 arg2
= (double)SWIG_As_double(obj1
);
20763 if (PyErr_Occurred()) SWIG_fail
;
20764 arg3
= (double)SWIG_As_double(obj2
);
20765 if (PyErr_Occurred()) SWIG_fail
;
20767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20768 (arg1
)->PopupMenu(arg2
,arg3
);
20770 wxPyEndAllowThreads(__tstate
);
20771 if (PyErr_Occurred()) SWIG_fail
;
20773 Py_INCREF(Py_None
); resultobj
= Py_None
;
20780 static PyObject
*_wrap_PyDivisionShape_SetBottomSide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20781 PyObject
*resultobj
;
20782 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20783 wxPyDivisionShape
*arg2
= (wxPyDivisionShape
*) 0 ;
20784 PyObject
* obj0
= 0 ;
20785 PyObject
* obj1
= 0 ;
20786 char *kwnames
[] = {
20787 (char *) "self",(char *) "shape", NULL
20790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_SetBottomSide",kwnames
,&obj0
,&obj1
)) goto fail
;
20791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20793 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyDivisionShape
,
20794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20797 (arg1
)->SetBottomSide(arg2
);
20799 wxPyEndAllowThreads(__tstate
);
20800 if (PyErr_Occurred()) SWIG_fail
;
20802 Py_INCREF(Py_None
); resultobj
= Py_None
;
20809 static PyObject
*_wrap_PyDivisionShape_SetHandleSide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20810 PyObject
*resultobj
;
20811 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20813 PyObject
* obj0
= 0 ;
20814 PyObject
* obj1
= 0 ;
20815 char *kwnames
[] = {
20816 (char *) "self",(char *) "side", NULL
20819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_SetHandleSide",kwnames
,&obj0
,&obj1
)) goto fail
;
20820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20822 arg2
= (int)SWIG_As_int(obj1
);
20823 if (PyErr_Occurred()) SWIG_fail
;
20825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20826 (arg1
)->SetHandleSide(arg2
);
20828 wxPyEndAllowThreads(__tstate
);
20829 if (PyErr_Occurred()) SWIG_fail
;
20831 Py_INCREF(Py_None
); resultobj
= Py_None
;
20838 static PyObject
*_wrap_PyDivisionShape_SetLeftSide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20839 PyObject
*resultobj
;
20840 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20841 wxPyDivisionShape
*arg2
= (wxPyDivisionShape
*) 0 ;
20842 PyObject
* obj0
= 0 ;
20843 PyObject
* obj1
= 0 ;
20844 char *kwnames
[] = {
20845 (char *) "self",(char *) "shape", NULL
20848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_SetLeftSide",kwnames
,&obj0
,&obj1
)) goto fail
;
20849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20851 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyDivisionShape
,
20852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20855 (arg1
)->SetLeftSide(arg2
);
20857 wxPyEndAllowThreads(__tstate
);
20858 if (PyErr_Occurred()) SWIG_fail
;
20860 Py_INCREF(Py_None
); resultobj
= Py_None
;
20867 static PyObject
*_wrap_PyDivisionShape_SetLeftSideColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20868 PyObject
*resultobj
;
20869 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20870 wxString
*arg2
= 0 ;
20871 bool temp2
= false ;
20872 PyObject
* obj0
= 0 ;
20873 PyObject
* obj1
= 0 ;
20874 char *kwnames
[] = {
20875 (char *) "self",(char *) "colour", NULL
20878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_SetLeftSideColour",kwnames
,&obj0
,&obj1
)) goto fail
;
20879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20882 arg2
= wxString_in_helper(obj1
);
20883 if (arg2
== NULL
) SWIG_fail
;
20887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20888 (arg1
)->SetLeftSideColour((wxString
const &)*arg2
);
20890 wxPyEndAllowThreads(__tstate
);
20891 if (PyErr_Occurred()) SWIG_fail
;
20893 Py_INCREF(Py_None
); resultobj
= Py_None
;
20908 static PyObject
*_wrap_PyDivisionShape_SetLeftSidePen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20909 PyObject
*resultobj
;
20910 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20911 wxPen
*arg2
= (wxPen
*) 0 ;
20912 PyObject
* obj0
= 0 ;
20913 PyObject
* obj1
= 0 ;
20914 char *kwnames
[] = {
20915 (char *) "self",(char *) "pen", NULL
20918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_SetLeftSidePen",kwnames
,&obj0
,&obj1
)) goto fail
;
20919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20924 if (obj1
== Py_None
) {
20927 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxPen"))) {
20928 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxPen.");
20933 arg2
= wxThePenList
->FindOrCreatePen(temp
->GetColour(),
20940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20941 (arg1
)->SetLeftSidePen(arg2
);
20943 wxPyEndAllowThreads(__tstate
);
20944 if (PyErr_Occurred()) SWIG_fail
;
20946 Py_INCREF(Py_None
); resultobj
= Py_None
;
20953 static PyObject
*_wrap_PyDivisionShape_SetRightSide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20954 PyObject
*resultobj
;
20955 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20956 wxPyDivisionShape
*arg2
= (wxPyDivisionShape
*) 0 ;
20957 PyObject
* obj0
= 0 ;
20958 PyObject
* obj1
= 0 ;
20959 char *kwnames
[] = {
20960 (char *) "self",(char *) "shape", NULL
20963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_SetRightSide",kwnames
,&obj0
,&obj1
)) goto fail
;
20964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20966 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyDivisionShape
,
20967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20970 (arg1
)->SetRightSide(arg2
);
20972 wxPyEndAllowThreads(__tstate
);
20973 if (PyErr_Occurred()) SWIG_fail
;
20975 Py_INCREF(Py_None
); resultobj
= Py_None
;
20982 static PyObject
*_wrap_PyDivisionShape_SetTopSide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20983 PyObject
*resultobj
;
20984 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20985 wxPyDivisionShape
*arg2
= (wxPyDivisionShape
*) 0 ;
20986 PyObject
* obj0
= 0 ;
20987 PyObject
* obj1
= 0 ;
20988 char *kwnames
[] = {
20989 (char *) "self",(char *) "shape", NULL
20992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_SetTopSide",kwnames
,&obj0
,&obj1
)) goto fail
;
20993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20995 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyDivisionShape
,
20996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20999 (arg1
)->SetTopSide(arg2
);
21001 wxPyEndAllowThreads(__tstate
);
21002 if (PyErr_Occurred()) SWIG_fail
;
21004 Py_INCREF(Py_None
); resultobj
= Py_None
;
21011 static PyObject
*_wrap_PyDivisionShape_SetTopSideColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21012 PyObject
*resultobj
;
21013 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21014 wxString
*arg2
= 0 ;
21015 bool temp2
= false ;
21016 PyObject
* obj0
= 0 ;
21017 PyObject
* obj1
= 0 ;
21018 char *kwnames
[] = {
21019 (char *) "self",(char *) "colour", NULL
21022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_SetTopSideColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21026 arg2
= wxString_in_helper(obj1
);
21027 if (arg2
== NULL
) SWIG_fail
;
21031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21032 (arg1
)->SetTopSideColour((wxString
const &)*arg2
);
21034 wxPyEndAllowThreads(__tstate
);
21035 if (PyErr_Occurred()) SWIG_fail
;
21037 Py_INCREF(Py_None
); resultobj
= Py_None
;
21052 static PyObject
*_wrap_PyDivisionShape_SetTopSidePen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21053 PyObject
*resultobj
;
21054 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21055 wxPen
*arg2
= (wxPen
*) 0 ;
21056 PyObject
* obj0
= 0 ;
21057 PyObject
* obj1
= 0 ;
21058 char *kwnames
[] = {
21059 (char *) "self",(char *) "pen", NULL
21062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_SetTopSidePen",kwnames
,&obj0
,&obj1
)) goto fail
;
21063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21068 if (obj1
== Py_None
) {
21071 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxPen"))) {
21072 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxPen.");
21077 arg2
= wxThePenList
->FindOrCreatePen(temp
->GetColour(),
21084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21085 (arg1
)->SetTopSidePen(arg2
);
21087 wxPyEndAllowThreads(__tstate
);
21088 if (PyErr_Occurred()) SWIG_fail
;
21090 Py_INCREF(Py_None
); resultobj
= Py_None
;
21097 static PyObject
*_wrap_PyDivisionShape_base_OnDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21098 PyObject
*resultobj
;
21099 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21100 PyObject
* obj0
= 0 ;
21101 char *kwnames
[] = {
21102 (char *) "self", NULL
21105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDivisionShape_base_OnDelete",kwnames
,&obj0
)) goto fail
;
21106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21110 (arg1
)->base_OnDelete();
21112 wxPyEndAllowThreads(__tstate
);
21113 if (PyErr_Occurred()) SWIG_fail
;
21115 Py_INCREF(Py_None
); resultobj
= Py_None
;
21122 static PyObject
*_wrap_PyDivisionShape_base_OnDraw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21123 PyObject
*resultobj
;
21124 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21126 PyObject
* obj0
= 0 ;
21127 PyObject
* obj1
= 0 ;
21128 char *kwnames
[] = {
21129 (char *) "self",(char *) "dc", NULL
21132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
21133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21135 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
21136 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21138 if (arg2
== NULL
) {
21139 PyErr_SetString(PyExc_TypeError
,"null reference");
21143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21144 (arg1
)->base_OnDraw(*arg2
);
21146 wxPyEndAllowThreads(__tstate
);
21147 if (PyErr_Occurred()) SWIG_fail
;
21149 Py_INCREF(Py_None
); resultobj
= Py_None
;
21156 static PyObject
*_wrap_PyDivisionShape_base_OnDrawContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21157 PyObject
*resultobj
;
21158 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21160 PyObject
* obj0
= 0 ;
21161 PyObject
* obj1
= 0 ;
21162 char *kwnames
[] = {
21163 (char *) "self",(char *) "dc", NULL
21166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
21167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21169 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
21170 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21172 if (arg2
== NULL
) {
21173 PyErr_SetString(PyExc_TypeError
,"null reference");
21177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21178 (arg1
)->base_OnDrawContents(*arg2
);
21180 wxPyEndAllowThreads(__tstate
);
21181 if (PyErr_Occurred()) SWIG_fail
;
21183 Py_INCREF(Py_None
); resultobj
= Py_None
;
21190 static PyObject
*_wrap_PyDivisionShape_base_OnDrawBranches(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21191 PyObject
*resultobj
;
21192 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21194 bool arg3
= (bool) FALSE
;
21195 PyObject
* obj0
= 0 ;
21196 PyObject
* obj1
= 0 ;
21197 PyObject
* obj2
= 0 ;
21198 char *kwnames
[] = {
21199 (char *) "self",(char *) "dc",(char *) "erase", NULL
21202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyDivisionShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21205 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
21206 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21208 if (arg2
== NULL
) {
21209 PyErr_SetString(PyExc_TypeError
,"null reference");
21213 arg3
= (bool)SWIG_As_bool(obj2
);
21214 if (PyErr_Occurred()) SWIG_fail
;
21217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21218 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
21220 wxPyEndAllowThreads(__tstate
);
21221 if (PyErr_Occurred()) SWIG_fail
;
21223 Py_INCREF(Py_None
); resultobj
= Py_None
;
21230 static PyObject
*_wrap_PyDivisionShape_base_OnMoveLinks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21231 PyObject
*resultobj
;
21232 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21234 PyObject
* obj0
= 0 ;
21235 PyObject
* obj1
= 0 ;
21236 char *kwnames
[] = {
21237 (char *) "self",(char *) "dc", NULL
21240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
21241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21243 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
21244 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21246 if (arg2
== NULL
) {
21247 PyErr_SetString(PyExc_TypeError
,"null reference");
21251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21252 (arg1
)->base_OnMoveLinks(*arg2
);
21254 wxPyEndAllowThreads(__tstate
);
21255 if (PyErr_Occurred()) SWIG_fail
;
21257 Py_INCREF(Py_None
); resultobj
= Py_None
;
21264 static PyObject
*_wrap_PyDivisionShape_base_OnErase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21265 PyObject
*resultobj
;
21266 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21268 PyObject
* obj0
= 0 ;
21269 PyObject
* obj1
= 0 ;
21270 char *kwnames
[] = {
21271 (char *) "self",(char *) "dc", NULL
21274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
21275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21277 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
21278 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21280 if (arg2
== NULL
) {
21281 PyErr_SetString(PyExc_TypeError
,"null reference");
21285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21286 (arg1
)->base_OnErase(*arg2
);
21288 wxPyEndAllowThreads(__tstate
);
21289 if (PyErr_Occurred()) SWIG_fail
;
21291 Py_INCREF(Py_None
); resultobj
= Py_None
;
21298 static PyObject
*_wrap_PyDivisionShape_base_OnEraseContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21299 PyObject
*resultobj
;
21300 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21302 PyObject
* obj0
= 0 ;
21303 PyObject
* obj1
= 0 ;
21304 char *kwnames
[] = {
21305 (char *) "self",(char *) "dc", NULL
21308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
21309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21311 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
21312 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21314 if (arg2
== NULL
) {
21315 PyErr_SetString(PyExc_TypeError
,"null reference");
21319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21320 (arg1
)->base_OnEraseContents(*arg2
);
21322 wxPyEndAllowThreads(__tstate
);
21323 if (PyErr_Occurred()) SWIG_fail
;
21325 Py_INCREF(Py_None
); resultobj
= Py_None
;
21332 static PyObject
*_wrap_PyDivisionShape_base_OnHighlight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21333 PyObject
*resultobj
;
21334 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21336 PyObject
* obj0
= 0 ;
21337 PyObject
* obj1
= 0 ;
21338 char *kwnames
[] = {
21339 (char *) "self",(char *) "dc", NULL
21342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
21343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21345 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
21346 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21348 if (arg2
== NULL
) {
21349 PyErr_SetString(PyExc_TypeError
,"null reference");
21353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21354 (arg1
)->base_OnHighlight(*arg2
);
21356 wxPyEndAllowThreads(__tstate
);
21357 if (PyErr_Occurred()) SWIG_fail
;
21359 Py_INCREF(Py_None
); resultobj
= Py_None
;
21366 static PyObject
*_wrap_PyDivisionShape_base_OnLeftClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21367 PyObject
*resultobj
;
21368 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21371 int arg4
= (int) 0 ;
21372 int arg5
= (int) 0 ;
21373 PyObject
* obj0
= 0 ;
21374 PyObject
* obj1
= 0 ;
21375 PyObject
* obj2
= 0 ;
21376 PyObject
* obj3
= 0 ;
21377 PyObject
* obj4
= 0 ;
21378 char *kwnames
[] = {
21379 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDivisionShape_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21385 arg2
= (double)SWIG_As_double(obj1
);
21386 if (PyErr_Occurred()) SWIG_fail
;
21387 arg3
= (double)SWIG_As_double(obj2
);
21388 if (PyErr_Occurred()) SWIG_fail
;
21390 arg4
= (int)SWIG_As_int(obj3
);
21391 if (PyErr_Occurred()) SWIG_fail
;
21394 arg5
= (int)SWIG_As_int(obj4
);
21395 if (PyErr_Occurred()) SWIG_fail
;
21398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21399 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
21401 wxPyEndAllowThreads(__tstate
);
21402 if (PyErr_Occurred()) SWIG_fail
;
21404 Py_INCREF(Py_None
); resultobj
= Py_None
;
21411 static PyObject
*_wrap_PyDivisionShape_base_OnLeftDoubleClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21412 PyObject
*resultobj
;
21413 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21416 int arg4
= (int) 0 ;
21417 int arg5
= (int) 0 ;
21418 PyObject
* obj0
= 0 ;
21419 PyObject
* obj1
= 0 ;
21420 PyObject
* obj2
= 0 ;
21421 PyObject
* obj3
= 0 ;
21422 PyObject
* obj4
= 0 ;
21423 char *kwnames
[] = {
21424 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDivisionShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21430 arg2
= (double)SWIG_As_double(obj1
);
21431 if (PyErr_Occurred()) SWIG_fail
;
21432 arg3
= (double)SWIG_As_double(obj2
);
21433 if (PyErr_Occurred()) SWIG_fail
;
21435 arg4
= (int)SWIG_As_int(obj3
);
21436 if (PyErr_Occurred()) SWIG_fail
;
21439 arg5
= (int)SWIG_As_int(obj4
);
21440 if (PyErr_Occurred()) SWIG_fail
;
21443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21444 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
21446 wxPyEndAllowThreads(__tstate
);
21447 if (PyErr_Occurred()) SWIG_fail
;
21449 Py_INCREF(Py_None
); resultobj
= Py_None
;
21456 static PyObject
*_wrap_PyDivisionShape_base_OnRightClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21457 PyObject
*resultobj
;
21458 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21461 int arg4
= (int) 0 ;
21462 int arg5
= (int) 0 ;
21463 PyObject
* obj0
= 0 ;
21464 PyObject
* obj1
= 0 ;
21465 PyObject
* obj2
= 0 ;
21466 PyObject
* obj3
= 0 ;
21467 PyObject
* obj4
= 0 ;
21468 char *kwnames
[] = {
21469 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDivisionShape_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21475 arg2
= (double)SWIG_As_double(obj1
);
21476 if (PyErr_Occurred()) SWIG_fail
;
21477 arg3
= (double)SWIG_As_double(obj2
);
21478 if (PyErr_Occurred()) SWIG_fail
;
21480 arg4
= (int)SWIG_As_int(obj3
);
21481 if (PyErr_Occurred()) SWIG_fail
;
21484 arg5
= (int)SWIG_As_int(obj4
);
21485 if (PyErr_Occurred()) SWIG_fail
;
21488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21489 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
21491 wxPyEndAllowThreads(__tstate
);
21492 if (PyErr_Occurred()) SWIG_fail
;
21494 Py_INCREF(Py_None
); resultobj
= Py_None
;
21501 static PyObject
*_wrap_PyDivisionShape_base_OnSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21502 PyObject
*resultobj
;
21503 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21506 PyObject
* obj0
= 0 ;
21507 PyObject
* obj1
= 0 ;
21508 PyObject
* obj2
= 0 ;
21509 char *kwnames
[] = {
21510 (char *) "self",(char *) "x",(char *) "y", NULL
21513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDivisionShape_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21516 arg2
= (double)SWIG_As_double(obj1
);
21517 if (PyErr_Occurred()) SWIG_fail
;
21518 arg3
= (double)SWIG_As_double(obj2
);
21519 if (PyErr_Occurred()) SWIG_fail
;
21521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21522 (arg1
)->base_OnSize(arg2
,arg3
);
21524 wxPyEndAllowThreads(__tstate
);
21525 if (PyErr_Occurred()) SWIG_fail
;
21527 Py_INCREF(Py_None
); resultobj
= Py_None
;
21534 static PyObject
*_wrap_PyDivisionShape_base_OnMovePre(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21535 PyObject
*resultobj
;
21536 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21542 bool arg7
= (bool) true ;
21544 PyObject
* obj0
= 0 ;
21545 PyObject
* obj1
= 0 ;
21546 PyObject
* obj2
= 0 ;
21547 PyObject
* obj3
= 0 ;
21548 PyObject
* obj4
= 0 ;
21549 PyObject
* obj5
= 0 ;
21550 PyObject
* obj6
= 0 ;
21551 char *kwnames
[] = {
21552 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
21555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyDivisionShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
21556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21558 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
21559 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21561 if (arg2
== NULL
) {
21562 PyErr_SetString(PyExc_TypeError
,"null reference");
21565 arg3
= (double)SWIG_As_double(obj2
);
21566 if (PyErr_Occurred()) SWIG_fail
;
21567 arg4
= (double)SWIG_As_double(obj3
);
21568 if (PyErr_Occurred()) SWIG_fail
;
21569 arg5
= (double)SWIG_As_double(obj4
);
21570 if (PyErr_Occurred()) SWIG_fail
;
21571 arg6
= (double)SWIG_As_double(obj5
);
21572 if (PyErr_Occurred()) SWIG_fail
;
21574 arg7
= (bool)SWIG_As_bool(obj6
);
21575 if (PyErr_Occurred()) SWIG_fail
;
21578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21579 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
21581 wxPyEndAllowThreads(__tstate
);
21582 if (PyErr_Occurred()) SWIG_fail
;
21585 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21593 static PyObject
*_wrap_PyDivisionShape_base_OnMovePost(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21594 PyObject
*resultobj
;
21595 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21601 bool arg7
= (bool) true ;
21602 PyObject
* obj0
= 0 ;
21603 PyObject
* obj1
= 0 ;
21604 PyObject
* obj2
= 0 ;
21605 PyObject
* obj3
= 0 ;
21606 PyObject
* obj4
= 0 ;
21607 PyObject
* obj5
= 0 ;
21608 PyObject
* obj6
= 0 ;
21609 char *kwnames
[] = {
21610 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
21613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyDivisionShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
21614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21616 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
21617 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21619 if (arg2
== NULL
) {
21620 PyErr_SetString(PyExc_TypeError
,"null reference");
21623 arg3
= (double)SWIG_As_double(obj2
);
21624 if (PyErr_Occurred()) SWIG_fail
;
21625 arg4
= (double)SWIG_As_double(obj3
);
21626 if (PyErr_Occurred()) SWIG_fail
;
21627 arg5
= (double)SWIG_As_double(obj4
);
21628 if (PyErr_Occurred()) SWIG_fail
;
21629 arg6
= (double)SWIG_As_double(obj5
);
21630 if (PyErr_Occurred()) SWIG_fail
;
21632 arg7
= (bool)SWIG_As_bool(obj6
);
21633 if (PyErr_Occurred()) SWIG_fail
;
21636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21637 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
21639 wxPyEndAllowThreads(__tstate
);
21640 if (PyErr_Occurred()) SWIG_fail
;
21642 Py_INCREF(Py_None
); resultobj
= Py_None
;
21649 static PyObject
*_wrap_PyDivisionShape_base_OnDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21650 PyObject
*resultobj
;
21651 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21655 int arg5
= (int) 0 ;
21656 int arg6
= (int) 0 ;
21657 PyObject
* obj0
= 0 ;
21658 PyObject
* obj1
= 0 ;
21659 PyObject
* obj2
= 0 ;
21660 PyObject
* obj3
= 0 ;
21661 PyObject
* obj4
= 0 ;
21662 PyObject
* obj5
= 0 ;
21663 char *kwnames
[] = {
21664 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyDivisionShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
21668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21670 arg2
= (bool)SWIG_As_bool(obj1
);
21671 if (PyErr_Occurred()) SWIG_fail
;
21672 arg3
= (double)SWIG_As_double(obj2
);
21673 if (PyErr_Occurred()) SWIG_fail
;
21674 arg4
= (double)SWIG_As_double(obj3
);
21675 if (PyErr_Occurred()) SWIG_fail
;
21677 arg5
= (int)SWIG_As_int(obj4
);
21678 if (PyErr_Occurred()) SWIG_fail
;
21681 arg6
= (int)SWIG_As_int(obj5
);
21682 if (PyErr_Occurred()) SWIG_fail
;
21685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21686 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
21688 wxPyEndAllowThreads(__tstate
);
21689 if (PyErr_Occurred()) SWIG_fail
;
21691 Py_INCREF(Py_None
); resultobj
= Py_None
;
21698 static PyObject
*_wrap_PyDivisionShape_base_OnBeginDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21699 PyObject
*resultobj
;
21700 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21703 int arg4
= (int) 0 ;
21704 int arg5
= (int) 0 ;
21705 PyObject
* obj0
= 0 ;
21706 PyObject
* obj1
= 0 ;
21707 PyObject
* obj2
= 0 ;
21708 PyObject
* obj3
= 0 ;
21709 PyObject
* obj4
= 0 ;
21710 char *kwnames
[] = {
21711 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDivisionShape_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21717 arg2
= (double)SWIG_As_double(obj1
);
21718 if (PyErr_Occurred()) SWIG_fail
;
21719 arg3
= (double)SWIG_As_double(obj2
);
21720 if (PyErr_Occurred()) SWIG_fail
;
21722 arg4
= (int)SWIG_As_int(obj3
);
21723 if (PyErr_Occurred()) SWIG_fail
;
21726 arg5
= (int)SWIG_As_int(obj4
);
21727 if (PyErr_Occurred()) SWIG_fail
;
21730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21731 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
21733 wxPyEndAllowThreads(__tstate
);
21734 if (PyErr_Occurred()) SWIG_fail
;
21736 Py_INCREF(Py_None
); resultobj
= Py_None
;
21743 static PyObject
*_wrap_PyDivisionShape_base_OnEndDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21744 PyObject
*resultobj
;
21745 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21748 int arg4
= (int) 0 ;
21749 int arg5
= (int) 0 ;
21750 PyObject
* obj0
= 0 ;
21751 PyObject
* obj1
= 0 ;
21752 PyObject
* obj2
= 0 ;
21753 PyObject
* obj3
= 0 ;
21754 PyObject
* obj4
= 0 ;
21755 char *kwnames
[] = {
21756 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDivisionShape_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21762 arg2
= (double)SWIG_As_double(obj1
);
21763 if (PyErr_Occurred()) SWIG_fail
;
21764 arg3
= (double)SWIG_As_double(obj2
);
21765 if (PyErr_Occurred()) SWIG_fail
;
21767 arg4
= (int)SWIG_As_int(obj3
);
21768 if (PyErr_Occurred()) SWIG_fail
;
21771 arg5
= (int)SWIG_As_int(obj4
);
21772 if (PyErr_Occurred()) SWIG_fail
;
21775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21776 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
21778 wxPyEndAllowThreads(__tstate
);
21779 if (PyErr_Occurred()) SWIG_fail
;
21781 Py_INCREF(Py_None
); resultobj
= Py_None
;
21788 static PyObject
*_wrap_PyDivisionShape_base_OnDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21789 PyObject
*resultobj
;
21790 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21794 int arg5
= (int) 0 ;
21795 int arg6
= (int) 0 ;
21796 PyObject
* obj0
= 0 ;
21797 PyObject
* obj1
= 0 ;
21798 PyObject
* obj2
= 0 ;
21799 PyObject
* obj3
= 0 ;
21800 PyObject
* obj4
= 0 ;
21801 PyObject
* obj5
= 0 ;
21802 char *kwnames
[] = {
21803 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyDivisionShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
21807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21809 arg2
= (bool)SWIG_As_bool(obj1
);
21810 if (PyErr_Occurred()) SWIG_fail
;
21811 arg3
= (double)SWIG_As_double(obj2
);
21812 if (PyErr_Occurred()) SWIG_fail
;
21813 arg4
= (double)SWIG_As_double(obj3
);
21814 if (PyErr_Occurred()) SWIG_fail
;
21816 arg5
= (int)SWIG_As_int(obj4
);
21817 if (PyErr_Occurred()) SWIG_fail
;
21820 arg6
= (int)SWIG_As_int(obj5
);
21821 if (PyErr_Occurred()) SWIG_fail
;
21824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21825 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
21827 wxPyEndAllowThreads(__tstate
);
21828 if (PyErr_Occurred()) SWIG_fail
;
21830 Py_INCREF(Py_None
); resultobj
= Py_None
;
21837 static PyObject
*_wrap_PyDivisionShape_base_OnBeginDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21838 PyObject
*resultobj
;
21839 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21842 int arg4
= (int) 0 ;
21843 int arg5
= (int) 0 ;
21844 PyObject
* obj0
= 0 ;
21845 PyObject
* obj1
= 0 ;
21846 PyObject
* obj2
= 0 ;
21847 PyObject
* obj3
= 0 ;
21848 PyObject
* obj4
= 0 ;
21849 char *kwnames
[] = {
21850 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDivisionShape_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21856 arg2
= (double)SWIG_As_double(obj1
);
21857 if (PyErr_Occurred()) SWIG_fail
;
21858 arg3
= (double)SWIG_As_double(obj2
);
21859 if (PyErr_Occurred()) SWIG_fail
;
21861 arg4
= (int)SWIG_As_int(obj3
);
21862 if (PyErr_Occurred()) SWIG_fail
;
21865 arg5
= (int)SWIG_As_int(obj4
);
21866 if (PyErr_Occurred()) SWIG_fail
;
21869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21870 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
21872 wxPyEndAllowThreads(__tstate
);
21873 if (PyErr_Occurred()) SWIG_fail
;
21875 Py_INCREF(Py_None
); resultobj
= Py_None
;
21882 static PyObject
*_wrap_PyDivisionShape_base_OnEndDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21883 PyObject
*resultobj
;
21884 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21887 int arg4
= (int) 0 ;
21888 int arg5
= (int) 0 ;
21889 PyObject
* obj0
= 0 ;
21890 PyObject
* obj1
= 0 ;
21891 PyObject
* obj2
= 0 ;
21892 PyObject
* obj3
= 0 ;
21893 PyObject
* obj4
= 0 ;
21894 char *kwnames
[] = {
21895 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDivisionShape_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21901 arg2
= (double)SWIG_As_double(obj1
);
21902 if (PyErr_Occurred()) SWIG_fail
;
21903 arg3
= (double)SWIG_As_double(obj2
);
21904 if (PyErr_Occurred()) SWIG_fail
;
21906 arg4
= (int)SWIG_As_int(obj3
);
21907 if (PyErr_Occurred()) SWIG_fail
;
21910 arg5
= (int)SWIG_As_int(obj4
);
21911 if (PyErr_Occurred()) SWIG_fail
;
21914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21915 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
21917 wxPyEndAllowThreads(__tstate
);
21918 if (PyErr_Occurred()) SWIG_fail
;
21920 Py_INCREF(Py_None
); resultobj
= Py_None
;
21927 static PyObject
*_wrap_PyDivisionShape_base_OnDrawOutline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21928 PyObject
*resultobj
;
21929 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21935 PyObject
* obj0
= 0 ;
21936 PyObject
* obj1
= 0 ;
21937 PyObject
* obj2
= 0 ;
21938 PyObject
* obj3
= 0 ;
21939 PyObject
* obj4
= 0 ;
21940 PyObject
* obj5
= 0 ;
21941 char *kwnames
[] = {
21942 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
21945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyDivisionShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
21946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21948 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
21949 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21951 if (arg2
== NULL
) {
21952 PyErr_SetString(PyExc_TypeError
,"null reference");
21955 arg3
= (double)SWIG_As_double(obj2
);
21956 if (PyErr_Occurred()) SWIG_fail
;
21957 arg4
= (double)SWIG_As_double(obj3
);
21958 if (PyErr_Occurred()) SWIG_fail
;
21959 arg5
= (double)SWIG_As_double(obj4
);
21960 if (PyErr_Occurred()) SWIG_fail
;
21961 arg6
= (double)SWIG_As_double(obj5
);
21962 if (PyErr_Occurred()) SWIG_fail
;
21964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21965 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
21967 wxPyEndAllowThreads(__tstate
);
21968 if (PyErr_Occurred()) SWIG_fail
;
21970 Py_INCREF(Py_None
); resultobj
= Py_None
;
21977 static PyObject
*_wrap_PyDivisionShape_base_OnDrawControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21978 PyObject
*resultobj
;
21979 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21981 PyObject
* obj0
= 0 ;
21982 PyObject
* obj1
= 0 ;
21983 char *kwnames
[] = {
21984 (char *) "self",(char *) "dc", NULL
21987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
21988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21990 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
21991 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21993 if (arg2
== NULL
) {
21994 PyErr_SetString(PyExc_TypeError
,"null reference");
21998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21999 (arg1
)->base_OnDrawControlPoints(*arg2
);
22001 wxPyEndAllowThreads(__tstate
);
22002 if (PyErr_Occurred()) SWIG_fail
;
22004 Py_INCREF(Py_None
); resultobj
= Py_None
;
22011 static PyObject
*_wrap_PyDivisionShape_base_OnEraseControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22012 PyObject
*resultobj
;
22013 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
22015 PyObject
* obj0
= 0 ;
22016 PyObject
* obj1
= 0 ;
22017 char *kwnames
[] = {
22018 (char *) "self",(char *) "dc", NULL
22021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
22022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
22023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22024 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
22025 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22027 if (arg2
== NULL
) {
22028 PyErr_SetString(PyExc_TypeError
,"null reference");
22032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22033 (arg1
)->base_OnEraseControlPoints(*arg2
);
22035 wxPyEndAllowThreads(__tstate
);
22036 if (PyErr_Occurred()) SWIG_fail
;
22038 Py_INCREF(Py_None
); resultobj
= Py_None
;
22045 static PyObject
*_wrap_PyDivisionShape_base_OnMoveLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22046 PyObject
*resultobj
;
22047 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
22049 bool arg3
= (bool) true ;
22050 PyObject
* obj0
= 0 ;
22051 PyObject
* obj1
= 0 ;
22052 PyObject
* obj2
= 0 ;
22053 char *kwnames
[] = {
22054 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
22057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyDivisionShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
22059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22060 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
22061 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22063 if (arg2
== NULL
) {
22064 PyErr_SetString(PyExc_TypeError
,"null reference");
22068 arg3
= (bool)SWIG_As_bool(obj2
);
22069 if (PyErr_Occurred()) SWIG_fail
;
22072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22073 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
22075 wxPyEndAllowThreads(__tstate
);
22076 if (PyErr_Occurred()) SWIG_fail
;
22078 Py_INCREF(Py_None
); resultobj
= Py_None
;
22085 static PyObject
*_wrap_PyDivisionShape_base_OnSizingDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22086 PyObject
*resultobj
;
22087 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
22088 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
22092 int arg6
= (int) 0 ;
22093 int arg7
= (int) 0 ;
22094 PyObject
* obj0
= 0 ;
22095 PyObject
* obj1
= 0 ;
22096 PyObject
* obj2
= 0 ;
22097 PyObject
* obj3
= 0 ;
22098 PyObject
* obj4
= 0 ;
22099 PyObject
* obj5
= 0 ;
22100 PyObject
* obj6
= 0 ;
22101 char *kwnames
[] = {
22102 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyDivisionShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
22107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22108 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
22109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22110 arg3
= (bool)SWIG_As_bool(obj2
);
22111 if (PyErr_Occurred()) SWIG_fail
;
22112 arg4
= (double)SWIG_As_double(obj3
);
22113 if (PyErr_Occurred()) SWIG_fail
;
22114 arg5
= (double)SWIG_As_double(obj4
);
22115 if (PyErr_Occurred()) SWIG_fail
;
22117 arg6
= (int)SWIG_As_int(obj5
);
22118 if (PyErr_Occurred()) SWIG_fail
;
22121 arg7
= (int)SWIG_As_int(obj6
);
22122 if (PyErr_Occurred()) SWIG_fail
;
22125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22126 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
22128 wxPyEndAllowThreads(__tstate
);
22129 if (PyErr_Occurred()) SWIG_fail
;
22131 Py_INCREF(Py_None
); resultobj
= Py_None
;
22138 static PyObject
*_wrap_PyDivisionShape_base_OnSizingBeginDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22139 PyObject
*resultobj
;
22140 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
22141 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
22144 int arg5
= (int) 0 ;
22145 int arg6
= (int) 0 ;
22146 PyObject
* obj0
= 0 ;
22147 PyObject
* obj1
= 0 ;
22148 PyObject
* obj2
= 0 ;
22149 PyObject
* obj3
= 0 ;
22150 PyObject
* obj4
= 0 ;
22151 PyObject
* obj5
= 0 ;
22152 char *kwnames
[] = {
22153 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyDivisionShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
22157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
22158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22159 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
22160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22161 arg3
= (double)SWIG_As_double(obj2
);
22162 if (PyErr_Occurred()) SWIG_fail
;
22163 arg4
= (double)SWIG_As_double(obj3
);
22164 if (PyErr_Occurred()) SWIG_fail
;
22166 arg5
= (int)SWIG_As_int(obj4
);
22167 if (PyErr_Occurred()) SWIG_fail
;
22170 arg6
= (int)SWIG_As_int(obj5
);
22171 if (PyErr_Occurred()) SWIG_fail
;
22174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22175 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
22177 wxPyEndAllowThreads(__tstate
);
22178 if (PyErr_Occurred()) SWIG_fail
;
22180 Py_INCREF(Py_None
); resultobj
= Py_None
;
22187 static PyObject
*_wrap_PyDivisionShape_base_OnSizingEndDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22188 PyObject
*resultobj
;
22189 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
22190 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
22193 int arg5
= (int) 0 ;
22194 int arg6
= (int) 0 ;
22195 PyObject
* obj0
= 0 ;
22196 PyObject
* obj1
= 0 ;
22197 PyObject
* obj2
= 0 ;
22198 PyObject
* obj3
= 0 ;
22199 PyObject
* obj4
= 0 ;
22200 PyObject
* obj5
= 0 ;
22201 char *kwnames
[] = {
22202 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyDivisionShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
22206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
22207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22208 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
22209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22210 arg3
= (double)SWIG_As_double(obj2
);
22211 if (PyErr_Occurred()) SWIG_fail
;
22212 arg4
= (double)SWIG_As_double(obj3
);
22213 if (PyErr_Occurred()) SWIG_fail
;
22215 arg5
= (int)SWIG_As_int(obj4
);
22216 if (PyErr_Occurred()) SWIG_fail
;
22219 arg6
= (int)SWIG_As_int(obj5
);
22220 if (PyErr_Occurred()) SWIG_fail
;
22223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22224 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
22226 wxPyEndAllowThreads(__tstate
);
22227 if (PyErr_Occurred()) SWIG_fail
;
22229 Py_INCREF(Py_None
); resultobj
= Py_None
;
22236 static PyObject
*_wrap_PyDivisionShape_base_OnBeginSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22237 PyObject
*resultobj
;
22238 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
22241 PyObject
* obj0
= 0 ;
22242 PyObject
* obj1
= 0 ;
22243 PyObject
* obj2
= 0 ;
22244 char *kwnames
[] = {
22245 (char *) "self",(char *) "w",(char *) "h", NULL
22248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDivisionShape_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
22250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22251 arg2
= (double)SWIG_As_double(obj1
);
22252 if (PyErr_Occurred()) SWIG_fail
;
22253 arg3
= (double)SWIG_As_double(obj2
);
22254 if (PyErr_Occurred()) SWIG_fail
;
22256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22257 (arg1
)->base_OnBeginSize(arg2
,arg3
);
22259 wxPyEndAllowThreads(__tstate
);
22260 if (PyErr_Occurred()) SWIG_fail
;
22262 Py_INCREF(Py_None
); resultobj
= Py_None
;
22269 static PyObject
*_wrap_PyDivisionShape_base_OnEndSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22270 PyObject
*resultobj
;
22271 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
22274 PyObject
* obj0
= 0 ;
22275 PyObject
* obj1
= 0 ;
22276 PyObject
* obj2
= 0 ;
22277 char *kwnames
[] = {
22278 (char *) "self",(char *) "w",(char *) "h", NULL
22281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDivisionShape_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
22283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22284 arg2
= (double)SWIG_As_double(obj1
);
22285 if (PyErr_Occurred()) SWIG_fail
;
22286 arg3
= (double)SWIG_As_double(obj2
);
22287 if (PyErr_Occurred()) SWIG_fail
;
22289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22290 (arg1
)->base_OnEndSize(arg2
,arg3
);
22292 wxPyEndAllowThreads(__tstate
);
22293 if (PyErr_Occurred()) SWIG_fail
;
22295 Py_INCREF(Py_None
); resultobj
= Py_None
;
22302 static PyObject
* PyDivisionShape_swigregister(PyObject
*, PyObject
*args
) {
22304 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22305 SWIG_TypeClientData(SWIGTYPE_p_wxPyDivisionShape
, obj
);
22307 return Py_BuildValue((char *)"");
22309 static PyObject
*_wrap_new_PyEllipseShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22310 PyObject
*resultobj
;
22311 double arg1
= (double) 0.0 ;
22312 double arg2
= (double) 0.0 ;
22313 wxPyEllipseShape
*result
;
22314 PyObject
* obj0
= 0 ;
22315 PyObject
* obj1
= 0 ;
22316 char *kwnames
[] = {
22317 (char *) "width",(char *) "height", NULL
22320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyEllipseShape",kwnames
,&obj0
,&obj1
)) goto fail
;
22322 arg1
= (double)SWIG_As_double(obj0
);
22323 if (PyErr_Occurred()) SWIG_fail
;
22326 arg2
= (double)SWIG_As_double(obj1
);
22327 if (PyErr_Occurred()) SWIG_fail
;
22330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22331 result
= (wxPyEllipseShape
*)new wxPyEllipseShape(arg1
,arg2
);
22333 wxPyEndAllowThreads(__tstate
);
22334 if (PyErr_Occurred()) SWIG_fail
;
22336 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyEllipseShape
, 1);
22343 static PyObject
*_wrap_PyEllipseShape__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22344 PyObject
*resultobj
;
22345 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22346 PyObject
*arg2
= (PyObject
*) 0 ;
22347 PyObject
*arg3
= (PyObject
*) 0 ;
22348 PyObject
* obj0
= 0 ;
22349 PyObject
* obj1
= 0 ;
22350 PyObject
* obj2
= 0 ;
22351 char *kwnames
[] = {
22352 (char *) "self",(char *) "self",(char *) "_class", NULL
22355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyEllipseShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22362 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22364 wxPyEndAllowThreads(__tstate
);
22365 if (PyErr_Occurred()) SWIG_fail
;
22367 Py_INCREF(Py_None
); resultobj
= Py_None
;
22374 static PyObject
*_wrap_PyEllipseShape_base_OnDraw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22375 PyObject
*resultobj
;
22376 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22378 PyObject
* obj0
= 0 ;
22379 PyObject
* obj1
= 0 ;
22380 char *kwnames
[] = {
22381 (char *) "self",(char *) "dc", NULL
22384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEllipseShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
22385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22387 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
22388 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22390 if (arg2
== NULL
) {
22391 PyErr_SetString(PyExc_TypeError
,"null reference");
22395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22396 (arg1
)->base_OnDraw(*arg2
);
22398 wxPyEndAllowThreads(__tstate
);
22399 if (PyErr_Occurred()) SWIG_fail
;
22401 Py_INCREF(Py_None
); resultobj
= Py_None
;
22408 static PyObject
*_wrap_PyEllipseShape_base_OnDrawContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22409 PyObject
*resultobj
;
22410 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22412 PyObject
* obj0
= 0 ;
22413 PyObject
* obj1
= 0 ;
22414 char *kwnames
[] = {
22415 (char *) "self",(char *) "dc", NULL
22418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEllipseShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
22419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22421 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
22422 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22424 if (arg2
== NULL
) {
22425 PyErr_SetString(PyExc_TypeError
,"null reference");
22429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22430 (arg1
)->base_OnDrawContents(*arg2
);
22432 wxPyEndAllowThreads(__tstate
);
22433 if (PyErr_Occurred()) SWIG_fail
;
22435 Py_INCREF(Py_None
); resultobj
= Py_None
;
22442 static PyObject
*_wrap_PyEllipseShape_base_OnDrawBranches(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22443 PyObject
*resultobj
;
22444 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22446 bool arg3
= (bool) FALSE
;
22447 PyObject
* obj0
= 0 ;
22448 PyObject
* obj1
= 0 ;
22449 PyObject
* obj2
= 0 ;
22450 char *kwnames
[] = {
22451 (char *) "self",(char *) "dc",(char *) "erase", NULL
22454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyEllipseShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22455 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22457 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
22458 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22460 if (arg2
== NULL
) {
22461 PyErr_SetString(PyExc_TypeError
,"null reference");
22465 arg3
= (bool)SWIG_As_bool(obj2
);
22466 if (PyErr_Occurred()) SWIG_fail
;
22469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22470 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
22472 wxPyEndAllowThreads(__tstate
);
22473 if (PyErr_Occurred()) SWIG_fail
;
22475 Py_INCREF(Py_None
); resultobj
= Py_None
;
22482 static PyObject
*_wrap_PyEllipseShape_base_OnMoveLinks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22483 PyObject
*resultobj
;
22484 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22486 PyObject
* obj0
= 0 ;
22487 PyObject
* obj1
= 0 ;
22488 char *kwnames
[] = {
22489 (char *) "self",(char *) "dc", NULL
22492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEllipseShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
22493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22495 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
22496 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22498 if (arg2
== NULL
) {
22499 PyErr_SetString(PyExc_TypeError
,"null reference");
22503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22504 (arg1
)->base_OnMoveLinks(*arg2
);
22506 wxPyEndAllowThreads(__tstate
);
22507 if (PyErr_Occurred()) SWIG_fail
;
22509 Py_INCREF(Py_None
); resultobj
= Py_None
;
22516 static PyObject
*_wrap_PyEllipseShape_base_OnErase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22517 PyObject
*resultobj
;
22518 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22520 PyObject
* obj0
= 0 ;
22521 PyObject
* obj1
= 0 ;
22522 char *kwnames
[] = {
22523 (char *) "self",(char *) "dc", NULL
22526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEllipseShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
22527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22529 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
22530 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22532 if (arg2
== NULL
) {
22533 PyErr_SetString(PyExc_TypeError
,"null reference");
22537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22538 (arg1
)->base_OnErase(*arg2
);
22540 wxPyEndAllowThreads(__tstate
);
22541 if (PyErr_Occurred()) SWIG_fail
;
22543 Py_INCREF(Py_None
); resultobj
= Py_None
;
22550 static PyObject
*_wrap_PyEllipseShape_base_OnEraseContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22551 PyObject
*resultobj
;
22552 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22554 PyObject
* obj0
= 0 ;
22555 PyObject
* obj1
= 0 ;
22556 char *kwnames
[] = {
22557 (char *) "self",(char *) "dc", NULL
22560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEllipseShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
22561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22563 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
22564 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22566 if (arg2
== NULL
) {
22567 PyErr_SetString(PyExc_TypeError
,"null reference");
22571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22572 (arg1
)->base_OnEraseContents(*arg2
);
22574 wxPyEndAllowThreads(__tstate
);
22575 if (PyErr_Occurred()) SWIG_fail
;
22577 Py_INCREF(Py_None
); resultobj
= Py_None
;
22584 static PyObject
*_wrap_PyEllipseShape_base_OnHighlight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22585 PyObject
*resultobj
;
22586 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22588 PyObject
* obj0
= 0 ;
22589 PyObject
* obj1
= 0 ;
22590 char *kwnames
[] = {
22591 (char *) "self",(char *) "dc", NULL
22594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEllipseShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
22595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22597 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
22598 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22600 if (arg2
== NULL
) {
22601 PyErr_SetString(PyExc_TypeError
,"null reference");
22605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22606 (arg1
)->base_OnHighlight(*arg2
);
22608 wxPyEndAllowThreads(__tstate
);
22609 if (PyErr_Occurred()) SWIG_fail
;
22611 Py_INCREF(Py_None
); resultobj
= Py_None
;
22618 static PyObject
*_wrap_PyEllipseShape_base_OnLeftClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22619 PyObject
*resultobj
;
22620 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22623 int arg4
= (int) 0 ;
22624 int arg5
= (int) 0 ;
22625 PyObject
* obj0
= 0 ;
22626 PyObject
* obj1
= 0 ;
22627 PyObject
* obj2
= 0 ;
22628 PyObject
* obj3
= 0 ;
22629 PyObject
* obj4
= 0 ;
22630 char *kwnames
[] = {
22631 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyEllipseShape_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
22635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22637 arg2
= (double)SWIG_As_double(obj1
);
22638 if (PyErr_Occurred()) SWIG_fail
;
22639 arg3
= (double)SWIG_As_double(obj2
);
22640 if (PyErr_Occurred()) SWIG_fail
;
22642 arg4
= (int)SWIG_As_int(obj3
);
22643 if (PyErr_Occurred()) SWIG_fail
;
22646 arg5
= (int)SWIG_As_int(obj4
);
22647 if (PyErr_Occurred()) SWIG_fail
;
22650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22651 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
22653 wxPyEndAllowThreads(__tstate
);
22654 if (PyErr_Occurred()) SWIG_fail
;
22656 Py_INCREF(Py_None
); resultobj
= Py_None
;
22663 static PyObject
*_wrap_PyEllipseShape_base_OnLeftDoubleClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22664 PyObject
*resultobj
;
22665 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22668 int arg4
= (int) 0 ;
22669 int arg5
= (int) 0 ;
22670 PyObject
* obj0
= 0 ;
22671 PyObject
* obj1
= 0 ;
22672 PyObject
* obj2
= 0 ;
22673 PyObject
* obj3
= 0 ;
22674 PyObject
* obj4
= 0 ;
22675 char *kwnames
[] = {
22676 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyEllipseShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
22680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22682 arg2
= (double)SWIG_As_double(obj1
);
22683 if (PyErr_Occurred()) SWIG_fail
;
22684 arg3
= (double)SWIG_As_double(obj2
);
22685 if (PyErr_Occurred()) SWIG_fail
;
22687 arg4
= (int)SWIG_As_int(obj3
);
22688 if (PyErr_Occurred()) SWIG_fail
;
22691 arg5
= (int)SWIG_As_int(obj4
);
22692 if (PyErr_Occurred()) SWIG_fail
;
22695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22696 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
22698 wxPyEndAllowThreads(__tstate
);
22699 if (PyErr_Occurred()) SWIG_fail
;
22701 Py_INCREF(Py_None
); resultobj
= Py_None
;
22708 static PyObject
*_wrap_PyEllipseShape_base_OnRightClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22709 PyObject
*resultobj
;
22710 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22713 int arg4
= (int) 0 ;
22714 int arg5
= (int) 0 ;
22715 PyObject
* obj0
= 0 ;
22716 PyObject
* obj1
= 0 ;
22717 PyObject
* obj2
= 0 ;
22718 PyObject
* obj3
= 0 ;
22719 PyObject
* obj4
= 0 ;
22720 char *kwnames
[] = {
22721 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyEllipseShape_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
22725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22727 arg2
= (double)SWIG_As_double(obj1
);
22728 if (PyErr_Occurred()) SWIG_fail
;
22729 arg3
= (double)SWIG_As_double(obj2
);
22730 if (PyErr_Occurred()) SWIG_fail
;
22732 arg4
= (int)SWIG_As_int(obj3
);
22733 if (PyErr_Occurred()) SWIG_fail
;
22736 arg5
= (int)SWIG_As_int(obj4
);
22737 if (PyErr_Occurred()) SWIG_fail
;
22740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22741 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
22743 wxPyEndAllowThreads(__tstate
);
22744 if (PyErr_Occurred()) SWIG_fail
;
22746 Py_INCREF(Py_None
); resultobj
= Py_None
;
22753 static PyObject
*_wrap_PyEllipseShape_base_OnSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22754 PyObject
*resultobj
;
22755 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22758 PyObject
* obj0
= 0 ;
22759 PyObject
* obj1
= 0 ;
22760 PyObject
* obj2
= 0 ;
22761 char *kwnames
[] = {
22762 (char *) "self",(char *) "x",(char *) "y", NULL
22765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyEllipseShape_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22768 arg2
= (double)SWIG_As_double(obj1
);
22769 if (PyErr_Occurred()) SWIG_fail
;
22770 arg3
= (double)SWIG_As_double(obj2
);
22771 if (PyErr_Occurred()) SWIG_fail
;
22773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22774 (arg1
)->base_OnSize(arg2
,arg3
);
22776 wxPyEndAllowThreads(__tstate
);
22777 if (PyErr_Occurred()) SWIG_fail
;
22779 Py_INCREF(Py_None
); resultobj
= Py_None
;
22786 static PyObject
*_wrap_PyEllipseShape_base_OnMovePre(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22787 PyObject
*resultobj
;
22788 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22794 bool arg7
= (bool) true ;
22796 PyObject
* obj0
= 0 ;
22797 PyObject
* obj1
= 0 ;
22798 PyObject
* obj2
= 0 ;
22799 PyObject
* obj3
= 0 ;
22800 PyObject
* obj4
= 0 ;
22801 PyObject
* obj5
= 0 ;
22802 PyObject
* obj6
= 0 ;
22803 char *kwnames
[] = {
22804 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
22807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyEllipseShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22810 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
22811 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22813 if (arg2
== NULL
) {
22814 PyErr_SetString(PyExc_TypeError
,"null reference");
22817 arg3
= (double)SWIG_As_double(obj2
);
22818 if (PyErr_Occurred()) SWIG_fail
;
22819 arg4
= (double)SWIG_As_double(obj3
);
22820 if (PyErr_Occurred()) SWIG_fail
;
22821 arg5
= (double)SWIG_As_double(obj4
);
22822 if (PyErr_Occurred()) SWIG_fail
;
22823 arg6
= (double)SWIG_As_double(obj5
);
22824 if (PyErr_Occurred()) SWIG_fail
;
22826 arg7
= (bool)SWIG_As_bool(obj6
);
22827 if (PyErr_Occurred()) SWIG_fail
;
22830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22831 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
22833 wxPyEndAllowThreads(__tstate
);
22834 if (PyErr_Occurred()) SWIG_fail
;
22837 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22845 static PyObject
*_wrap_PyEllipseShape_base_OnMovePost(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22846 PyObject
*resultobj
;
22847 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22853 bool arg7
= (bool) true ;
22854 PyObject
* obj0
= 0 ;
22855 PyObject
* obj1
= 0 ;
22856 PyObject
* obj2
= 0 ;
22857 PyObject
* obj3
= 0 ;
22858 PyObject
* obj4
= 0 ;
22859 PyObject
* obj5
= 0 ;
22860 PyObject
* obj6
= 0 ;
22861 char *kwnames
[] = {
22862 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
22865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyEllipseShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22868 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
22869 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22871 if (arg2
== NULL
) {
22872 PyErr_SetString(PyExc_TypeError
,"null reference");
22875 arg3
= (double)SWIG_As_double(obj2
);
22876 if (PyErr_Occurred()) SWIG_fail
;
22877 arg4
= (double)SWIG_As_double(obj3
);
22878 if (PyErr_Occurred()) SWIG_fail
;
22879 arg5
= (double)SWIG_As_double(obj4
);
22880 if (PyErr_Occurred()) SWIG_fail
;
22881 arg6
= (double)SWIG_As_double(obj5
);
22882 if (PyErr_Occurred()) SWIG_fail
;
22884 arg7
= (bool)SWIG_As_bool(obj6
);
22885 if (PyErr_Occurred()) SWIG_fail
;
22888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22889 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
22891 wxPyEndAllowThreads(__tstate
);
22892 if (PyErr_Occurred()) SWIG_fail
;
22894 Py_INCREF(Py_None
); resultobj
= Py_None
;
22901 static PyObject
*_wrap_PyEllipseShape_base_OnDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22902 PyObject
*resultobj
;
22903 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22907 int arg5
= (int) 0 ;
22908 int arg6
= (int) 0 ;
22909 PyObject
* obj0
= 0 ;
22910 PyObject
* obj1
= 0 ;
22911 PyObject
* obj2
= 0 ;
22912 PyObject
* obj3
= 0 ;
22913 PyObject
* obj4
= 0 ;
22914 PyObject
* obj5
= 0 ;
22915 char *kwnames
[] = {
22916 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyEllipseShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
22920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22922 arg2
= (bool)SWIG_As_bool(obj1
);
22923 if (PyErr_Occurred()) SWIG_fail
;
22924 arg3
= (double)SWIG_As_double(obj2
);
22925 if (PyErr_Occurred()) SWIG_fail
;
22926 arg4
= (double)SWIG_As_double(obj3
);
22927 if (PyErr_Occurred()) SWIG_fail
;
22929 arg5
= (int)SWIG_As_int(obj4
);
22930 if (PyErr_Occurred()) SWIG_fail
;
22933 arg6
= (int)SWIG_As_int(obj5
);
22934 if (PyErr_Occurred()) SWIG_fail
;
22937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22938 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
22940 wxPyEndAllowThreads(__tstate
);
22941 if (PyErr_Occurred()) SWIG_fail
;
22943 Py_INCREF(Py_None
); resultobj
= Py_None
;
22950 static PyObject
*_wrap_PyEllipseShape_base_OnBeginDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22951 PyObject
*resultobj
;
22952 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22955 int arg4
= (int) 0 ;
22956 int arg5
= (int) 0 ;
22957 PyObject
* obj0
= 0 ;
22958 PyObject
* obj1
= 0 ;
22959 PyObject
* obj2
= 0 ;
22960 PyObject
* obj3
= 0 ;
22961 PyObject
* obj4
= 0 ;
22962 char *kwnames
[] = {
22963 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyEllipseShape_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
22967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22969 arg2
= (double)SWIG_As_double(obj1
);
22970 if (PyErr_Occurred()) SWIG_fail
;
22971 arg3
= (double)SWIG_As_double(obj2
);
22972 if (PyErr_Occurred()) SWIG_fail
;
22974 arg4
= (int)SWIG_As_int(obj3
);
22975 if (PyErr_Occurred()) SWIG_fail
;
22978 arg5
= (int)SWIG_As_int(obj4
);
22979 if (PyErr_Occurred()) SWIG_fail
;
22982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22983 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
22985 wxPyEndAllowThreads(__tstate
);
22986 if (PyErr_Occurred()) SWIG_fail
;
22988 Py_INCREF(Py_None
); resultobj
= Py_None
;
22995 static PyObject
*_wrap_PyEllipseShape_base_OnEndDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22996 PyObject
*resultobj
;
22997 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
23000 int arg4
= (int) 0 ;
23001 int arg5
= (int) 0 ;
23002 PyObject
* obj0
= 0 ;
23003 PyObject
* obj1
= 0 ;
23004 PyObject
* obj2
= 0 ;
23005 PyObject
* obj3
= 0 ;
23006 PyObject
* obj4
= 0 ;
23007 char *kwnames
[] = {
23008 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyEllipseShape_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
23012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
23013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23014 arg2
= (double)SWIG_As_double(obj1
);
23015 if (PyErr_Occurred()) SWIG_fail
;
23016 arg3
= (double)SWIG_As_double(obj2
);
23017 if (PyErr_Occurred()) SWIG_fail
;
23019 arg4
= (int)SWIG_As_int(obj3
);
23020 if (PyErr_Occurred()) SWIG_fail
;
23023 arg5
= (int)SWIG_As_int(obj4
);
23024 if (PyErr_Occurred()) SWIG_fail
;
23027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23028 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
23030 wxPyEndAllowThreads(__tstate
);
23031 if (PyErr_Occurred()) SWIG_fail
;
23033 Py_INCREF(Py_None
); resultobj
= Py_None
;
23040 static PyObject
*_wrap_PyEllipseShape_base_OnDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23041 PyObject
*resultobj
;
23042 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
23046 int arg5
= (int) 0 ;
23047 int arg6
= (int) 0 ;
23048 PyObject
* obj0
= 0 ;
23049 PyObject
* obj1
= 0 ;
23050 PyObject
* obj2
= 0 ;
23051 PyObject
* obj3
= 0 ;
23052 PyObject
* obj4
= 0 ;
23053 PyObject
* obj5
= 0 ;
23054 char *kwnames
[] = {
23055 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyEllipseShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
23059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
23060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23061 arg2
= (bool)SWIG_As_bool(obj1
);
23062 if (PyErr_Occurred()) SWIG_fail
;
23063 arg3
= (double)SWIG_As_double(obj2
);
23064 if (PyErr_Occurred()) SWIG_fail
;
23065 arg4
= (double)SWIG_As_double(obj3
);
23066 if (PyErr_Occurred()) SWIG_fail
;
23068 arg5
= (int)SWIG_As_int(obj4
);
23069 if (PyErr_Occurred()) SWIG_fail
;
23072 arg6
= (int)SWIG_As_int(obj5
);
23073 if (PyErr_Occurred()) SWIG_fail
;
23076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23077 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
23079 wxPyEndAllowThreads(__tstate
);
23080 if (PyErr_Occurred()) SWIG_fail
;
23082 Py_INCREF(Py_None
); resultobj
= Py_None
;
23089 static PyObject
*_wrap_PyEllipseShape_base_OnBeginDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23090 PyObject
*resultobj
;
23091 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
23094 int arg4
= (int) 0 ;
23095 int arg5
= (int) 0 ;
23096 PyObject
* obj0
= 0 ;
23097 PyObject
* obj1
= 0 ;
23098 PyObject
* obj2
= 0 ;
23099 PyObject
* obj3
= 0 ;
23100 PyObject
* obj4
= 0 ;
23101 char *kwnames
[] = {
23102 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyEllipseShape_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
23106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
23107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23108 arg2
= (double)SWIG_As_double(obj1
);
23109 if (PyErr_Occurred()) SWIG_fail
;
23110 arg3
= (double)SWIG_As_double(obj2
);
23111 if (PyErr_Occurred()) SWIG_fail
;
23113 arg4
= (int)SWIG_As_int(obj3
);
23114 if (PyErr_Occurred()) SWIG_fail
;
23117 arg5
= (int)SWIG_As_int(obj4
);
23118 if (PyErr_Occurred()) SWIG_fail
;
23121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23122 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
23124 wxPyEndAllowThreads(__tstate
);
23125 if (PyErr_Occurred()) SWIG_fail
;
23127 Py_INCREF(Py_None
); resultobj
= Py_None
;
23134 static PyObject
*_wrap_PyEllipseShape_base_OnEndDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23135 PyObject
*resultobj
;
23136 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
23139 int arg4
= (int) 0 ;
23140 int arg5
= (int) 0 ;
23141 PyObject
* obj0
= 0 ;
23142 PyObject
* obj1
= 0 ;
23143 PyObject
* obj2
= 0 ;
23144 PyObject
* obj3
= 0 ;
23145 PyObject
* obj4
= 0 ;
23146 char *kwnames
[] = {
23147 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyEllipseShape_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
23151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
23152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23153 arg2
= (double)SWIG_As_double(obj1
);
23154 if (PyErr_Occurred()) SWIG_fail
;
23155 arg3
= (double)SWIG_As_double(obj2
);
23156 if (PyErr_Occurred()) SWIG_fail
;
23158 arg4
= (int)SWIG_As_int(obj3
);
23159 if (PyErr_Occurred()) SWIG_fail
;
23162 arg5
= (int)SWIG_As_int(obj4
);
23163 if (PyErr_Occurred()) SWIG_fail
;
23166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23167 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
23169 wxPyEndAllowThreads(__tstate
);
23170 if (PyErr_Occurred()) SWIG_fail
;
23172 Py_INCREF(Py_None
); resultobj
= Py_None
;
23179 static PyObject
*_wrap_PyEllipseShape_base_OnDrawOutline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23180 PyObject
*resultobj
;
23181 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
23187 PyObject
* obj0
= 0 ;
23188 PyObject
* obj1
= 0 ;
23189 PyObject
* obj2
= 0 ;
23190 PyObject
* obj3
= 0 ;
23191 PyObject
* obj4
= 0 ;
23192 PyObject
* obj5
= 0 ;
23193 char *kwnames
[] = {
23194 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
23197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyEllipseShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
23198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
23199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23200 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
23201 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23203 if (arg2
== NULL
) {
23204 PyErr_SetString(PyExc_TypeError
,"null reference");
23207 arg3
= (double)SWIG_As_double(obj2
);
23208 if (PyErr_Occurred()) SWIG_fail
;
23209 arg4
= (double)SWIG_As_double(obj3
);
23210 if (PyErr_Occurred()) SWIG_fail
;
23211 arg5
= (double)SWIG_As_double(obj4
);
23212 if (PyErr_Occurred()) SWIG_fail
;
23213 arg6
= (double)SWIG_As_double(obj5
);
23214 if (PyErr_Occurred()) SWIG_fail
;
23216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23217 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
23219 wxPyEndAllowThreads(__tstate
);
23220 if (PyErr_Occurred()) SWIG_fail
;
23222 Py_INCREF(Py_None
); resultobj
= Py_None
;
23229 static PyObject
*_wrap_PyEllipseShape_base_OnDrawControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23230 PyObject
*resultobj
;
23231 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
23233 PyObject
* obj0
= 0 ;
23234 PyObject
* obj1
= 0 ;
23235 char *kwnames
[] = {
23236 (char *) "self",(char *) "dc", NULL
23239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEllipseShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
23240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
23241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23242 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
23243 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23245 if (arg2
== NULL
) {
23246 PyErr_SetString(PyExc_TypeError
,"null reference");
23250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23251 (arg1
)->base_OnDrawControlPoints(*arg2
);
23253 wxPyEndAllowThreads(__tstate
);
23254 if (PyErr_Occurred()) SWIG_fail
;
23256 Py_INCREF(Py_None
); resultobj
= Py_None
;
23263 static PyObject
*_wrap_PyEllipseShape_base_OnEraseControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23264 PyObject
*resultobj
;
23265 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
23267 PyObject
* obj0
= 0 ;
23268 PyObject
* obj1
= 0 ;
23269 char *kwnames
[] = {
23270 (char *) "self",(char *) "dc", NULL
23273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEllipseShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
23274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
23275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23276 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
23277 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23279 if (arg2
== NULL
) {
23280 PyErr_SetString(PyExc_TypeError
,"null reference");
23284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23285 (arg1
)->base_OnEraseControlPoints(*arg2
);
23287 wxPyEndAllowThreads(__tstate
);
23288 if (PyErr_Occurred()) SWIG_fail
;
23290 Py_INCREF(Py_None
); resultobj
= Py_None
;
23297 static PyObject
*_wrap_PyEllipseShape_base_OnMoveLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23298 PyObject
*resultobj
;
23299 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
23301 bool arg3
= (bool) true ;
23302 PyObject
* obj0
= 0 ;
23303 PyObject
* obj1
= 0 ;
23304 PyObject
* obj2
= 0 ;
23305 char *kwnames
[] = {
23306 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
23309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyEllipseShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
23311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23312 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
23313 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23315 if (arg2
== NULL
) {
23316 PyErr_SetString(PyExc_TypeError
,"null reference");
23320 arg3
= (bool)SWIG_As_bool(obj2
);
23321 if (PyErr_Occurred()) SWIG_fail
;
23324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23325 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
23327 wxPyEndAllowThreads(__tstate
);
23328 if (PyErr_Occurred()) SWIG_fail
;
23330 Py_INCREF(Py_None
); resultobj
= Py_None
;
23337 static PyObject
*_wrap_PyEllipseShape_base_OnSizingDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23338 PyObject
*resultobj
;
23339 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
23340 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
23344 int arg6
= (int) 0 ;
23345 int arg7
= (int) 0 ;
23346 PyObject
* obj0
= 0 ;
23347 PyObject
* obj1
= 0 ;
23348 PyObject
* obj2
= 0 ;
23349 PyObject
* obj3
= 0 ;
23350 PyObject
* obj4
= 0 ;
23351 PyObject
* obj5
= 0 ;
23352 PyObject
* obj6
= 0 ;
23353 char *kwnames
[] = {
23354 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyEllipseShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
23359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23360 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
23361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23362 arg3
= (bool)SWIG_As_bool(obj2
);
23363 if (PyErr_Occurred()) SWIG_fail
;
23364 arg4
= (double)SWIG_As_double(obj3
);
23365 if (PyErr_Occurred()) SWIG_fail
;
23366 arg5
= (double)SWIG_As_double(obj4
);
23367 if (PyErr_Occurred()) SWIG_fail
;
23369 arg6
= (int)SWIG_As_int(obj5
);
23370 if (PyErr_Occurred()) SWIG_fail
;
23373 arg7
= (int)SWIG_As_int(obj6
);
23374 if (PyErr_Occurred()) SWIG_fail
;
23377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23378 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
23380 wxPyEndAllowThreads(__tstate
);
23381 if (PyErr_Occurred()) SWIG_fail
;
23383 Py_INCREF(Py_None
); resultobj
= Py_None
;
23390 static PyObject
*_wrap_PyEllipseShape_base_OnSizingBeginDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23391 PyObject
*resultobj
;
23392 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
23393 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
23396 int arg5
= (int) 0 ;
23397 int arg6
= (int) 0 ;
23398 PyObject
* obj0
= 0 ;
23399 PyObject
* obj1
= 0 ;
23400 PyObject
* obj2
= 0 ;
23401 PyObject
* obj3
= 0 ;
23402 PyObject
* obj4
= 0 ;
23403 PyObject
* obj5
= 0 ;
23404 char *kwnames
[] = {
23405 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyEllipseShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
23409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
23410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23411 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
23412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23413 arg3
= (double)SWIG_As_double(obj2
);
23414 if (PyErr_Occurred()) SWIG_fail
;
23415 arg4
= (double)SWIG_As_double(obj3
);
23416 if (PyErr_Occurred()) SWIG_fail
;
23418 arg5
= (int)SWIG_As_int(obj4
);
23419 if (PyErr_Occurred()) SWIG_fail
;
23422 arg6
= (int)SWIG_As_int(obj5
);
23423 if (PyErr_Occurred()) SWIG_fail
;
23426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23427 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
23429 wxPyEndAllowThreads(__tstate
);
23430 if (PyErr_Occurred()) SWIG_fail
;
23432 Py_INCREF(Py_None
); resultobj
= Py_None
;
23439 static PyObject
*_wrap_PyEllipseShape_base_OnSizingEndDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23440 PyObject
*resultobj
;
23441 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
23442 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
23445 int arg5
= (int) 0 ;
23446 int arg6
= (int) 0 ;
23447 PyObject
* obj0
= 0 ;
23448 PyObject
* obj1
= 0 ;
23449 PyObject
* obj2
= 0 ;
23450 PyObject
* obj3
= 0 ;
23451 PyObject
* obj4
= 0 ;
23452 PyObject
* obj5
= 0 ;
23453 char *kwnames
[] = {
23454 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyEllipseShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
23458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
23459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23460 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
23461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23462 arg3
= (double)SWIG_As_double(obj2
);
23463 if (PyErr_Occurred()) SWIG_fail
;
23464 arg4
= (double)SWIG_As_double(obj3
);
23465 if (PyErr_Occurred()) SWIG_fail
;
23467 arg5
= (int)SWIG_As_int(obj4
);
23468 if (PyErr_Occurred()) SWIG_fail
;
23471 arg6
= (int)SWIG_As_int(obj5
);
23472 if (PyErr_Occurred()) SWIG_fail
;
23475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23476 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
23478 wxPyEndAllowThreads(__tstate
);
23479 if (PyErr_Occurred()) SWIG_fail
;
23481 Py_INCREF(Py_None
); resultobj
= Py_None
;
23488 static PyObject
*_wrap_PyEllipseShape_base_OnBeginSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23489 PyObject
*resultobj
;
23490 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
23493 PyObject
* obj0
= 0 ;
23494 PyObject
* obj1
= 0 ;
23495 PyObject
* obj2
= 0 ;
23496 char *kwnames
[] = {
23497 (char *) "self",(char *) "w",(char *) "h", NULL
23500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyEllipseShape_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
23502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23503 arg2
= (double)SWIG_As_double(obj1
);
23504 if (PyErr_Occurred()) SWIG_fail
;
23505 arg3
= (double)SWIG_As_double(obj2
);
23506 if (PyErr_Occurred()) SWIG_fail
;
23508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23509 (arg1
)->base_OnBeginSize(arg2
,arg3
);
23511 wxPyEndAllowThreads(__tstate
);
23512 if (PyErr_Occurred()) SWIG_fail
;
23514 Py_INCREF(Py_None
); resultobj
= Py_None
;
23521 static PyObject
*_wrap_PyEllipseShape_base_OnEndSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23522 PyObject
*resultobj
;
23523 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
23526 PyObject
* obj0
= 0 ;
23527 PyObject
* obj1
= 0 ;
23528 PyObject
* obj2
= 0 ;
23529 char *kwnames
[] = {
23530 (char *) "self",(char *) "w",(char *) "h", NULL
23533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyEllipseShape_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
23535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23536 arg2
= (double)SWIG_As_double(obj1
);
23537 if (PyErr_Occurred()) SWIG_fail
;
23538 arg3
= (double)SWIG_As_double(obj2
);
23539 if (PyErr_Occurred()) SWIG_fail
;
23541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23542 (arg1
)->base_OnEndSize(arg2
,arg3
);
23544 wxPyEndAllowThreads(__tstate
);
23545 if (PyErr_Occurred()) SWIG_fail
;
23547 Py_INCREF(Py_None
); resultobj
= Py_None
;
23554 static PyObject
* PyEllipseShape_swigregister(PyObject
*, PyObject
*args
) {
23556 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23557 SWIG_TypeClientData(SWIGTYPE_p_wxPyEllipseShape
, obj
);
23559 return Py_BuildValue((char *)"");
23561 static PyObject
*_wrap_new_PyCircleShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23562 PyObject
*resultobj
;
23563 double arg1
= (double) 0.0 ;
23564 wxPyCircleShape
*result
;
23565 PyObject
* obj0
= 0 ;
23566 char *kwnames
[] = {
23567 (char *) "width", NULL
23570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyCircleShape",kwnames
,&obj0
)) goto fail
;
23572 arg1
= (double)SWIG_As_double(obj0
);
23573 if (PyErr_Occurred()) SWIG_fail
;
23576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23577 result
= (wxPyCircleShape
*)new wxPyCircleShape(arg1
);
23579 wxPyEndAllowThreads(__tstate
);
23580 if (PyErr_Occurred()) SWIG_fail
;
23582 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyCircleShape
, 1);
23589 static PyObject
*_wrap_PyCircleShape__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23590 PyObject
*resultobj
;
23591 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
23592 PyObject
*arg2
= (PyObject
*) 0 ;
23593 PyObject
*arg3
= (PyObject
*) 0 ;
23594 PyObject
* obj0
= 0 ;
23595 PyObject
* obj1
= 0 ;
23596 PyObject
* obj2
= 0 ;
23597 char *kwnames
[] = {
23598 (char *) "self",(char *) "self",(char *) "_class", NULL
23601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyCircleShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
23603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23608 (arg1
)->_setCallbackInfo(arg2
,arg3
);
23610 wxPyEndAllowThreads(__tstate
);
23611 if (PyErr_Occurred()) SWIG_fail
;
23613 Py_INCREF(Py_None
); resultobj
= Py_None
;
23620 static PyObject
*_wrap_PyCircleShape_base_OnDraw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23621 PyObject
*resultobj
;
23622 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
23624 PyObject
* obj0
= 0 ;
23625 PyObject
* obj1
= 0 ;
23626 char *kwnames
[] = {
23627 (char *) "self",(char *) "dc", NULL
23630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCircleShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
23631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
23632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23633 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
23634 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23636 if (arg2
== NULL
) {
23637 PyErr_SetString(PyExc_TypeError
,"null reference");
23641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23642 (arg1
)->base_OnDraw(*arg2
);
23644 wxPyEndAllowThreads(__tstate
);
23645 if (PyErr_Occurred()) SWIG_fail
;
23647 Py_INCREF(Py_None
); resultobj
= Py_None
;
23654 static PyObject
*_wrap_PyCircleShape_base_OnDrawContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23655 PyObject
*resultobj
;
23656 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
23658 PyObject
* obj0
= 0 ;
23659 PyObject
* obj1
= 0 ;
23660 char *kwnames
[] = {
23661 (char *) "self",(char *) "dc", NULL
23664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCircleShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
23665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
23666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23667 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
23668 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23670 if (arg2
== NULL
) {
23671 PyErr_SetString(PyExc_TypeError
,"null reference");
23675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23676 (arg1
)->base_OnDrawContents(*arg2
);
23678 wxPyEndAllowThreads(__tstate
);
23679 if (PyErr_Occurred()) SWIG_fail
;
23681 Py_INCREF(Py_None
); resultobj
= Py_None
;
23688 static PyObject
*_wrap_PyCircleShape_base_OnDrawBranches(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23689 PyObject
*resultobj
;
23690 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
23692 bool arg3
= (bool) FALSE
;
23693 PyObject
* obj0
= 0 ;
23694 PyObject
* obj1
= 0 ;
23695 PyObject
* obj2
= 0 ;
23696 char *kwnames
[] = {
23697 (char *) "self",(char *) "dc",(char *) "erase", NULL
23700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyCircleShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
23702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23703 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
23704 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23706 if (arg2
== NULL
) {
23707 PyErr_SetString(PyExc_TypeError
,"null reference");
23711 arg3
= (bool)SWIG_As_bool(obj2
);
23712 if (PyErr_Occurred()) SWIG_fail
;
23715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23716 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
23718 wxPyEndAllowThreads(__tstate
);
23719 if (PyErr_Occurred()) SWIG_fail
;
23721 Py_INCREF(Py_None
); resultobj
= Py_None
;
23728 static PyObject
*_wrap_PyCircleShape_base_OnMoveLinks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23729 PyObject
*resultobj
;
23730 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
23732 PyObject
* obj0
= 0 ;
23733 PyObject
* obj1
= 0 ;
23734 char *kwnames
[] = {
23735 (char *) "self",(char *) "dc", NULL
23738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCircleShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
23739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
23740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23741 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
23742 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23744 if (arg2
== NULL
) {
23745 PyErr_SetString(PyExc_TypeError
,"null reference");
23749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23750 (arg1
)->base_OnMoveLinks(*arg2
);
23752 wxPyEndAllowThreads(__tstate
);
23753 if (PyErr_Occurred()) SWIG_fail
;
23755 Py_INCREF(Py_None
); resultobj
= Py_None
;
23762 static PyObject
*_wrap_PyCircleShape_base_OnErase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23763 PyObject
*resultobj
;
23764 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
23766 PyObject
* obj0
= 0 ;
23767 PyObject
* obj1
= 0 ;
23768 char *kwnames
[] = {
23769 (char *) "self",(char *) "dc", NULL
23772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCircleShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
23773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
23774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23775 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
23776 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23778 if (arg2
== NULL
) {
23779 PyErr_SetString(PyExc_TypeError
,"null reference");
23783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23784 (arg1
)->base_OnErase(*arg2
);
23786 wxPyEndAllowThreads(__tstate
);
23787 if (PyErr_Occurred()) SWIG_fail
;
23789 Py_INCREF(Py_None
); resultobj
= Py_None
;
23796 static PyObject
*_wrap_PyCircleShape_base_OnEraseContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23797 PyObject
*resultobj
;
23798 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
23800 PyObject
* obj0
= 0 ;
23801 PyObject
* obj1
= 0 ;
23802 char *kwnames
[] = {
23803 (char *) "self",(char *) "dc", NULL
23806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCircleShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
23807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
23808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23809 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
23810 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23812 if (arg2
== NULL
) {
23813 PyErr_SetString(PyExc_TypeError
,"null reference");
23817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23818 (arg1
)->base_OnEraseContents(*arg2
);
23820 wxPyEndAllowThreads(__tstate
);
23821 if (PyErr_Occurred()) SWIG_fail
;
23823 Py_INCREF(Py_None
); resultobj
= Py_None
;
23830 static PyObject
*_wrap_PyCircleShape_base_OnHighlight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23831 PyObject
*resultobj
;
23832 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
23834 PyObject
* obj0
= 0 ;
23835 PyObject
* obj1
= 0 ;
23836 char *kwnames
[] = {
23837 (char *) "self",(char *) "dc", NULL
23840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCircleShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
23841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
23842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23843 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
23844 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23846 if (arg2
== NULL
) {
23847 PyErr_SetString(PyExc_TypeError
,"null reference");
23851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23852 (arg1
)->base_OnHighlight(*arg2
);
23854 wxPyEndAllowThreads(__tstate
);
23855 if (PyErr_Occurred()) SWIG_fail
;
23857 Py_INCREF(Py_None
); resultobj
= Py_None
;
23864 static PyObject
*_wrap_PyCircleShape_base_OnLeftClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23865 PyObject
*resultobj
;
23866 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
23869 int arg4
= (int) 0 ;
23870 int arg5
= (int) 0 ;
23871 PyObject
* obj0
= 0 ;
23872 PyObject
* obj1
= 0 ;
23873 PyObject
* obj2
= 0 ;
23874 PyObject
* obj3
= 0 ;
23875 PyObject
* obj4
= 0 ;
23876 char *kwnames
[] = {
23877 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCircleShape_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
23881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
23882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23883 arg2
= (double)SWIG_As_double(obj1
);
23884 if (PyErr_Occurred()) SWIG_fail
;
23885 arg3
= (double)SWIG_As_double(obj2
);
23886 if (PyErr_Occurred()) SWIG_fail
;
23888 arg4
= (int)SWIG_As_int(obj3
);
23889 if (PyErr_Occurred()) SWIG_fail
;
23892 arg5
= (int)SWIG_As_int(obj4
);
23893 if (PyErr_Occurred()) SWIG_fail
;
23896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23897 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
23899 wxPyEndAllowThreads(__tstate
);
23900 if (PyErr_Occurred()) SWIG_fail
;
23902 Py_INCREF(Py_None
); resultobj
= Py_None
;
23909 static PyObject
*_wrap_PyCircleShape_base_OnLeftDoubleClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23910 PyObject
*resultobj
;
23911 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
23914 int arg4
= (int) 0 ;
23915 int arg5
= (int) 0 ;
23916 PyObject
* obj0
= 0 ;
23917 PyObject
* obj1
= 0 ;
23918 PyObject
* obj2
= 0 ;
23919 PyObject
* obj3
= 0 ;
23920 PyObject
* obj4
= 0 ;
23921 char *kwnames
[] = {
23922 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCircleShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
23926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
23927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23928 arg2
= (double)SWIG_As_double(obj1
);
23929 if (PyErr_Occurred()) SWIG_fail
;
23930 arg3
= (double)SWIG_As_double(obj2
);
23931 if (PyErr_Occurred()) SWIG_fail
;
23933 arg4
= (int)SWIG_As_int(obj3
);
23934 if (PyErr_Occurred()) SWIG_fail
;
23937 arg5
= (int)SWIG_As_int(obj4
);
23938 if (PyErr_Occurred()) SWIG_fail
;
23941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23942 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
23944 wxPyEndAllowThreads(__tstate
);
23945 if (PyErr_Occurred()) SWIG_fail
;
23947 Py_INCREF(Py_None
); resultobj
= Py_None
;
23954 static PyObject
*_wrap_PyCircleShape_base_OnRightClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23955 PyObject
*resultobj
;
23956 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
23959 int arg4
= (int) 0 ;
23960 int arg5
= (int) 0 ;
23961 PyObject
* obj0
= 0 ;
23962 PyObject
* obj1
= 0 ;
23963 PyObject
* obj2
= 0 ;
23964 PyObject
* obj3
= 0 ;
23965 PyObject
* obj4
= 0 ;
23966 char *kwnames
[] = {
23967 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCircleShape_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
23971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
23972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23973 arg2
= (double)SWIG_As_double(obj1
);
23974 if (PyErr_Occurred()) SWIG_fail
;
23975 arg3
= (double)SWIG_As_double(obj2
);
23976 if (PyErr_Occurred()) SWIG_fail
;
23978 arg4
= (int)SWIG_As_int(obj3
);
23979 if (PyErr_Occurred()) SWIG_fail
;
23982 arg5
= (int)SWIG_As_int(obj4
);
23983 if (PyErr_Occurred()) SWIG_fail
;
23986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23987 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
23989 wxPyEndAllowThreads(__tstate
);
23990 if (PyErr_Occurred()) SWIG_fail
;
23992 Py_INCREF(Py_None
); resultobj
= Py_None
;
23999 static PyObject
*_wrap_PyCircleShape_base_OnSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24000 PyObject
*resultobj
;
24001 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24004 PyObject
* obj0
= 0 ;
24005 PyObject
* obj1
= 0 ;
24006 PyObject
* obj2
= 0 ;
24007 char *kwnames
[] = {
24008 (char *) "self",(char *) "x",(char *) "y", NULL
24011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyCircleShape_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
24013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24014 arg2
= (double)SWIG_As_double(obj1
);
24015 if (PyErr_Occurred()) SWIG_fail
;
24016 arg3
= (double)SWIG_As_double(obj2
);
24017 if (PyErr_Occurred()) SWIG_fail
;
24019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24020 (arg1
)->base_OnSize(arg2
,arg3
);
24022 wxPyEndAllowThreads(__tstate
);
24023 if (PyErr_Occurred()) SWIG_fail
;
24025 Py_INCREF(Py_None
); resultobj
= Py_None
;
24032 static PyObject
*_wrap_PyCircleShape_base_OnMovePre(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24033 PyObject
*resultobj
;
24034 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24040 bool arg7
= (bool) true ;
24042 PyObject
* obj0
= 0 ;
24043 PyObject
* obj1
= 0 ;
24044 PyObject
* obj2
= 0 ;
24045 PyObject
* obj3
= 0 ;
24046 PyObject
* obj4
= 0 ;
24047 PyObject
* obj5
= 0 ;
24048 PyObject
* obj6
= 0 ;
24049 char *kwnames
[] = {
24050 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
24053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyCircleShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
24055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24056 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
24057 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24059 if (arg2
== NULL
) {
24060 PyErr_SetString(PyExc_TypeError
,"null reference");
24063 arg3
= (double)SWIG_As_double(obj2
);
24064 if (PyErr_Occurred()) SWIG_fail
;
24065 arg4
= (double)SWIG_As_double(obj3
);
24066 if (PyErr_Occurred()) SWIG_fail
;
24067 arg5
= (double)SWIG_As_double(obj4
);
24068 if (PyErr_Occurred()) SWIG_fail
;
24069 arg6
= (double)SWIG_As_double(obj5
);
24070 if (PyErr_Occurred()) SWIG_fail
;
24072 arg7
= (bool)SWIG_As_bool(obj6
);
24073 if (PyErr_Occurred()) SWIG_fail
;
24076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24077 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
24079 wxPyEndAllowThreads(__tstate
);
24080 if (PyErr_Occurred()) SWIG_fail
;
24083 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24091 static PyObject
*_wrap_PyCircleShape_base_OnMovePost(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24092 PyObject
*resultobj
;
24093 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24099 bool arg7
= (bool) true ;
24100 PyObject
* obj0
= 0 ;
24101 PyObject
* obj1
= 0 ;
24102 PyObject
* obj2
= 0 ;
24103 PyObject
* obj3
= 0 ;
24104 PyObject
* obj4
= 0 ;
24105 PyObject
* obj5
= 0 ;
24106 PyObject
* obj6
= 0 ;
24107 char *kwnames
[] = {
24108 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
24111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyCircleShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
24113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24114 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
24115 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24117 if (arg2
== NULL
) {
24118 PyErr_SetString(PyExc_TypeError
,"null reference");
24121 arg3
= (double)SWIG_As_double(obj2
);
24122 if (PyErr_Occurred()) SWIG_fail
;
24123 arg4
= (double)SWIG_As_double(obj3
);
24124 if (PyErr_Occurred()) SWIG_fail
;
24125 arg5
= (double)SWIG_As_double(obj4
);
24126 if (PyErr_Occurred()) SWIG_fail
;
24127 arg6
= (double)SWIG_As_double(obj5
);
24128 if (PyErr_Occurred()) SWIG_fail
;
24130 arg7
= (bool)SWIG_As_bool(obj6
);
24131 if (PyErr_Occurred()) SWIG_fail
;
24134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24135 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
24137 wxPyEndAllowThreads(__tstate
);
24138 if (PyErr_Occurred()) SWIG_fail
;
24140 Py_INCREF(Py_None
); resultobj
= Py_None
;
24147 static PyObject
*_wrap_PyCircleShape_base_OnDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24148 PyObject
*resultobj
;
24149 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24153 int arg5
= (int) 0 ;
24154 int arg6
= (int) 0 ;
24155 PyObject
* obj0
= 0 ;
24156 PyObject
* obj1
= 0 ;
24157 PyObject
* obj2
= 0 ;
24158 PyObject
* obj3
= 0 ;
24159 PyObject
* obj4
= 0 ;
24160 PyObject
* obj5
= 0 ;
24161 char *kwnames
[] = {
24162 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyCircleShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
24166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
24167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24168 arg2
= (bool)SWIG_As_bool(obj1
);
24169 if (PyErr_Occurred()) SWIG_fail
;
24170 arg3
= (double)SWIG_As_double(obj2
);
24171 if (PyErr_Occurred()) SWIG_fail
;
24172 arg4
= (double)SWIG_As_double(obj3
);
24173 if (PyErr_Occurred()) SWIG_fail
;
24175 arg5
= (int)SWIG_As_int(obj4
);
24176 if (PyErr_Occurred()) SWIG_fail
;
24179 arg6
= (int)SWIG_As_int(obj5
);
24180 if (PyErr_Occurred()) SWIG_fail
;
24183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24184 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
24186 wxPyEndAllowThreads(__tstate
);
24187 if (PyErr_Occurred()) SWIG_fail
;
24189 Py_INCREF(Py_None
); resultobj
= Py_None
;
24196 static PyObject
*_wrap_PyCircleShape_base_OnBeginDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24197 PyObject
*resultobj
;
24198 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24201 int arg4
= (int) 0 ;
24202 int arg5
= (int) 0 ;
24203 PyObject
* obj0
= 0 ;
24204 PyObject
* obj1
= 0 ;
24205 PyObject
* obj2
= 0 ;
24206 PyObject
* obj3
= 0 ;
24207 PyObject
* obj4
= 0 ;
24208 char *kwnames
[] = {
24209 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCircleShape_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
24213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
24214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24215 arg2
= (double)SWIG_As_double(obj1
);
24216 if (PyErr_Occurred()) SWIG_fail
;
24217 arg3
= (double)SWIG_As_double(obj2
);
24218 if (PyErr_Occurred()) SWIG_fail
;
24220 arg4
= (int)SWIG_As_int(obj3
);
24221 if (PyErr_Occurred()) SWIG_fail
;
24224 arg5
= (int)SWIG_As_int(obj4
);
24225 if (PyErr_Occurred()) SWIG_fail
;
24228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24229 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
24231 wxPyEndAllowThreads(__tstate
);
24232 if (PyErr_Occurred()) SWIG_fail
;
24234 Py_INCREF(Py_None
); resultobj
= Py_None
;
24241 static PyObject
*_wrap_PyCircleShape_base_OnEndDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24242 PyObject
*resultobj
;
24243 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24246 int arg4
= (int) 0 ;
24247 int arg5
= (int) 0 ;
24248 PyObject
* obj0
= 0 ;
24249 PyObject
* obj1
= 0 ;
24250 PyObject
* obj2
= 0 ;
24251 PyObject
* obj3
= 0 ;
24252 PyObject
* obj4
= 0 ;
24253 char *kwnames
[] = {
24254 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCircleShape_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
24258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
24259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24260 arg2
= (double)SWIG_As_double(obj1
);
24261 if (PyErr_Occurred()) SWIG_fail
;
24262 arg3
= (double)SWIG_As_double(obj2
);
24263 if (PyErr_Occurred()) SWIG_fail
;
24265 arg4
= (int)SWIG_As_int(obj3
);
24266 if (PyErr_Occurred()) SWIG_fail
;
24269 arg5
= (int)SWIG_As_int(obj4
);
24270 if (PyErr_Occurred()) SWIG_fail
;
24273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24274 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
24276 wxPyEndAllowThreads(__tstate
);
24277 if (PyErr_Occurred()) SWIG_fail
;
24279 Py_INCREF(Py_None
); resultobj
= Py_None
;
24286 static PyObject
*_wrap_PyCircleShape_base_OnDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24287 PyObject
*resultobj
;
24288 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24292 int arg5
= (int) 0 ;
24293 int arg6
= (int) 0 ;
24294 PyObject
* obj0
= 0 ;
24295 PyObject
* obj1
= 0 ;
24296 PyObject
* obj2
= 0 ;
24297 PyObject
* obj3
= 0 ;
24298 PyObject
* obj4
= 0 ;
24299 PyObject
* obj5
= 0 ;
24300 char *kwnames
[] = {
24301 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyCircleShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
24305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
24306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24307 arg2
= (bool)SWIG_As_bool(obj1
);
24308 if (PyErr_Occurred()) SWIG_fail
;
24309 arg3
= (double)SWIG_As_double(obj2
);
24310 if (PyErr_Occurred()) SWIG_fail
;
24311 arg4
= (double)SWIG_As_double(obj3
);
24312 if (PyErr_Occurred()) SWIG_fail
;
24314 arg5
= (int)SWIG_As_int(obj4
);
24315 if (PyErr_Occurred()) SWIG_fail
;
24318 arg6
= (int)SWIG_As_int(obj5
);
24319 if (PyErr_Occurred()) SWIG_fail
;
24322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24323 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
24325 wxPyEndAllowThreads(__tstate
);
24326 if (PyErr_Occurred()) SWIG_fail
;
24328 Py_INCREF(Py_None
); resultobj
= Py_None
;
24335 static PyObject
*_wrap_PyCircleShape_base_OnBeginDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24336 PyObject
*resultobj
;
24337 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24340 int arg4
= (int) 0 ;
24341 int arg5
= (int) 0 ;
24342 PyObject
* obj0
= 0 ;
24343 PyObject
* obj1
= 0 ;
24344 PyObject
* obj2
= 0 ;
24345 PyObject
* obj3
= 0 ;
24346 PyObject
* obj4
= 0 ;
24347 char *kwnames
[] = {
24348 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCircleShape_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
24352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
24353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24354 arg2
= (double)SWIG_As_double(obj1
);
24355 if (PyErr_Occurred()) SWIG_fail
;
24356 arg3
= (double)SWIG_As_double(obj2
);
24357 if (PyErr_Occurred()) SWIG_fail
;
24359 arg4
= (int)SWIG_As_int(obj3
);
24360 if (PyErr_Occurred()) SWIG_fail
;
24363 arg5
= (int)SWIG_As_int(obj4
);
24364 if (PyErr_Occurred()) SWIG_fail
;
24367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24368 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
24370 wxPyEndAllowThreads(__tstate
);
24371 if (PyErr_Occurred()) SWIG_fail
;
24373 Py_INCREF(Py_None
); resultobj
= Py_None
;
24380 static PyObject
*_wrap_PyCircleShape_base_OnEndDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24381 PyObject
*resultobj
;
24382 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24385 int arg4
= (int) 0 ;
24386 int arg5
= (int) 0 ;
24387 PyObject
* obj0
= 0 ;
24388 PyObject
* obj1
= 0 ;
24389 PyObject
* obj2
= 0 ;
24390 PyObject
* obj3
= 0 ;
24391 PyObject
* obj4
= 0 ;
24392 char *kwnames
[] = {
24393 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCircleShape_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
24397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
24398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24399 arg2
= (double)SWIG_As_double(obj1
);
24400 if (PyErr_Occurred()) SWIG_fail
;
24401 arg3
= (double)SWIG_As_double(obj2
);
24402 if (PyErr_Occurred()) SWIG_fail
;
24404 arg4
= (int)SWIG_As_int(obj3
);
24405 if (PyErr_Occurred()) SWIG_fail
;
24408 arg5
= (int)SWIG_As_int(obj4
);
24409 if (PyErr_Occurred()) SWIG_fail
;
24412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24413 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
24415 wxPyEndAllowThreads(__tstate
);
24416 if (PyErr_Occurred()) SWIG_fail
;
24418 Py_INCREF(Py_None
); resultobj
= Py_None
;
24425 static PyObject
*_wrap_PyCircleShape_base_OnDrawOutline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24426 PyObject
*resultobj
;
24427 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24433 PyObject
* obj0
= 0 ;
24434 PyObject
* obj1
= 0 ;
24435 PyObject
* obj2
= 0 ;
24436 PyObject
* obj3
= 0 ;
24437 PyObject
* obj4
= 0 ;
24438 PyObject
* obj5
= 0 ;
24439 char *kwnames
[] = {
24440 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
24443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyCircleShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
24444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
24445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24446 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
24447 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24449 if (arg2
== NULL
) {
24450 PyErr_SetString(PyExc_TypeError
,"null reference");
24453 arg3
= (double)SWIG_As_double(obj2
);
24454 if (PyErr_Occurred()) SWIG_fail
;
24455 arg4
= (double)SWIG_As_double(obj3
);
24456 if (PyErr_Occurred()) SWIG_fail
;
24457 arg5
= (double)SWIG_As_double(obj4
);
24458 if (PyErr_Occurred()) SWIG_fail
;
24459 arg6
= (double)SWIG_As_double(obj5
);
24460 if (PyErr_Occurred()) SWIG_fail
;
24462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24463 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
24465 wxPyEndAllowThreads(__tstate
);
24466 if (PyErr_Occurred()) SWIG_fail
;
24468 Py_INCREF(Py_None
); resultobj
= Py_None
;
24475 static PyObject
*_wrap_PyCircleShape_base_OnDrawControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24476 PyObject
*resultobj
;
24477 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24479 PyObject
* obj0
= 0 ;
24480 PyObject
* obj1
= 0 ;
24481 char *kwnames
[] = {
24482 (char *) "self",(char *) "dc", NULL
24485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCircleShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
24486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
24487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24488 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
24489 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24491 if (arg2
== NULL
) {
24492 PyErr_SetString(PyExc_TypeError
,"null reference");
24496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24497 (arg1
)->base_OnDrawControlPoints(*arg2
);
24499 wxPyEndAllowThreads(__tstate
);
24500 if (PyErr_Occurred()) SWIG_fail
;
24502 Py_INCREF(Py_None
); resultobj
= Py_None
;
24509 static PyObject
*_wrap_PyCircleShape_base_OnEraseControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24510 PyObject
*resultobj
;
24511 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24513 PyObject
* obj0
= 0 ;
24514 PyObject
* obj1
= 0 ;
24515 char *kwnames
[] = {
24516 (char *) "self",(char *) "dc", NULL
24519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCircleShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
24520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
24521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24522 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
24523 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24525 if (arg2
== NULL
) {
24526 PyErr_SetString(PyExc_TypeError
,"null reference");
24530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24531 (arg1
)->base_OnEraseControlPoints(*arg2
);
24533 wxPyEndAllowThreads(__tstate
);
24534 if (PyErr_Occurred()) SWIG_fail
;
24536 Py_INCREF(Py_None
); resultobj
= Py_None
;
24543 static PyObject
*_wrap_PyCircleShape_base_OnMoveLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24544 PyObject
*resultobj
;
24545 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24547 bool arg3
= (bool) true ;
24548 PyObject
* obj0
= 0 ;
24549 PyObject
* obj1
= 0 ;
24550 PyObject
* obj2
= 0 ;
24551 char *kwnames
[] = {
24552 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
24555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyCircleShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
24557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24558 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
24559 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24561 if (arg2
== NULL
) {
24562 PyErr_SetString(PyExc_TypeError
,"null reference");
24566 arg3
= (bool)SWIG_As_bool(obj2
);
24567 if (PyErr_Occurred()) SWIG_fail
;
24570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24571 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
24573 wxPyEndAllowThreads(__tstate
);
24574 if (PyErr_Occurred()) SWIG_fail
;
24576 Py_INCREF(Py_None
); resultobj
= Py_None
;
24583 static PyObject
*_wrap_PyCircleShape_base_OnSizingDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24584 PyObject
*resultobj
;
24585 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24586 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
24590 int arg6
= (int) 0 ;
24591 int arg7
= (int) 0 ;
24592 PyObject
* obj0
= 0 ;
24593 PyObject
* obj1
= 0 ;
24594 PyObject
* obj2
= 0 ;
24595 PyObject
* obj3
= 0 ;
24596 PyObject
* obj4
= 0 ;
24597 PyObject
* obj5
= 0 ;
24598 PyObject
* obj6
= 0 ;
24599 char *kwnames
[] = {
24600 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyCircleShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
24605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24606 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
24607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24608 arg3
= (bool)SWIG_As_bool(obj2
);
24609 if (PyErr_Occurred()) SWIG_fail
;
24610 arg4
= (double)SWIG_As_double(obj3
);
24611 if (PyErr_Occurred()) SWIG_fail
;
24612 arg5
= (double)SWIG_As_double(obj4
);
24613 if (PyErr_Occurred()) SWIG_fail
;
24615 arg6
= (int)SWIG_As_int(obj5
);
24616 if (PyErr_Occurred()) SWIG_fail
;
24619 arg7
= (int)SWIG_As_int(obj6
);
24620 if (PyErr_Occurred()) SWIG_fail
;
24623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24624 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
24626 wxPyEndAllowThreads(__tstate
);
24627 if (PyErr_Occurred()) SWIG_fail
;
24629 Py_INCREF(Py_None
); resultobj
= Py_None
;
24636 static PyObject
*_wrap_PyCircleShape_base_OnSizingBeginDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24637 PyObject
*resultobj
;
24638 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24639 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
24642 int arg5
= (int) 0 ;
24643 int arg6
= (int) 0 ;
24644 PyObject
* obj0
= 0 ;
24645 PyObject
* obj1
= 0 ;
24646 PyObject
* obj2
= 0 ;
24647 PyObject
* obj3
= 0 ;
24648 PyObject
* obj4
= 0 ;
24649 PyObject
* obj5
= 0 ;
24650 char *kwnames
[] = {
24651 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyCircleShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
24655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
24656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24657 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
24658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24659 arg3
= (double)SWIG_As_double(obj2
);
24660 if (PyErr_Occurred()) SWIG_fail
;
24661 arg4
= (double)SWIG_As_double(obj3
);
24662 if (PyErr_Occurred()) SWIG_fail
;
24664 arg5
= (int)SWIG_As_int(obj4
);
24665 if (PyErr_Occurred()) SWIG_fail
;
24668 arg6
= (int)SWIG_As_int(obj5
);
24669 if (PyErr_Occurred()) SWIG_fail
;
24672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24673 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
24675 wxPyEndAllowThreads(__tstate
);
24676 if (PyErr_Occurred()) SWIG_fail
;
24678 Py_INCREF(Py_None
); resultobj
= Py_None
;
24685 static PyObject
*_wrap_PyCircleShape_base_OnSizingEndDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24686 PyObject
*resultobj
;
24687 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24688 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
24691 int arg5
= (int) 0 ;
24692 int arg6
= (int) 0 ;
24693 PyObject
* obj0
= 0 ;
24694 PyObject
* obj1
= 0 ;
24695 PyObject
* obj2
= 0 ;
24696 PyObject
* obj3
= 0 ;
24697 PyObject
* obj4
= 0 ;
24698 PyObject
* obj5
= 0 ;
24699 char *kwnames
[] = {
24700 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyCircleShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
24704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
24705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24706 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
24707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24708 arg3
= (double)SWIG_As_double(obj2
);
24709 if (PyErr_Occurred()) SWIG_fail
;
24710 arg4
= (double)SWIG_As_double(obj3
);
24711 if (PyErr_Occurred()) SWIG_fail
;
24713 arg5
= (int)SWIG_As_int(obj4
);
24714 if (PyErr_Occurred()) SWIG_fail
;
24717 arg6
= (int)SWIG_As_int(obj5
);
24718 if (PyErr_Occurred()) SWIG_fail
;
24721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24722 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
24724 wxPyEndAllowThreads(__tstate
);
24725 if (PyErr_Occurred()) SWIG_fail
;
24727 Py_INCREF(Py_None
); resultobj
= Py_None
;
24734 static PyObject
*_wrap_PyCircleShape_base_OnBeginSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24735 PyObject
*resultobj
;
24736 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24739 PyObject
* obj0
= 0 ;
24740 PyObject
* obj1
= 0 ;
24741 PyObject
* obj2
= 0 ;
24742 char *kwnames
[] = {
24743 (char *) "self",(char *) "w",(char *) "h", NULL
24746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyCircleShape_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
24748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24749 arg2
= (double)SWIG_As_double(obj1
);
24750 if (PyErr_Occurred()) SWIG_fail
;
24751 arg3
= (double)SWIG_As_double(obj2
);
24752 if (PyErr_Occurred()) SWIG_fail
;
24754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24755 (arg1
)->base_OnBeginSize(arg2
,arg3
);
24757 wxPyEndAllowThreads(__tstate
);
24758 if (PyErr_Occurred()) SWIG_fail
;
24760 Py_INCREF(Py_None
); resultobj
= Py_None
;
24767 static PyObject
*_wrap_PyCircleShape_base_OnEndSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24768 PyObject
*resultobj
;
24769 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24772 PyObject
* obj0
= 0 ;
24773 PyObject
* obj1
= 0 ;
24774 PyObject
* obj2
= 0 ;
24775 char *kwnames
[] = {
24776 (char *) "self",(char *) "w",(char *) "h", NULL
24779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyCircleShape_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
24781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24782 arg2
= (double)SWIG_As_double(obj1
);
24783 if (PyErr_Occurred()) SWIG_fail
;
24784 arg3
= (double)SWIG_As_double(obj2
);
24785 if (PyErr_Occurred()) SWIG_fail
;
24787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24788 (arg1
)->base_OnEndSize(arg2
,arg3
);
24790 wxPyEndAllowThreads(__tstate
);
24791 if (PyErr_Occurred()) SWIG_fail
;
24793 Py_INCREF(Py_None
); resultobj
= Py_None
;
24800 static PyObject
* PyCircleShape_swigregister(PyObject
*, PyObject
*args
) {
24802 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24803 SWIG_TypeClientData(SWIGTYPE_p_wxPyCircleShape
, obj
);
24805 return Py_BuildValue((char *)"");
24807 static PyObject
*_wrap_new_ArrowHead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24808 PyObject
*resultobj
;
24809 int arg1
= (int) 0 ;
24810 int arg2
= (int) 0 ;
24811 double arg3
= (double) 0.0 ;
24812 double arg4
= (double) 0.0 ;
24813 wxString
const &arg5_defvalue
= wxPyEmptyString
;
24814 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
24815 wxPseudoMetaFile
*arg6
= (wxPseudoMetaFile
*) NULL
;
24816 long arg7
= (long) -1 ;
24817 wxArrowHead
*result
;
24818 bool temp5
= false ;
24819 PyObject
* obj0
= 0 ;
24820 PyObject
* obj1
= 0 ;
24821 PyObject
* obj2
= 0 ;
24822 PyObject
* obj3
= 0 ;
24823 PyObject
* obj4
= 0 ;
24824 PyObject
* obj5
= 0 ;
24825 PyObject
* obj6
= 0 ;
24826 char *kwnames
[] = {
24827 (char *) "type",(char *) "end",(char *) "size",(char *) "dist",(char *) "name",(char *) "mf",(char *) "arrowId", NULL
24830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOOO:new_ArrowHead",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24832 arg1
= (int)SWIG_As_int(obj0
);
24833 if (PyErr_Occurred()) SWIG_fail
;
24836 arg2
= (int)SWIG_As_int(obj1
);
24837 if (PyErr_Occurred()) SWIG_fail
;
24840 arg3
= (double)SWIG_As_double(obj2
);
24841 if (PyErr_Occurred()) SWIG_fail
;
24844 arg4
= (double)SWIG_As_double(obj3
);
24845 if (PyErr_Occurred()) SWIG_fail
;
24849 arg5
= wxString_in_helper(obj4
);
24850 if (arg5
== NULL
) SWIG_fail
;
24855 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxPseudoMetaFile
,
24856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24859 arg7
= (long)SWIG_As_long(obj6
);
24860 if (PyErr_Occurred()) SWIG_fail
;
24863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24864 result
= (wxArrowHead
*)new wxArrowHead(arg1
,arg2
,arg3
,arg4
,(wxString
const &)*arg5
,arg6
,arg7
);
24866 wxPyEndAllowThreads(__tstate
);
24867 if (PyErr_Occurred()) SWIG_fail
;
24870 resultobj
= wxPyMake_wxObject(result
, 1);
24886 static PyObject
*_wrap_delete_ArrowHead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24887 PyObject
*resultobj
;
24888 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
24889 PyObject
* obj0
= 0 ;
24890 char *kwnames
[] = {
24891 (char *) "self", NULL
24894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ArrowHead",kwnames
,&obj0
)) goto fail
;
24895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxArrowHead
,
24896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24901 wxPyEndAllowThreads(__tstate
);
24902 if (PyErr_Occurred()) SWIG_fail
;
24904 Py_INCREF(Py_None
); resultobj
= Py_None
;
24911 static PyObject
*_wrap_ArrowHead__GetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24912 PyObject
*resultobj
;
24913 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
24915 PyObject
* obj0
= 0 ;
24916 char *kwnames
[] = {
24917 (char *) "self", NULL
24920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead__GetType",kwnames
,&obj0
)) goto fail
;
24921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxArrowHead
,
24922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24925 result
= (int)(arg1
)->_GetType();
24927 wxPyEndAllowThreads(__tstate
);
24928 if (PyErr_Occurred()) SWIG_fail
;
24930 resultobj
= SWIG_From_int((int)result
);
24937 static PyObject
*_wrap_ArrowHead_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24938 PyObject
*resultobj
;
24939 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
24941 PyObject
* obj0
= 0 ;
24942 char *kwnames
[] = {
24943 (char *) "self", NULL
24946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetPosition",kwnames
,&obj0
)) goto fail
;
24947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxArrowHead
,
24948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24951 result
= (int)(arg1
)->GetPosition();
24953 wxPyEndAllowThreads(__tstate
);
24954 if (PyErr_Occurred()) SWIG_fail
;
24956 resultobj
= SWIG_From_int((int)result
);
24963 static PyObject
*_wrap_ArrowHead_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24964 PyObject
*resultobj
;
24965 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
24967 PyObject
* obj0
= 0 ;
24968 PyObject
* obj1
= 0 ;
24969 char *kwnames
[] = {
24970 (char *) "self",(char *) "pos", NULL
24973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ArrowHead_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
24974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxArrowHead
,
24975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24976 arg2
= (int)SWIG_As_int(obj1
);
24977 if (PyErr_Occurred()) SWIG_fail
;
24979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24980 (arg1
)->SetPosition(arg2
);
24982 wxPyEndAllowThreads(__tstate
);
24983 if (PyErr_Occurred()) SWIG_fail
;
24985 Py_INCREF(Py_None
); resultobj
= Py_None
;
24992 static PyObject
*_wrap_ArrowHead_GetXOffset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24993 PyObject
*resultobj
;
24994 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
24996 PyObject
* obj0
= 0 ;
24997 char *kwnames
[] = {
24998 (char *) "self", NULL
25001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetXOffset",kwnames
,&obj0
)) goto fail
;
25002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxArrowHead
,
25003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25006 result
= (double)(arg1
)->GetXOffset();
25008 wxPyEndAllowThreads(__tstate
);
25009 if (PyErr_Occurred()) SWIG_fail
;
25011 resultobj
= SWIG_From_double((double)result
);
25018 static PyObject
*_wrap_ArrowHead_GetYOffset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25019 PyObject
*resultobj
;
25020 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
25022 PyObject
* obj0
= 0 ;
25023 char *kwnames
[] = {
25024 (char *) "self", NULL
25027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetYOffset",kwnames
,&obj0
)) goto fail
;
25028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxArrowHead
,
25029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25032 result
= (double)(arg1
)->GetYOffset();
25034 wxPyEndAllowThreads(__tstate
);
25035 if (PyErr_Occurred()) SWIG_fail
;
25037 resultobj
= SWIG_From_double((double)result
);
25044 static PyObject
*_wrap_ArrowHead_GetSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25045 PyObject
*resultobj
;
25046 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
25048 PyObject
* obj0
= 0 ;
25049 char *kwnames
[] = {
25050 (char *) "self", NULL
25053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetSpacing",kwnames
,&obj0
)) goto fail
;
25054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxArrowHead
,
25055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25058 result
= (double)(arg1
)->GetSpacing();
25060 wxPyEndAllowThreads(__tstate
);
25061 if (PyErr_Occurred()) SWIG_fail
;
25063 resultobj
= SWIG_From_double((double)result
);
25070 static PyObject
*_wrap_ArrowHead_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25071 PyObject
*resultobj
;
25072 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
25074 PyObject
* obj0
= 0 ;
25075 char *kwnames
[] = {
25076 (char *) "self", NULL
25079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetSize",kwnames
,&obj0
)) goto fail
;
25080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxArrowHead
,
25081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25084 result
= (double)(arg1
)->GetSize();
25086 wxPyEndAllowThreads(__tstate
);
25087 if (PyErr_Occurred()) SWIG_fail
;
25089 resultobj
= SWIG_From_double((double)result
);
25096 static PyObject
*_wrap_ArrowHead_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25097 PyObject
*resultobj
;
25098 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
25100 PyObject
* obj0
= 0 ;
25101 char *kwnames
[] = {
25102 (char *) "self", NULL
25105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetName",kwnames
,&obj0
)) goto fail
;
25106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxArrowHead
,
25107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25110 result
= (arg1
)->GetName();
25112 wxPyEndAllowThreads(__tstate
);
25113 if (PyErr_Occurred()) SWIG_fail
;
25117 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25119 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25128 static PyObject
*_wrap_ArrowHead_SetXOffset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25129 PyObject
*resultobj
;
25130 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
25132 PyObject
* obj0
= 0 ;
25133 PyObject
* obj1
= 0 ;
25134 char *kwnames
[] = {
25135 (char *) "self",(char *) "x", NULL
25138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ArrowHead_SetXOffset",kwnames
,&obj0
,&obj1
)) goto fail
;
25139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxArrowHead
,
25140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25141 arg2
= (double)SWIG_As_double(obj1
);
25142 if (PyErr_Occurred()) SWIG_fail
;
25144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25145 (arg1
)->SetXOffset(arg2
);
25147 wxPyEndAllowThreads(__tstate
);
25148 if (PyErr_Occurred()) SWIG_fail
;
25150 Py_INCREF(Py_None
); resultobj
= Py_None
;
25157 static PyObject
*_wrap_ArrowHead_SetYOffset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25158 PyObject
*resultobj
;
25159 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
25161 PyObject
* obj0
= 0 ;
25162 PyObject
* obj1
= 0 ;
25163 char *kwnames
[] = {
25164 (char *) "self",(char *) "y", NULL
25167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ArrowHead_SetYOffset",kwnames
,&obj0
,&obj1
)) goto fail
;
25168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxArrowHead
,
25169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25170 arg2
= (double)SWIG_As_double(obj1
);
25171 if (PyErr_Occurred()) SWIG_fail
;
25173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25174 (arg1
)->SetYOffset(arg2
);
25176 wxPyEndAllowThreads(__tstate
);
25177 if (PyErr_Occurred()) SWIG_fail
;
25179 Py_INCREF(Py_None
); resultobj
= Py_None
;
25186 static PyObject
*_wrap_ArrowHead_GetMetaFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25187 PyObject
*resultobj
;
25188 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
25189 wxPseudoMetaFile
*result
;
25190 PyObject
* obj0
= 0 ;
25191 char *kwnames
[] = {
25192 (char *) "self", NULL
25195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetMetaFile",kwnames
,&obj0
)) goto fail
;
25196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxArrowHead
,
25197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25200 result
= (wxPseudoMetaFile
*)(arg1
)->GetMetaFile();
25202 wxPyEndAllowThreads(__tstate
);
25203 if (PyErr_Occurred()) SWIG_fail
;
25206 resultobj
= wxPyMake_wxObject(result
, 0);
25214 static PyObject
*_wrap_ArrowHead_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25215 PyObject
*resultobj
;
25216 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
25218 PyObject
* obj0
= 0 ;
25219 char *kwnames
[] = {
25220 (char *) "self", NULL
25223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetId",kwnames
,&obj0
)) goto fail
;
25224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxArrowHead
,
25225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25228 result
= (long)(arg1
)->GetId();
25230 wxPyEndAllowThreads(__tstate
);
25231 if (PyErr_Occurred()) SWIG_fail
;
25233 resultobj
= SWIG_From_long((long)result
);
25240 static PyObject
*_wrap_ArrowHead_GetArrowEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25241 PyObject
*resultobj
;
25242 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
25244 PyObject
* obj0
= 0 ;
25245 char *kwnames
[] = {
25246 (char *) "self", NULL
25249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetArrowEnd",kwnames
,&obj0
)) goto fail
;
25250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxArrowHead
,
25251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25254 result
= (int)(arg1
)->GetArrowEnd();
25256 wxPyEndAllowThreads(__tstate
);
25257 if (PyErr_Occurred()) SWIG_fail
;
25259 resultobj
= SWIG_From_int((int)result
);
25266 static PyObject
*_wrap_ArrowHead_GetArrowSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25267 PyObject
*resultobj
;
25268 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
25270 PyObject
* obj0
= 0 ;
25271 char *kwnames
[] = {
25272 (char *) "self", NULL
25275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetArrowSize",kwnames
,&obj0
)) goto fail
;
25276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxArrowHead
,
25277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25280 result
= (double)(arg1
)->GetArrowSize();
25282 wxPyEndAllowThreads(__tstate
);
25283 if (PyErr_Occurred()) SWIG_fail
;
25285 resultobj
= SWIG_From_double((double)result
);
25292 static PyObject
*_wrap_ArrowHead_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25293 PyObject
*resultobj
;
25294 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
25296 PyObject
* obj0
= 0 ;
25297 PyObject
* obj1
= 0 ;
25298 char *kwnames
[] = {
25299 (char *) "self",(char *) "size", NULL
25302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ArrowHead_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
25303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxArrowHead
,
25304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25305 arg2
= (double)SWIG_As_double(obj1
);
25306 if (PyErr_Occurred()) SWIG_fail
;
25308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25309 (arg1
)->SetSize(arg2
);
25311 wxPyEndAllowThreads(__tstate
);
25312 if (PyErr_Occurred()) SWIG_fail
;
25314 Py_INCREF(Py_None
); resultobj
= Py_None
;
25321 static PyObject
*_wrap_ArrowHead_SetSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25322 PyObject
*resultobj
;
25323 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
25325 PyObject
* obj0
= 0 ;
25326 PyObject
* obj1
= 0 ;
25327 char *kwnames
[] = {
25328 (char *) "self",(char *) "sp", NULL
25331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ArrowHead_SetSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
25332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxArrowHead
,
25333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25334 arg2
= (double)SWIG_As_double(obj1
);
25335 if (PyErr_Occurred()) SWIG_fail
;
25337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25338 (arg1
)->SetSpacing(arg2
);
25340 wxPyEndAllowThreads(__tstate
);
25341 if (PyErr_Occurred()) SWIG_fail
;
25343 Py_INCREF(Py_None
); resultobj
= Py_None
;
25350 static PyObject
* ArrowHead_swigregister(PyObject
*, PyObject
*args
) {
25352 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25353 SWIG_TypeClientData(SWIGTYPE_p_wxArrowHead
, obj
);
25355 return Py_BuildValue((char *)"");
25357 static PyObject
*_wrap_new_PyLineShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25358 PyObject
*resultobj
;
25359 wxPyLineShape
*result
;
25360 char *kwnames
[] = {
25364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyLineShape",kwnames
)) goto fail
;
25366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25367 result
= (wxPyLineShape
*)new wxPyLineShape();
25369 wxPyEndAllowThreads(__tstate
);
25370 if (PyErr_Occurred()) SWIG_fail
;
25372 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyLineShape
, 1);
25379 static PyObject
*_wrap_PyLineShape__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25380 PyObject
*resultobj
;
25381 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25382 PyObject
*arg2
= (PyObject
*) 0 ;
25383 PyObject
*arg3
= (PyObject
*) 0 ;
25384 PyObject
* obj0
= 0 ;
25385 PyObject
* obj1
= 0 ;
25386 PyObject
* obj2
= 0 ;
25387 char *kwnames
[] = {
25388 (char *) "self",(char *) "self",(char *) "_class", NULL
25391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLineShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25398 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25400 wxPyEndAllowThreads(__tstate
);
25401 if (PyErr_Occurred()) SWIG_fail
;
25403 Py_INCREF(Py_None
); resultobj
= Py_None
;
25410 static PyObject
*_wrap_PyLineShape_AddArrow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25411 PyObject
*resultobj
;
25412 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25414 int arg3
= (int) ARROW_POSITION_END
;
25415 double arg4
= (double) 10.0 ;
25416 double arg5
= (double) 0.0 ;
25417 wxString
const &arg6_defvalue
= wxPyEmptyString
;
25418 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
25419 wxPseudoMetaFile
*arg7
= (wxPseudoMetaFile
*) NULL
;
25420 long arg8
= (long) -1 ;
25421 bool temp6
= false ;
25422 PyObject
* obj0
= 0 ;
25423 PyObject
* obj1
= 0 ;
25424 PyObject
* obj2
= 0 ;
25425 PyObject
* obj3
= 0 ;
25426 PyObject
* obj4
= 0 ;
25427 PyObject
* obj5
= 0 ;
25428 PyObject
* obj6
= 0 ;
25429 PyObject
* obj7
= 0 ;
25430 char *kwnames
[] = {
25431 (char *) "self",(char *) "type",(char *) "end",(char *) "arrowSize",(char *) "xOffset",(char *) "name",(char *) "mf",(char *) "arrowId", NULL
25434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:PyLineShape_AddArrow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
25435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25437 arg2
= (int)SWIG_As_int(obj1
);
25438 if (PyErr_Occurred()) SWIG_fail
;
25440 arg3
= (int)SWIG_As_int(obj2
);
25441 if (PyErr_Occurred()) SWIG_fail
;
25444 arg4
= (double)SWIG_As_double(obj3
);
25445 if (PyErr_Occurred()) SWIG_fail
;
25448 arg5
= (double)SWIG_As_double(obj4
);
25449 if (PyErr_Occurred()) SWIG_fail
;
25453 arg6
= wxString_in_helper(obj5
);
25454 if (arg6
== NULL
) SWIG_fail
;
25459 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxPseudoMetaFile
,
25460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25463 arg8
= (long)SWIG_As_long(obj7
);
25464 if (PyErr_Occurred()) SWIG_fail
;
25467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25468 (arg1
)->AddArrow(arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
,arg8
);
25470 wxPyEndAllowThreads(__tstate
);
25471 if (PyErr_Occurred()) SWIG_fail
;
25473 Py_INCREF(Py_None
); resultobj
= Py_None
;
25488 static PyObject
*_wrap_PyLineShape_AddArrowOrdered(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25489 PyObject
*resultobj
;
25490 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25491 wxArrowHead
*arg2
= (wxArrowHead
*) 0 ;
25492 PyObject
*arg3
= (PyObject
*) 0 ;
25494 PyObject
* obj0
= 0 ;
25495 PyObject
* obj1
= 0 ;
25496 PyObject
* obj2
= 0 ;
25497 PyObject
* obj3
= 0 ;
25498 char *kwnames
[] = {
25499 (char *) "self",(char *) "arrow",(char *) "referenceList",(char *) "end", NULL
25502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyLineShape_AddArrowOrdered",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25505 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxArrowHead
,
25506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25508 arg4
= (int)SWIG_As_int(obj3
);
25509 if (PyErr_Occurred()) SWIG_fail
;
25511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25512 wxPyLineShape_AddArrowOrdered(arg1
,arg2
,arg3
,arg4
);
25514 wxPyEndAllowThreads(__tstate
);
25515 if (PyErr_Occurred()) SWIG_fail
;
25517 Py_INCREF(Py_None
); resultobj
= Py_None
;
25524 static PyObject
*_wrap_PyLineShape_ClearArrow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25525 PyObject
*resultobj
;
25526 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25527 wxString
*arg2
= 0 ;
25529 bool temp2
= false ;
25530 PyObject
* obj0
= 0 ;
25531 PyObject
* obj1
= 0 ;
25532 char *kwnames
[] = {
25533 (char *) "self",(char *) "name", NULL
25536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_ClearArrow",kwnames
,&obj0
,&obj1
)) goto fail
;
25537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25540 arg2
= wxString_in_helper(obj1
);
25541 if (arg2
== NULL
) SWIG_fail
;
25545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25546 result
= (bool)(arg1
)->ClearArrow((wxString
const &)*arg2
);
25548 wxPyEndAllowThreads(__tstate
);
25549 if (PyErr_Occurred()) SWIG_fail
;
25552 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25568 static PyObject
*_wrap_PyLineShape_ClearArrowsAtPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25569 PyObject
*resultobj
;
25570 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25571 int arg2
= (int) -1 ;
25572 PyObject
* obj0
= 0 ;
25573 PyObject
* obj1
= 0 ;
25574 char *kwnames
[] = {
25575 (char *) "self",(char *) "position", NULL
25578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyLineShape_ClearArrowsAtPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
25579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25582 arg2
= (int)SWIG_As_int(obj1
);
25583 if (PyErr_Occurred()) SWIG_fail
;
25586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25587 (arg1
)->ClearArrowsAtPosition(arg2
);
25589 wxPyEndAllowThreads(__tstate
);
25590 if (PyErr_Occurred()) SWIG_fail
;
25592 Py_INCREF(Py_None
); resultobj
= Py_None
;
25599 static PyObject
*_wrap_PyLineShape_DrawArrow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25600 PyObject
*resultobj
;
25601 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25603 wxArrowHead
*arg3
= (wxArrowHead
*) 0 ;
25606 PyObject
* obj0
= 0 ;
25607 PyObject
* obj1
= 0 ;
25608 PyObject
* obj2
= 0 ;
25609 PyObject
* obj3
= 0 ;
25610 PyObject
* obj4
= 0 ;
25611 char *kwnames
[] = {
25612 (char *) "self",(char *) "dc",(char *) "arrow",(char *) "xOffset",(char *) "proportionalOffset", NULL
25615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyLineShape_DrawArrow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
25616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25618 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
25619 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25621 if (arg2
== NULL
) {
25622 PyErr_SetString(PyExc_TypeError
,"null reference");
25625 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxArrowHead
,
25626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25627 arg4
= (double)SWIG_As_double(obj3
);
25628 if (PyErr_Occurred()) SWIG_fail
;
25629 arg5
= (bool)SWIG_As_bool(obj4
);
25630 if (PyErr_Occurred()) SWIG_fail
;
25632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25633 (arg1
)->DrawArrow(*arg2
,arg3
,arg4
,arg5
);
25635 wxPyEndAllowThreads(__tstate
);
25636 if (PyErr_Occurred()) SWIG_fail
;
25638 Py_INCREF(Py_None
); resultobj
= Py_None
;
25645 static PyObject
*_wrap_PyLineShape_DeleteArrowHeadId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25646 PyObject
*resultobj
;
25647 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25650 PyObject
* obj0
= 0 ;
25651 PyObject
* obj1
= 0 ;
25652 char *kwnames
[] = {
25653 (char *) "self",(char *) "arrowId", NULL
25656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_DeleteArrowHeadId",kwnames
,&obj0
,&obj1
)) goto fail
;
25657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25659 arg2
= (long)SWIG_As_long(obj1
);
25660 if (PyErr_Occurred()) SWIG_fail
;
25662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25663 result
= (bool)(arg1
)->DeleteArrowHead(arg2
);
25665 wxPyEndAllowThreads(__tstate
);
25666 if (PyErr_Occurred()) SWIG_fail
;
25669 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25677 static PyObject
*_wrap_PyLineShape_DeleteArrowHead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25678 PyObject
*resultobj
;
25679 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25681 wxString
*arg3
= 0 ;
25683 bool temp3
= false ;
25684 PyObject
* obj0
= 0 ;
25685 PyObject
* obj1
= 0 ;
25686 PyObject
* obj2
= 0 ;
25687 char *kwnames
[] = {
25688 (char *) "self",(char *) "position",(char *) "name", NULL
25691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLineShape_DeleteArrowHead",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25694 arg2
= (int)SWIG_As_int(obj1
);
25695 if (PyErr_Occurred()) SWIG_fail
;
25697 arg3
= wxString_in_helper(obj2
);
25698 if (arg3
== NULL
) SWIG_fail
;
25702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25703 result
= (bool)(arg1
)->DeleteArrowHead(arg2
,(wxString
const &)*arg3
);
25705 wxPyEndAllowThreads(__tstate
);
25706 if (PyErr_Occurred()) SWIG_fail
;
25709 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25725 static PyObject
*_wrap_PyLineShape_DeleteLineControlPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25726 PyObject
*resultobj
;
25727 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25729 PyObject
* obj0
= 0 ;
25730 char *kwnames
[] = {
25731 (char *) "self", NULL
25734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_DeleteLineControlPoint",kwnames
,&obj0
)) goto fail
;
25735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25739 result
= (bool)(arg1
)->DeleteLineControlPoint();
25741 wxPyEndAllowThreads(__tstate
);
25742 if (PyErr_Occurred()) SWIG_fail
;
25745 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25753 static PyObject
*_wrap_PyLineShape_DrawArrows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25754 PyObject
*resultobj
;
25755 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25757 PyObject
* obj0
= 0 ;
25758 PyObject
* obj1
= 0 ;
25759 char *kwnames
[] = {
25760 (char *) "self",(char *) "dc", NULL
25763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_DrawArrows",kwnames
,&obj0
,&obj1
)) goto fail
;
25764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25766 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
25767 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25769 if (arg2
== NULL
) {
25770 PyErr_SetString(PyExc_TypeError
,"null reference");
25774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25775 (arg1
)->DrawArrows(*arg2
);
25777 wxPyEndAllowThreads(__tstate
);
25778 if (PyErr_Occurred()) SWIG_fail
;
25780 Py_INCREF(Py_None
); resultobj
= Py_None
;
25787 static PyObject
*_wrap_PyLineShape_DrawRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25788 PyObject
*resultobj
;
25789 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25791 wxShapeRegion
*arg3
= (wxShapeRegion
*) 0 ;
25794 PyObject
* obj0
= 0 ;
25795 PyObject
* obj1
= 0 ;
25796 PyObject
* obj2
= 0 ;
25797 PyObject
* obj3
= 0 ;
25798 PyObject
* obj4
= 0 ;
25799 char *kwnames
[] = {
25800 (char *) "self",(char *) "dc",(char *) "region",(char *) "x",(char *) "y", NULL
25803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyLineShape_DrawRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
25804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25806 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
25807 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25809 if (arg2
== NULL
) {
25810 PyErr_SetString(PyExc_TypeError
,"null reference");
25813 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxShapeRegion
,
25814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25815 arg4
= (double)SWIG_As_double(obj3
);
25816 if (PyErr_Occurred()) SWIG_fail
;
25817 arg5
= (double)SWIG_As_double(obj4
);
25818 if (PyErr_Occurred()) SWIG_fail
;
25820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25821 (arg1
)->DrawRegion(*arg2
,arg3
,arg4
,arg5
);
25823 wxPyEndAllowThreads(__tstate
);
25824 if (PyErr_Occurred()) SWIG_fail
;
25826 Py_INCREF(Py_None
); resultobj
= Py_None
;
25833 static PyObject
*_wrap_PyLineShape_EraseRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25834 PyObject
*resultobj
;
25835 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25837 wxShapeRegion
*arg3
= (wxShapeRegion
*) 0 ;
25840 PyObject
* obj0
= 0 ;
25841 PyObject
* obj1
= 0 ;
25842 PyObject
* obj2
= 0 ;
25843 PyObject
* obj3
= 0 ;
25844 PyObject
* obj4
= 0 ;
25845 char *kwnames
[] = {
25846 (char *) "self",(char *) "dc",(char *) "region",(char *) "x",(char *) "y", NULL
25849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyLineShape_EraseRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
25850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25852 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
25853 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25855 if (arg2
== NULL
) {
25856 PyErr_SetString(PyExc_TypeError
,"null reference");
25859 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxShapeRegion
,
25860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25861 arg4
= (double)SWIG_As_double(obj3
);
25862 if (PyErr_Occurred()) SWIG_fail
;
25863 arg5
= (double)SWIG_As_double(obj4
);
25864 if (PyErr_Occurred()) SWIG_fail
;
25866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25867 (arg1
)->EraseRegion(*arg2
,arg3
,arg4
,arg5
);
25869 wxPyEndAllowThreads(__tstate
);
25870 if (PyErr_Occurred()) SWIG_fail
;
25872 Py_INCREF(Py_None
); resultobj
= Py_None
;
25879 static PyObject
*_wrap_PyLineShape_FindArrowHeadId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25880 PyObject
*resultobj
;
25881 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25883 wxArrowHead
*result
;
25884 PyObject
* obj0
= 0 ;
25885 PyObject
* obj1
= 0 ;
25886 char *kwnames
[] = {
25887 (char *) "self",(char *) "arrowId", NULL
25890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_FindArrowHeadId",kwnames
,&obj0
,&obj1
)) goto fail
;
25891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25893 arg2
= (long)SWIG_As_long(obj1
);
25894 if (PyErr_Occurred()) SWIG_fail
;
25896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25897 result
= (wxArrowHead
*)(arg1
)->FindArrowHead(arg2
);
25899 wxPyEndAllowThreads(__tstate
);
25900 if (PyErr_Occurred()) SWIG_fail
;
25903 resultobj
= wxPyMake_wxObject(result
, 0);
25911 static PyObject
*_wrap_PyLineShape_FindArrowHead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25912 PyObject
*resultobj
;
25913 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25915 wxString
*arg3
= 0 ;
25916 wxArrowHead
*result
;
25917 bool temp3
= false ;
25918 PyObject
* obj0
= 0 ;
25919 PyObject
* obj1
= 0 ;
25920 PyObject
* obj2
= 0 ;
25921 char *kwnames
[] = {
25922 (char *) "self",(char *) "position",(char *) "name", NULL
25925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLineShape_FindArrowHead",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25928 arg2
= (int)SWIG_As_int(obj1
);
25929 if (PyErr_Occurred()) SWIG_fail
;
25931 arg3
= wxString_in_helper(obj2
);
25932 if (arg3
== NULL
) SWIG_fail
;
25936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25937 result
= (wxArrowHead
*)(arg1
)->FindArrowHead(arg2
,(wxString
const &)*arg3
);
25939 wxPyEndAllowThreads(__tstate
);
25940 if (PyErr_Occurred()) SWIG_fail
;
25943 resultobj
= wxPyMake_wxObject(result
, 0);
25959 static PyObject
*_wrap_PyLineShape_FindLineEndPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25960 PyObject
*resultobj
;
25961 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25962 double *arg2
= (double *) 0 ;
25963 double *arg3
= (double *) 0 ;
25964 double *arg4
= (double *) 0 ;
25965 double *arg5
= (double *) 0 ;
25974 PyObject
* obj0
= 0 ;
25975 char *kwnames
[] = {
25976 (char *) "self", NULL
25979 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
25980 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
25981 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
25982 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
25983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_FindLineEndPoints",kwnames
,&obj0
)) goto fail
;
25984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25988 (arg1
)->FindLineEndPoints(arg2
,arg3
,arg4
,arg5
);
25990 wxPyEndAllowThreads(__tstate
);
25991 if (PyErr_Occurred()) SWIG_fail
;
25993 Py_INCREF(Py_None
); resultobj
= Py_None
;
25994 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
25995 SWIG_From_double((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, 0)));
25996 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
25997 SWIG_From_double((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, 0)));
25998 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
25999 SWIG_From_double((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_double
, 0)));
26000 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
26001 SWIG_From_double((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_double
, 0)));
26008 static PyObject
*_wrap_PyLineShape_FindLinePosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26009 PyObject
*resultobj
;
26010 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26014 PyObject
* obj0
= 0 ;
26015 PyObject
* obj1
= 0 ;
26016 PyObject
* obj2
= 0 ;
26017 char *kwnames
[] = {
26018 (char *) "self",(char *) "x",(char *) "y", NULL
26021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLineShape_FindLinePosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26024 arg2
= (double)SWIG_As_double(obj1
);
26025 if (PyErr_Occurred()) SWIG_fail
;
26026 arg3
= (double)SWIG_As_double(obj2
);
26027 if (PyErr_Occurred()) SWIG_fail
;
26029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26030 result
= (int)(arg1
)->FindLinePosition(arg2
,arg3
);
26032 wxPyEndAllowThreads(__tstate
);
26033 if (PyErr_Occurred()) SWIG_fail
;
26035 resultobj
= SWIG_From_int((int)result
);
26042 static PyObject
*_wrap_PyLineShape_FindMinimumWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26043 PyObject
*resultobj
;
26044 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26046 PyObject
* obj0
= 0 ;
26047 char *kwnames
[] = {
26048 (char *) "self", NULL
26051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_FindMinimumWidth",kwnames
,&obj0
)) goto fail
;
26052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26056 result
= (double)(arg1
)->FindMinimumWidth();
26058 wxPyEndAllowThreads(__tstate
);
26059 if (PyErr_Occurred()) SWIG_fail
;
26061 resultobj
= SWIG_From_double((double)result
);
26068 static PyObject
*_wrap_PyLineShape_FindNth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26069 PyObject
*resultobj
;
26070 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26071 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
26072 int *arg3
= (int *) 0 ;
26073 int *arg4
= (int *) 0 ;
26079 PyObject
* obj0
= 0 ;
26080 PyObject
* obj1
= 0 ;
26081 PyObject
* obj2
= 0 ;
26082 char *kwnames
[] = {
26083 (char *) "self",(char *) "image",(char *) "incoming", NULL
26086 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
26087 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
26088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLineShape_FindNth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26091 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
26092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26093 arg5
= (bool)SWIG_As_bool(obj2
);
26094 if (PyErr_Occurred()) SWIG_fail
;
26096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26097 (arg1
)->FindNth(arg2
,arg3
,arg4
,arg5
);
26099 wxPyEndAllowThreads(__tstate
);
26100 if (PyErr_Occurred()) SWIG_fail
;
26102 Py_INCREF(Py_None
); resultobj
= Py_None
;
26103 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
26104 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
26105 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
26106 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
26113 static PyObject
*_wrap_PyLineShape_GetAttachmentFrom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26114 PyObject
*resultobj
;
26115 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26117 PyObject
* obj0
= 0 ;
26118 char *kwnames
[] = {
26119 (char *) "self", NULL
26122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_GetAttachmentFrom",kwnames
,&obj0
)) goto fail
;
26123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26127 result
= (int)(arg1
)->GetAttachmentFrom();
26129 wxPyEndAllowThreads(__tstate
);
26130 if (PyErr_Occurred()) SWIG_fail
;
26132 resultobj
= SWIG_From_int((int)result
);
26139 static PyObject
*_wrap_PyLineShape_GetAttachmentTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26140 PyObject
*resultobj
;
26141 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26143 PyObject
* obj0
= 0 ;
26144 char *kwnames
[] = {
26145 (char *) "self", NULL
26148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_GetAttachmentTo",kwnames
,&obj0
)) goto fail
;
26149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26153 result
= (int)(arg1
)->GetAttachmentTo();
26155 wxPyEndAllowThreads(__tstate
);
26156 if (PyErr_Occurred()) SWIG_fail
;
26158 resultobj
= SWIG_From_int((int)result
);
26165 static PyObject
*_wrap_PyLineShape_GetEnds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26166 PyObject
*resultobj
;
26167 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26168 double *arg2
= (double *) 0 ;
26169 double *arg3
= (double *) 0 ;
26170 double *arg4
= (double *) 0 ;
26171 double *arg5
= (double *) 0 ;
26180 PyObject
* obj0
= 0 ;
26181 char *kwnames
[] = {
26182 (char *) "self", NULL
26185 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
26186 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
26187 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
26188 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
26189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_GetEnds",kwnames
,&obj0
)) goto fail
;
26190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26194 (arg1
)->GetEnds(arg2
,arg3
,arg4
,arg5
);
26196 wxPyEndAllowThreads(__tstate
);
26197 if (PyErr_Occurred()) SWIG_fail
;
26199 Py_INCREF(Py_None
); resultobj
= Py_None
;
26200 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
26201 SWIG_From_double((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, 0)));
26202 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
26203 SWIG_From_double((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, 0)));
26204 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
26205 SWIG_From_double((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_double
, 0)));
26206 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
26207 SWIG_From_double((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_double
, 0)));
26214 static PyObject
*_wrap_PyLineShape_GetFrom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26215 PyObject
*resultobj
;
26216 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26218 PyObject
* obj0
= 0 ;
26219 char *kwnames
[] = {
26220 (char *) "self", NULL
26223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_GetFrom",kwnames
,&obj0
)) goto fail
;
26224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26228 result
= (wxPyShape
*)(arg1
)->GetFrom();
26230 wxPyEndAllowThreads(__tstate
);
26231 if (PyErr_Occurred()) SWIG_fail
;
26234 resultobj
= wxPyMake_wxShapeEvtHandler(result
, 0);
26242 static PyObject
*_wrap_PyLineShape_GetLabelPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26243 PyObject
*resultobj
;
26244 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26246 double *arg3
= (double *) 0 ;
26247 double *arg4
= (double *) 0 ;
26252 PyObject
* obj0
= 0 ;
26253 PyObject
* obj1
= 0 ;
26254 char *kwnames
[] = {
26255 (char *) "self",(char *) "position", NULL
26258 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
26259 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
26260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_GetLabelPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
26261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26263 arg2
= (int)SWIG_As_int(obj1
);
26264 if (PyErr_Occurred()) SWIG_fail
;
26266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26267 (arg1
)->GetLabelPosition(arg2
,arg3
,arg4
);
26269 wxPyEndAllowThreads(__tstate
);
26270 if (PyErr_Occurred()) SWIG_fail
;
26272 Py_INCREF(Py_None
); resultobj
= Py_None
;
26273 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
26274 SWIG_From_double((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, 0)));
26275 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
26276 SWIG_From_double((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_double
, 0)));
26283 static PyObject
*_wrap_PyLineShape_GetNextControlPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26284 PyObject
*resultobj
;
26285 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26286 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
26287 wxRealPoint
*result
;
26288 PyObject
* obj0
= 0 ;
26289 PyObject
* obj1
= 0 ;
26290 char *kwnames
[] = {
26291 (char *) "self",(char *) "shape", NULL
26294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_GetNextControlPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
26295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26297 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
26298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26301 result
= (wxRealPoint
*)(arg1
)->GetNextControlPoint(arg2
);
26303 wxPyEndAllowThreads(__tstate
);
26304 if (PyErr_Occurred()) SWIG_fail
;
26306 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRealPoint
, 0);
26313 static PyObject
*_wrap_PyLineShape_GetTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26314 PyObject
*resultobj
;
26315 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26317 PyObject
* obj0
= 0 ;
26318 char *kwnames
[] = {
26319 (char *) "self", NULL
26322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_GetTo",kwnames
,&obj0
)) goto fail
;
26323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26327 result
= (wxPyShape
*)(arg1
)->GetTo();
26329 wxPyEndAllowThreads(__tstate
);
26330 if (PyErr_Occurred()) SWIG_fail
;
26333 resultobj
= wxPyMake_wxShapeEvtHandler(result
, 0);
26341 static PyObject
*_wrap_PyLineShape_Initialise(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26342 PyObject
*resultobj
;
26343 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26344 PyObject
* obj0
= 0 ;
26345 char *kwnames
[] = {
26346 (char *) "self", NULL
26349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_Initialise",kwnames
,&obj0
)) goto fail
;
26350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26354 (arg1
)->Initialise();
26356 wxPyEndAllowThreads(__tstate
);
26357 if (PyErr_Occurred()) SWIG_fail
;
26359 Py_INCREF(Py_None
); resultobj
= Py_None
;
26366 static PyObject
*_wrap_PyLineShape_InsertLineControlPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26367 PyObject
*resultobj
;
26368 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26369 wxDC
*arg2
= (wxDC
*) 0 ;
26370 PyObject
* obj0
= 0 ;
26371 PyObject
* obj1
= 0 ;
26372 char *kwnames
[] = {
26373 (char *) "self",(char *) "dc", NULL
26376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_InsertLineControlPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
26377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26379 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
26380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26383 (arg1
)->InsertLineControlPoint(arg2
);
26385 wxPyEndAllowThreads(__tstate
);
26386 if (PyErr_Occurred()) SWIG_fail
;
26388 Py_INCREF(Py_None
); resultobj
= Py_None
;
26395 static PyObject
*_wrap_PyLineShape_IsEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26396 PyObject
*resultobj
;
26397 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26398 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
26400 PyObject
* obj0
= 0 ;
26401 PyObject
* obj1
= 0 ;
26402 char *kwnames
[] = {
26403 (char *) "self",(char *) "shape", NULL
26406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_IsEnd",kwnames
,&obj0
,&obj1
)) goto fail
;
26407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26409 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
26410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26413 result
= (bool)(arg1
)->IsEnd(arg2
);
26415 wxPyEndAllowThreads(__tstate
);
26416 if (PyErr_Occurred()) SWIG_fail
;
26419 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26427 static PyObject
*_wrap_PyLineShape_IsSpline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26428 PyObject
*resultobj
;
26429 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26431 PyObject
* obj0
= 0 ;
26432 char *kwnames
[] = {
26433 (char *) "self", NULL
26436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_IsSpline",kwnames
,&obj0
)) goto fail
;
26437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26441 result
= (bool)(arg1
)->IsSpline();
26443 wxPyEndAllowThreads(__tstate
);
26444 if (PyErr_Occurred()) SWIG_fail
;
26447 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26455 static PyObject
*_wrap_PyLineShape_MakeLineControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26456 PyObject
*resultobj
;
26457 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26459 PyObject
* obj0
= 0 ;
26460 PyObject
* obj1
= 0 ;
26461 char *kwnames
[] = {
26462 (char *) "self",(char *) "n", NULL
26465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_MakeLineControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
26466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26468 arg2
= (int)SWIG_As_int(obj1
);
26469 if (PyErr_Occurred()) SWIG_fail
;
26471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26472 (arg1
)->MakeLineControlPoints(arg2
);
26474 wxPyEndAllowThreads(__tstate
);
26475 if (PyErr_Occurred()) SWIG_fail
;
26477 Py_INCREF(Py_None
); resultobj
= Py_None
;
26484 static PyObject
*_wrap_PyLineShape_GetLineControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26485 PyObject
*resultobj
;
26486 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26488 PyObject
* obj0
= 0 ;
26489 char *kwnames
[] = {
26490 (char *) "self", NULL
26493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_GetLineControlPoints",kwnames
,&obj0
)) goto fail
;
26494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26498 result
= (PyObject
*)wxPyLineShape_GetLineControlPoints(arg1
);
26500 wxPyEndAllowThreads(__tstate
);
26501 if (PyErr_Occurred()) SWIG_fail
;
26503 resultobj
= result
;
26510 static PyObject
*_wrap_PyLineShape_SetLineControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26511 PyObject
*resultobj
;
26512 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26513 PyObject
*arg2
= (PyObject
*) 0 ;
26514 PyObject
* obj0
= 0 ;
26515 PyObject
* obj1
= 0 ;
26516 char *kwnames
[] = {
26517 (char *) "self",(char *) "list", NULL
26520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_SetLineControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
26521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26526 wxPyLineShape_SetLineControlPoints(arg1
,arg2
);
26528 wxPyEndAllowThreads(__tstate
);
26529 if (PyErr_Occurred()) SWIG_fail
;
26531 Py_INCREF(Py_None
); resultobj
= Py_None
;
26538 static PyObject
*_wrap_PyLineShape_SetAttachmentFrom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26539 PyObject
*resultobj
;
26540 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26542 PyObject
* obj0
= 0 ;
26543 PyObject
* obj1
= 0 ;
26544 char *kwnames
[] = {
26545 (char *) "self",(char *) "fromAttach", NULL
26548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_SetAttachmentFrom",kwnames
,&obj0
,&obj1
)) goto fail
;
26549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26551 arg2
= (int)SWIG_As_int(obj1
);
26552 if (PyErr_Occurred()) SWIG_fail
;
26554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26555 (arg1
)->SetAttachmentFrom(arg2
);
26557 wxPyEndAllowThreads(__tstate
);
26558 if (PyErr_Occurred()) SWIG_fail
;
26560 Py_INCREF(Py_None
); resultobj
= Py_None
;
26567 static PyObject
*_wrap_PyLineShape_SetAttachments(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26568 PyObject
*resultobj
;
26569 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26572 PyObject
* obj0
= 0 ;
26573 PyObject
* obj1
= 0 ;
26574 PyObject
* obj2
= 0 ;
26575 char *kwnames
[] = {
26576 (char *) "self",(char *) "fromAttach",(char *) "toAttach", NULL
26579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLineShape_SetAttachments",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26582 arg2
= (int)SWIG_As_int(obj1
);
26583 if (PyErr_Occurred()) SWIG_fail
;
26584 arg3
= (int)SWIG_As_int(obj2
);
26585 if (PyErr_Occurred()) SWIG_fail
;
26587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26588 (arg1
)->SetAttachments(arg2
,arg3
);
26590 wxPyEndAllowThreads(__tstate
);
26591 if (PyErr_Occurred()) SWIG_fail
;
26593 Py_INCREF(Py_None
); resultobj
= Py_None
;
26600 static PyObject
*_wrap_PyLineShape_SetAttachmentTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26601 PyObject
*resultobj
;
26602 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26604 PyObject
* obj0
= 0 ;
26605 PyObject
* obj1
= 0 ;
26606 char *kwnames
[] = {
26607 (char *) "self",(char *) "toAttach", NULL
26610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_SetAttachmentTo",kwnames
,&obj0
,&obj1
)) goto fail
;
26611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26613 arg2
= (int)SWIG_As_int(obj1
);
26614 if (PyErr_Occurred()) SWIG_fail
;
26616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26617 (arg1
)->SetAttachmentTo(arg2
);
26619 wxPyEndAllowThreads(__tstate
);
26620 if (PyErr_Occurred()) SWIG_fail
;
26622 Py_INCREF(Py_None
); resultobj
= Py_None
;
26629 static PyObject
*_wrap_PyLineShape_SetEnds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26630 PyObject
*resultobj
;
26631 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26636 PyObject
* obj0
= 0 ;
26637 PyObject
* obj1
= 0 ;
26638 PyObject
* obj2
= 0 ;
26639 PyObject
* obj3
= 0 ;
26640 PyObject
* obj4
= 0 ;
26641 char *kwnames
[] = {
26642 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
26645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyLineShape_SetEnds",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26648 arg2
= (double)SWIG_As_double(obj1
);
26649 if (PyErr_Occurred()) SWIG_fail
;
26650 arg3
= (double)SWIG_As_double(obj2
);
26651 if (PyErr_Occurred()) SWIG_fail
;
26652 arg4
= (double)SWIG_As_double(obj3
);
26653 if (PyErr_Occurred()) SWIG_fail
;
26654 arg5
= (double)SWIG_As_double(obj4
);
26655 if (PyErr_Occurred()) SWIG_fail
;
26657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26658 (arg1
)->SetEnds(arg2
,arg3
,arg4
,arg5
);
26660 wxPyEndAllowThreads(__tstate
);
26661 if (PyErr_Occurred()) SWIG_fail
;
26663 Py_INCREF(Py_None
); resultobj
= Py_None
;
26670 static PyObject
*_wrap_PyLineShape_SetFrom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26671 PyObject
*resultobj
;
26672 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26673 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
26674 PyObject
* obj0
= 0 ;
26675 PyObject
* obj1
= 0 ;
26676 char *kwnames
[] = {
26677 (char *) "self",(char *) "object", NULL
26680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_SetFrom",kwnames
,&obj0
,&obj1
)) goto fail
;
26681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26683 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
26684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26687 (arg1
)->SetFrom(arg2
);
26689 wxPyEndAllowThreads(__tstate
);
26690 if (PyErr_Occurred()) SWIG_fail
;
26692 Py_INCREF(Py_None
); resultobj
= Py_None
;
26699 static PyObject
*_wrap_PyLineShape_SetIgnoreOffsets(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26700 PyObject
*resultobj
;
26701 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26703 PyObject
* obj0
= 0 ;
26704 PyObject
* obj1
= 0 ;
26705 char *kwnames
[] = {
26706 (char *) "self",(char *) "ignore", NULL
26709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_SetIgnoreOffsets",kwnames
,&obj0
,&obj1
)) goto fail
;
26710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26712 arg2
= (bool)SWIG_As_bool(obj1
);
26713 if (PyErr_Occurred()) SWIG_fail
;
26715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26716 (arg1
)->SetIgnoreOffsets(arg2
);
26718 wxPyEndAllowThreads(__tstate
);
26719 if (PyErr_Occurred()) SWIG_fail
;
26721 Py_INCREF(Py_None
); resultobj
= Py_None
;
26728 static PyObject
*_wrap_PyLineShape_SetSpline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26729 PyObject
*resultobj
;
26730 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26732 PyObject
* obj0
= 0 ;
26733 PyObject
* obj1
= 0 ;
26734 char *kwnames
[] = {
26735 (char *) "self",(char *) "spline", NULL
26738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_SetSpline",kwnames
,&obj0
,&obj1
)) goto fail
;
26739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26741 arg2
= (bool)SWIG_As_bool(obj1
);
26742 if (PyErr_Occurred()) SWIG_fail
;
26744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26745 (arg1
)->SetSpline(arg2
);
26747 wxPyEndAllowThreads(__tstate
);
26748 if (PyErr_Occurred()) SWIG_fail
;
26750 Py_INCREF(Py_None
); resultobj
= Py_None
;
26757 static PyObject
*_wrap_PyLineShape_SetTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26758 PyObject
*resultobj
;
26759 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26760 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
26761 PyObject
* obj0
= 0 ;
26762 PyObject
* obj1
= 0 ;
26763 char *kwnames
[] = {
26764 (char *) "self",(char *) "object", NULL
26767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_SetTo",kwnames
,&obj0
,&obj1
)) goto fail
;
26768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26770 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
26771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26774 (arg1
)->SetTo(arg2
);
26776 wxPyEndAllowThreads(__tstate
);
26777 if (PyErr_Occurred()) SWIG_fail
;
26779 Py_INCREF(Py_None
); resultobj
= Py_None
;
26786 static PyObject
*_wrap_PyLineShape_Straighten(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26787 PyObject
*resultobj
;
26788 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26789 wxDC
*arg2
= (wxDC
*) NULL
;
26790 PyObject
* obj0
= 0 ;
26791 PyObject
* obj1
= 0 ;
26792 char *kwnames
[] = {
26793 (char *) "self",(char *) "dc", NULL
26796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyLineShape_Straighten",kwnames
,&obj0
,&obj1
)) goto fail
;
26797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26800 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
26801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26805 (arg1
)->Straighten(arg2
);
26807 wxPyEndAllowThreads(__tstate
);
26808 if (PyErr_Occurred()) SWIG_fail
;
26810 Py_INCREF(Py_None
); resultobj
= Py_None
;
26817 static PyObject
*_wrap_PyLineShape_Unlink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26818 PyObject
*resultobj
;
26819 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26820 PyObject
* obj0
= 0 ;
26821 char *kwnames
[] = {
26822 (char *) "self", NULL
26825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_Unlink",kwnames
,&obj0
)) goto fail
;
26826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26832 wxPyEndAllowThreads(__tstate
);
26833 if (PyErr_Occurred()) SWIG_fail
;
26835 Py_INCREF(Py_None
); resultobj
= Py_None
;
26842 static PyObject
*_wrap_PyLineShape_SetAlignmentOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26843 PyObject
*resultobj
;
26844 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26847 PyObject
* obj0
= 0 ;
26848 PyObject
* obj1
= 0 ;
26849 PyObject
* obj2
= 0 ;
26850 char *kwnames
[] = {
26851 (char *) "self",(char *) "isEnd",(char *) "isHoriz", NULL
26854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLineShape_SetAlignmentOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26857 arg2
= (bool)SWIG_As_bool(obj1
);
26858 if (PyErr_Occurred()) SWIG_fail
;
26859 arg3
= (bool)SWIG_As_bool(obj2
);
26860 if (PyErr_Occurred()) SWIG_fail
;
26862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26863 (arg1
)->SetAlignmentOrientation(arg2
,arg3
);
26865 wxPyEndAllowThreads(__tstate
);
26866 if (PyErr_Occurred()) SWIG_fail
;
26868 Py_INCREF(Py_None
); resultobj
= Py_None
;
26875 static PyObject
*_wrap_PyLineShape_SetAlignmentType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26876 PyObject
*resultobj
;
26877 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26880 PyObject
* obj0
= 0 ;
26881 PyObject
* obj1
= 0 ;
26882 PyObject
* obj2
= 0 ;
26883 char *kwnames
[] = {
26884 (char *) "self",(char *) "isEnd",(char *) "alignType", NULL
26887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLineShape_SetAlignmentType",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26890 arg2
= (bool)SWIG_As_bool(obj1
);
26891 if (PyErr_Occurred()) SWIG_fail
;
26892 arg3
= (int)SWIG_As_int(obj2
);
26893 if (PyErr_Occurred()) SWIG_fail
;
26895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26896 (arg1
)->SetAlignmentType(arg2
,arg3
);
26898 wxPyEndAllowThreads(__tstate
);
26899 if (PyErr_Occurred()) SWIG_fail
;
26901 Py_INCREF(Py_None
); resultobj
= Py_None
;
26908 static PyObject
*_wrap_PyLineShape_GetAlignmentOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26909 PyObject
*resultobj
;
26910 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26913 PyObject
* obj0
= 0 ;
26914 PyObject
* obj1
= 0 ;
26915 char *kwnames
[] = {
26916 (char *) "self",(char *) "isEnd", NULL
26919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_GetAlignmentOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
26920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26922 arg2
= (bool)SWIG_As_bool(obj1
);
26923 if (PyErr_Occurred()) SWIG_fail
;
26925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26926 result
= (bool)(arg1
)->GetAlignmentOrientation(arg2
);
26928 wxPyEndAllowThreads(__tstate
);
26929 if (PyErr_Occurred()) SWIG_fail
;
26932 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26940 static PyObject
*_wrap_PyLineShape_GetAlignmentType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26941 PyObject
*resultobj
;
26942 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26945 PyObject
* obj0
= 0 ;
26946 PyObject
* obj1
= 0 ;
26947 char *kwnames
[] = {
26948 (char *) "self",(char *) "isEnd", NULL
26951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_GetAlignmentType",kwnames
,&obj0
,&obj1
)) goto fail
;
26952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26954 arg2
= (bool)SWIG_As_bool(obj1
);
26955 if (PyErr_Occurred()) SWIG_fail
;
26957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26958 result
= (int)(arg1
)->GetAlignmentType(arg2
);
26960 wxPyEndAllowThreads(__tstate
);
26961 if (PyErr_Occurred()) SWIG_fail
;
26963 resultobj
= SWIG_From_int((int)result
);
26970 static PyObject
*_wrap_PyLineShape_GetAlignmentStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26971 PyObject
*resultobj
;
26972 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26974 PyObject
* obj0
= 0 ;
26975 char *kwnames
[] = {
26976 (char *) "self", NULL
26979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_GetAlignmentStart",kwnames
,&obj0
)) goto fail
;
26980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26984 result
= (int)((wxPyLineShape
const *)arg1
)->GetAlignmentStart();
26986 wxPyEndAllowThreads(__tstate
);
26987 if (PyErr_Occurred()) SWIG_fail
;
26989 resultobj
= SWIG_From_int((int)result
);
26996 static PyObject
*_wrap_PyLineShape_GetAlignmentEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26997 PyObject
*resultobj
;
26998 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27000 PyObject
* obj0
= 0 ;
27001 char *kwnames
[] = {
27002 (char *) "self", NULL
27005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_GetAlignmentEnd",kwnames
,&obj0
)) goto fail
;
27006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27010 result
= (int)((wxPyLineShape
const *)arg1
)->GetAlignmentEnd();
27012 wxPyEndAllowThreads(__tstate
);
27013 if (PyErr_Occurred()) SWIG_fail
;
27015 resultobj
= SWIG_From_int((int)result
);
27022 static PyObject
*_wrap_PyLineShape_base_OnDraw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27023 PyObject
*resultobj
;
27024 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27026 PyObject
* obj0
= 0 ;
27027 PyObject
* obj1
= 0 ;
27028 char *kwnames
[] = {
27029 (char *) "self",(char *) "dc", NULL
27032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
27033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27035 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
27036 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27038 if (arg2
== NULL
) {
27039 PyErr_SetString(PyExc_TypeError
,"null reference");
27043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27044 (arg1
)->base_OnDraw(*arg2
);
27046 wxPyEndAllowThreads(__tstate
);
27047 if (PyErr_Occurred()) SWIG_fail
;
27049 Py_INCREF(Py_None
); resultobj
= Py_None
;
27056 static PyObject
*_wrap_PyLineShape_base_OnDrawContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27057 PyObject
*resultobj
;
27058 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27060 PyObject
* obj0
= 0 ;
27061 PyObject
* obj1
= 0 ;
27062 char *kwnames
[] = {
27063 (char *) "self",(char *) "dc", NULL
27066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
27067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27069 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
27070 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27072 if (arg2
== NULL
) {
27073 PyErr_SetString(PyExc_TypeError
,"null reference");
27077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27078 (arg1
)->base_OnDrawContents(*arg2
);
27080 wxPyEndAllowThreads(__tstate
);
27081 if (PyErr_Occurred()) SWIG_fail
;
27083 Py_INCREF(Py_None
); resultobj
= Py_None
;
27090 static PyObject
*_wrap_PyLineShape_base_OnDrawBranches(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27091 PyObject
*resultobj
;
27092 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27094 bool arg3
= (bool) FALSE
;
27095 PyObject
* obj0
= 0 ;
27096 PyObject
* obj1
= 0 ;
27097 PyObject
* obj2
= 0 ;
27098 char *kwnames
[] = {
27099 (char *) "self",(char *) "dc",(char *) "erase", NULL
27102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyLineShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27105 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
27106 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27108 if (arg2
== NULL
) {
27109 PyErr_SetString(PyExc_TypeError
,"null reference");
27113 arg3
= (bool)SWIG_As_bool(obj2
);
27114 if (PyErr_Occurred()) SWIG_fail
;
27117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27118 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
27120 wxPyEndAllowThreads(__tstate
);
27121 if (PyErr_Occurred()) SWIG_fail
;
27123 Py_INCREF(Py_None
); resultobj
= Py_None
;
27130 static PyObject
*_wrap_PyLineShape_base_OnMoveLinks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27131 PyObject
*resultobj
;
27132 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27134 PyObject
* obj0
= 0 ;
27135 PyObject
* obj1
= 0 ;
27136 char *kwnames
[] = {
27137 (char *) "self",(char *) "dc", NULL
27140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
27141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27143 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
27144 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27146 if (arg2
== NULL
) {
27147 PyErr_SetString(PyExc_TypeError
,"null reference");
27151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27152 (arg1
)->base_OnMoveLinks(*arg2
);
27154 wxPyEndAllowThreads(__tstate
);
27155 if (PyErr_Occurred()) SWIG_fail
;
27157 Py_INCREF(Py_None
); resultobj
= Py_None
;
27164 static PyObject
*_wrap_PyLineShape_base_OnErase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27165 PyObject
*resultobj
;
27166 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27168 PyObject
* obj0
= 0 ;
27169 PyObject
* obj1
= 0 ;
27170 char *kwnames
[] = {
27171 (char *) "self",(char *) "dc", NULL
27174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
27175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27177 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
27178 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27180 if (arg2
== NULL
) {
27181 PyErr_SetString(PyExc_TypeError
,"null reference");
27185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27186 (arg1
)->base_OnErase(*arg2
);
27188 wxPyEndAllowThreads(__tstate
);
27189 if (PyErr_Occurred()) SWIG_fail
;
27191 Py_INCREF(Py_None
); resultobj
= Py_None
;
27198 static PyObject
*_wrap_PyLineShape_base_OnEraseContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27199 PyObject
*resultobj
;
27200 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27202 PyObject
* obj0
= 0 ;
27203 PyObject
* obj1
= 0 ;
27204 char *kwnames
[] = {
27205 (char *) "self",(char *) "dc", NULL
27208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
27209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27211 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
27212 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27214 if (arg2
== NULL
) {
27215 PyErr_SetString(PyExc_TypeError
,"null reference");
27219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27220 (arg1
)->base_OnEraseContents(*arg2
);
27222 wxPyEndAllowThreads(__tstate
);
27223 if (PyErr_Occurred()) SWIG_fail
;
27225 Py_INCREF(Py_None
); resultobj
= Py_None
;
27232 static PyObject
*_wrap_PyLineShape_base_OnHighlight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27233 PyObject
*resultobj
;
27234 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27236 PyObject
* obj0
= 0 ;
27237 PyObject
* obj1
= 0 ;
27238 char *kwnames
[] = {
27239 (char *) "self",(char *) "dc", NULL
27242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
27243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27245 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
27246 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27248 if (arg2
== NULL
) {
27249 PyErr_SetString(PyExc_TypeError
,"null reference");
27253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27254 (arg1
)->base_OnHighlight(*arg2
);
27256 wxPyEndAllowThreads(__tstate
);
27257 if (PyErr_Occurred()) SWIG_fail
;
27259 Py_INCREF(Py_None
); resultobj
= Py_None
;
27266 static PyObject
*_wrap_PyLineShape_base_OnLeftClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27267 PyObject
*resultobj
;
27268 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27271 int arg4
= (int) 0 ;
27272 int arg5
= (int) 0 ;
27273 PyObject
* obj0
= 0 ;
27274 PyObject
* obj1
= 0 ;
27275 PyObject
* obj2
= 0 ;
27276 PyObject
* obj3
= 0 ;
27277 PyObject
* obj4
= 0 ;
27278 char *kwnames
[] = {
27279 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyLineShape_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27285 arg2
= (double)SWIG_As_double(obj1
);
27286 if (PyErr_Occurred()) SWIG_fail
;
27287 arg3
= (double)SWIG_As_double(obj2
);
27288 if (PyErr_Occurred()) SWIG_fail
;
27290 arg4
= (int)SWIG_As_int(obj3
);
27291 if (PyErr_Occurred()) SWIG_fail
;
27294 arg5
= (int)SWIG_As_int(obj4
);
27295 if (PyErr_Occurred()) SWIG_fail
;
27298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27299 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
27301 wxPyEndAllowThreads(__tstate
);
27302 if (PyErr_Occurred()) SWIG_fail
;
27304 Py_INCREF(Py_None
); resultobj
= Py_None
;
27311 static PyObject
*_wrap_PyLineShape_base_OnLeftDoubleClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27312 PyObject
*resultobj
;
27313 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27316 int arg4
= (int) 0 ;
27317 int arg5
= (int) 0 ;
27318 PyObject
* obj0
= 0 ;
27319 PyObject
* obj1
= 0 ;
27320 PyObject
* obj2
= 0 ;
27321 PyObject
* obj3
= 0 ;
27322 PyObject
* obj4
= 0 ;
27323 char *kwnames
[] = {
27324 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyLineShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27330 arg2
= (double)SWIG_As_double(obj1
);
27331 if (PyErr_Occurred()) SWIG_fail
;
27332 arg3
= (double)SWIG_As_double(obj2
);
27333 if (PyErr_Occurred()) SWIG_fail
;
27335 arg4
= (int)SWIG_As_int(obj3
);
27336 if (PyErr_Occurred()) SWIG_fail
;
27339 arg5
= (int)SWIG_As_int(obj4
);
27340 if (PyErr_Occurred()) SWIG_fail
;
27343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27344 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
27346 wxPyEndAllowThreads(__tstate
);
27347 if (PyErr_Occurred()) SWIG_fail
;
27349 Py_INCREF(Py_None
); resultobj
= Py_None
;
27356 static PyObject
*_wrap_PyLineShape_base_OnRightClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27357 PyObject
*resultobj
;
27358 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27361 int arg4
= (int) 0 ;
27362 int arg5
= (int) 0 ;
27363 PyObject
* obj0
= 0 ;
27364 PyObject
* obj1
= 0 ;
27365 PyObject
* obj2
= 0 ;
27366 PyObject
* obj3
= 0 ;
27367 PyObject
* obj4
= 0 ;
27368 char *kwnames
[] = {
27369 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyLineShape_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27375 arg2
= (double)SWIG_As_double(obj1
);
27376 if (PyErr_Occurred()) SWIG_fail
;
27377 arg3
= (double)SWIG_As_double(obj2
);
27378 if (PyErr_Occurred()) SWIG_fail
;
27380 arg4
= (int)SWIG_As_int(obj3
);
27381 if (PyErr_Occurred()) SWIG_fail
;
27384 arg5
= (int)SWIG_As_int(obj4
);
27385 if (PyErr_Occurred()) SWIG_fail
;
27388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27389 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
27391 wxPyEndAllowThreads(__tstate
);
27392 if (PyErr_Occurred()) SWIG_fail
;
27394 Py_INCREF(Py_None
); resultobj
= Py_None
;
27401 static PyObject
*_wrap_PyLineShape_base_OnSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27402 PyObject
*resultobj
;
27403 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27406 PyObject
* obj0
= 0 ;
27407 PyObject
* obj1
= 0 ;
27408 PyObject
* obj2
= 0 ;
27409 char *kwnames
[] = {
27410 (char *) "self",(char *) "x",(char *) "y", NULL
27413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLineShape_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27416 arg2
= (double)SWIG_As_double(obj1
);
27417 if (PyErr_Occurred()) SWIG_fail
;
27418 arg3
= (double)SWIG_As_double(obj2
);
27419 if (PyErr_Occurred()) SWIG_fail
;
27421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27422 (arg1
)->base_OnSize(arg2
,arg3
);
27424 wxPyEndAllowThreads(__tstate
);
27425 if (PyErr_Occurred()) SWIG_fail
;
27427 Py_INCREF(Py_None
); resultobj
= Py_None
;
27434 static PyObject
*_wrap_PyLineShape_base_OnMovePre(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27435 PyObject
*resultobj
;
27436 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27442 bool arg7
= (bool) true ;
27444 PyObject
* obj0
= 0 ;
27445 PyObject
* obj1
= 0 ;
27446 PyObject
* obj2
= 0 ;
27447 PyObject
* obj3
= 0 ;
27448 PyObject
* obj4
= 0 ;
27449 PyObject
* obj5
= 0 ;
27450 PyObject
* obj6
= 0 ;
27451 char *kwnames
[] = {
27452 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
27455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyLineShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27458 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
27459 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27461 if (arg2
== NULL
) {
27462 PyErr_SetString(PyExc_TypeError
,"null reference");
27465 arg3
= (double)SWIG_As_double(obj2
);
27466 if (PyErr_Occurred()) SWIG_fail
;
27467 arg4
= (double)SWIG_As_double(obj3
);
27468 if (PyErr_Occurred()) SWIG_fail
;
27469 arg5
= (double)SWIG_As_double(obj4
);
27470 if (PyErr_Occurred()) SWIG_fail
;
27471 arg6
= (double)SWIG_As_double(obj5
);
27472 if (PyErr_Occurred()) SWIG_fail
;
27474 arg7
= (bool)SWIG_As_bool(obj6
);
27475 if (PyErr_Occurred()) SWIG_fail
;
27478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27479 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
27481 wxPyEndAllowThreads(__tstate
);
27482 if (PyErr_Occurred()) SWIG_fail
;
27485 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27493 static PyObject
*_wrap_PyLineShape_base_OnMovePost(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27494 PyObject
*resultobj
;
27495 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27501 bool arg7
= (bool) true ;
27502 PyObject
* obj0
= 0 ;
27503 PyObject
* obj1
= 0 ;
27504 PyObject
* obj2
= 0 ;
27505 PyObject
* obj3
= 0 ;
27506 PyObject
* obj4
= 0 ;
27507 PyObject
* obj5
= 0 ;
27508 PyObject
* obj6
= 0 ;
27509 char *kwnames
[] = {
27510 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
27513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyLineShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27516 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
27517 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27519 if (arg2
== NULL
) {
27520 PyErr_SetString(PyExc_TypeError
,"null reference");
27523 arg3
= (double)SWIG_As_double(obj2
);
27524 if (PyErr_Occurred()) SWIG_fail
;
27525 arg4
= (double)SWIG_As_double(obj3
);
27526 if (PyErr_Occurred()) SWIG_fail
;
27527 arg5
= (double)SWIG_As_double(obj4
);
27528 if (PyErr_Occurred()) SWIG_fail
;
27529 arg6
= (double)SWIG_As_double(obj5
);
27530 if (PyErr_Occurred()) SWIG_fail
;
27532 arg7
= (bool)SWIG_As_bool(obj6
);
27533 if (PyErr_Occurred()) SWIG_fail
;
27536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27537 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
27539 wxPyEndAllowThreads(__tstate
);
27540 if (PyErr_Occurred()) SWIG_fail
;
27542 Py_INCREF(Py_None
); resultobj
= Py_None
;
27549 static PyObject
*_wrap_PyLineShape_base_OnDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27550 PyObject
*resultobj
;
27551 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27555 int arg5
= (int) 0 ;
27556 int arg6
= (int) 0 ;
27557 PyObject
* obj0
= 0 ;
27558 PyObject
* obj1
= 0 ;
27559 PyObject
* obj2
= 0 ;
27560 PyObject
* obj3
= 0 ;
27561 PyObject
* obj4
= 0 ;
27562 PyObject
* obj5
= 0 ;
27563 char *kwnames
[] = {
27564 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyLineShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27570 arg2
= (bool)SWIG_As_bool(obj1
);
27571 if (PyErr_Occurred()) SWIG_fail
;
27572 arg3
= (double)SWIG_As_double(obj2
);
27573 if (PyErr_Occurred()) SWIG_fail
;
27574 arg4
= (double)SWIG_As_double(obj3
);
27575 if (PyErr_Occurred()) SWIG_fail
;
27577 arg5
= (int)SWIG_As_int(obj4
);
27578 if (PyErr_Occurred()) SWIG_fail
;
27581 arg6
= (int)SWIG_As_int(obj5
);
27582 if (PyErr_Occurred()) SWIG_fail
;
27585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27586 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
27588 wxPyEndAllowThreads(__tstate
);
27589 if (PyErr_Occurred()) SWIG_fail
;
27591 Py_INCREF(Py_None
); resultobj
= Py_None
;
27598 static PyObject
*_wrap_PyLineShape_base_OnBeginDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27599 PyObject
*resultobj
;
27600 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27603 int arg4
= (int) 0 ;
27604 int arg5
= (int) 0 ;
27605 PyObject
* obj0
= 0 ;
27606 PyObject
* obj1
= 0 ;
27607 PyObject
* obj2
= 0 ;
27608 PyObject
* obj3
= 0 ;
27609 PyObject
* obj4
= 0 ;
27610 char *kwnames
[] = {
27611 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyLineShape_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27617 arg2
= (double)SWIG_As_double(obj1
);
27618 if (PyErr_Occurred()) SWIG_fail
;
27619 arg3
= (double)SWIG_As_double(obj2
);
27620 if (PyErr_Occurred()) SWIG_fail
;
27622 arg4
= (int)SWIG_As_int(obj3
);
27623 if (PyErr_Occurred()) SWIG_fail
;
27626 arg5
= (int)SWIG_As_int(obj4
);
27627 if (PyErr_Occurred()) SWIG_fail
;
27630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27631 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
27633 wxPyEndAllowThreads(__tstate
);
27634 if (PyErr_Occurred()) SWIG_fail
;
27636 Py_INCREF(Py_None
); resultobj
= Py_None
;
27643 static PyObject
*_wrap_PyLineShape_base_OnEndDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27644 PyObject
*resultobj
;
27645 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27648 int arg4
= (int) 0 ;
27649 int arg5
= (int) 0 ;
27650 PyObject
* obj0
= 0 ;
27651 PyObject
* obj1
= 0 ;
27652 PyObject
* obj2
= 0 ;
27653 PyObject
* obj3
= 0 ;
27654 PyObject
* obj4
= 0 ;
27655 char *kwnames
[] = {
27656 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyLineShape_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27662 arg2
= (double)SWIG_As_double(obj1
);
27663 if (PyErr_Occurred()) SWIG_fail
;
27664 arg3
= (double)SWIG_As_double(obj2
);
27665 if (PyErr_Occurred()) SWIG_fail
;
27667 arg4
= (int)SWIG_As_int(obj3
);
27668 if (PyErr_Occurred()) SWIG_fail
;
27671 arg5
= (int)SWIG_As_int(obj4
);
27672 if (PyErr_Occurred()) SWIG_fail
;
27675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27676 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
27678 wxPyEndAllowThreads(__tstate
);
27679 if (PyErr_Occurred()) SWIG_fail
;
27681 Py_INCREF(Py_None
); resultobj
= Py_None
;
27688 static PyObject
*_wrap_PyLineShape_base_OnDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27689 PyObject
*resultobj
;
27690 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27694 int arg5
= (int) 0 ;
27695 int arg6
= (int) 0 ;
27696 PyObject
* obj0
= 0 ;
27697 PyObject
* obj1
= 0 ;
27698 PyObject
* obj2
= 0 ;
27699 PyObject
* obj3
= 0 ;
27700 PyObject
* obj4
= 0 ;
27701 PyObject
* obj5
= 0 ;
27702 char *kwnames
[] = {
27703 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyLineShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27709 arg2
= (bool)SWIG_As_bool(obj1
);
27710 if (PyErr_Occurred()) SWIG_fail
;
27711 arg3
= (double)SWIG_As_double(obj2
);
27712 if (PyErr_Occurred()) SWIG_fail
;
27713 arg4
= (double)SWIG_As_double(obj3
);
27714 if (PyErr_Occurred()) SWIG_fail
;
27716 arg5
= (int)SWIG_As_int(obj4
);
27717 if (PyErr_Occurred()) SWIG_fail
;
27720 arg6
= (int)SWIG_As_int(obj5
);
27721 if (PyErr_Occurred()) SWIG_fail
;
27724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27725 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
27727 wxPyEndAllowThreads(__tstate
);
27728 if (PyErr_Occurred()) SWIG_fail
;
27730 Py_INCREF(Py_None
); resultobj
= Py_None
;
27737 static PyObject
*_wrap_PyLineShape_base_OnBeginDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27738 PyObject
*resultobj
;
27739 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27742 int arg4
= (int) 0 ;
27743 int arg5
= (int) 0 ;
27744 PyObject
* obj0
= 0 ;
27745 PyObject
* obj1
= 0 ;
27746 PyObject
* obj2
= 0 ;
27747 PyObject
* obj3
= 0 ;
27748 PyObject
* obj4
= 0 ;
27749 char *kwnames
[] = {
27750 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyLineShape_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27756 arg2
= (double)SWIG_As_double(obj1
);
27757 if (PyErr_Occurred()) SWIG_fail
;
27758 arg3
= (double)SWIG_As_double(obj2
);
27759 if (PyErr_Occurred()) SWIG_fail
;
27761 arg4
= (int)SWIG_As_int(obj3
);
27762 if (PyErr_Occurred()) SWIG_fail
;
27765 arg5
= (int)SWIG_As_int(obj4
);
27766 if (PyErr_Occurred()) SWIG_fail
;
27769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27770 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
27772 wxPyEndAllowThreads(__tstate
);
27773 if (PyErr_Occurred()) SWIG_fail
;
27775 Py_INCREF(Py_None
); resultobj
= Py_None
;
27782 static PyObject
*_wrap_PyLineShape_base_OnEndDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27783 PyObject
*resultobj
;
27784 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27787 int arg4
= (int) 0 ;
27788 int arg5
= (int) 0 ;
27789 PyObject
* obj0
= 0 ;
27790 PyObject
* obj1
= 0 ;
27791 PyObject
* obj2
= 0 ;
27792 PyObject
* obj3
= 0 ;
27793 PyObject
* obj4
= 0 ;
27794 char *kwnames
[] = {
27795 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyLineShape_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27801 arg2
= (double)SWIG_As_double(obj1
);
27802 if (PyErr_Occurred()) SWIG_fail
;
27803 arg3
= (double)SWIG_As_double(obj2
);
27804 if (PyErr_Occurred()) SWIG_fail
;
27806 arg4
= (int)SWIG_As_int(obj3
);
27807 if (PyErr_Occurred()) SWIG_fail
;
27810 arg5
= (int)SWIG_As_int(obj4
);
27811 if (PyErr_Occurred()) SWIG_fail
;
27814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27815 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
27817 wxPyEndAllowThreads(__tstate
);
27818 if (PyErr_Occurred()) SWIG_fail
;
27820 Py_INCREF(Py_None
); resultobj
= Py_None
;
27827 static PyObject
*_wrap_PyLineShape_base_OnDrawOutline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27828 PyObject
*resultobj
;
27829 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27835 PyObject
* obj0
= 0 ;
27836 PyObject
* obj1
= 0 ;
27837 PyObject
* obj2
= 0 ;
27838 PyObject
* obj3
= 0 ;
27839 PyObject
* obj4
= 0 ;
27840 PyObject
* obj5
= 0 ;
27841 char *kwnames
[] = {
27842 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
27845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyLineShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27848 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
27849 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27851 if (arg2
== NULL
) {
27852 PyErr_SetString(PyExc_TypeError
,"null reference");
27855 arg3
= (double)SWIG_As_double(obj2
);
27856 if (PyErr_Occurred()) SWIG_fail
;
27857 arg4
= (double)SWIG_As_double(obj3
);
27858 if (PyErr_Occurred()) SWIG_fail
;
27859 arg5
= (double)SWIG_As_double(obj4
);
27860 if (PyErr_Occurred()) SWIG_fail
;
27861 arg6
= (double)SWIG_As_double(obj5
);
27862 if (PyErr_Occurred()) SWIG_fail
;
27864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27865 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
27867 wxPyEndAllowThreads(__tstate
);
27868 if (PyErr_Occurred()) SWIG_fail
;
27870 Py_INCREF(Py_None
); resultobj
= Py_None
;
27877 static PyObject
*_wrap_PyLineShape_base_OnDrawControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27878 PyObject
*resultobj
;
27879 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27881 PyObject
* obj0
= 0 ;
27882 PyObject
* obj1
= 0 ;
27883 char *kwnames
[] = {
27884 (char *) "self",(char *) "dc", NULL
27887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
27888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27890 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
27891 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27893 if (arg2
== NULL
) {
27894 PyErr_SetString(PyExc_TypeError
,"null reference");
27898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27899 (arg1
)->base_OnDrawControlPoints(*arg2
);
27901 wxPyEndAllowThreads(__tstate
);
27902 if (PyErr_Occurred()) SWIG_fail
;
27904 Py_INCREF(Py_None
); resultobj
= Py_None
;
27911 static PyObject
*_wrap_PyLineShape_base_OnEraseControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27912 PyObject
*resultobj
;
27913 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27915 PyObject
* obj0
= 0 ;
27916 PyObject
* obj1
= 0 ;
27917 char *kwnames
[] = {
27918 (char *) "self",(char *) "dc", NULL
27921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
27922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27924 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
27925 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27927 if (arg2
== NULL
) {
27928 PyErr_SetString(PyExc_TypeError
,"null reference");
27932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27933 (arg1
)->base_OnEraseControlPoints(*arg2
);
27935 wxPyEndAllowThreads(__tstate
);
27936 if (PyErr_Occurred()) SWIG_fail
;
27938 Py_INCREF(Py_None
); resultobj
= Py_None
;
27945 static PyObject
*_wrap_PyLineShape_base_OnMoveLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27946 PyObject
*resultobj
;
27947 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27949 bool arg3
= (bool) true ;
27950 PyObject
* obj0
= 0 ;
27951 PyObject
* obj1
= 0 ;
27952 PyObject
* obj2
= 0 ;
27953 char *kwnames
[] = {
27954 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
27957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyLineShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27960 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
27961 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27963 if (arg2
== NULL
) {
27964 PyErr_SetString(PyExc_TypeError
,"null reference");
27968 arg3
= (bool)SWIG_As_bool(obj2
);
27969 if (PyErr_Occurred()) SWIG_fail
;
27972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27973 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
27975 wxPyEndAllowThreads(__tstate
);
27976 if (PyErr_Occurred()) SWIG_fail
;
27978 Py_INCREF(Py_None
); resultobj
= Py_None
;
27985 static PyObject
*_wrap_PyLineShape_base_OnSizingDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27986 PyObject
*resultobj
;
27987 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27988 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
27992 int arg6
= (int) 0 ;
27993 int arg7
= (int) 0 ;
27994 PyObject
* obj0
= 0 ;
27995 PyObject
* obj1
= 0 ;
27996 PyObject
* obj2
= 0 ;
27997 PyObject
* obj3
= 0 ;
27998 PyObject
* obj4
= 0 ;
27999 PyObject
* obj5
= 0 ;
28000 PyObject
* obj6
= 0 ;
28001 char *kwnames
[] = {
28002 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
28005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyLineShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
28006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
28007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28008 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
28009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28010 arg3
= (bool)SWIG_As_bool(obj2
);
28011 if (PyErr_Occurred()) SWIG_fail
;
28012 arg4
= (double)SWIG_As_double(obj3
);
28013 if (PyErr_Occurred()) SWIG_fail
;
28014 arg5
= (double)SWIG_As_double(obj4
);
28015 if (PyErr_Occurred()) SWIG_fail
;
28017 arg6
= (int)SWIG_As_int(obj5
);
28018 if (PyErr_Occurred()) SWIG_fail
;
28021 arg7
= (int)SWIG_As_int(obj6
);
28022 if (PyErr_Occurred()) SWIG_fail
;
28025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28026 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
28028 wxPyEndAllowThreads(__tstate
);
28029 if (PyErr_Occurred()) SWIG_fail
;
28031 Py_INCREF(Py_None
); resultobj
= Py_None
;
28038 static PyObject
*_wrap_PyLineShape_base_OnSizingBeginDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28039 PyObject
*resultobj
;
28040 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
28041 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
28044 int arg5
= (int) 0 ;
28045 int arg6
= (int) 0 ;
28046 PyObject
* obj0
= 0 ;
28047 PyObject
* obj1
= 0 ;
28048 PyObject
* obj2
= 0 ;
28049 PyObject
* obj3
= 0 ;
28050 PyObject
* obj4
= 0 ;
28051 PyObject
* obj5
= 0 ;
28052 char *kwnames
[] = {
28053 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
28056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyLineShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
28057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
28058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28059 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
28060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28061 arg3
= (double)SWIG_As_double(obj2
);
28062 if (PyErr_Occurred()) SWIG_fail
;
28063 arg4
= (double)SWIG_As_double(obj3
);
28064 if (PyErr_Occurred()) SWIG_fail
;
28066 arg5
= (int)SWIG_As_int(obj4
);
28067 if (PyErr_Occurred()) SWIG_fail
;
28070 arg6
= (int)SWIG_As_int(obj5
);
28071 if (PyErr_Occurred()) SWIG_fail
;
28074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28075 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
28077 wxPyEndAllowThreads(__tstate
);
28078 if (PyErr_Occurred()) SWIG_fail
;
28080 Py_INCREF(Py_None
); resultobj
= Py_None
;
28087 static PyObject
*_wrap_PyLineShape_base_OnSizingEndDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28088 PyObject
*resultobj
;
28089 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
28090 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
28093 int arg5
= (int) 0 ;
28094 int arg6
= (int) 0 ;
28095 PyObject
* obj0
= 0 ;
28096 PyObject
* obj1
= 0 ;
28097 PyObject
* obj2
= 0 ;
28098 PyObject
* obj3
= 0 ;
28099 PyObject
* obj4
= 0 ;
28100 PyObject
* obj5
= 0 ;
28101 char *kwnames
[] = {
28102 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
28105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyLineShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
28106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
28107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28108 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
28109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28110 arg3
= (double)SWIG_As_double(obj2
);
28111 if (PyErr_Occurred()) SWIG_fail
;
28112 arg4
= (double)SWIG_As_double(obj3
);
28113 if (PyErr_Occurred()) SWIG_fail
;
28115 arg5
= (int)SWIG_As_int(obj4
);
28116 if (PyErr_Occurred()) SWIG_fail
;
28119 arg6
= (int)SWIG_As_int(obj5
);
28120 if (PyErr_Occurred()) SWIG_fail
;
28123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28124 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
28126 wxPyEndAllowThreads(__tstate
);
28127 if (PyErr_Occurred()) SWIG_fail
;
28129 Py_INCREF(Py_None
); resultobj
= Py_None
;
28136 static PyObject
*_wrap_PyLineShape_base_OnBeginSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28137 PyObject
*resultobj
;
28138 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
28141 PyObject
* obj0
= 0 ;
28142 PyObject
* obj1
= 0 ;
28143 PyObject
* obj2
= 0 ;
28144 char *kwnames
[] = {
28145 (char *) "self",(char *) "w",(char *) "h", NULL
28148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLineShape_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
28150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28151 arg2
= (double)SWIG_As_double(obj1
);
28152 if (PyErr_Occurred()) SWIG_fail
;
28153 arg3
= (double)SWIG_As_double(obj2
);
28154 if (PyErr_Occurred()) SWIG_fail
;
28156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28157 (arg1
)->base_OnBeginSize(arg2
,arg3
);
28159 wxPyEndAllowThreads(__tstate
);
28160 if (PyErr_Occurred()) SWIG_fail
;
28162 Py_INCREF(Py_None
); resultobj
= Py_None
;
28169 static PyObject
*_wrap_PyLineShape_base_OnEndSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28170 PyObject
*resultobj
;
28171 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
28174 PyObject
* obj0
= 0 ;
28175 PyObject
* obj1
= 0 ;
28176 PyObject
* obj2
= 0 ;
28177 char *kwnames
[] = {
28178 (char *) "self",(char *) "w",(char *) "h", NULL
28181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLineShape_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
28183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28184 arg2
= (double)SWIG_As_double(obj1
);
28185 if (PyErr_Occurred()) SWIG_fail
;
28186 arg3
= (double)SWIG_As_double(obj2
);
28187 if (PyErr_Occurred()) SWIG_fail
;
28189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28190 (arg1
)->base_OnEndSize(arg2
,arg3
);
28192 wxPyEndAllowThreads(__tstate
);
28193 if (PyErr_Occurred()) SWIG_fail
;
28195 Py_INCREF(Py_None
); resultobj
= Py_None
;
28202 static PyObject
* PyLineShape_swigregister(PyObject
*, PyObject
*args
) {
28204 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28205 SWIG_TypeClientData(SWIGTYPE_p_wxPyLineShape
, obj
);
28207 return Py_BuildValue((char *)"");
28209 static PyObject
*_wrap_new_PyPolygonShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28210 PyObject
*resultobj
;
28211 wxPyPolygonShape
*result
;
28212 char *kwnames
[] = {
28216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyPolygonShape",kwnames
)) goto fail
;
28218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28219 result
= (wxPyPolygonShape
*)new wxPyPolygonShape();
28221 wxPyEndAllowThreads(__tstate
);
28222 if (PyErr_Occurred()) SWIG_fail
;
28224 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPolygonShape
, 1);
28231 static PyObject
*_wrap_PyPolygonShape__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28232 PyObject
*resultobj
;
28233 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28234 PyObject
*arg2
= (PyObject
*) 0 ;
28235 PyObject
*arg3
= (PyObject
*) 0 ;
28236 PyObject
* obj0
= 0 ;
28237 PyObject
* obj1
= 0 ;
28238 PyObject
* obj2
= 0 ;
28239 char *kwnames
[] = {
28240 (char *) "self",(char *) "self",(char *) "_class", NULL
28243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPolygonShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28250 (arg1
)->_setCallbackInfo(arg2
,arg3
);
28252 wxPyEndAllowThreads(__tstate
);
28253 if (PyErr_Occurred()) SWIG_fail
;
28255 Py_INCREF(Py_None
); resultobj
= Py_None
;
28262 static PyObject
*_wrap_PyPolygonShape_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28263 PyObject
*resultobj
;
28264 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28265 PyObject
*arg2
= (PyObject
*) 0 ;
28267 PyObject
* obj0
= 0 ;
28268 PyObject
* obj1
= 0 ;
28269 char *kwnames
[] = {
28270 (char *) "self",(char *) "points", NULL
28273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_Create",kwnames
,&obj0
,&obj1
)) goto fail
;
28274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28279 result
= (PyObject
*)wxPyPolygonShape_Create(arg1
,arg2
);
28281 wxPyEndAllowThreads(__tstate
);
28282 if (PyErr_Occurred()) SWIG_fail
;
28284 resultobj
= result
;
28291 static PyObject
*_wrap_PyPolygonShape_AddPolygonPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28292 PyObject
*resultobj
;
28293 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28294 int arg2
= (int) 0 ;
28295 PyObject
* obj0
= 0 ;
28296 PyObject
* obj1
= 0 ;
28297 char *kwnames
[] = {
28298 (char *) "self",(char *) "pos", NULL
28301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyPolygonShape_AddPolygonPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
28302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28305 arg2
= (int)SWIG_As_int(obj1
);
28306 if (PyErr_Occurred()) SWIG_fail
;
28309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28310 (arg1
)->AddPolygonPoint(arg2
);
28312 wxPyEndAllowThreads(__tstate
);
28313 if (PyErr_Occurred()) SWIG_fail
;
28315 Py_INCREF(Py_None
); resultobj
= Py_None
;
28322 static PyObject
*_wrap_PyPolygonShape_CalculatePolygonCentre(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28323 PyObject
*resultobj
;
28324 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28325 PyObject
* obj0
= 0 ;
28326 char *kwnames
[] = {
28327 (char *) "self", NULL
28330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPolygonShape_CalculatePolygonCentre",kwnames
,&obj0
)) goto fail
;
28331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28335 (arg1
)->CalculatePolygonCentre();
28337 wxPyEndAllowThreads(__tstate
);
28338 if (PyErr_Occurred()) SWIG_fail
;
28340 Py_INCREF(Py_None
); resultobj
= Py_None
;
28347 static PyObject
*_wrap_PyPolygonShape_DeletePolygonPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28348 PyObject
*resultobj
;
28349 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28350 int arg2
= (int) 0 ;
28351 PyObject
* obj0
= 0 ;
28352 PyObject
* obj1
= 0 ;
28353 char *kwnames
[] = {
28354 (char *) "self",(char *) "pos", NULL
28357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyPolygonShape_DeletePolygonPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
28358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28361 arg2
= (int)SWIG_As_int(obj1
);
28362 if (PyErr_Occurred()) SWIG_fail
;
28365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28366 (arg1
)->DeletePolygonPoint(arg2
);
28368 wxPyEndAllowThreads(__tstate
);
28369 if (PyErr_Occurred()) SWIG_fail
;
28371 Py_INCREF(Py_None
); resultobj
= Py_None
;
28378 static PyObject
*_wrap_PyPolygonShape_GetPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28379 PyObject
*resultobj
;
28380 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28382 PyObject
* obj0
= 0 ;
28383 char *kwnames
[] = {
28384 (char *) "self", NULL
28387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPolygonShape_GetPoints",kwnames
,&obj0
)) goto fail
;
28388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28392 result
= (PyObject
*)wxPyPolygonShape_GetPoints(arg1
);
28394 wxPyEndAllowThreads(__tstate
);
28395 if (PyErr_Occurred()) SWIG_fail
;
28397 resultobj
= result
;
28404 static PyObject
*_wrap_PyPolygonShape_GetOriginalPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28405 PyObject
*resultobj
;
28406 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28408 PyObject
* obj0
= 0 ;
28409 char *kwnames
[] = {
28410 (char *) "self", NULL
28413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPolygonShape_GetOriginalPoints",kwnames
,&obj0
)) goto fail
;
28414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28418 result
= (PyObject
*)wxPyPolygonShape_GetOriginalPoints(arg1
);
28420 wxPyEndAllowThreads(__tstate
);
28421 if (PyErr_Occurred()) SWIG_fail
;
28423 resultobj
= result
;
28430 static PyObject
*_wrap_PyPolygonShape_GetOriginalWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28431 PyObject
*resultobj
;
28432 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28434 PyObject
* obj0
= 0 ;
28435 char *kwnames
[] = {
28436 (char *) "self", NULL
28439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPolygonShape_GetOriginalWidth",kwnames
,&obj0
)) goto fail
;
28440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28444 result
= (double)((wxPyPolygonShape
const *)arg1
)->GetOriginalWidth();
28446 wxPyEndAllowThreads(__tstate
);
28447 if (PyErr_Occurred()) SWIG_fail
;
28449 resultobj
= SWIG_From_double((double)result
);
28456 static PyObject
*_wrap_PyPolygonShape_GetOriginalHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28457 PyObject
*resultobj
;
28458 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28460 PyObject
* obj0
= 0 ;
28461 char *kwnames
[] = {
28462 (char *) "self", NULL
28465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPolygonShape_GetOriginalHeight",kwnames
,&obj0
)) goto fail
;
28466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28470 result
= (double)((wxPyPolygonShape
const *)arg1
)->GetOriginalHeight();
28472 wxPyEndAllowThreads(__tstate
);
28473 if (PyErr_Occurred()) SWIG_fail
;
28475 resultobj
= SWIG_From_double((double)result
);
28482 static PyObject
*_wrap_PyPolygonShape_SetOriginalWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28483 PyObject
*resultobj
;
28484 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28486 PyObject
* obj0
= 0 ;
28487 PyObject
* obj1
= 0 ;
28488 char *kwnames
[] = {
28489 (char *) "self",(char *) "w", NULL
28492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_SetOriginalWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
28493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28495 arg2
= (double)SWIG_As_double(obj1
);
28496 if (PyErr_Occurred()) SWIG_fail
;
28498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28499 (arg1
)->SetOriginalWidth(arg2
);
28501 wxPyEndAllowThreads(__tstate
);
28502 if (PyErr_Occurred()) SWIG_fail
;
28504 Py_INCREF(Py_None
); resultobj
= Py_None
;
28511 static PyObject
*_wrap_PyPolygonShape_SetOriginalHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28512 PyObject
*resultobj
;
28513 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28515 PyObject
* obj0
= 0 ;
28516 PyObject
* obj1
= 0 ;
28517 char *kwnames
[] = {
28518 (char *) "self",(char *) "h", NULL
28521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_SetOriginalHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
28522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28524 arg2
= (double)SWIG_As_double(obj1
);
28525 if (PyErr_Occurred()) SWIG_fail
;
28527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28528 (arg1
)->SetOriginalHeight(arg2
);
28530 wxPyEndAllowThreads(__tstate
);
28531 if (PyErr_Occurred()) SWIG_fail
;
28533 Py_INCREF(Py_None
); resultobj
= Py_None
;
28540 static PyObject
*_wrap_PyPolygonShape_UpdateOriginalPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28541 PyObject
*resultobj
;
28542 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28543 PyObject
* obj0
= 0 ;
28544 char *kwnames
[] = {
28545 (char *) "self", NULL
28548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPolygonShape_UpdateOriginalPoints",kwnames
,&obj0
)) goto fail
;
28549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28553 (arg1
)->UpdateOriginalPoints();
28555 wxPyEndAllowThreads(__tstate
);
28556 if (PyErr_Occurred()) SWIG_fail
;
28558 Py_INCREF(Py_None
); resultobj
= Py_None
;
28565 static PyObject
*_wrap_PyPolygonShape_base_OnDraw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28566 PyObject
*resultobj
;
28567 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28569 PyObject
* obj0
= 0 ;
28570 PyObject
* obj1
= 0 ;
28571 char *kwnames
[] = {
28572 (char *) "self",(char *) "dc", NULL
28575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
28576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28578 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
28579 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28581 if (arg2
== NULL
) {
28582 PyErr_SetString(PyExc_TypeError
,"null reference");
28586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28587 (arg1
)->base_OnDraw(*arg2
);
28589 wxPyEndAllowThreads(__tstate
);
28590 if (PyErr_Occurred()) SWIG_fail
;
28592 Py_INCREF(Py_None
); resultobj
= Py_None
;
28599 static PyObject
*_wrap_PyPolygonShape_base_OnDrawContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28600 PyObject
*resultobj
;
28601 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28603 PyObject
* obj0
= 0 ;
28604 PyObject
* obj1
= 0 ;
28605 char *kwnames
[] = {
28606 (char *) "self",(char *) "dc", NULL
28609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
28610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28612 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
28613 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28615 if (arg2
== NULL
) {
28616 PyErr_SetString(PyExc_TypeError
,"null reference");
28620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28621 (arg1
)->base_OnDrawContents(*arg2
);
28623 wxPyEndAllowThreads(__tstate
);
28624 if (PyErr_Occurred()) SWIG_fail
;
28626 Py_INCREF(Py_None
); resultobj
= Py_None
;
28633 static PyObject
*_wrap_PyPolygonShape_base_OnDrawBranches(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28634 PyObject
*resultobj
;
28635 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28637 bool arg3
= (bool) FALSE
;
28638 PyObject
* obj0
= 0 ;
28639 PyObject
* obj1
= 0 ;
28640 PyObject
* obj2
= 0 ;
28641 char *kwnames
[] = {
28642 (char *) "self",(char *) "dc",(char *) "erase", NULL
28645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyPolygonShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28648 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
28649 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28651 if (arg2
== NULL
) {
28652 PyErr_SetString(PyExc_TypeError
,"null reference");
28656 arg3
= (bool)SWIG_As_bool(obj2
);
28657 if (PyErr_Occurred()) SWIG_fail
;
28660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28661 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
28663 wxPyEndAllowThreads(__tstate
);
28664 if (PyErr_Occurred()) SWIG_fail
;
28666 Py_INCREF(Py_None
); resultobj
= Py_None
;
28673 static PyObject
*_wrap_PyPolygonShape_base_OnMoveLinks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28674 PyObject
*resultobj
;
28675 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28677 PyObject
* obj0
= 0 ;
28678 PyObject
* obj1
= 0 ;
28679 char *kwnames
[] = {
28680 (char *) "self",(char *) "dc", NULL
28683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
28684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28686 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
28687 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28689 if (arg2
== NULL
) {
28690 PyErr_SetString(PyExc_TypeError
,"null reference");
28694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28695 (arg1
)->base_OnMoveLinks(*arg2
);
28697 wxPyEndAllowThreads(__tstate
);
28698 if (PyErr_Occurred()) SWIG_fail
;
28700 Py_INCREF(Py_None
); resultobj
= Py_None
;
28707 static PyObject
*_wrap_PyPolygonShape_base_OnErase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28708 PyObject
*resultobj
;
28709 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28711 PyObject
* obj0
= 0 ;
28712 PyObject
* obj1
= 0 ;
28713 char *kwnames
[] = {
28714 (char *) "self",(char *) "dc", NULL
28717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
28718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28720 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
28721 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28723 if (arg2
== NULL
) {
28724 PyErr_SetString(PyExc_TypeError
,"null reference");
28728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28729 (arg1
)->base_OnErase(*arg2
);
28731 wxPyEndAllowThreads(__tstate
);
28732 if (PyErr_Occurred()) SWIG_fail
;
28734 Py_INCREF(Py_None
); resultobj
= Py_None
;
28741 static PyObject
*_wrap_PyPolygonShape_base_OnEraseContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28742 PyObject
*resultobj
;
28743 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28745 PyObject
* obj0
= 0 ;
28746 PyObject
* obj1
= 0 ;
28747 char *kwnames
[] = {
28748 (char *) "self",(char *) "dc", NULL
28751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
28752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28754 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
28755 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28757 if (arg2
== NULL
) {
28758 PyErr_SetString(PyExc_TypeError
,"null reference");
28762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28763 (arg1
)->base_OnEraseContents(*arg2
);
28765 wxPyEndAllowThreads(__tstate
);
28766 if (PyErr_Occurred()) SWIG_fail
;
28768 Py_INCREF(Py_None
); resultobj
= Py_None
;
28775 static PyObject
*_wrap_PyPolygonShape_base_OnHighlight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28776 PyObject
*resultobj
;
28777 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28779 PyObject
* obj0
= 0 ;
28780 PyObject
* obj1
= 0 ;
28781 char *kwnames
[] = {
28782 (char *) "self",(char *) "dc", NULL
28785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
28786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28788 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
28789 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28791 if (arg2
== NULL
) {
28792 PyErr_SetString(PyExc_TypeError
,"null reference");
28796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28797 (arg1
)->base_OnHighlight(*arg2
);
28799 wxPyEndAllowThreads(__tstate
);
28800 if (PyErr_Occurred()) SWIG_fail
;
28802 Py_INCREF(Py_None
); resultobj
= Py_None
;
28809 static PyObject
*_wrap_PyPolygonShape_base_OnLeftClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28810 PyObject
*resultobj
;
28811 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28814 int arg4
= (int) 0 ;
28815 int arg5
= (int) 0 ;
28816 PyObject
* obj0
= 0 ;
28817 PyObject
* obj1
= 0 ;
28818 PyObject
* obj2
= 0 ;
28819 PyObject
* obj3
= 0 ;
28820 PyObject
* obj4
= 0 ;
28821 char *kwnames
[] = {
28822 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
28825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyPolygonShape_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28828 arg2
= (double)SWIG_As_double(obj1
);
28829 if (PyErr_Occurred()) SWIG_fail
;
28830 arg3
= (double)SWIG_As_double(obj2
);
28831 if (PyErr_Occurred()) SWIG_fail
;
28833 arg4
= (int)SWIG_As_int(obj3
);
28834 if (PyErr_Occurred()) SWIG_fail
;
28837 arg5
= (int)SWIG_As_int(obj4
);
28838 if (PyErr_Occurred()) SWIG_fail
;
28841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28842 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
28844 wxPyEndAllowThreads(__tstate
);
28845 if (PyErr_Occurred()) SWIG_fail
;
28847 Py_INCREF(Py_None
); resultobj
= Py_None
;
28854 static PyObject
*_wrap_PyPolygonShape_base_OnLeftDoubleClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28855 PyObject
*resultobj
;
28856 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28859 int arg4
= (int) 0 ;
28860 int arg5
= (int) 0 ;
28861 PyObject
* obj0
= 0 ;
28862 PyObject
* obj1
= 0 ;
28863 PyObject
* obj2
= 0 ;
28864 PyObject
* obj3
= 0 ;
28865 PyObject
* obj4
= 0 ;
28866 char *kwnames
[] = {
28867 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
28870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyPolygonShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28873 arg2
= (double)SWIG_As_double(obj1
);
28874 if (PyErr_Occurred()) SWIG_fail
;
28875 arg3
= (double)SWIG_As_double(obj2
);
28876 if (PyErr_Occurred()) SWIG_fail
;
28878 arg4
= (int)SWIG_As_int(obj3
);
28879 if (PyErr_Occurred()) SWIG_fail
;
28882 arg5
= (int)SWIG_As_int(obj4
);
28883 if (PyErr_Occurred()) SWIG_fail
;
28886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28887 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
28889 wxPyEndAllowThreads(__tstate
);
28890 if (PyErr_Occurred()) SWIG_fail
;
28892 Py_INCREF(Py_None
); resultobj
= Py_None
;
28899 static PyObject
*_wrap_PyPolygonShape_base_OnRightClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28900 PyObject
*resultobj
;
28901 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28904 int arg4
= (int) 0 ;
28905 int arg5
= (int) 0 ;
28906 PyObject
* obj0
= 0 ;
28907 PyObject
* obj1
= 0 ;
28908 PyObject
* obj2
= 0 ;
28909 PyObject
* obj3
= 0 ;
28910 PyObject
* obj4
= 0 ;
28911 char *kwnames
[] = {
28912 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
28915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyPolygonShape_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28918 arg2
= (double)SWIG_As_double(obj1
);
28919 if (PyErr_Occurred()) SWIG_fail
;
28920 arg3
= (double)SWIG_As_double(obj2
);
28921 if (PyErr_Occurred()) SWIG_fail
;
28923 arg4
= (int)SWIG_As_int(obj3
);
28924 if (PyErr_Occurred()) SWIG_fail
;
28927 arg5
= (int)SWIG_As_int(obj4
);
28928 if (PyErr_Occurred()) SWIG_fail
;
28931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28932 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
28934 wxPyEndAllowThreads(__tstate
);
28935 if (PyErr_Occurred()) SWIG_fail
;
28937 Py_INCREF(Py_None
); resultobj
= Py_None
;
28944 static PyObject
*_wrap_PyPolygonShape_base_OnSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28945 PyObject
*resultobj
;
28946 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28949 PyObject
* obj0
= 0 ;
28950 PyObject
* obj1
= 0 ;
28951 PyObject
* obj2
= 0 ;
28952 char *kwnames
[] = {
28953 (char *) "self",(char *) "x",(char *) "y", NULL
28956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPolygonShape_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28959 arg2
= (double)SWIG_As_double(obj1
);
28960 if (PyErr_Occurred()) SWIG_fail
;
28961 arg3
= (double)SWIG_As_double(obj2
);
28962 if (PyErr_Occurred()) SWIG_fail
;
28964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28965 (arg1
)->base_OnSize(arg2
,arg3
);
28967 wxPyEndAllowThreads(__tstate
);
28968 if (PyErr_Occurred()) SWIG_fail
;
28970 Py_INCREF(Py_None
); resultobj
= Py_None
;
28977 static PyObject
*_wrap_PyPolygonShape_base_OnMovePre(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28978 PyObject
*resultobj
;
28979 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28985 bool arg7
= (bool) true ;
28987 PyObject
* obj0
= 0 ;
28988 PyObject
* obj1
= 0 ;
28989 PyObject
* obj2
= 0 ;
28990 PyObject
* obj3
= 0 ;
28991 PyObject
* obj4
= 0 ;
28992 PyObject
* obj5
= 0 ;
28993 PyObject
* obj6
= 0 ;
28994 char *kwnames
[] = {
28995 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
28998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyPolygonShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
28999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
29000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29001 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
29002 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29004 if (arg2
== NULL
) {
29005 PyErr_SetString(PyExc_TypeError
,"null reference");
29008 arg3
= (double)SWIG_As_double(obj2
);
29009 if (PyErr_Occurred()) SWIG_fail
;
29010 arg4
= (double)SWIG_As_double(obj3
);
29011 if (PyErr_Occurred()) SWIG_fail
;
29012 arg5
= (double)SWIG_As_double(obj4
);
29013 if (PyErr_Occurred()) SWIG_fail
;
29014 arg6
= (double)SWIG_As_double(obj5
);
29015 if (PyErr_Occurred()) SWIG_fail
;
29017 arg7
= (bool)SWIG_As_bool(obj6
);
29018 if (PyErr_Occurred()) SWIG_fail
;
29021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29022 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
29024 wxPyEndAllowThreads(__tstate
);
29025 if (PyErr_Occurred()) SWIG_fail
;
29028 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29036 static PyObject
*_wrap_PyPolygonShape_base_OnMovePost(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29037 PyObject
*resultobj
;
29038 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29044 bool arg7
= (bool) true ;
29045 PyObject
* obj0
= 0 ;
29046 PyObject
* obj1
= 0 ;
29047 PyObject
* obj2
= 0 ;
29048 PyObject
* obj3
= 0 ;
29049 PyObject
* obj4
= 0 ;
29050 PyObject
* obj5
= 0 ;
29051 PyObject
* obj6
= 0 ;
29052 char *kwnames
[] = {
29053 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
29056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyPolygonShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
29057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
29058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29059 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
29060 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29062 if (arg2
== NULL
) {
29063 PyErr_SetString(PyExc_TypeError
,"null reference");
29066 arg3
= (double)SWIG_As_double(obj2
);
29067 if (PyErr_Occurred()) SWIG_fail
;
29068 arg4
= (double)SWIG_As_double(obj3
);
29069 if (PyErr_Occurred()) SWIG_fail
;
29070 arg5
= (double)SWIG_As_double(obj4
);
29071 if (PyErr_Occurred()) SWIG_fail
;
29072 arg6
= (double)SWIG_As_double(obj5
);
29073 if (PyErr_Occurred()) SWIG_fail
;
29075 arg7
= (bool)SWIG_As_bool(obj6
);
29076 if (PyErr_Occurred()) SWIG_fail
;
29079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29080 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
29082 wxPyEndAllowThreads(__tstate
);
29083 if (PyErr_Occurred()) SWIG_fail
;
29085 Py_INCREF(Py_None
); resultobj
= Py_None
;
29092 static PyObject
*_wrap_PyPolygonShape_base_OnDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29093 PyObject
*resultobj
;
29094 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29098 int arg5
= (int) 0 ;
29099 int arg6
= (int) 0 ;
29100 PyObject
* obj0
= 0 ;
29101 PyObject
* obj1
= 0 ;
29102 PyObject
* obj2
= 0 ;
29103 PyObject
* obj3
= 0 ;
29104 PyObject
* obj4
= 0 ;
29105 PyObject
* obj5
= 0 ;
29106 char *kwnames
[] = {
29107 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyPolygonShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
29112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29113 arg2
= (bool)SWIG_As_bool(obj1
);
29114 if (PyErr_Occurred()) SWIG_fail
;
29115 arg3
= (double)SWIG_As_double(obj2
);
29116 if (PyErr_Occurred()) SWIG_fail
;
29117 arg4
= (double)SWIG_As_double(obj3
);
29118 if (PyErr_Occurred()) SWIG_fail
;
29120 arg5
= (int)SWIG_As_int(obj4
);
29121 if (PyErr_Occurred()) SWIG_fail
;
29124 arg6
= (int)SWIG_As_int(obj5
);
29125 if (PyErr_Occurred()) SWIG_fail
;
29128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29129 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
29131 wxPyEndAllowThreads(__tstate
);
29132 if (PyErr_Occurred()) SWIG_fail
;
29134 Py_INCREF(Py_None
); resultobj
= Py_None
;
29141 static PyObject
*_wrap_PyPolygonShape_base_OnBeginDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29142 PyObject
*resultobj
;
29143 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29146 int arg4
= (int) 0 ;
29147 int arg5
= (int) 0 ;
29148 PyObject
* obj0
= 0 ;
29149 PyObject
* obj1
= 0 ;
29150 PyObject
* obj2
= 0 ;
29151 PyObject
* obj3
= 0 ;
29152 PyObject
* obj4
= 0 ;
29153 char *kwnames
[] = {
29154 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyPolygonShape_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
29159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29160 arg2
= (double)SWIG_As_double(obj1
);
29161 if (PyErr_Occurred()) SWIG_fail
;
29162 arg3
= (double)SWIG_As_double(obj2
);
29163 if (PyErr_Occurred()) SWIG_fail
;
29165 arg4
= (int)SWIG_As_int(obj3
);
29166 if (PyErr_Occurred()) SWIG_fail
;
29169 arg5
= (int)SWIG_As_int(obj4
);
29170 if (PyErr_Occurred()) SWIG_fail
;
29173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29174 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
29176 wxPyEndAllowThreads(__tstate
);
29177 if (PyErr_Occurred()) SWIG_fail
;
29179 Py_INCREF(Py_None
); resultobj
= Py_None
;
29186 static PyObject
*_wrap_PyPolygonShape_base_OnEndDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29187 PyObject
*resultobj
;
29188 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29191 int arg4
= (int) 0 ;
29192 int arg5
= (int) 0 ;
29193 PyObject
* obj0
= 0 ;
29194 PyObject
* obj1
= 0 ;
29195 PyObject
* obj2
= 0 ;
29196 PyObject
* obj3
= 0 ;
29197 PyObject
* obj4
= 0 ;
29198 char *kwnames
[] = {
29199 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyPolygonShape_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
29204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29205 arg2
= (double)SWIG_As_double(obj1
);
29206 if (PyErr_Occurred()) SWIG_fail
;
29207 arg3
= (double)SWIG_As_double(obj2
);
29208 if (PyErr_Occurred()) SWIG_fail
;
29210 arg4
= (int)SWIG_As_int(obj3
);
29211 if (PyErr_Occurred()) SWIG_fail
;
29214 arg5
= (int)SWIG_As_int(obj4
);
29215 if (PyErr_Occurred()) SWIG_fail
;
29218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29219 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
29221 wxPyEndAllowThreads(__tstate
);
29222 if (PyErr_Occurred()) SWIG_fail
;
29224 Py_INCREF(Py_None
); resultobj
= Py_None
;
29231 static PyObject
*_wrap_PyPolygonShape_base_OnDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29232 PyObject
*resultobj
;
29233 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29237 int arg5
= (int) 0 ;
29238 int arg6
= (int) 0 ;
29239 PyObject
* obj0
= 0 ;
29240 PyObject
* obj1
= 0 ;
29241 PyObject
* obj2
= 0 ;
29242 PyObject
* obj3
= 0 ;
29243 PyObject
* obj4
= 0 ;
29244 PyObject
* obj5
= 0 ;
29245 char *kwnames
[] = {
29246 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyPolygonShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
29251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29252 arg2
= (bool)SWIG_As_bool(obj1
);
29253 if (PyErr_Occurred()) SWIG_fail
;
29254 arg3
= (double)SWIG_As_double(obj2
);
29255 if (PyErr_Occurred()) SWIG_fail
;
29256 arg4
= (double)SWIG_As_double(obj3
);
29257 if (PyErr_Occurred()) SWIG_fail
;
29259 arg5
= (int)SWIG_As_int(obj4
);
29260 if (PyErr_Occurred()) SWIG_fail
;
29263 arg6
= (int)SWIG_As_int(obj5
);
29264 if (PyErr_Occurred()) SWIG_fail
;
29267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29268 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
29270 wxPyEndAllowThreads(__tstate
);
29271 if (PyErr_Occurred()) SWIG_fail
;
29273 Py_INCREF(Py_None
); resultobj
= Py_None
;
29280 static PyObject
*_wrap_PyPolygonShape_base_OnBeginDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29281 PyObject
*resultobj
;
29282 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29285 int arg4
= (int) 0 ;
29286 int arg5
= (int) 0 ;
29287 PyObject
* obj0
= 0 ;
29288 PyObject
* obj1
= 0 ;
29289 PyObject
* obj2
= 0 ;
29290 PyObject
* obj3
= 0 ;
29291 PyObject
* obj4
= 0 ;
29292 char *kwnames
[] = {
29293 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyPolygonShape_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
29298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29299 arg2
= (double)SWIG_As_double(obj1
);
29300 if (PyErr_Occurred()) SWIG_fail
;
29301 arg3
= (double)SWIG_As_double(obj2
);
29302 if (PyErr_Occurred()) SWIG_fail
;
29304 arg4
= (int)SWIG_As_int(obj3
);
29305 if (PyErr_Occurred()) SWIG_fail
;
29308 arg5
= (int)SWIG_As_int(obj4
);
29309 if (PyErr_Occurred()) SWIG_fail
;
29312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29313 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
29315 wxPyEndAllowThreads(__tstate
);
29316 if (PyErr_Occurred()) SWIG_fail
;
29318 Py_INCREF(Py_None
); resultobj
= Py_None
;
29325 static PyObject
*_wrap_PyPolygonShape_base_OnEndDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29326 PyObject
*resultobj
;
29327 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29330 int arg4
= (int) 0 ;
29331 int arg5
= (int) 0 ;
29332 PyObject
* obj0
= 0 ;
29333 PyObject
* obj1
= 0 ;
29334 PyObject
* obj2
= 0 ;
29335 PyObject
* obj3
= 0 ;
29336 PyObject
* obj4
= 0 ;
29337 char *kwnames
[] = {
29338 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyPolygonShape_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
29343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29344 arg2
= (double)SWIG_As_double(obj1
);
29345 if (PyErr_Occurred()) SWIG_fail
;
29346 arg3
= (double)SWIG_As_double(obj2
);
29347 if (PyErr_Occurred()) SWIG_fail
;
29349 arg4
= (int)SWIG_As_int(obj3
);
29350 if (PyErr_Occurred()) SWIG_fail
;
29353 arg5
= (int)SWIG_As_int(obj4
);
29354 if (PyErr_Occurred()) SWIG_fail
;
29357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29358 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
29360 wxPyEndAllowThreads(__tstate
);
29361 if (PyErr_Occurred()) SWIG_fail
;
29363 Py_INCREF(Py_None
); resultobj
= Py_None
;
29370 static PyObject
*_wrap_PyPolygonShape_base_OnDrawOutline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29371 PyObject
*resultobj
;
29372 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29378 PyObject
* obj0
= 0 ;
29379 PyObject
* obj1
= 0 ;
29380 PyObject
* obj2
= 0 ;
29381 PyObject
* obj3
= 0 ;
29382 PyObject
* obj4
= 0 ;
29383 PyObject
* obj5
= 0 ;
29384 char *kwnames
[] = {
29385 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyPolygonShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
29390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29391 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
29392 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29394 if (arg2
== NULL
) {
29395 PyErr_SetString(PyExc_TypeError
,"null reference");
29398 arg3
= (double)SWIG_As_double(obj2
);
29399 if (PyErr_Occurred()) SWIG_fail
;
29400 arg4
= (double)SWIG_As_double(obj3
);
29401 if (PyErr_Occurred()) SWIG_fail
;
29402 arg5
= (double)SWIG_As_double(obj4
);
29403 if (PyErr_Occurred()) SWIG_fail
;
29404 arg6
= (double)SWIG_As_double(obj5
);
29405 if (PyErr_Occurred()) SWIG_fail
;
29407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29408 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
29410 wxPyEndAllowThreads(__tstate
);
29411 if (PyErr_Occurred()) SWIG_fail
;
29413 Py_INCREF(Py_None
); resultobj
= Py_None
;
29420 static PyObject
*_wrap_PyPolygonShape_base_OnDrawControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29421 PyObject
*resultobj
;
29422 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29424 PyObject
* obj0
= 0 ;
29425 PyObject
* obj1
= 0 ;
29426 char *kwnames
[] = {
29427 (char *) "self",(char *) "dc", NULL
29430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
29431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
29432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29433 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
29434 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29436 if (arg2
== NULL
) {
29437 PyErr_SetString(PyExc_TypeError
,"null reference");
29441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29442 (arg1
)->base_OnDrawControlPoints(*arg2
);
29444 wxPyEndAllowThreads(__tstate
);
29445 if (PyErr_Occurred()) SWIG_fail
;
29447 Py_INCREF(Py_None
); resultobj
= Py_None
;
29454 static PyObject
*_wrap_PyPolygonShape_base_OnEraseControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29455 PyObject
*resultobj
;
29456 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29458 PyObject
* obj0
= 0 ;
29459 PyObject
* obj1
= 0 ;
29460 char *kwnames
[] = {
29461 (char *) "self",(char *) "dc", NULL
29464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
29465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
29466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29467 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
29468 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29470 if (arg2
== NULL
) {
29471 PyErr_SetString(PyExc_TypeError
,"null reference");
29475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29476 (arg1
)->base_OnEraseControlPoints(*arg2
);
29478 wxPyEndAllowThreads(__tstate
);
29479 if (PyErr_Occurred()) SWIG_fail
;
29481 Py_INCREF(Py_None
); resultobj
= Py_None
;
29488 static PyObject
*_wrap_PyPolygonShape_base_OnMoveLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29489 PyObject
*resultobj
;
29490 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29492 bool arg3
= (bool) true ;
29493 PyObject
* obj0
= 0 ;
29494 PyObject
* obj1
= 0 ;
29495 PyObject
* obj2
= 0 ;
29496 char *kwnames
[] = {
29497 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
29500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyPolygonShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
29502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29503 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
29504 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29506 if (arg2
== NULL
) {
29507 PyErr_SetString(PyExc_TypeError
,"null reference");
29511 arg3
= (bool)SWIG_As_bool(obj2
);
29512 if (PyErr_Occurred()) SWIG_fail
;
29515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29516 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
29518 wxPyEndAllowThreads(__tstate
);
29519 if (PyErr_Occurred()) SWIG_fail
;
29521 Py_INCREF(Py_None
); resultobj
= Py_None
;
29528 static PyObject
*_wrap_PyPolygonShape_base_OnSizingDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29529 PyObject
*resultobj
;
29530 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29531 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
29535 int arg6
= (int) 0 ;
29536 int arg7
= (int) 0 ;
29537 PyObject
* obj0
= 0 ;
29538 PyObject
* obj1
= 0 ;
29539 PyObject
* obj2
= 0 ;
29540 PyObject
* obj3
= 0 ;
29541 PyObject
* obj4
= 0 ;
29542 PyObject
* obj5
= 0 ;
29543 PyObject
* obj6
= 0 ;
29544 char *kwnames
[] = {
29545 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyPolygonShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
29549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
29550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29551 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
29552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29553 arg3
= (bool)SWIG_As_bool(obj2
);
29554 if (PyErr_Occurred()) SWIG_fail
;
29555 arg4
= (double)SWIG_As_double(obj3
);
29556 if (PyErr_Occurred()) SWIG_fail
;
29557 arg5
= (double)SWIG_As_double(obj4
);
29558 if (PyErr_Occurred()) SWIG_fail
;
29560 arg6
= (int)SWIG_As_int(obj5
);
29561 if (PyErr_Occurred()) SWIG_fail
;
29564 arg7
= (int)SWIG_As_int(obj6
);
29565 if (PyErr_Occurred()) SWIG_fail
;
29568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29569 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
29571 wxPyEndAllowThreads(__tstate
);
29572 if (PyErr_Occurred()) SWIG_fail
;
29574 Py_INCREF(Py_None
); resultobj
= Py_None
;
29581 static PyObject
*_wrap_PyPolygonShape_base_OnSizingBeginDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29582 PyObject
*resultobj
;
29583 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29584 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
29587 int arg5
= (int) 0 ;
29588 int arg6
= (int) 0 ;
29589 PyObject
* obj0
= 0 ;
29590 PyObject
* obj1
= 0 ;
29591 PyObject
* obj2
= 0 ;
29592 PyObject
* obj3
= 0 ;
29593 PyObject
* obj4
= 0 ;
29594 PyObject
* obj5
= 0 ;
29595 char *kwnames
[] = {
29596 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyPolygonShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
29601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29602 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
29603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29604 arg3
= (double)SWIG_As_double(obj2
);
29605 if (PyErr_Occurred()) SWIG_fail
;
29606 arg4
= (double)SWIG_As_double(obj3
);
29607 if (PyErr_Occurred()) SWIG_fail
;
29609 arg5
= (int)SWIG_As_int(obj4
);
29610 if (PyErr_Occurred()) SWIG_fail
;
29613 arg6
= (int)SWIG_As_int(obj5
);
29614 if (PyErr_Occurred()) SWIG_fail
;
29617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29618 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
29620 wxPyEndAllowThreads(__tstate
);
29621 if (PyErr_Occurred()) SWIG_fail
;
29623 Py_INCREF(Py_None
); resultobj
= Py_None
;
29630 static PyObject
*_wrap_PyPolygonShape_base_OnSizingEndDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29631 PyObject
*resultobj
;
29632 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29633 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
29636 int arg5
= (int) 0 ;
29637 int arg6
= (int) 0 ;
29638 PyObject
* obj0
= 0 ;
29639 PyObject
* obj1
= 0 ;
29640 PyObject
* obj2
= 0 ;
29641 PyObject
* obj3
= 0 ;
29642 PyObject
* obj4
= 0 ;
29643 PyObject
* obj5
= 0 ;
29644 char *kwnames
[] = {
29645 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyPolygonShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
29650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29651 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
29652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29653 arg3
= (double)SWIG_As_double(obj2
);
29654 if (PyErr_Occurred()) SWIG_fail
;
29655 arg4
= (double)SWIG_As_double(obj3
);
29656 if (PyErr_Occurred()) SWIG_fail
;
29658 arg5
= (int)SWIG_As_int(obj4
);
29659 if (PyErr_Occurred()) SWIG_fail
;
29662 arg6
= (int)SWIG_As_int(obj5
);
29663 if (PyErr_Occurred()) SWIG_fail
;
29666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29667 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
29669 wxPyEndAllowThreads(__tstate
);
29670 if (PyErr_Occurred()) SWIG_fail
;
29672 Py_INCREF(Py_None
); resultobj
= Py_None
;
29679 static PyObject
*_wrap_PyPolygonShape_base_OnBeginSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29680 PyObject
*resultobj
;
29681 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29684 PyObject
* obj0
= 0 ;
29685 PyObject
* obj1
= 0 ;
29686 PyObject
* obj2
= 0 ;
29687 char *kwnames
[] = {
29688 (char *) "self",(char *) "w",(char *) "h", NULL
29691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPolygonShape_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
29693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29694 arg2
= (double)SWIG_As_double(obj1
);
29695 if (PyErr_Occurred()) SWIG_fail
;
29696 arg3
= (double)SWIG_As_double(obj2
);
29697 if (PyErr_Occurred()) SWIG_fail
;
29699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29700 (arg1
)->base_OnBeginSize(arg2
,arg3
);
29702 wxPyEndAllowThreads(__tstate
);
29703 if (PyErr_Occurred()) SWIG_fail
;
29705 Py_INCREF(Py_None
); resultobj
= Py_None
;
29712 static PyObject
*_wrap_PyPolygonShape_base_OnEndSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29713 PyObject
*resultobj
;
29714 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29717 PyObject
* obj0
= 0 ;
29718 PyObject
* obj1
= 0 ;
29719 PyObject
* obj2
= 0 ;
29720 char *kwnames
[] = {
29721 (char *) "self",(char *) "w",(char *) "h", NULL
29724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPolygonShape_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
29726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29727 arg2
= (double)SWIG_As_double(obj1
);
29728 if (PyErr_Occurred()) SWIG_fail
;
29729 arg3
= (double)SWIG_As_double(obj2
);
29730 if (PyErr_Occurred()) SWIG_fail
;
29732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29733 (arg1
)->base_OnEndSize(arg2
,arg3
);
29735 wxPyEndAllowThreads(__tstate
);
29736 if (PyErr_Occurred()) SWIG_fail
;
29738 Py_INCREF(Py_None
); resultobj
= Py_None
;
29745 static PyObject
* PyPolygonShape_swigregister(PyObject
*, PyObject
*args
) {
29747 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29748 SWIG_TypeClientData(SWIGTYPE_p_wxPyPolygonShape
, obj
);
29750 return Py_BuildValue((char *)"");
29752 static PyObject
*_wrap_new_PyTextShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29753 PyObject
*resultobj
;
29754 double arg1
= (double) 0.0 ;
29755 double arg2
= (double) 0.0 ;
29756 wxPyTextShape
*result
;
29757 PyObject
* obj0
= 0 ;
29758 PyObject
* obj1
= 0 ;
29759 char *kwnames
[] = {
29760 (char *) "width",(char *) "height", NULL
29763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyTextShape",kwnames
,&obj0
,&obj1
)) goto fail
;
29765 arg1
= (double)SWIG_As_double(obj0
);
29766 if (PyErr_Occurred()) SWIG_fail
;
29769 arg2
= (double)SWIG_As_double(obj1
);
29770 if (PyErr_Occurred()) SWIG_fail
;
29773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29774 result
= (wxPyTextShape
*)new wxPyTextShape(arg1
,arg2
);
29776 wxPyEndAllowThreads(__tstate
);
29777 if (PyErr_Occurred()) SWIG_fail
;
29779 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextShape
, 1);
29786 static PyObject
*_wrap_PyTextShape__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29787 PyObject
*resultobj
;
29788 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
29789 PyObject
*arg2
= (PyObject
*) 0 ;
29790 PyObject
*arg3
= (PyObject
*) 0 ;
29791 PyObject
* obj0
= 0 ;
29792 PyObject
* obj1
= 0 ;
29793 PyObject
* obj2
= 0 ;
29794 char *kwnames
[] = {
29795 (char *) "self",(char *) "self",(char *) "_class", NULL
29798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
29800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29805 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29807 wxPyEndAllowThreads(__tstate
);
29808 if (PyErr_Occurred()) SWIG_fail
;
29810 Py_INCREF(Py_None
); resultobj
= Py_None
;
29817 static PyObject
*_wrap_PyTextShape_base_OnDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29818 PyObject
*resultobj
;
29819 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
29820 PyObject
* obj0
= 0 ;
29821 char *kwnames
[] = {
29822 (char *) "self", NULL
29825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyTextShape_base_OnDelete",kwnames
,&obj0
)) goto fail
;
29826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
29827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29830 (arg1
)->base_OnDelete();
29832 wxPyEndAllowThreads(__tstate
);
29833 if (PyErr_Occurred()) SWIG_fail
;
29835 Py_INCREF(Py_None
); resultobj
= Py_None
;
29842 static PyObject
*_wrap_PyTextShape_base_OnDraw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29843 PyObject
*resultobj
;
29844 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
29846 PyObject
* obj0
= 0 ;
29847 PyObject
* obj1
= 0 ;
29848 char *kwnames
[] = {
29849 (char *) "self",(char *) "dc", NULL
29852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyTextShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
29853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
29854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29855 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
29856 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29858 if (arg2
== NULL
) {
29859 PyErr_SetString(PyExc_TypeError
,"null reference");
29863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29864 (arg1
)->base_OnDraw(*arg2
);
29866 wxPyEndAllowThreads(__tstate
);
29867 if (PyErr_Occurred()) SWIG_fail
;
29869 Py_INCREF(Py_None
); resultobj
= Py_None
;
29876 static PyObject
*_wrap_PyTextShape_base_OnDrawContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29877 PyObject
*resultobj
;
29878 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
29880 PyObject
* obj0
= 0 ;
29881 PyObject
* obj1
= 0 ;
29882 char *kwnames
[] = {
29883 (char *) "self",(char *) "dc", NULL
29886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyTextShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
29887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
29888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29889 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
29890 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29892 if (arg2
== NULL
) {
29893 PyErr_SetString(PyExc_TypeError
,"null reference");
29897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29898 (arg1
)->base_OnDrawContents(*arg2
);
29900 wxPyEndAllowThreads(__tstate
);
29901 if (PyErr_Occurred()) SWIG_fail
;
29903 Py_INCREF(Py_None
); resultobj
= Py_None
;
29910 static PyObject
*_wrap_PyTextShape_base_OnDrawBranches(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29911 PyObject
*resultobj
;
29912 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
29914 bool arg3
= (bool) FALSE
;
29915 PyObject
* obj0
= 0 ;
29916 PyObject
* obj1
= 0 ;
29917 PyObject
* obj2
= 0 ;
29918 char *kwnames
[] = {
29919 (char *) "self",(char *) "dc",(char *) "erase", NULL
29922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyTextShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
29924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29925 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
29926 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29928 if (arg2
== NULL
) {
29929 PyErr_SetString(PyExc_TypeError
,"null reference");
29933 arg3
= (bool)SWIG_As_bool(obj2
);
29934 if (PyErr_Occurred()) SWIG_fail
;
29937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29938 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
29940 wxPyEndAllowThreads(__tstate
);
29941 if (PyErr_Occurred()) SWIG_fail
;
29943 Py_INCREF(Py_None
); resultobj
= Py_None
;
29950 static PyObject
*_wrap_PyTextShape_base_OnMoveLinks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29951 PyObject
*resultobj
;
29952 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
29954 PyObject
* obj0
= 0 ;
29955 PyObject
* obj1
= 0 ;
29956 char *kwnames
[] = {
29957 (char *) "self",(char *) "dc", NULL
29960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyTextShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
29961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
29962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29963 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
29964 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29966 if (arg2
== NULL
) {
29967 PyErr_SetString(PyExc_TypeError
,"null reference");
29971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29972 (arg1
)->base_OnMoveLinks(*arg2
);
29974 wxPyEndAllowThreads(__tstate
);
29975 if (PyErr_Occurred()) SWIG_fail
;
29977 Py_INCREF(Py_None
); resultobj
= Py_None
;
29984 static PyObject
*_wrap_PyTextShape_base_OnErase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29985 PyObject
*resultobj
;
29986 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
29988 PyObject
* obj0
= 0 ;
29989 PyObject
* obj1
= 0 ;
29990 char *kwnames
[] = {
29991 (char *) "self",(char *) "dc", NULL
29994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyTextShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
29995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
29996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29997 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
29998 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30000 if (arg2
== NULL
) {
30001 PyErr_SetString(PyExc_TypeError
,"null reference");
30005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30006 (arg1
)->base_OnErase(*arg2
);
30008 wxPyEndAllowThreads(__tstate
);
30009 if (PyErr_Occurred()) SWIG_fail
;
30011 Py_INCREF(Py_None
); resultobj
= Py_None
;
30018 static PyObject
*_wrap_PyTextShape_base_OnEraseContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30019 PyObject
*resultobj
;
30020 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30022 PyObject
* obj0
= 0 ;
30023 PyObject
* obj1
= 0 ;
30024 char *kwnames
[] = {
30025 (char *) "self",(char *) "dc", NULL
30028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyTextShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
30029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30031 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
30032 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30034 if (arg2
== NULL
) {
30035 PyErr_SetString(PyExc_TypeError
,"null reference");
30039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30040 (arg1
)->base_OnEraseContents(*arg2
);
30042 wxPyEndAllowThreads(__tstate
);
30043 if (PyErr_Occurred()) SWIG_fail
;
30045 Py_INCREF(Py_None
); resultobj
= Py_None
;
30052 static PyObject
*_wrap_PyTextShape_base_OnHighlight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30053 PyObject
*resultobj
;
30054 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30056 PyObject
* obj0
= 0 ;
30057 PyObject
* obj1
= 0 ;
30058 char *kwnames
[] = {
30059 (char *) "self",(char *) "dc", NULL
30062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyTextShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
30063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30065 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
30066 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30068 if (arg2
== NULL
) {
30069 PyErr_SetString(PyExc_TypeError
,"null reference");
30073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30074 (arg1
)->base_OnHighlight(*arg2
);
30076 wxPyEndAllowThreads(__tstate
);
30077 if (PyErr_Occurred()) SWIG_fail
;
30079 Py_INCREF(Py_None
); resultobj
= Py_None
;
30086 static PyObject
*_wrap_PyTextShape_base_OnLeftClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30087 PyObject
*resultobj
;
30088 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30091 int arg4
= (int) 0 ;
30092 int arg5
= (int) 0 ;
30093 PyObject
* obj0
= 0 ;
30094 PyObject
* obj1
= 0 ;
30095 PyObject
* obj2
= 0 ;
30096 PyObject
* obj3
= 0 ;
30097 PyObject
* obj4
= 0 ;
30098 char *kwnames
[] = {
30099 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyTextShape_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30105 arg2
= (double)SWIG_As_double(obj1
);
30106 if (PyErr_Occurred()) SWIG_fail
;
30107 arg3
= (double)SWIG_As_double(obj2
);
30108 if (PyErr_Occurred()) SWIG_fail
;
30110 arg4
= (int)SWIG_As_int(obj3
);
30111 if (PyErr_Occurred()) SWIG_fail
;
30114 arg5
= (int)SWIG_As_int(obj4
);
30115 if (PyErr_Occurred()) SWIG_fail
;
30118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30119 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
30121 wxPyEndAllowThreads(__tstate
);
30122 if (PyErr_Occurred()) SWIG_fail
;
30124 Py_INCREF(Py_None
); resultobj
= Py_None
;
30131 static PyObject
*_wrap_PyTextShape_base_OnLeftDoubleClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30132 PyObject
*resultobj
;
30133 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30136 int arg4
= (int) 0 ;
30137 int arg5
= (int) 0 ;
30138 PyObject
* obj0
= 0 ;
30139 PyObject
* obj1
= 0 ;
30140 PyObject
* obj2
= 0 ;
30141 PyObject
* obj3
= 0 ;
30142 PyObject
* obj4
= 0 ;
30143 char *kwnames
[] = {
30144 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyTextShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30150 arg2
= (double)SWIG_As_double(obj1
);
30151 if (PyErr_Occurred()) SWIG_fail
;
30152 arg3
= (double)SWIG_As_double(obj2
);
30153 if (PyErr_Occurred()) SWIG_fail
;
30155 arg4
= (int)SWIG_As_int(obj3
);
30156 if (PyErr_Occurred()) SWIG_fail
;
30159 arg5
= (int)SWIG_As_int(obj4
);
30160 if (PyErr_Occurred()) SWIG_fail
;
30163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30164 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
30166 wxPyEndAllowThreads(__tstate
);
30167 if (PyErr_Occurred()) SWIG_fail
;
30169 Py_INCREF(Py_None
); resultobj
= Py_None
;
30176 static PyObject
*_wrap_PyTextShape_base_OnRightClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30177 PyObject
*resultobj
;
30178 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30181 int arg4
= (int) 0 ;
30182 int arg5
= (int) 0 ;
30183 PyObject
* obj0
= 0 ;
30184 PyObject
* obj1
= 0 ;
30185 PyObject
* obj2
= 0 ;
30186 PyObject
* obj3
= 0 ;
30187 PyObject
* obj4
= 0 ;
30188 char *kwnames
[] = {
30189 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyTextShape_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30195 arg2
= (double)SWIG_As_double(obj1
);
30196 if (PyErr_Occurred()) SWIG_fail
;
30197 arg3
= (double)SWIG_As_double(obj2
);
30198 if (PyErr_Occurred()) SWIG_fail
;
30200 arg4
= (int)SWIG_As_int(obj3
);
30201 if (PyErr_Occurred()) SWIG_fail
;
30204 arg5
= (int)SWIG_As_int(obj4
);
30205 if (PyErr_Occurred()) SWIG_fail
;
30208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30209 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
30211 wxPyEndAllowThreads(__tstate
);
30212 if (PyErr_Occurred()) SWIG_fail
;
30214 Py_INCREF(Py_None
); resultobj
= Py_None
;
30221 static PyObject
*_wrap_PyTextShape_base_OnSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30222 PyObject
*resultobj
;
30223 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30226 PyObject
* obj0
= 0 ;
30227 PyObject
* obj1
= 0 ;
30228 PyObject
* obj2
= 0 ;
30229 char *kwnames
[] = {
30230 (char *) "self",(char *) "x",(char *) "y", NULL
30233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextShape_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30236 arg2
= (double)SWIG_As_double(obj1
);
30237 if (PyErr_Occurred()) SWIG_fail
;
30238 arg3
= (double)SWIG_As_double(obj2
);
30239 if (PyErr_Occurred()) SWIG_fail
;
30241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30242 (arg1
)->base_OnSize(arg2
,arg3
);
30244 wxPyEndAllowThreads(__tstate
);
30245 if (PyErr_Occurred()) SWIG_fail
;
30247 Py_INCREF(Py_None
); resultobj
= Py_None
;
30254 static PyObject
*_wrap_PyTextShape_base_OnMovePre(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30255 PyObject
*resultobj
;
30256 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30262 bool arg7
= (bool) true ;
30264 PyObject
* obj0
= 0 ;
30265 PyObject
* obj1
= 0 ;
30266 PyObject
* obj2
= 0 ;
30267 PyObject
* obj3
= 0 ;
30268 PyObject
* obj4
= 0 ;
30269 PyObject
* obj5
= 0 ;
30270 PyObject
* obj6
= 0 ;
30271 char *kwnames
[] = {
30272 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
30275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyTextShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
30276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30278 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
30279 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30281 if (arg2
== NULL
) {
30282 PyErr_SetString(PyExc_TypeError
,"null reference");
30285 arg3
= (double)SWIG_As_double(obj2
);
30286 if (PyErr_Occurred()) SWIG_fail
;
30287 arg4
= (double)SWIG_As_double(obj3
);
30288 if (PyErr_Occurred()) SWIG_fail
;
30289 arg5
= (double)SWIG_As_double(obj4
);
30290 if (PyErr_Occurred()) SWIG_fail
;
30291 arg6
= (double)SWIG_As_double(obj5
);
30292 if (PyErr_Occurred()) SWIG_fail
;
30294 arg7
= (bool)SWIG_As_bool(obj6
);
30295 if (PyErr_Occurred()) SWIG_fail
;
30298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30299 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
30301 wxPyEndAllowThreads(__tstate
);
30302 if (PyErr_Occurred()) SWIG_fail
;
30305 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30313 static PyObject
*_wrap_PyTextShape_base_OnMovePost(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30314 PyObject
*resultobj
;
30315 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30321 bool arg7
= (bool) true ;
30322 PyObject
* obj0
= 0 ;
30323 PyObject
* obj1
= 0 ;
30324 PyObject
* obj2
= 0 ;
30325 PyObject
* obj3
= 0 ;
30326 PyObject
* obj4
= 0 ;
30327 PyObject
* obj5
= 0 ;
30328 PyObject
* obj6
= 0 ;
30329 char *kwnames
[] = {
30330 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
30333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyTextShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
30334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30336 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
30337 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30339 if (arg2
== NULL
) {
30340 PyErr_SetString(PyExc_TypeError
,"null reference");
30343 arg3
= (double)SWIG_As_double(obj2
);
30344 if (PyErr_Occurred()) SWIG_fail
;
30345 arg4
= (double)SWIG_As_double(obj3
);
30346 if (PyErr_Occurred()) SWIG_fail
;
30347 arg5
= (double)SWIG_As_double(obj4
);
30348 if (PyErr_Occurred()) SWIG_fail
;
30349 arg6
= (double)SWIG_As_double(obj5
);
30350 if (PyErr_Occurred()) SWIG_fail
;
30352 arg7
= (bool)SWIG_As_bool(obj6
);
30353 if (PyErr_Occurred()) SWIG_fail
;
30356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30357 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
30359 wxPyEndAllowThreads(__tstate
);
30360 if (PyErr_Occurred()) SWIG_fail
;
30362 Py_INCREF(Py_None
); resultobj
= Py_None
;
30369 static PyObject
*_wrap_PyTextShape_base_OnDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30370 PyObject
*resultobj
;
30371 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30375 int arg5
= (int) 0 ;
30376 int arg6
= (int) 0 ;
30377 PyObject
* obj0
= 0 ;
30378 PyObject
* obj1
= 0 ;
30379 PyObject
* obj2
= 0 ;
30380 PyObject
* obj3
= 0 ;
30381 PyObject
* obj4
= 0 ;
30382 PyObject
* obj5
= 0 ;
30383 char *kwnames
[] = {
30384 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyTextShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
30388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30390 arg2
= (bool)SWIG_As_bool(obj1
);
30391 if (PyErr_Occurred()) SWIG_fail
;
30392 arg3
= (double)SWIG_As_double(obj2
);
30393 if (PyErr_Occurred()) SWIG_fail
;
30394 arg4
= (double)SWIG_As_double(obj3
);
30395 if (PyErr_Occurred()) SWIG_fail
;
30397 arg5
= (int)SWIG_As_int(obj4
);
30398 if (PyErr_Occurred()) SWIG_fail
;
30401 arg6
= (int)SWIG_As_int(obj5
);
30402 if (PyErr_Occurred()) SWIG_fail
;
30405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30406 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
30408 wxPyEndAllowThreads(__tstate
);
30409 if (PyErr_Occurred()) SWIG_fail
;
30411 Py_INCREF(Py_None
); resultobj
= Py_None
;
30418 static PyObject
*_wrap_PyTextShape_base_OnBeginDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30419 PyObject
*resultobj
;
30420 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30423 int arg4
= (int) 0 ;
30424 int arg5
= (int) 0 ;
30425 PyObject
* obj0
= 0 ;
30426 PyObject
* obj1
= 0 ;
30427 PyObject
* obj2
= 0 ;
30428 PyObject
* obj3
= 0 ;
30429 PyObject
* obj4
= 0 ;
30430 char *kwnames
[] = {
30431 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyTextShape_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30437 arg2
= (double)SWIG_As_double(obj1
);
30438 if (PyErr_Occurred()) SWIG_fail
;
30439 arg3
= (double)SWIG_As_double(obj2
);
30440 if (PyErr_Occurred()) SWIG_fail
;
30442 arg4
= (int)SWIG_As_int(obj3
);
30443 if (PyErr_Occurred()) SWIG_fail
;
30446 arg5
= (int)SWIG_As_int(obj4
);
30447 if (PyErr_Occurred()) SWIG_fail
;
30450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30451 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
30453 wxPyEndAllowThreads(__tstate
);
30454 if (PyErr_Occurred()) SWIG_fail
;
30456 Py_INCREF(Py_None
); resultobj
= Py_None
;
30463 static PyObject
*_wrap_PyTextShape_base_OnEndDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30464 PyObject
*resultobj
;
30465 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30468 int arg4
= (int) 0 ;
30469 int arg5
= (int) 0 ;
30470 PyObject
* obj0
= 0 ;
30471 PyObject
* obj1
= 0 ;
30472 PyObject
* obj2
= 0 ;
30473 PyObject
* obj3
= 0 ;
30474 PyObject
* obj4
= 0 ;
30475 char *kwnames
[] = {
30476 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyTextShape_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30482 arg2
= (double)SWIG_As_double(obj1
);
30483 if (PyErr_Occurred()) SWIG_fail
;
30484 arg3
= (double)SWIG_As_double(obj2
);
30485 if (PyErr_Occurred()) SWIG_fail
;
30487 arg4
= (int)SWIG_As_int(obj3
);
30488 if (PyErr_Occurred()) SWIG_fail
;
30491 arg5
= (int)SWIG_As_int(obj4
);
30492 if (PyErr_Occurred()) SWIG_fail
;
30495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30496 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
30498 wxPyEndAllowThreads(__tstate
);
30499 if (PyErr_Occurred()) SWIG_fail
;
30501 Py_INCREF(Py_None
); resultobj
= Py_None
;
30508 static PyObject
*_wrap_PyTextShape_base_OnDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30509 PyObject
*resultobj
;
30510 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30514 int arg5
= (int) 0 ;
30515 int arg6
= (int) 0 ;
30516 PyObject
* obj0
= 0 ;
30517 PyObject
* obj1
= 0 ;
30518 PyObject
* obj2
= 0 ;
30519 PyObject
* obj3
= 0 ;
30520 PyObject
* obj4
= 0 ;
30521 PyObject
* obj5
= 0 ;
30522 char *kwnames
[] = {
30523 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyTextShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
30527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30529 arg2
= (bool)SWIG_As_bool(obj1
);
30530 if (PyErr_Occurred()) SWIG_fail
;
30531 arg3
= (double)SWIG_As_double(obj2
);
30532 if (PyErr_Occurred()) SWIG_fail
;
30533 arg4
= (double)SWIG_As_double(obj3
);
30534 if (PyErr_Occurred()) SWIG_fail
;
30536 arg5
= (int)SWIG_As_int(obj4
);
30537 if (PyErr_Occurred()) SWIG_fail
;
30540 arg6
= (int)SWIG_As_int(obj5
);
30541 if (PyErr_Occurred()) SWIG_fail
;
30544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30545 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
30547 wxPyEndAllowThreads(__tstate
);
30548 if (PyErr_Occurred()) SWIG_fail
;
30550 Py_INCREF(Py_None
); resultobj
= Py_None
;
30557 static PyObject
*_wrap_PyTextShape_base_OnBeginDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30558 PyObject
*resultobj
;
30559 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30562 int arg4
= (int) 0 ;
30563 int arg5
= (int) 0 ;
30564 PyObject
* obj0
= 0 ;
30565 PyObject
* obj1
= 0 ;
30566 PyObject
* obj2
= 0 ;
30567 PyObject
* obj3
= 0 ;
30568 PyObject
* obj4
= 0 ;
30569 char *kwnames
[] = {
30570 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyTextShape_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30576 arg2
= (double)SWIG_As_double(obj1
);
30577 if (PyErr_Occurred()) SWIG_fail
;
30578 arg3
= (double)SWIG_As_double(obj2
);
30579 if (PyErr_Occurred()) SWIG_fail
;
30581 arg4
= (int)SWIG_As_int(obj3
);
30582 if (PyErr_Occurred()) SWIG_fail
;
30585 arg5
= (int)SWIG_As_int(obj4
);
30586 if (PyErr_Occurred()) SWIG_fail
;
30589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30590 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
30592 wxPyEndAllowThreads(__tstate
);
30593 if (PyErr_Occurred()) SWIG_fail
;
30595 Py_INCREF(Py_None
); resultobj
= Py_None
;
30602 static PyObject
*_wrap_PyTextShape_base_OnEndDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30603 PyObject
*resultobj
;
30604 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30607 int arg4
= (int) 0 ;
30608 int arg5
= (int) 0 ;
30609 PyObject
* obj0
= 0 ;
30610 PyObject
* obj1
= 0 ;
30611 PyObject
* obj2
= 0 ;
30612 PyObject
* obj3
= 0 ;
30613 PyObject
* obj4
= 0 ;
30614 char *kwnames
[] = {
30615 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyTextShape_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30621 arg2
= (double)SWIG_As_double(obj1
);
30622 if (PyErr_Occurred()) SWIG_fail
;
30623 arg3
= (double)SWIG_As_double(obj2
);
30624 if (PyErr_Occurred()) SWIG_fail
;
30626 arg4
= (int)SWIG_As_int(obj3
);
30627 if (PyErr_Occurred()) SWIG_fail
;
30630 arg5
= (int)SWIG_As_int(obj4
);
30631 if (PyErr_Occurred()) SWIG_fail
;
30634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30635 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
30637 wxPyEndAllowThreads(__tstate
);
30638 if (PyErr_Occurred()) SWIG_fail
;
30640 Py_INCREF(Py_None
); resultobj
= Py_None
;
30647 static PyObject
*_wrap_PyTextShape_base_OnDrawOutline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30648 PyObject
*resultobj
;
30649 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30655 PyObject
* obj0
= 0 ;
30656 PyObject
* obj1
= 0 ;
30657 PyObject
* obj2
= 0 ;
30658 PyObject
* obj3
= 0 ;
30659 PyObject
* obj4
= 0 ;
30660 PyObject
* obj5
= 0 ;
30661 char *kwnames
[] = {
30662 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
30665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyTextShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
30666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30668 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
30669 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30671 if (arg2
== NULL
) {
30672 PyErr_SetString(PyExc_TypeError
,"null reference");
30675 arg3
= (double)SWIG_As_double(obj2
);
30676 if (PyErr_Occurred()) SWIG_fail
;
30677 arg4
= (double)SWIG_As_double(obj3
);
30678 if (PyErr_Occurred()) SWIG_fail
;
30679 arg5
= (double)SWIG_As_double(obj4
);
30680 if (PyErr_Occurred()) SWIG_fail
;
30681 arg6
= (double)SWIG_As_double(obj5
);
30682 if (PyErr_Occurred()) SWIG_fail
;
30684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30685 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
30687 wxPyEndAllowThreads(__tstate
);
30688 if (PyErr_Occurred()) SWIG_fail
;
30690 Py_INCREF(Py_None
); resultobj
= Py_None
;
30697 static PyObject
*_wrap_PyTextShape_base_OnDrawControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30698 PyObject
*resultobj
;
30699 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30701 PyObject
* obj0
= 0 ;
30702 PyObject
* obj1
= 0 ;
30703 char *kwnames
[] = {
30704 (char *) "self",(char *) "dc", NULL
30707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyTextShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
30708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30710 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
30711 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30713 if (arg2
== NULL
) {
30714 PyErr_SetString(PyExc_TypeError
,"null reference");
30718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30719 (arg1
)->base_OnDrawControlPoints(*arg2
);
30721 wxPyEndAllowThreads(__tstate
);
30722 if (PyErr_Occurred()) SWIG_fail
;
30724 Py_INCREF(Py_None
); resultobj
= Py_None
;
30731 static PyObject
*_wrap_PyTextShape_base_OnEraseControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30732 PyObject
*resultobj
;
30733 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30735 PyObject
* obj0
= 0 ;
30736 PyObject
* obj1
= 0 ;
30737 char *kwnames
[] = {
30738 (char *) "self",(char *) "dc", NULL
30741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyTextShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
30742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30744 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
30745 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30747 if (arg2
== NULL
) {
30748 PyErr_SetString(PyExc_TypeError
,"null reference");
30752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30753 (arg1
)->base_OnEraseControlPoints(*arg2
);
30755 wxPyEndAllowThreads(__tstate
);
30756 if (PyErr_Occurred()) SWIG_fail
;
30758 Py_INCREF(Py_None
); resultobj
= Py_None
;
30765 static PyObject
*_wrap_PyTextShape_base_OnMoveLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30766 PyObject
*resultobj
;
30767 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30769 bool arg3
= (bool) true ;
30770 PyObject
* obj0
= 0 ;
30771 PyObject
* obj1
= 0 ;
30772 PyObject
* obj2
= 0 ;
30773 char *kwnames
[] = {
30774 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
30777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyTextShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30780 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
30781 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30783 if (arg2
== NULL
) {
30784 PyErr_SetString(PyExc_TypeError
,"null reference");
30788 arg3
= (bool)SWIG_As_bool(obj2
);
30789 if (PyErr_Occurred()) SWIG_fail
;
30792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30793 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
30795 wxPyEndAllowThreads(__tstate
);
30796 if (PyErr_Occurred()) SWIG_fail
;
30798 Py_INCREF(Py_None
); resultobj
= Py_None
;
30805 static PyObject
*_wrap_PyTextShape_base_OnSizingDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30806 PyObject
*resultobj
;
30807 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30808 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
30812 int arg6
= (int) 0 ;
30813 int arg7
= (int) 0 ;
30814 PyObject
* obj0
= 0 ;
30815 PyObject
* obj1
= 0 ;
30816 PyObject
* obj2
= 0 ;
30817 PyObject
* obj3
= 0 ;
30818 PyObject
* obj4
= 0 ;
30819 PyObject
* obj5
= 0 ;
30820 PyObject
* obj6
= 0 ;
30821 char *kwnames
[] = {
30822 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyTextShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
30826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30828 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
30829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30830 arg3
= (bool)SWIG_As_bool(obj2
);
30831 if (PyErr_Occurred()) SWIG_fail
;
30832 arg4
= (double)SWIG_As_double(obj3
);
30833 if (PyErr_Occurred()) SWIG_fail
;
30834 arg5
= (double)SWIG_As_double(obj4
);
30835 if (PyErr_Occurred()) SWIG_fail
;
30837 arg6
= (int)SWIG_As_int(obj5
);
30838 if (PyErr_Occurred()) SWIG_fail
;
30841 arg7
= (int)SWIG_As_int(obj6
);
30842 if (PyErr_Occurred()) SWIG_fail
;
30845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30846 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
30848 wxPyEndAllowThreads(__tstate
);
30849 if (PyErr_Occurred()) SWIG_fail
;
30851 Py_INCREF(Py_None
); resultobj
= Py_None
;
30858 static PyObject
*_wrap_PyTextShape_base_OnSizingBeginDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30859 PyObject
*resultobj
;
30860 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30861 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
30864 int arg5
= (int) 0 ;
30865 int arg6
= (int) 0 ;
30866 PyObject
* obj0
= 0 ;
30867 PyObject
* obj1
= 0 ;
30868 PyObject
* obj2
= 0 ;
30869 PyObject
* obj3
= 0 ;
30870 PyObject
* obj4
= 0 ;
30871 PyObject
* obj5
= 0 ;
30872 char *kwnames
[] = {
30873 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyTextShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
30877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30879 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
30880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30881 arg3
= (double)SWIG_As_double(obj2
);
30882 if (PyErr_Occurred()) SWIG_fail
;
30883 arg4
= (double)SWIG_As_double(obj3
);
30884 if (PyErr_Occurred()) SWIG_fail
;
30886 arg5
= (int)SWIG_As_int(obj4
);
30887 if (PyErr_Occurred()) SWIG_fail
;
30890 arg6
= (int)SWIG_As_int(obj5
);
30891 if (PyErr_Occurred()) SWIG_fail
;
30894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30895 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
30897 wxPyEndAllowThreads(__tstate
);
30898 if (PyErr_Occurred()) SWIG_fail
;
30900 Py_INCREF(Py_None
); resultobj
= Py_None
;
30907 static PyObject
*_wrap_PyTextShape_base_OnSizingEndDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30908 PyObject
*resultobj
;
30909 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30910 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
30913 int arg5
= (int) 0 ;
30914 int arg6
= (int) 0 ;
30915 PyObject
* obj0
= 0 ;
30916 PyObject
* obj1
= 0 ;
30917 PyObject
* obj2
= 0 ;
30918 PyObject
* obj3
= 0 ;
30919 PyObject
* obj4
= 0 ;
30920 PyObject
* obj5
= 0 ;
30921 char *kwnames
[] = {
30922 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyTextShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
30926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30928 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
30929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30930 arg3
= (double)SWIG_As_double(obj2
);
30931 if (PyErr_Occurred()) SWIG_fail
;
30932 arg4
= (double)SWIG_As_double(obj3
);
30933 if (PyErr_Occurred()) SWIG_fail
;
30935 arg5
= (int)SWIG_As_int(obj4
);
30936 if (PyErr_Occurred()) SWIG_fail
;
30939 arg6
= (int)SWIG_As_int(obj5
);
30940 if (PyErr_Occurred()) SWIG_fail
;
30943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30944 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
30946 wxPyEndAllowThreads(__tstate
);
30947 if (PyErr_Occurred()) SWIG_fail
;
30949 Py_INCREF(Py_None
); resultobj
= Py_None
;
30956 static PyObject
*_wrap_PyTextShape_base_OnBeginSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30957 PyObject
*resultobj
;
30958 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30961 PyObject
* obj0
= 0 ;
30962 PyObject
* obj1
= 0 ;
30963 PyObject
* obj2
= 0 ;
30964 char *kwnames
[] = {
30965 (char *) "self",(char *) "w",(char *) "h", NULL
30968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextShape_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30971 arg2
= (double)SWIG_As_double(obj1
);
30972 if (PyErr_Occurred()) SWIG_fail
;
30973 arg3
= (double)SWIG_As_double(obj2
);
30974 if (PyErr_Occurred()) SWIG_fail
;
30976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30977 (arg1
)->base_OnBeginSize(arg2
,arg3
);
30979 wxPyEndAllowThreads(__tstate
);
30980 if (PyErr_Occurred()) SWIG_fail
;
30982 Py_INCREF(Py_None
); resultobj
= Py_None
;
30989 static PyObject
*_wrap_PyTextShape_base_OnEndSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30990 PyObject
*resultobj
;
30991 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30994 PyObject
* obj0
= 0 ;
30995 PyObject
* obj1
= 0 ;
30996 PyObject
* obj2
= 0 ;
30997 char *kwnames
[] = {
30998 (char *) "self",(char *) "w",(char *) "h", NULL
31001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextShape_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
31003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31004 arg2
= (double)SWIG_As_double(obj1
);
31005 if (PyErr_Occurred()) SWIG_fail
;
31006 arg3
= (double)SWIG_As_double(obj2
);
31007 if (PyErr_Occurred()) SWIG_fail
;
31009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31010 (arg1
)->base_OnEndSize(arg2
,arg3
);
31012 wxPyEndAllowThreads(__tstate
);
31013 if (PyErr_Occurred()) SWIG_fail
;
31015 Py_INCREF(Py_None
); resultobj
= Py_None
;
31022 static PyObject
* PyTextShape_swigregister(PyObject
*, PyObject
*args
) {
31024 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31025 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextShape
, obj
);
31027 return Py_BuildValue((char *)"");
31029 static PyObject
*_wrap_new_Diagram(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31030 PyObject
*resultobj
;
31032 char *kwnames
[] = {
31036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Diagram",kwnames
)) goto fail
;
31038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31039 result
= (wxDiagram
*)new wxDiagram();
31041 wxPyEndAllowThreads(__tstate
);
31042 if (PyErr_Occurred()) SWIG_fail
;
31045 resultobj
= wxPyMake_wxObject(result
, 1);
31053 static PyObject
*_wrap_Diagram_AddShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31054 PyObject
*resultobj
;
31055 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31056 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
31057 wxPyShape
*arg3
= (wxPyShape
*) NULL
;
31058 PyObject
* obj0
= 0 ;
31059 PyObject
* obj1
= 0 ;
31060 PyObject
* obj2
= 0 ;
31061 char *kwnames
[] = {
31062 (char *) "self",(char *) "shape",(char *) "addAfter", NULL
31065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Diagram_AddShape",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31068 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
31069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31071 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyShape
,
31072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31076 (arg1
)->AddShape(arg2
,arg3
);
31078 wxPyEndAllowThreads(__tstate
);
31079 if (PyErr_Occurred()) SWIG_fail
;
31081 Py_INCREF(Py_None
); resultobj
= Py_None
;
31088 static PyObject
*_wrap_Diagram_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31089 PyObject
*resultobj
;
31090 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31092 PyObject
* obj0
= 0 ;
31093 PyObject
* obj1
= 0 ;
31094 char *kwnames
[] = {
31095 (char *) "self",(char *) "dc", NULL
31098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_Clear",kwnames
,&obj0
,&obj1
)) goto fail
;
31099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31101 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
31102 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31104 if (arg2
== NULL
) {
31105 PyErr_SetString(PyExc_TypeError
,"null reference");
31109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31110 (arg1
)->Clear(*arg2
);
31112 wxPyEndAllowThreads(__tstate
);
31113 if (PyErr_Occurred()) SWIG_fail
;
31115 Py_INCREF(Py_None
); resultobj
= Py_None
;
31122 static PyObject
*_wrap_Diagram_DeleteAllShapes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31123 PyObject
*resultobj
;
31124 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31125 PyObject
* obj0
= 0 ;
31126 char *kwnames
[] = {
31127 (char *) "self", NULL
31130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Diagram_DeleteAllShapes",kwnames
,&obj0
)) goto fail
;
31131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31135 (arg1
)->DeleteAllShapes();
31137 wxPyEndAllowThreads(__tstate
);
31138 if (PyErr_Occurred()) SWIG_fail
;
31140 Py_INCREF(Py_None
); resultobj
= Py_None
;
31147 static PyObject
*_wrap_Diagram_DrawOutline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31148 PyObject
*resultobj
;
31149 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31155 PyObject
* obj0
= 0 ;
31156 PyObject
* obj1
= 0 ;
31157 PyObject
* obj2
= 0 ;
31158 PyObject
* obj3
= 0 ;
31159 PyObject
* obj4
= 0 ;
31160 PyObject
* obj5
= 0 ;
31161 char *kwnames
[] = {
31162 (char *) "self",(char *) "dc",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
31165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Diagram_DrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
31166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31168 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
31169 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31171 if (arg2
== NULL
) {
31172 PyErr_SetString(PyExc_TypeError
,"null reference");
31175 arg3
= (double)SWIG_As_double(obj2
);
31176 if (PyErr_Occurred()) SWIG_fail
;
31177 arg4
= (double)SWIG_As_double(obj3
);
31178 if (PyErr_Occurred()) SWIG_fail
;
31179 arg5
= (double)SWIG_As_double(obj4
);
31180 if (PyErr_Occurred()) SWIG_fail
;
31181 arg6
= (double)SWIG_As_double(obj5
);
31182 if (PyErr_Occurred()) SWIG_fail
;
31184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31185 (arg1
)->DrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
31187 wxPyEndAllowThreads(__tstate
);
31188 if (PyErr_Occurred()) SWIG_fail
;
31190 Py_INCREF(Py_None
); resultobj
= Py_None
;
31197 static PyObject
*_wrap_Diagram_FindShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31198 PyObject
*resultobj
;
31199 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31202 PyObject
* obj0
= 0 ;
31203 PyObject
* obj1
= 0 ;
31204 char *kwnames
[] = {
31205 (char *) "self",(char *) "id", NULL
31208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_FindShape",kwnames
,&obj0
,&obj1
)) goto fail
;
31209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31211 arg2
= (long)SWIG_As_long(obj1
);
31212 if (PyErr_Occurred()) SWIG_fail
;
31214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31215 result
= (wxPyShape
*)(arg1
)->FindShape(arg2
);
31217 wxPyEndAllowThreads(__tstate
);
31218 if (PyErr_Occurred()) SWIG_fail
;
31221 resultobj
= wxPyMake_wxShapeEvtHandler(result
, 0);
31229 static PyObject
*_wrap_Diagram_GetCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31230 PyObject
*resultobj
;
31231 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31232 wxPyShapeCanvas
*result
;
31233 PyObject
* obj0
= 0 ;
31234 char *kwnames
[] = {
31235 (char *) "self", NULL
31238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Diagram_GetCanvas",kwnames
,&obj0
)) goto fail
;
31239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31243 result
= (wxPyShapeCanvas
*)(arg1
)->GetCanvas();
31245 wxPyEndAllowThreads(__tstate
);
31246 if (PyErr_Occurred()) SWIG_fail
;
31249 resultobj
= wxPyMake_wxObject(result
, 0);
31257 static PyObject
*_wrap_Diagram_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31258 PyObject
*resultobj
;
31259 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31261 PyObject
* obj0
= 0 ;
31262 char *kwnames
[] = {
31263 (char *) "self", NULL
31266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Diagram_GetCount",kwnames
,&obj0
)) goto fail
;
31267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31271 result
= (int)(arg1
)->GetCount();
31273 wxPyEndAllowThreads(__tstate
);
31274 if (PyErr_Occurred()) SWIG_fail
;
31276 resultobj
= SWIG_From_int((int)result
);
31283 static PyObject
*_wrap_Diagram_GetGridSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31284 PyObject
*resultobj
;
31285 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31287 PyObject
* obj0
= 0 ;
31288 char *kwnames
[] = {
31289 (char *) "self", NULL
31292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Diagram_GetGridSpacing",kwnames
,&obj0
)) goto fail
;
31293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31297 result
= (double)(arg1
)->GetGridSpacing();
31299 wxPyEndAllowThreads(__tstate
);
31300 if (PyErr_Occurred()) SWIG_fail
;
31302 resultobj
= SWIG_From_double((double)result
);
31309 static PyObject
*_wrap_Diagram_GetMouseTolerance(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31310 PyObject
*resultobj
;
31311 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31313 PyObject
* obj0
= 0 ;
31314 char *kwnames
[] = {
31315 (char *) "self", NULL
31318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Diagram_GetMouseTolerance",kwnames
,&obj0
)) goto fail
;
31319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31323 result
= (int)(arg1
)->GetMouseTolerance();
31325 wxPyEndAllowThreads(__tstate
);
31326 if (PyErr_Occurred()) SWIG_fail
;
31328 resultobj
= SWIG_From_int((int)result
);
31335 static PyObject
*_wrap_Diagram_GetShapeList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31336 PyObject
*resultobj
;
31337 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31339 PyObject
* obj0
= 0 ;
31340 char *kwnames
[] = {
31341 (char *) "self", NULL
31344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Diagram_GetShapeList",kwnames
,&obj0
)) goto fail
;
31345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31349 result
= (PyObject
*)wxDiagram_GetShapeList(arg1
);
31351 wxPyEndAllowThreads(__tstate
);
31352 if (PyErr_Occurred()) SWIG_fail
;
31354 resultobj
= result
;
31361 static PyObject
*_wrap_Diagram_GetQuickEditMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31362 PyObject
*resultobj
;
31363 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31365 PyObject
* obj0
= 0 ;
31366 char *kwnames
[] = {
31367 (char *) "self", NULL
31370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Diagram_GetQuickEditMode",kwnames
,&obj0
)) goto fail
;
31371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31375 result
= (bool)(arg1
)->GetQuickEditMode();
31377 wxPyEndAllowThreads(__tstate
);
31378 if (PyErr_Occurred()) SWIG_fail
;
31381 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31389 static PyObject
*_wrap_Diagram_GetSnapToGrid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31390 PyObject
*resultobj
;
31391 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31393 PyObject
* obj0
= 0 ;
31394 char *kwnames
[] = {
31395 (char *) "self", NULL
31398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Diagram_GetSnapToGrid",kwnames
,&obj0
)) goto fail
;
31399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31403 result
= (bool)(arg1
)->GetSnapToGrid();
31405 wxPyEndAllowThreads(__tstate
);
31406 if (PyErr_Occurred()) SWIG_fail
;
31409 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31417 static PyObject
*_wrap_Diagram_InsertShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31418 PyObject
*resultobj
;
31419 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31420 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
31421 PyObject
* obj0
= 0 ;
31422 PyObject
* obj1
= 0 ;
31423 char *kwnames
[] = {
31424 (char *) "self",(char *) "shape", NULL
31427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_InsertShape",kwnames
,&obj0
,&obj1
)) goto fail
;
31428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31430 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
31431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31434 (arg1
)->InsertShape(arg2
);
31436 wxPyEndAllowThreads(__tstate
);
31437 if (PyErr_Occurred()) SWIG_fail
;
31439 Py_INCREF(Py_None
); resultobj
= Py_None
;
31446 static PyObject
*_wrap_Diagram_RecentreAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31447 PyObject
*resultobj
;
31448 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31450 PyObject
* obj0
= 0 ;
31451 PyObject
* obj1
= 0 ;
31452 char *kwnames
[] = {
31453 (char *) "self",(char *) "dc", NULL
31456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_RecentreAll",kwnames
,&obj0
,&obj1
)) goto fail
;
31457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31459 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
31460 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31462 if (arg2
== NULL
) {
31463 PyErr_SetString(PyExc_TypeError
,"null reference");
31467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31468 (arg1
)->RecentreAll(*arg2
);
31470 wxPyEndAllowThreads(__tstate
);
31471 if (PyErr_Occurred()) SWIG_fail
;
31473 Py_INCREF(Py_None
); resultobj
= Py_None
;
31480 static PyObject
*_wrap_Diagram_Redraw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31481 PyObject
*resultobj
;
31482 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31484 PyObject
* obj0
= 0 ;
31485 PyObject
* obj1
= 0 ;
31486 char *kwnames
[] = {
31487 (char *) "self",(char *) "dc", NULL
31490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_Redraw",kwnames
,&obj0
,&obj1
)) goto fail
;
31491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31493 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
31494 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31496 if (arg2
== NULL
) {
31497 PyErr_SetString(PyExc_TypeError
,"null reference");
31501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31502 (arg1
)->Redraw(*arg2
);
31504 wxPyEndAllowThreads(__tstate
);
31505 if (PyErr_Occurred()) SWIG_fail
;
31507 Py_INCREF(Py_None
); resultobj
= Py_None
;
31514 static PyObject
*_wrap_Diagram_RemoveAllShapes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31515 PyObject
*resultobj
;
31516 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31517 PyObject
* obj0
= 0 ;
31518 char *kwnames
[] = {
31519 (char *) "self", NULL
31522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Diagram_RemoveAllShapes",kwnames
,&obj0
)) goto fail
;
31523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31527 (arg1
)->RemoveAllShapes();
31529 wxPyEndAllowThreads(__tstate
);
31530 if (PyErr_Occurred()) SWIG_fail
;
31532 Py_INCREF(Py_None
); resultobj
= Py_None
;
31539 static PyObject
*_wrap_Diagram_RemoveShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31540 PyObject
*resultobj
;
31541 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31542 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
31543 PyObject
* obj0
= 0 ;
31544 PyObject
* obj1
= 0 ;
31545 char *kwnames
[] = {
31546 (char *) "self",(char *) "shape", NULL
31549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_RemoveShape",kwnames
,&obj0
,&obj1
)) goto fail
;
31550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31552 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
31553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31556 (arg1
)->RemoveShape(arg2
);
31558 wxPyEndAllowThreads(__tstate
);
31559 if (PyErr_Occurred()) SWIG_fail
;
31561 Py_INCREF(Py_None
); resultobj
= Py_None
;
31568 static PyObject
*_wrap_Diagram_SetCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31569 PyObject
*resultobj
;
31570 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31571 wxPyShapeCanvas
*arg2
= (wxPyShapeCanvas
*) 0 ;
31572 PyObject
* obj0
= 0 ;
31573 PyObject
* obj1
= 0 ;
31574 char *kwnames
[] = {
31575 (char *) "self",(char *) "canvas", NULL
31578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_SetCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
31579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31581 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShapeCanvas
,
31582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31585 (arg1
)->SetCanvas(arg2
);
31587 wxPyEndAllowThreads(__tstate
);
31588 if (PyErr_Occurred()) SWIG_fail
;
31590 Py_INCREF(Py_None
); resultobj
= Py_None
;
31597 static PyObject
*_wrap_Diagram_SetGridSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31598 PyObject
*resultobj
;
31599 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31601 PyObject
* obj0
= 0 ;
31602 PyObject
* obj1
= 0 ;
31603 char *kwnames
[] = {
31604 (char *) "self",(char *) "spacing", NULL
31607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_SetGridSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
31608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31610 arg2
= (double)SWIG_As_double(obj1
);
31611 if (PyErr_Occurred()) SWIG_fail
;
31613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31614 (arg1
)->SetGridSpacing(arg2
);
31616 wxPyEndAllowThreads(__tstate
);
31617 if (PyErr_Occurred()) SWIG_fail
;
31619 Py_INCREF(Py_None
); resultobj
= Py_None
;
31626 static PyObject
*_wrap_Diagram_SetMouseTolerance(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31627 PyObject
*resultobj
;
31628 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31630 PyObject
* obj0
= 0 ;
31631 PyObject
* obj1
= 0 ;
31632 char *kwnames
[] = {
31633 (char *) "self",(char *) "tolerance", NULL
31636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_SetMouseTolerance",kwnames
,&obj0
,&obj1
)) goto fail
;
31637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31639 arg2
= (int)SWIG_As_int(obj1
);
31640 if (PyErr_Occurred()) SWIG_fail
;
31642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31643 (arg1
)->SetMouseTolerance(arg2
);
31645 wxPyEndAllowThreads(__tstate
);
31646 if (PyErr_Occurred()) SWIG_fail
;
31648 Py_INCREF(Py_None
); resultobj
= Py_None
;
31655 static PyObject
*_wrap_Diagram_SetQuickEditMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31656 PyObject
*resultobj
;
31657 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31659 PyObject
* obj0
= 0 ;
31660 PyObject
* obj1
= 0 ;
31661 char *kwnames
[] = {
31662 (char *) "self",(char *) "mode", NULL
31665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_SetQuickEditMode",kwnames
,&obj0
,&obj1
)) goto fail
;
31666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31668 arg2
= (bool)SWIG_As_bool(obj1
);
31669 if (PyErr_Occurred()) SWIG_fail
;
31671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31672 (arg1
)->SetQuickEditMode(arg2
);
31674 wxPyEndAllowThreads(__tstate
);
31675 if (PyErr_Occurred()) SWIG_fail
;
31677 Py_INCREF(Py_None
); resultobj
= Py_None
;
31684 static PyObject
*_wrap_Diagram_SetSnapToGrid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31685 PyObject
*resultobj
;
31686 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31688 PyObject
* obj0
= 0 ;
31689 PyObject
* obj1
= 0 ;
31690 char *kwnames
[] = {
31691 (char *) "self",(char *) "snap", NULL
31694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_SetSnapToGrid",kwnames
,&obj0
,&obj1
)) goto fail
;
31695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31697 arg2
= (bool)SWIG_As_bool(obj1
);
31698 if (PyErr_Occurred()) SWIG_fail
;
31700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31701 (arg1
)->SetSnapToGrid(arg2
);
31703 wxPyEndAllowThreads(__tstate
);
31704 if (PyErr_Occurred()) SWIG_fail
;
31706 Py_INCREF(Py_None
); resultobj
= Py_None
;
31713 static PyObject
*_wrap_Diagram_ShowAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31714 PyObject
*resultobj
;
31715 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31717 PyObject
* obj0
= 0 ;
31718 PyObject
* obj1
= 0 ;
31719 char *kwnames
[] = {
31720 (char *) "self",(char *) "show", NULL
31723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_ShowAll",kwnames
,&obj0
,&obj1
)) goto fail
;
31724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31726 arg2
= (bool)SWIG_As_bool(obj1
);
31727 if (PyErr_Occurred()) SWIG_fail
;
31729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31730 (arg1
)->ShowAll(arg2
);
31732 wxPyEndAllowThreads(__tstate
);
31733 if (PyErr_Occurred()) SWIG_fail
;
31735 Py_INCREF(Py_None
); resultobj
= Py_None
;
31742 static PyObject
*_wrap_Diagram_Snap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31743 PyObject
*resultobj
;
31744 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31745 double *arg2
= (double *) 0 ;
31746 double *arg3
= (double *) 0 ;
31751 PyObject
* obj0
= 0 ;
31752 PyObject
* obj1
= 0 ;
31753 PyObject
* obj2
= 0 ;
31754 char *kwnames
[] = {
31755 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
31758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Diagram_Snap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31762 if (!(SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_double
,0) != -1)) {
31763 temp2
= SWIG_As_double(obj1
);
31764 if (PyErr_Occurred()) SWIG_fail
;
31766 res2
= SWIG_NEWOBJ
;
31770 if (!(SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_double
,0) != -1)) {
31771 temp3
= SWIG_As_double(obj2
);
31772 if (PyErr_Occurred()) SWIG_fail
;
31774 res3
= SWIG_NEWOBJ
;
31778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31779 (arg1
)->Snap(arg2
,arg3
);
31781 wxPyEndAllowThreads(__tstate
);
31782 if (PyErr_Occurred()) SWIG_fail
;
31784 Py_INCREF(Py_None
); resultobj
= Py_None
;
31785 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
31786 SWIG_From_double((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, 0)));
31787 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
31788 SWIG_From_double((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, 0)));
31795 static PyObject
* Diagram_swigregister(PyObject
*, PyObject
*args
) {
31797 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31798 SWIG_TypeClientData(SWIGTYPE_p_wxDiagram
, obj
);
31800 return Py_BuildValue((char *)"");
31802 static PyObject
*_wrap_new_PyShapeCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31803 PyObject
*resultobj
;
31804 wxWindow
*arg1
= (wxWindow
*) NULL
;
31805 int arg2
= (int) -1 ;
31806 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
31807 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
31808 wxSize
const &arg4_defvalue
= wxDefaultSize
;
31809 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
31810 long arg5
= (long) wxBORDER
;
31811 wxString
const &arg6_defvalue
= wxPyShapeCanvasNameStr
;
31812 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
31813 wxPyShapeCanvas
*result
;
31816 bool temp6
= false ;
31817 PyObject
* obj0
= 0 ;
31818 PyObject
* obj1
= 0 ;
31819 PyObject
* obj2
= 0 ;
31820 PyObject
* obj3
= 0 ;
31821 PyObject
* obj4
= 0 ;
31822 PyObject
* obj5
= 0 ;
31823 char *kwnames
[] = {
31824 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
31827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOO:new_PyShapeCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
31829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
31830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31833 arg2
= (int)SWIG_As_int(obj1
);
31834 if (PyErr_Occurred()) SWIG_fail
;
31839 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31845 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
31849 arg5
= (long)SWIG_As_long(obj4
);
31850 if (PyErr_Occurred()) SWIG_fail
;
31854 arg6
= wxString_in_helper(obj5
);
31855 if (arg6
== NULL
) SWIG_fail
;
31860 if (!wxPyCheckForApp()) SWIG_fail
;
31861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31862 result
= (wxPyShapeCanvas
*)new wxPyShapeCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
31864 wxPyEndAllowThreads(__tstate
);
31865 if (PyErr_Occurred()) SWIG_fail
;
31867 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyShapeCanvas
, 1);
31882 static PyObject
*_wrap_PyShapeCanvas__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31883 PyObject
*resultobj
;
31884 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
31885 PyObject
*arg2
= (PyObject
*) 0 ;
31886 PyObject
*arg3
= (PyObject
*) 0 ;
31887 PyObject
* obj0
= 0 ;
31888 PyObject
* obj1
= 0 ;
31889 PyObject
* obj2
= 0 ;
31890 char *kwnames
[] = {
31891 (char *) "self",(char *) "self",(char *) "_class", NULL
31894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShapeCanvas__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
31896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31901 (arg1
)->_setCallbackInfo(arg2
,arg3
);
31903 wxPyEndAllowThreads(__tstate
);
31904 if (PyErr_Occurred()) SWIG_fail
;
31906 Py_INCREF(Py_None
); resultobj
= Py_None
;
31913 static PyObject
*_wrap_PyShapeCanvas_AddShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31914 PyObject
*resultobj
;
31915 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
31916 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
31917 wxPyShape
*arg3
= (wxPyShape
*) NULL
;
31918 PyObject
* obj0
= 0 ;
31919 PyObject
* obj1
= 0 ;
31920 PyObject
* obj2
= 0 ;
31921 char *kwnames
[] = {
31922 (char *) "self",(char *) "shape",(char *) "addAfter", NULL
31925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShapeCanvas_AddShape",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
31927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31928 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
31929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31931 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyShape
,
31932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31936 (arg1
)->AddShape(arg2
,arg3
);
31938 wxPyEndAllowThreads(__tstate
);
31939 if (PyErr_Occurred()) SWIG_fail
;
31941 Py_INCREF(Py_None
); resultobj
= Py_None
;
31948 static PyObject
*_wrap_PyShapeCanvas_FindShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31949 PyObject
*resultobj
;
31950 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
31953 int *arg4
= (int *) 0 ;
31954 wxClassInfo
*arg5
= (wxClassInfo
*) NULL
;
31955 wxPyShape
*arg6
= (wxPyShape
*) NULL
;
31959 PyObject
* obj0
= 0 ;
31960 PyObject
* obj1
= 0 ;
31961 PyObject
* obj2
= 0 ;
31962 PyObject
* obj3
= 0 ;
31963 PyObject
* obj4
= 0 ;
31964 char *kwnames
[] = {
31965 (char *) "self",(char *) "x1",(char *) "y",(char *) "info",(char *) "notImage", NULL
31968 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
31969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShapeCanvas_FindShape",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
31970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
31971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31972 arg2
= (double)SWIG_As_double(obj1
);
31973 if (PyErr_Occurred()) SWIG_fail
;
31974 arg3
= (double)SWIG_As_double(obj2
);
31975 if (PyErr_Occurred()) SWIG_fail
;
31977 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg5
),SWIGTYPE_p_wxClassInfo
,
31978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31981 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg6
),SWIGTYPE_p_wxPyShape
,
31982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31986 result
= (wxPyShape
*)(arg1
)->FindShape(arg2
,arg3
,arg4
,arg5
,arg6
);
31988 wxPyEndAllowThreads(__tstate
);
31989 if (PyErr_Occurred()) SWIG_fail
;
31992 resultobj
= wxPyMake_wxShapeEvtHandler(result
, 0);
31994 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
31995 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
32002 static PyObject
*_wrap_PyShapeCanvas_FindFirstSensitiveShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32003 PyObject
*resultobj
;
32004 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
32007 int *arg4
= (int *) 0 ;
32012 PyObject
* obj0
= 0 ;
32013 PyObject
* obj1
= 0 ;
32014 PyObject
* obj2
= 0 ;
32015 PyObject
* obj3
= 0 ;
32016 char *kwnames
[] = {
32017 (char *) "self",(char *) "x1",(char *) "y",(char *) "op", NULL
32020 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
32021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyShapeCanvas_FindFirstSensitiveShape",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
32023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32024 arg2
= (double)SWIG_As_double(obj1
);
32025 if (PyErr_Occurred()) SWIG_fail
;
32026 arg3
= (double)SWIG_As_double(obj2
);
32027 if (PyErr_Occurred()) SWIG_fail
;
32028 arg5
= (int)SWIG_As_int(obj3
);
32029 if (PyErr_Occurred()) SWIG_fail
;
32031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32032 result
= (wxPyShape
*)(arg1
)->FindFirstSensitiveShape(arg2
,arg3
,arg4
,arg5
);
32034 wxPyEndAllowThreads(__tstate
);
32035 if (PyErr_Occurred()) SWIG_fail
;
32038 resultobj
= wxPyMake_wxShapeEvtHandler(result
, 0);
32040 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
32041 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
32048 static PyObject
*_wrap_PyShapeCanvas_GetDiagram(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32049 PyObject
*resultobj
;
32050 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
32052 PyObject
* obj0
= 0 ;
32053 char *kwnames
[] = {
32054 (char *) "self", NULL
32057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShapeCanvas_GetDiagram",kwnames
,&obj0
)) goto fail
;
32058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
32059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32062 result
= (wxDiagram
*)(arg1
)->GetDiagram();
32064 wxPyEndAllowThreads(__tstate
);
32065 if (PyErr_Occurred()) SWIG_fail
;
32068 resultobj
= wxPyMake_wxObject(result
, 0);
32076 static PyObject
*_wrap_PyShapeCanvas_GetQuickEditMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32077 PyObject
*resultobj
;
32078 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
32080 PyObject
* obj0
= 0 ;
32081 char *kwnames
[] = {
32082 (char *) "self", NULL
32085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShapeCanvas_GetQuickEditMode",kwnames
,&obj0
)) goto fail
;
32086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
32087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32090 result
= (bool)(arg1
)->GetQuickEditMode();
32092 wxPyEndAllowThreads(__tstate
);
32093 if (PyErr_Occurred()) SWIG_fail
;
32096 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32104 static PyObject
*_wrap_PyShapeCanvas_InsertShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32105 PyObject
*resultobj
;
32106 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
32107 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
32108 PyObject
* obj0
= 0 ;
32109 PyObject
* obj1
= 0 ;
32110 char *kwnames
[] = {
32111 (char *) "self",(char *) "shape", NULL
32114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeCanvas_InsertShape",kwnames
,&obj0
,&obj1
)) goto fail
;
32115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
32116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32117 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
32118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32121 (arg1
)->InsertShape(arg2
);
32123 wxPyEndAllowThreads(__tstate
);
32124 if (PyErr_Occurred()) SWIG_fail
;
32126 Py_INCREF(Py_None
); resultobj
= Py_None
;
32133 static PyObject
*_wrap_PyShapeCanvas_base_OnBeginDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32134 PyObject
*resultobj
;
32135 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
32138 int arg4
= (int) 0 ;
32139 PyObject
* obj0
= 0 ;
32140 PyObject
* obj1
= 0 ;
32141 PyObject
* obj2
= 0 ;
32142 PyObject
* obj3
= 0 ;
32143 char *kwnames
[] = {
32144 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
32147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyShapeCanvas_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
32149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32150 arg2
= (double)SWIG_As_double(obj1
);
32151 if (PyErr_Occurred()) SWIG_fail
;
32152 arg3
= (double)SWIG_As_double(obj2
);
32153 if (PyErr_Occurred()) SWIG_fail
;
32155 arg4
= (int)SWIG_As_int(obj3
);
32156 if (PyErr_Occurred()) SWIG_fail
;
32159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32160 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
);
32162 wxPyEndAllowThreads(__tstate
);
32163 if (PyErr_Occurred()) SWIG_fail
;
32165 Py_INCREF(Py_None
); resultobj
= Py_None
;
32172 static PyObject
*_wrap_PyShapeCanvas_base_OnBeginDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32173 PyObject
*resultobj
;
32174 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
32177 int arg4
= (int) 0 ;
32178 PyObject
* obj0
= 0 ;
32179 PyObject
* obj1
= 0 ;
32180 PyObject
* obj2
= 0 ;
32181 PyObject
* obj3
= 0 ;
32182 char *kwnames
[] = {
32183 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
32186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyShapeCanvas_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
32188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32189 arg2
= (double)SWIG_As_double(obj1
);
32190 if (PyErr_Occurred()) SWIG_fail
;
32191 arg3
= (double)SWIG_As_double(obj2
);
32192 if (PyErr_Occurred()) SWIG_fail
;
32194 arg4
= (int)SWIG_As_int(obj3
);
32195 if (PyErr_Occurred()) SWIG_fail
;
32198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32199 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
);
32201 wxPyEndAllowThreads(__tstate
);
32202 if (PyErr_Occurred()) SWIG_fail
;
32204 Py_INCREF(Py_None
); resultobj
= Py_None
;
32211 static PyObject
*_wrap_PyShapeCanvas_base_OnEndDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32212 PyObject
*resultobj
;
32213 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
32216 int arg4
= (int) 0 ;
32217 PyObject
* obj0
= 0 ;
32218 PyObject
* obj1
= 0 ;
32219 PyObject
* obj2
= 0 ;
32220 PyObject
* obj3
= 0 ;
32221 char *kwnames
[] = {
32222 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
32225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyShapeCanvas_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
32227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32228 arg2
= (double)SWIG_As_double(obj1
);
32229 if (PyErr_Occurred()) SWIG_fail
;
32230 arg3
= (double)SWIG_As_double(obj2
);
32231 if (PyErr_Occurred()) SWIG_fail
;
32233 arg4
= (int)SWIG_As_int(obj3
);
32234 if (PyErr_Occurred()) SWIG_fail
;
32237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32238 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
);
32240 wxPyEndAllowThreads(__tstate
);
32241 if (PyErr_Occurred()) SWIG_fail
;
32243 Py_INCREF(Py_None
); resultobj
= Py_None
;
32250 static PyObject
*_wrap_PyShapeCanvas_base_OnEndDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32251 PyObject
*resultobj
;
32252 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
32255 int arg4
= (int) 0 ;
32256 PyObject
* obj0
= 0 ;
32257 PyObject
* obj1
= 0 ;
32258 PyObject
* obj2
= 0 ;
32259 PyObject
* obj3
= 0 ;
32260 char *kwnames
[] = {
32261 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
32264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyShapeCanvas_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
32266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32267 arg2
= (double)SWIG_As_double(obj1
);
32268 if (PyErr_Occurred()) SWIG_fail
;
32269 arg3
= (double)SWIG_As_double(obj2
);
32270 if (PyErr_Occurred()) SWIG_fail
;
32272 arg4
= (int)SWIG_As_int(obj3
);
32273 if (PyErr_Occurred()) SWIG_fail
;
32276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32277 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
);
32279 wxPyEndAllowThreads(__tstate
);
32280 if (PyErr_Occurred()) SWIG_fail
;
32282 Py_INCREF(Py_None
); resultobj
= Py_None
;
32289 static PyObject
*_wrap_PyShapeCanvas_base_OnDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32290 PyObject
*resultobj
;
32291 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
32295 int arg5
= (int) 0 ;
32296 PyObject
* obj0
= 0 ;
32297 PyObject
* obj1
= 0 ;
32298 PyObject
* obj2
= 0 ;
32299 PyObject
* obj3
= 0 ;
32300 PyObject
* obj4
= 0 ;
32301 char *kwnames
[] = {
32302 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys", NULL
32305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PyShapeCanvas_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
32307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32308 arg2
= (bool)SWIG_As_bool(obj1
);
32309 if (PyErr_Occurred()) SWIG_fail
;
32310 arg3
= (double)SWIG_As_double(obj2
);
32311 if (PyErr_Occurred()) SWIG_fail
;
32312 arg4
= (double)SWIG_As_double(obj3
);
32313 if (PyErr_Occurred()) SWIG_fail
;
32315 arg5
= (int)SWIG_As_int(obj4
);
32316 if (PyErr_Occurred()) SWIG_fail
;
32319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32320 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
);
32322 wxPyEndAllowThreads(__tstate
);
32323 if (PyErr_Occurred()) SWIG_fail
;
32325 Py_INCREF(Py_None
); resultobj
= Py_None
;
32332 static PyObject
*_wrap_PyShapeCanvas_base_OnDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32333 PyObject
*resultobj
;
32334 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
32338 int arg5
= (int) 0 ;
32339 PyObject
* obj0
= 0 ;
32340 PyObject
* obj1
= 0 ;
32341 PyObject
* obj2
= 0 ;
32342 PyObject
* obj3
= 0 ;
32343 PyObject
* obj4
= 0 ;
32344 char *kwnames
[] = {
32345 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys", NULL
32348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PyShapeCanvas_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
32350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32351 arg2
= (bool)SWIG_As_bool(obj1
);
32352 if (PyErr_Occurred()) SWIG_fail
;
32353 arg3
= (double)SWIG_As_double(obj2
);
32354 if (PyErr_Occurred()) SWIG_fail
;
32355 arg4
= (double)SWIG_As_double(obj3
);
32356 if (PyErr_Occurred()) SWIG_fail
;
32358 arg5
= (int)SWIG_As_int(obj4
);
32359 if (PyErr_Occurred()) SWIG_fail
;
32362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32363 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
);
32365 wxPyEndAllowThreads(__tstate
);
32366 if (PyErr_Occurred()) SWIG_fail
;
32368 Py_INCREF(Py_None
); resultobj
= Py_None
;
32375 static PyObject
*_wrap_PyShapeCanvas_base_OnLeftClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32376 PyObject
*resultobj
;
32377 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
32380 int arg4
= (int) 0 ;
32381 PyObject
* obj0
= 0 ;
32382 PyObject
* obj1
= 0 ;
32383 PyObject
* obj2
= 0 ;
32384 PyObject
* obj3
= 0 ;
32385 char *kwnames
[] = {
32386 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
32389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyShapeCanvas_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
32391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32392 arg2
= (double)SWIG_As_double(obj1
);
32393 if (PyErr_Occurred()) SWIG_fail
;
32394 arg3
= (double)SWIG_As_double(obj2
);
32395 if (PyErr_Occurred()) SWIG_fail
;
32397 arg4
= (int)SWIG_As_int(obj3
);
32398 if (PyErr_Occurred()) SWIG_fail
;
32401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32402 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
);
32404 wxPyEndAllowThreads(__tstate
);
32405 if (PyErr_Occurred()) SWIG_fail
;
32407 Py_INCREF(Py_None
); resultobj
= Py_None
;
32414 static PyObject
*_wrap_PyShapeCanvas_base_OnRightClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32415 PyObject
*resultobj
;
32416 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
32419 int arg4
= (int) 0 ;
32420 PyObject
* obj0
= 0 ;
32421 PyObject
* obj1
= 0 ;
32422 PyObject
* obj2
= 0 ;
32423 PyObject
* obj3
= 0 ;
32424 char *kwnames
[] = {
32425 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
32428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyShapeCanvas_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
32430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32431 arg2
= (double)SWIG_As_double(obj1
);
32432 if (PyErr_Occurred()) SWIG_fail
;
32433 arg3
= (double)SWIG_As_double(obj2
);
32434 if (PyErr_Occurred()) SWIG_fail
;
32436 arg4
= (int)SWIG_As_int(obj3
);
32437 if (PyErr_Occurred()) SWIG_fail
;
32440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32441 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
);
32443 wxPyEndAllowThreads(__tstate
);
32444 if (PyErr_Occurred()) SWIG_fail
;
32446 Py_INCREF(Py_None
); resultobj
= Py_None
;
32453 static PyObject
*_wrap_PyShapeCanvas_Redraw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32454 PyObject
*resultobj
;
32455 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
32457 PyObject
* obj0
= 0 ;
32458 PyObject
* obj1
= 0 ;
32459 char *kwnames
[] = {
32460 (char *) "self",(char *) "dc", NULL
32463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeCanvas_Redraw",kwnames
,&obj0
,&obj1
)) goto fail
;
32464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
32465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32466 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
32467 SWIG_POINTER_EXCEPTION
| 0)) == -1)
32469 if (arg2
== NULL
) {
32470 PyErr_SetString(PyExc_TypeError
,"null reference");
32474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32475 (arg1
)->Redraw(*arg2
);
32477 wxPyEndAllowThreads(__tstate
);
32478 if (PyErr_Occurred()) SWIG_fail
;
32480 Py_INCREF(Py_None
); resultobj
= Py_None
;
32487 static PyObject
*_wrap_PyShapeCanvas_RemoveShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32488 PyObject
*resultobj
;
32489 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
32490 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
32491 PyObject
* obj0
= 0 ;
32492 PyObject
* obj1
= 0 ;
32493 char *kwnames
[] = {
32494 (char *) "self",(char *) "shape", NULL
32497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeCanvas_RemoveShape",kwnames
,&obj0
,&obj1
)) goto fail
;
32498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
32499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32500 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
32501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32504 (arg1
)->RemoveShape(arg2
);
32506 wxPyEndAllowThreads(__tstate
);
32507 if (PyErr_Occurred()) SWIG_fail
;
32509 Py_INCREF(Py_None
); resultobj
= Py_None
;
32516 static PyObject
*_wrap_PyShapeCanvas_SetDiagram(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32517 PyObject
*resultobj
;
32518 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
32519 wxDiagram
*arg2
= (wxDiagram
*) 0 ;
32520 PyObject
* obj0
= 0 ;
32521 PyObject
* obj1
= 0 ;
32522 char *kwnames
[] = {
32523 (char *) "self",(char *) "diagram", NULL
32526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeCanvas_SetDiagram",kwnames
,&obj0
,&obj1
)) goto fail
;
32527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
32528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32529 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDiagram
,
32530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32533 (arg1
)->SetDiagram(arg2
);
32535 wxPyEndAllowThreads(__tstate
);
32536 if (PyErr_Occurred()) SWIG_fail
;
32538 Py_INCREF(Py_None
); resultobj
= Py_None
;
32545 static PyObject
*_wrap_PyShapeCanvas_Snap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32546 PyObject
*resultobj
;
32547 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
32548 double *arg2
= (double *) 0 ;
32549 double *arg3
= (double *) 0 ;
32554 PyObject
* obj0
= 0 ;
32555 PyObject
* obj1
= 0 ;
32556 PyObject
* obj2
= 0 ;
32557 char *kwnames
[] = {
32558 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
32561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShapeCanvas_Snap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
32563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32565 if (!(SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_double
,0) != -1)) {
32566 temp2
= SWIG_As_double(obj1
);
32567 if (PyErr_Occurred()) SWIG_fail
;
32569 res2
= SWIG_NEWOBJ
;
32573 if (!(SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_double
,0) != -1)) {
32574 temp3
= SWIG_As_double(obj2
);
32575 if (PyErr_Occurred()) SWIG_fail
;
32577 res3
= SWIG_NEWOBJ
;
32581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32582 (arg1
)->Snap(arg2
,arg3
);
32584 wxPyEndAllowThreads(__tstate
);
32585 if (PyErr_Occurred()) SWIG_fail
;
32587 Py_INCREF(Py_None
); resultobj
= Py_None
;
32588 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
32589 SWIG_From_double((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, 0)));
32590 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
32591 SWIG_From_double((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, 0)));
32598 static PyObject
* PyShapeCanvas_swigregister(PyObject
*, PyObject
*args
) {
32600 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32601 SWIG_TypeClientData(SWIGTYPE_p_wxPyShapeCanvas
, obj
);
32603 return Py_BuildValue((char *)"");
32605 static PyObject
*_wrap_OGLInitialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32606 PyObject
*resultobj
;
32607 char *kwnames
[] = {
32611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":OGLInitialize",kwnames
)) goto fail
;
32613 if (!wxPyCheckForApp()) SWIG_fail
;
32614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32617 wxPyEndAllowThreads(__tstate
);
32618 if (PyErr_Occurred()) SWIG_fail
;
32620 Py_INCREF(Py_None
); resultobj
= Py_None
;
32627 static PyObject
*_wrap_OGLCleanUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32628 PyObject
*resultobj
;
32629 char *kwnames
[] = {
32633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":OGLCleanUp",kwnames
)) goto fail
;
32635 if (!wxPyCheckForApp()) SWIG_fail
;
32636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32639 wxPyEndAllowThreads(__tstate
);
32640 if (PyErr_Occurred()) SWIG_fail
;
32642 Py_INCREF(Py_None
); resultobj
= Py_None
;
32649 static PyMethodDef SwigMethods
[] = {
32650 { (char *)"new_ShapeRegion", (PyCFunction
) _wrap_new_ShapeRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32651 { (char *)"ShapeRegion_SetText", (PyCFunction
) _wrap_ShapeRegion_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32652 { (char *)"ShapeRegion_SetFont", (PyCFunction
) _wrap_ShapeRegion_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32653 { (char *)"ShapeRegion_SetMinSize", (PyCFunction
) _wrap_ShapeRegion_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32654 { (char *)"ShapeRegion_SetSize", (PyCFunction
) _wrap_ShapeRegion_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32655 { (char *)"ShapeRegion_SetPosition", (PyCFunction
) _wrap_ShapeRegion_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32656 { (char *)"ShapeRegion_SetProportions", (PyCFunction
) _wrap_ShapeRegion_SetProportions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32657 { (char *)"ShapeRegion_SetFormatMode", (PyCFunction
) _wrap_ShapeRegion_SetFormatMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32658 { (char *)"ShapeRegion_SetName", (PyCFunction
) _wrap_ShapeRegion_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32659 { (char *)"ShapeRegion_SetColour", (PyCFunction
) _wrap_ShapeRegion_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32660 { (char *)"ShapeRegion_GetText", (PyCFunction
) _wrap_ShapeRegion_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32661 { (char *)"ShapeRegion_GetFont", (PyCFunction
) _wrap_ShapeRegion_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32662 { (char *)"ShapeRegion_GetMinSize", (PyCFunction
) _wrap_ShapeRegion_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32663 { (char *)"ShapeRegion_GetProportion", (PyCFunction
) _wrap_ShapeRegion_GetProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32664 { (char *)"ShapeRegion_GetSize", (PyCFunction
) _wrap_ShapeRegion_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32665 { (char *)"ShapeRegion_GetPosition", (PyCFunction
) _wrap_ShapeRegion_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32666 { (char *)"ShapeRegion_GetFormatMode", (PyCFunction
) _wrap_ShapeRegion_GetFormatMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32667 { (char *)"ShapeRegion_GetName", (PyCFunction
) _wrap_ShapeRegion_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32668 { (char *)"ShapeRegion_GetColour", (PyCFunction
) _wrap_ShapeRegion_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32669 { (char *)"ShapeRegion_GetActualColourObject", (PyCFunction
) _wrap_ShapeRegion_GetActualColourObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32670 { (char *)"ShapeRegion_GetFormattedText", (PyCFunction
) _wrap_ShapeRegion_GetFormattedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32671 { (char *)"ShapeRegion_GetPenColour", (PyCFunction
) _wrap_ShapeRegion_GetPenColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32672 { (char *)"ShapeRegion_GetPenStyle", (PyCFunction
) _wrap_ShapeRegion_GetPenStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32673 { (char *)"ShapeRegion_SetPenStyle", (PyCFunction
) _wrap_ShapeRegion_SetPenStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32674 { (char *)"ShapeRegion_SetPenColour", (PyCFunction
) _wrap_ShapeRegion_SetPenColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32675 { (char *)"ShapeRegion_GetActualPen", (PyCFunction
) _wrap_ShapeRegion_GetActualPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32676 { (char *)"ShapeRegion_GetWidth", (PyCFunction
) _wrap_ShapeRegion_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32677 { (char *)"ShapeRegion_GetHeight", (PyCFunction
) _wrap_ShapeRegion_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32678 { (char *)"ShapeRegion_ClearText", (PyCFunction
) _wrap_ShapeRegion_ClearText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32679 { (char *)"ShapeRegion_swigregister", ShapeRegion_swigregister
, METH_VARARGS
, NULL
},
32680 { (char *)"new_AttachmentPoint", (PyCFunction
) _wrap_new_AttachmentPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32681 { (char *)"AttachmentPoint_m_id_set", (PyCFunction
) _wrap_AttachmentPoint_m_id_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32682 { (char *)"AttachmentPoint_m_id_get", (PyCFunction
) _wrap_AttachmentPoint_m_id_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32683 { (char *)"AttachmentPoint_m_x_set", (PyCFunction
) _wrap_AttachmentPoint_m_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32684 { (char *)"AttachmentPoint_m_x_get", (PyCFunction
) _wrap_AttachmentPoint_m_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32685 { (char *)"AttachmentPoint_m_y_set", (PyCFunction
) _wrap_AttachmentPoint_m_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32686 { (char *)"AttachmentPoint_m_y_get", (PyCFunction
) _wrap_AttachmentPoint_m_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32687 { (char *)"AttachmentPoint_swigregister", AttachmentPoint_swigregister
, METH_VARARGS
, NULL
},
32688 { (char *)"new_PyShapeEvtHandler", (PyCFunction
) _wrap_new_PyShapeEvtHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32689 { (char *)"PyShapeEvtHandler__setCallbackInfo", (PyCFunction
) _wrap_PyShapeEvtHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32690 { (char *)"PyShapeEvtHandler__setOORInfo", (PyCFunction
) _wrap_PyShapeEvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32691 { (char *)"PyShapeEvtHandler_SetShape", (PyCFunction
) _wrap_PyShapeEvtHandler_SetShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32692 { (char *)"PyShapeEvtHandler_GetShape", (PyCFunction
) _wrap_PyShapeEvtHandler_GetShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32693 { (char *)"PyShapeEvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_PyShapeEvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32694 { (char *)"PyShapeEvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_PyShapeEvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32695 { (char *)"PyShapeEvtHandler_CreateNewCopy", (PyCFunction
) _wrap_PyShapeEvtHandler_CreateNewCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32696 { (char *)"PyShapeEvtHandler_base_OnDelete", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32697 { (char *)"PyShapeEvtHandler_base_OnDraw", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32698 { (char *)"PyShapeEvtHandler_base_OnDrawContents", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32699 { (char *)"PyShapeEvtHandler_base_OnDrawBranches", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32700 { (char *)"PyShapeEvtHandler_base_OnMoveLinks", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32701 { (char *)"PyShapeEvtHandler_base_OnErase", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32702 { (char *)"PyShapeEvtHandler_base_OnEraseContents", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32703 { (char *)"PyShapeEvtHandler_base_OnHighlight", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32704 { (char *)"PyShapeEvtHandler_base_OnLeftClick", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32705 { (char *)"PyShapeEvtHandler_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32706 { (char *)"PyShapeEvtHandler_base_OnRightClick", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32707 { (char *)"PyShapeEvtHandler_base_OnSize", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32708 { (char *)"PyShapeEvtHandler_base_OnMovePre", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32709 { (char *)"PyShapeEvtHandler_base_OnMovePost", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32710 { (char *)"PyShapeEvtHandler_base_OnDragLeft", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32711 { (char *)"PyShapeEvtHandler_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32712 { (char *)"PyShapeEvtHandler_base_OnEndDragLeft", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32713 { (char *)"PyShapeEvtHandler_base_OnDragRight", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32714 { (char *)"PyShapeEvtHandler_base_OnBeginDragRight", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32715 { (char *)"PyShapeEvtHandler_base_OnEndDragRight", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32716 { (char *)"PyShapeEvtHandler_base_OnDrawOutline", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32717 { (char *)"PyShapeEvtHandler_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32718 { (char *)"PyShapeEvtHandler_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32719 { (char *)"PyShapeEvtHandler_base_OnMoveLink", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32720 { (char *)"PyShapeEvtHandler_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32721 { (char *)"PyShapeEvtHandler_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32722 { (char *)"PyShapeEvtHandler_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32723 { (char *)"PyShapeEvtHandler_base_OnBeginSize", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32724 { (char *)"PyShapeEvtHandler_base_OnEndSize", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32725 { (char *)"PyShapeEvtHandler_swigregister", PyShapeEvtHandler_swigregister
, METH_VARARGS
, NULL
},
32726 { (char *)"new_PyShape", (PyCFunction
) _wrap_new_PyShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32727 { (char *)"PyShape__setCallbackInfo", (PyCFunction
) _wrap_PyShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32728 { (char *)"PyShape_GetBoundingBoxMax", (PyCFunction
) _wrap_PyShape_GetBoundingBoxMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32729 { (char *)"PyShape_GetBoundingBoxMin", (PyCFunction
) _wrap_PyShape_GetBoundingBoxMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32730 { (char *)"PyShape_GetPerimeterPoint", (PyCFunction
) _wrap_PyShape_GetPerimeterPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32731 { (char *)"PyShape_GetCanvas", (PyCFunction
) _wrap_PyShape_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32732 { (char *)"PyShape_SetCanvas", (PyCFunction
) _wrap_PyShape_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32733 { (char *)"PyShape_AddToCanvas", (PyCFunction
) _wrap_PyShape_AddToCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32734 { (char *)"PyShape_InsertInCanvas", (PyCFunction
) _wrap_PyShape_InsertInCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32735 { (char *)"PyShape_RemoveFromCanvas", (PyCFunction
) _wrap_PyShape_RemoveFromCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32736 { (char *)"PyShape_GetX", (PyCFunction
) _wrap_PyShape_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32737 { (char *)"PyShape_GetY", (PyCFunction
) _wrap_PyShape_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32738 { (char *)"PyShape_SetX", (PyCFunction
) _wrap_PyShape_SetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32739 { (char *)"PyShape_SetY", (PyCFunction
) _wrap_PyShape_SetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32740 { (char *)"PyShape_GetParent", (PyCFunction
) _wrap_PyShape_GetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32741 { (char *)"PyShape_SetParent", (PyCFunction
) _wrap_PyShape_SetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32742 { (char *)"PyShape_GetTopAncestor", (PyCFunction
) _wrap_PyShape_GetTopAncestor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32743 { (char *)"PyShape_GetChildren", (PyCFunction
) _wrap_PyShape_GetChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32744 { (char *)"PyShape_Unlink", (PyCFunction
) _wrap_PyShape_Unlink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32745 { (char *)"PyShape_SetDrawHandles", (PyCFunction
) _wrap_PyShape_SetDrawHandles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32746 { (char *)"PyShape_GetDrawHandles", (PyCFunction
) _wrap_PyShape_GetDrawHandles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32747 { (char *)"PyShape_MakeControlPoints", (PyCFunction
) _wrap_PyShape_MakeControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32748 { (char *)"PyShape_DeleteControlPoints", (PyCFunction
) _wrap_PyShape_DeleteControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32749 { (char *)"PyShape_ResetControlPoints", (PyCFunction
) _wrap_PyShape_ResetControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32750 { (char *)"PyShape_GetEventHandler", (PyCFunction
) _wrap_PyShape_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32751 { (char *)"PyShape_SetEventHandler", (PyCFunction
) _wrap_PyShape_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32752 { (char *)"PyShape_MakeMandatoryControlPoints", (PyCFunction
) _wrap_PyShape_MakeMandatoryControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32753 { (char *)"PyShape_ResetMandatoryControlPoints", (PyCFunction
) _wrap_PyShape_ResetMandatoryControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32754 { (char *)"PyShape_Recompute", (PyCFunction
) _wrap_PyShape_Recompute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32755 { (char *)"PyShape_CalculateSize", (PyCFunction
) _wrap_PyShape_CalculateSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32756 { (char *)"PyShape_Select", (PyCFunction
) _wrap_PyShape_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32757 { (char *)"PyShape_SetHighlight", (PyCFunction
) _wrap_PyShape_SetHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32758 { (char *)"PyShape_IsHighlighted", (PyCFunction
) _wrap_PyShape_IsHighlighted
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32759 { (char *)"PyShape_Selected", (PyCFunction
) _wrap_PyShape_Selected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32760 { (char *)"PyShape_AncestorSelected", (PyCFunction
) _wrap_PyShape_AncestorSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32761 { (char *)"PyShape_SetSensitivityFilter", (PyCFunction
) _wrap_PyShape_SetSensitivityFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32762 { (char *)"PyShape_GetSensitivityFilter", (PyCFunction
) _wrap_PyShape_GetSensitivityFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32763 { (char *)"PyShape_SetDraggable", (PyCFunction
) _wrap_PyShape_SetDraggable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32764 { (char *)"PyShape_SetFixedSize", (PyCFunction
) _wrap_PyShape_SetFixedSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32765 { (char *)"PyShape_GetFixedSize", (PyCFunction
) _wrap_PyShape_GetFixedSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32766 { (char *)"PyShape_GetFixedWidth", (PyCFunction
) _wrap_PyShape_GetFixedWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32767 { (char *)"PyShape_GetFixedHeight", (PyCFunction
) _wrap_PyShape_GetFixedHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32768 { (char *)"PyShape_SetSpaceAttachments", (PyCFunction
) _wrap_PyShape_SetSpaceAttachments
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32769 { (char *)"PyShape_GetSpaceAttachments", (PyCFunction
) _wrap_PyShape_GetSpaceAttachments
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32770 { (char *)"PyShape_SetShadowMode", (PyCFunction
) _wrap_PyShape_SetShadowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32771 { (char *)"PyShape_GetShadowMode", (PyCFunction
) _wrap_PyShape_GetShadowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32772 { (char *)"PyShape_HitTest", (PyCFunction
) _wrap_PyShape_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32773 { (char *)"PyShape_SetCentreResize", (PyCFunction
) _wrap_PyShape_SetCentreResize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32774 { (char *)"PyShape_GetCentreResize", (PyCFunction
) _wrap_PyShape_GetCentreResize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32775 { (char *)"PyShape_SetMaintainAspectRatio", (PyCFunction
) _wrap_PyShape_SetMaintainAspectRatio
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32776 { (char *)"PyShape_GetMaintainAspectRatio", (PyCFunction
) _wrap_PyShape_GetMaintainAspectRatio
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32777 { (char *)"PyShape_GetLines", (PyCFunction
) _wrap_PyShape_GetLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32778 { (char *)"PyShape_SetDisableLabel", (PyCFunction
) _wrap_PyShape_SetDisableLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32779 { (char *)"PyShape_GetDisableLabel", (PyCFunction
) _wrap_PyShape_GetDisableLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32780 { (char *)"PyShape_SetAttachmentMode", (PyCFunction
) _wrap_PyShape_SetAttachmentMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32781 { (char *)"PyShape_GetAttachmentMode", (PyCFunction
) _wrap_PyShape_GetAttachmentMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32782 { (char *)"PyShape_SetId", (PyCFunction
) _wrap_PyShape_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32783 { (char *)"PyShape_GetId", (PyCFunction
) _wrap_PyShape_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32784 { (char *)"PyShape_SetPen", (PyCFunction
) _wrap_PyShape_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32785 { (char *)"PyShape_SetBrush", (PyCFunction
) _wrap_PyShape_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32786 { (char *)"PyShape_Show", (PyCFunction
) _wrap_PyShape_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32787 { (char *)"PyShape_IsShown", (PyCFunction
) _wrap_PyShape_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32788 { (char *)"PyShape_Move", (PyCFunction
) _wrap_PyShape_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32789 { (char *)"PyShape_Erase", (PyCFunction
) _wrap_PyShape_Erase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32790 { (char *)"PyShape_EraseContents", (PyCFunction
) _wrap_PyShape_EraseContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32791 { (char *)"PyShape_Draw", (PyCFunction
) _wrap_PyShape_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32792 { (char *)"PyShape_Flash", (PyCFunction
) _wrap_PyShape_Flash
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32793 { (char *)"PyShape_MoveLinks", (PyCFunction
) _wrap_PyShape_MoveLinks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32794 { (char *)"PyShape_DrawContents", (PyCFunction
) _wrap_PyShape_DrawContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32795 { (char *)"PyShape_SetSize", (PyCFunction
) _wrap_PyShape_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32796 { (char *)"PyShape_SetAttachmentSize", (PyCFunction
) _wrap_PyShape_SetAttachmentSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32797 { (char *)"PyShape_Attach", (PyCFunction
) _wrap_PyShape_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32798 { (char *)"PyShape_Detach", (PyCFunction
) _wrap_PyShape_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32799 { (char *)"PyShape_Constrain", (PyCFunction
) _wrap_PyShape_Constrain
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32800 { (char *)"PyShape_AddLine", (PyCFunction
) _wrap_PyShape_AddLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32801 { (char *)"PyShape_GetLinePosition", (PyCFunction
) _wrap_PyShape_GetLinePosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32802 { (char *)"PyShape_AddText", (PyCFunction
) _wrap_PyShape_AddText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32803 { (char *)"PyShape_GetPen", (PyCFunction
) _wrap_PyShape_GetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32804 { (char *)"PyShape_GetBrush", (PyCFunction
) _wrap_PyShape_GetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32805 { (char *)"PyShape_SetDefaultRegionSize", (PyCFunction
) _wrap_PyShape_SetDefaultRegionSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32806 { (char *)"PyShape_FormatText", (PyCFunction
) _wrap_PyShape_FormatText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32807 { (char *)"PyShape_SetFormatMode", (PyCFunction
) _wrap_PyShape_SetFormatMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32808 { (char *)"PyShape_GetFormatMode", (PyCFunction
) _wrap_PyShape_GetFormatMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32809 { (char *)"PyShape_SetFont", (PyCFunction
) _wrap_PyShape_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32810 { (char *)"PyShape_GetFont", (PyCFunction
) _wrap_PyShape_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32811 { (char *)"PyShape_SetTextColour", (PyCFunction
) _wrap_PyShape_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32812 { (char *)"PyShape_GetTextColour", (PyCFunction
) _wrap_PyShape_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32813 { (char *)"PyShape_GetNumberOfTextRegions", (PyCFunction
) _wrap_PyShape_GetNumberOfTextRegions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32814 { (char *)"PyShape_SetRegionName", (PyCFunction
) _wrap_PyShape_SetRegionName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32815 { (char *)"PyShape_GetRegionName", (PyCFunction
) _wrap_PyShape_GetRegionName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32816 { (char *)"PyShape_GetRegionId", (PyCFunction
) _wrap_PyShape_GetRegionId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32817 { (char *)"PyShape_NameRegions", (PyCFunction
) _wrap_PyShape_NameRegions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32818 { (char *)"PyShape_GetRegions", (PyCFunction
) _wrap_PyShape_GetRegions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32819 { (char *)"PyShape_AddRegion", (PyCFunction
) _wrap_PyShape_AddRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32820 { (char *)"PyShape_ClearRegions", (PyCFunction
) _wrap_PyShape_ClearRegions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32821 { (char *)"PyShape_AssignNewIds", (PyCFunction
) _wrap_PyShape_AssignNewIds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32822 { (char *)"PyShape_FindRegion", (PyCFunction
) _wrap_PyShape_FindRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32823 { (char *)"PyShape_FindRegionNames", (PyCFunction
) _wrap_PyShape_FindRegionNames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32824 { (char *)"PyShape_ClearText", (PyCFunction
) _wrap_PyShape_ClearText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32825 { (char *)"PyShape_RemoveLine", (PyCFunction
) _wrap_PyShape_RemoveLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32826 { (char *)"PyShape_GetAttachmentPosition", (PyCFunction
) _wrap_PyShape_GetAttachmentPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32827 { (char *)"PyShape_GetNumberOfAttachments", (PyCFunction
) _wrap_PyShape_GetNumberOfAttachments
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32828 { (char *)"PyShape_AttachmentIsValid", (PyCFunction
) _wrap_PyShape_AttachmentIsValid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32829 { (char *)"PyShape_GetAttachments", (PyCFunction
) _wrap_PyShape_GetAttachments
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32830 { (char *)"PyShape_GetAttachmentPositionEdge", (PyCFunction
) _wrap_PyShape_GetAttachmentPositionEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32831 { (char *)"PyShape_CalcSimpleAttachment", (PyCFunction
) _wrap_PyShape_CalcSimpleAttachment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32832 { (char *)"PyShape_AttachmentSortTest", (PyCFunction
) _wrap_PyShape_AttachmentSortTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32833 { (char *)"PyShape_EraseLinks", (PyCFunction
) _wrap_PyShape_EraseLinks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32834 { (char *)"PyShape_DrawLinks", (PyCFunction
) _wrap_PyShape_DrawLinks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32835 { (char *)"PyShape_MoveLineToNewAttachment", (PyCFunction
) _wrap_PyShape_MoveLineToNewAttachment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32836 { (char *)"PyShape_ApplyAttachmentOrdering", (PyCFunction
) _wrap_PyShape_ApplyAttachmentOrdering
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32837 { (char *)"PyShape_GetBranchingAttachmentRoot", (PyCFunction
) _wrap_PyShape_GetBranchingAttachmentRoot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32838 { (char *)"PyShape_GetBranchingAttachmentInfo", (PyCFunction
) _wrap_PyShape_GetBranchingAttachmentInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32839 { (char *)"PyShape_GetBranchingAttachmentPoint", (PyCFunction
) _wrap_PyShape_GetBranchingAttachmentPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32840 { (char *)"PyShape_GetAttachmentLineCount", (PyCFunction
) _wrap_PyShape_GetAttachmentLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32841 { (char *)"PyShape_SetBranchNeckLength", (PyCFunction
) _wrap_PyShape_SetBranchNeckLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32842 { (char *)"PyShape_GetBranchNeckLength", (PyCFunction
) _wrap_PyShape_GetBranchNeckLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32843 { (char *)"PyShape_SetBranchStemLength", (PyCFunction
) _wrap_PyShape_SetBranchStemLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32844 { (char *)"PyShape_GetBranchStemLength", (PyCFunction
) _wrap_PyShape_GetBranchStemLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32845 { (char *)"PyShape_SetBranchSpacing", (PyCFunction
) _wrap_PyShape_SetBranchSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32846 { (char *)"PyShape_GetBranchSpacing", (PyCFunction
) _wrap_PyShape_GetBranchSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32847 { (char *)"PyShape_SetBranchStyle", (PyCFunction
) _wrap_PyShape_SetBranchStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32848 { (char *)"PyShape_GetBranchStyle", (PyCFunction
) _wrap_PyShape_GetBranchStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32849 { (char *)"PyShape_PhysicalToLogicalAttachment", (PyCFunction
) _wrap_PyShape_PhysicalToLogicalAttachment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32850 { (char *)"PyShape_LogicalToPhysicalAttachment", (PyCFunction
) _wrap_PyShape_LogicalToPhysicalAttachment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32851 { (char *)"PyShape_Draggable", (PyCFunction
) _wrap_PyShape_Draggable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32852 { (char *)"PyShape_HasDescendant", (PyCFunction
) _wrap_PyShape_HasDescendant
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32853 { (char *)"PyShape_CreateNewCopy", (PyCFunction
) _wrap_PyShape_CreateNewCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32854 { (char *)"PyShape_Copy", (PyCFunction
) _wrap_PyShape_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32855 { (char *)"PyShape_CopyWithHandler", (PyCFunction
) _wrap_PyShape_CopyWithHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32856 { (char *)"PyShape_Rotate", (PyCFunction
) _wrap_PyShape_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32857 { (char *)"PyShape_GetRotation", (PyCFunction
) _wrap_PyShape_GetRotation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32858 { (char *)"PyShape_SetRotation", (PyCFunction
) _wrap_PyShape_SetRotation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32859 { (char *)"PyShape_ClearAttachments", (PyCFunction
) _wrap_PyShape_ClearAttachments
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32860 { (char *)"PyShape_Recentre", (PyCFunction
) _wrap_PyShape_Recentre
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32861 { (char *)"PyShape_ClearPointList", (PyCFunction
) _wrap_PyShape_ClearPointList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32862 { (char *)"PyShape_GetBackgroundPen", (PyCFunction
) _wrap_PyShape_GetBackgroundPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32863 { (char *)"PyShape_GetBackgroundBrush", (PyCFunction
) _wrap_PyShape_GetBackgroundBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32864 { (char *)"PyShape_base_OnDelete", (PyCFunction
) _wrap_PyShape_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32865 { (char *)"PyShape_base_OnDraw", (PyCFunction
) _wrap_PyShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32866 { (char *)"PyShape_base_OnDrawContents", (PyCFunction
) _wrap_PyShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32867 { (char *)"PyShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32868 { (char *)"PyShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32869 { (char *)"PyShape_base_OnErase", (PyCFunction
) _wrap_PyShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32870 { (char *)"PyShape_base_OnEraseContents", (PyCFunction
) _wrap_PyShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32871 { (char *)"PyShape_base_OnHighlight", (PyCFunction
) _wrap_PyShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32872 { (char *)"PyShape_base_OnLeftClick", (PyCFunction
) _wrap_PyShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32873 { (char *)"PyShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32874 { (char *)"PyShape_base_OnRightClick", (PyCFunction
) _wrap_PyShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32875 { (char *)"PyShape_base_OnSize", (PyCFunction
) _wrap_PyShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32876 { (char *)"PyShape_base_OnMovePre", (PyCFunction
) _wrap_PyShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32877 { (char *)"PyShape_base_OnMovePost", (PyCFunction
) _wrap_PyShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32878 { (char *)"PyShape_base_OnDragLeft", (PyCFunction
) _wrap_PyShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32879 { (char *)"PyShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32880 { (char *)"PyShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32881 { (char *)"PyShape_base_OnDragRight", (PyCFunction
) _wrap_PyShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32882 { (char *)"PyShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32883 { (char *)"PyShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32884 { (char *)"PyShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32885 { (char *)"PyShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32886 { (char *)"PyShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32887 { (char *)"PyShape_base_OnMoveLink", (PyCFunction
) _wrap_PyShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32888 { (char *)"PyShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32889 { (char *)"PyShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32890 { (char *)"PyShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32891 { (char *)"PyShape_base_OnBeginSize", (PyCFunction
) _wrap_PyShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32892 { (char *)"PyShape_base_OnEndSize", (PyCFunction
) _wrap_PyShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32893 { (char *)"PyShape_swigregister", PyShape_swigregister
, METH_VARARGS
, NULL
},
32894 { (char *)"new_PseudoMetaFile", (PyCFunction
) _wrap_new_PseudoMetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32895 { (char *)"delete_PseudoMetaFile", (PyCFunction
) _wrap_delete_PseudoMetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32896 { (char *)"PseudoMetaFile_Draw", (PyCFunction
) _wrap_PseudoMetaFile_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32897 { (char *)"PseudoMetaFile_Clear", (PyCFunction
) _wrap_PseudoMetaFile_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32898 { (char *)"PseudoMetaFile_Copy", (PyCFunction
) _wrap_PseudoMetaFile_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32899 { (char *)"PseudoMetaFile_Scale", (PyCFunction
) _wrap_PseudoMetaFile_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32900 { (char *)"PseudoMetaFile_ScaleTo", (PyCFunction
) _wrap_PseudoMetaFile_ScaleTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32901 { (char *)"PseudoMetaFile_Translate", (PyCFunction
) _wrap_PseudoMetaFile_Translate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32902 { (char *)"PseudoMetaFile_Rotate", (PyCFunction
) _wrap_PseudoMetaFile_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32903 { (char *)"PseudoMetaFile_LoadFromMetaFile", (PyCFunction
) _wrap_PseudoMetaFile_LoadFromMetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32904 { (char *)"PseudoMetaFile_GetBounds", (PyCFunction
) _wrap_PseudoMetaFile_GetBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32905 { (char *)"PseudoMetaFile_CalculateSize", (PyCFunction
) _wrap_PseudoMetaFile_CalculateSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32906 { (char *)"PseudoMetaFile_SetRotateable", (PyCFunction
) _wrap_PseudoMetaFile_SetRotateable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32907 { (char *)"PseudoMetaFile_GetRotateable", (PyCFunction
) _wrap_PseudoMetaFile_GetRotateable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32908 { (char *)"PseudoMetaFile_SetSize", (PyCFunction
) _wrap_PseudoMetaFile_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32909 { (char *)"PseudoMetaFile_SetFillBrush", (PyCFunction
) _wrap_PseudoMetaFile_SetFillBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32910 { (char *)"PseudoMetaFile_GetFillBrush", (PyCFunction
) _wrap_PseudoMetaFile_GetFillBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32911 { (char *)"PseudoMetaFile_SetOutlinePen", (PyCFunction
) _wrap_PseudoMetaFile_SetOutlinePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32912 { (char *)"PseudoMetaFile_GetOutlinePen", (PyCFunction
) _wrap_PseudoMetaFile_GetOutlinePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32913 { (char *)"PseudoMetaFile_SetOutlineOp", (PyCFunction
) _wrap_PseudoMetaFile_SetOutlineOp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32914 { (char *)"PseudoMetaFile_GetOutlineOp", (PyCFunction
) _wrap_PseudoMetaFile_GetOutlineOp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32915 { (char *)"PseudoMetaFile_IsValid", (PyCFunction
) _wrap_PseudoMetaFile_IsValid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32916 { (char *)"PseudoMetaFile_DrawLine", (PyCFunction
) _wrap_PseudoMetaFile_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32917 { (char *)"PseudoMetaFile_DrawRectangle", (PyCFunction
) _wrap_PseudoMetaFile_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32918 { (char *)"PseudoMetaFile_DrawRoundedRectangle", (PyCFunction
) _wrap_PseudoMetaFile_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32919 { (char *)"PseudoMetaFile_DrawArc", (PyCFunction
) _wrap_PseudoMetaFile_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32920 { (char *)"PseudoMetaFile_DrawEllipticArc", (PyCFunction
) _wrap_PseudoMetaFile_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32921 { (char *)"PseudoMetaFile_DrawEllipse", (PyCFunction
) _wrap_PseudoMetaFile_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32922 { (char *)"PseudoMetaFile_DrawPoint", (PyCFunction
) _wrap_PseudoMetaFile_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32923 { (char *)"PseudoMetaFile_DrawText", (PyCFunction
) _wrap_PseudoMetaFile_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32924 { (char *)"PseudoMetaFile_DrawLines", (PyCFunction
) _wrap_PseudoMetaFile_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32925 { (char *)"PseudoMetaFile_DrawPolygon", (PyCFunction
) _wrap_PseudoMetaFile_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32926 { (char *)"PseudoMetaFile_DrawSpline", (PyCFunction
) _wrap_PseudoMetaFile_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32927 { (char *)"PseudoMetaFile_SetClippingRect", (PyCFunction
) _wrap_PseudoMetaFile_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32928 { (char *)"PseudoMetaFile_DestroyClippingRect", (PyCFunction
) _wrap_PseudoMetaFile_DestroyClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32929 { (char *)"PseudoMetaFile_SetPen", (PyCFunction
) _wrap_PseudoMetaFile_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32930 { (char *)"PseudoMetaFile_SetBrush", (PyCFunction
) _wrap_PseudoMetaFile_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32931 { (char *)"PseudoMetaFile_SetFont", (PyCFunction
) _wrap_PseudoMetaFile_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32932 { (char *)"PseudoMetaFile_SetTextColour", (PyCFunction
) _wrap_PseudoMetaFile_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32933 { (char *)"PseudoMetaFile_SetBackgroundColour", (PyCFunction
) _wrap_PseudoMetaFile_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32934 { (char *)"PseudoMetaFile_SetBackgroundMode", (PyCFunction
) _wrap_PseudoMetaFile_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32935 { (char *)"PseudoMetaFile_swigregister", PseudoMetaFile_swigregister
, METH_VARARGS
, NULL
},
32936 { (char *)"new_PyRectangleShape", (PyCFunction
) _wrap_new_PyRectangleShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32937 { (char *)"PyRectangleShape__setCallbackInfo", (PyCFunction
) _wrap_PyRectangleShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32938 { (char *)"PyRectangleShape_SetCornerRadius", (PyCFunction
) _wrap_PyRectangleShape_SetCornerRadius
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32939 { (char *)"PyRectangleShape_GetCornerRadius", (PyCFunction
) _wrap_PyRectangleShape_GetCornerRadius
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32940 { (char *)"PyRectangleShape_base_OnDelete", (PyCFunction
) _wrap_PyRectangleShape_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32941 { (char *)"PyRectangleShape_base_OnDraw", (PyCFunction
) _wrap_PyRectangleShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32942 { (char *)"PyRectangleShape_base_OnDrawContents", (PyCFunction
) _wrap_PyRectangleShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32943 { (char *)"PyRectangleShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyRectangleShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32944 { (char *)"PyRectangleShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyRectangleShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32945 { (char *)"PyRectangleShape_base_OnErase", (PyCFunction
) _wrap_PyRectangleShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32946 { (char *)"PyRectangleShape_base_OnEraseContents", (PyCFunction
) _wrap_PyRectangleShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32947 { (char *)"PyRectangleShape_base_OnHighlight", (PyCFunction
) _wrap_PyRectangleShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32948 { (char *)"PyRectangleShape_base_OnLeftClick", (PyCFunction
) _wrap_PyRectangleShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32949 { (char *)"PyRectangleShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyRectangleShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32950 { (char *)"PyRectangleShape_base_OnRightClick", (PyCFunction
) _wrap_PyRectangleShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32951 { (char *)"PyRectangleShape_base_OnSize", (PyCFunction
) _wrap_PyRectangleShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32952 { (char *)"PyRectangleShape_base_OnMovePre", (PyCFunction
) _wrap_PyRectangleShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32953 { (char *)"PyRectangleShape_base_OnMovePost", (PyCFunction
) _wrap_PyRectangleShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32954 { (char *)"PyRectangleShape_base_OnDragLeft", (PyCFunction
) _wrap_PyRectangleShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32955 { (char *)"PyRectangleShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyRectangleShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32956 { (char *)"PyRectangleShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyRectangleShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32957 { (char *)"PyRectangleShape_base_OnDragRight", (PyCFunction
) _wrap_PyRectangleShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32958 { (char *)"PyRectangleShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyRectangleShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32959 { (char *)"PyRectangleShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyRectangleShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32960 { (char *)"PyRectangleShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyRectangleShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32961 { (char *)"PyRectangleShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyRectangleShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32962 { (char *)"PyRectangleShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyRectangleShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32963 { (char *)"PyRectangleShape_base_OnMoveLink", (PyCFunction
) _wrap_PyRectangleShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32964 { (char *)"PyRectangleShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyRectangleShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32965 { (char *)"PyRectangleShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyRectangleShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32966 { (char *)"PyRectangleShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyRectangleShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32967 { (char *)"PyRectangleShape_base_OnBeginSize", (PyCFunction
) _wrap_PyRectangleShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32968 { (char *)"PyRectangleShape_base_OnEndSize", (PyCFunction
) _wrap_PyRectangleShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32969 { (char *)"PyRectangleShape_swigregister", PyRectangleShape_swigregister
, METH_VARARGS
, NULL
},
32970 { (char *)"new_PyControlPoint", (PyCFunction
) _wrap_new_PyControlPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32971 { (char *)"PyControlPoint__setCallbackInfo", (PyCFunction
) _wrap_PyControlPoint__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32972 { (char *)"PyControlPoint_SetCornerRadius", (PyCFunction
) _wrap_PyControlPoint_SetCornerRadius
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32973 { (char *)"PyControlPoint_base_OnDelete", (PyCFunction
) _wrap_PyControlPoint_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32974 { (char *)"PyControlPoint_base_OnDraw", (PyCFunction
) _wrap_PyControlPoint_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32975 { (char *)"PyControlPoint_base_OnDrawContents", (PyCFunction
) _wrap_PyControlPoint_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32976 { (char *)"PyControlPoint_base_OnDrawBranches", (PyCFunction
) _wrap_PyControlPoint_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32977 { (char *)"PyControlPoint_base_OnMoveLinks", (PyCFunction
) _wrap_PyControlPoint_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32978 { (char *)"PyControlPoint_base_OnErase", (PyCFunction
) _wrap_PyControlPoint_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32979 { (char *)"PyControlPoint_base_OnEraseContents", (PyCFunction
) _wrap_PyControlPoint_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32980 { (char *)"PyControlPoint_base_OnHighlight", (PyCFunction
) _wrap_PyControlPoint_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32981 { (char *)"PyControlPoint_base_OnLeftClick", (PyCFunction
) _wrap_PyControlPoint_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32982 { (char *)"PyControlPoint_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyControlPoint_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32983 { (char *)"PyControlPoint_base_OnRightClick", (PyCFunction
) _wrap_PyControlPoint_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32984 { (char *)"PyControlPoint_base_OnSize", (PyCFunction
) _wrap_PyControlPoint_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32985 { (char *)"PyControlPoint_base_OnMovePre", (PyCFunction
) _wrap_PyControlPoint_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32986 { (char *)"PyControlPoint_base_OnMovePost", (PyCFunction
) _wrap_PyControlPoint_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32987 { (char *)"PyControlPoint_base_OnDragLeft", (PyCFunction
) _wrap_PyControlPoint_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32988 { (char *)"PyControlPoint_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyControlPoint_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32989 { (char *)"PyControlPoint_base_OnEndDragLeft", (PyCFunction
) _wrap_PyControlPoint_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32990 { (char *)"PyControlPoint_base_OnDragRight", (PyCFunction
) _wrap_PyControlPoint_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32991 { (char *)"PyControlPoint_base_OnBeginDragRight", (PyCFunction
) _wrap_PyControlPoint_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32992 { (char *)"PyControlPoint_base_OnEndDragRight", (PyCFunction
) _wrap_PyControlPoint_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32993 { (char *)"PyControlPoint_base_OnDrawOutline", (PyCFunction
) _wrap_PyControlPoint_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32994 { (char *)"PyControlPoint_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyControlPoint_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32995 { (char *)"PyControlPoint_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyControlPoint_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32996 { (char *)"PyControlPoint_base_OnMoveLink", (PyCFunction
) _wrap_PyControlPoint_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32997 { (char *)"PyControlPoint_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyControlPoint_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32998 { (char *)"PyControlPoint_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyControlPoint_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32999 { (char *)"PyControlPoint_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyControlPoint_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33000 { (char *)"PyControlPoint_base_OnBeginSize", (PyCFunction
) _wrap_PyControlPoint_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33001 { (char *)"PyControlPoint_base_OnEndSize", (PyCFunction
) _wrap_PyControlPoint_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33002 { (char *)"PyControlPoint_swigregister", PyControlPoint_swigregister
, METH_VARARGS
, NULL
},
33003 { (char *)"new_PyBitmapShape", (PyCFunction
) _wrap_new_PyBitmapShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33004 { (char *)"PyBitmapShape__setCallbackInfo", (PyCFunction
) _wrap_PyBitmapShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33005 { (char *)"PyBitmapShape_GetBitmap", (PyCFunction
) _wrap_PyBitmapShape_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33006 { (char *)"PyBitmapShape_GetFilename", (PyCFunction
) _wrap_PyBitmapShape_GetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33007 { (char *)"PyBitmapShape_SetBitmap", (PyCFunction
) _wrap_PyBitmapShape_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33008 { (char *)"PyBitmapShape_SetFilename", (PyCFunction
) _wrap_PyBitmapShape_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33009 { (char *)"PyBitmapShape_base_OnDelete", (PyCFunction
) _wrap_PyBitmapShape_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33010 { (char *)"PyBitmapShape_base_OnDraw", (PyCFunction
) _wrap_PyBitmapShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33011 { (char *)"PyBitmapShape_base_OnDrawContents", (PyCFunction
) _wrap_PyBitmapShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33012 { (char *)"PyBitmapShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyBitmapShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33013 { (char *)"PyBitmapShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyBitmapShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33014 { (char *)"PyBitmapShape_base_OnErase", (PyCFunction
) _wrap_PyBitmapShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33015 { (char *)"PyBitmapShape_base_OnEraseContents", (PyCFunction
) _wrap_PyBitmapShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33016 { (char *)"PyBitmapShape_base_OnHighlight", (PyCFunction
) _wrap_PyBitmapShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33017 { (char *)"PyBitmapShape_base_OnLeftClick", (PyCFunction
) _wrap_PyBitmapShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33018 { (char *)"PyBitmapShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyBitmapShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33019 { (char *)"PyBitmapShape_base_OnRightClick", (PyCFunction
) _wrap_PyBitmapShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33020 { (char *)"PyBitmapShape_base_OnSize", (PyCFunction
) _wrap_PyBitmapShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33021 { (char *)"PyBitmapShape_base_OnMovePre", (PyCFunction
) _wrap_PyBitmapShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33022 { (char *)"PyBitmapShape_base_OnMovePost", (PyCFunction
) _wrap_PyBitmapShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33023 { (char *)"PyBitmapShape_base_OnDragLeft", (PyCFunction
) _wrap_PyBitmapShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33024 { (char *)"PyBitmapShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyBitmapShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33025 { (char *)"PyBitmapShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyBitmapShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33026 { (char *)"PyBitmapShape_base_OnDragRight", (PyCFunction
) _wrap_PyBitmapShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33027 { (char *)"PyBitmapShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyBitmapShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33028 { (char *)"PyBitmapShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyBitmapShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33029 { (char *)"PyBitmapShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyBitmapShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33030 { (char *)"PyBitmapShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyBitmapShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33031 { (char *)"PyBitmapShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyBitmapShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33032 { (char *)"PyBitmapShape_base_OnMoveLink", (PyCFunction
) _wrap_PyBitmapShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33033 { (char *)"PyBitmapShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyBitmapShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33034 { (char *)"PyBitmapShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyBitmapShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33035 { (char *)"PyBitmapShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyBitmapShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33036 { (char *)"PyBitmapShape_base_OnBeginSize", (PyCFunction
) _wrap_PyBitmapShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33037 { (char *)"PyBitmapShape_base_OnEndSize", (PyCFunction
) _wrap_PyBitmapShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33038 { (char *)"PyBitmapShape_swigregister", PyBitmapShape_swigregister
, METH_VARARGS
, NULL
},
33039 { (char *)"new_PyDrawnShape", (PyCFunction
) _wrap_new_PyDrawnShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33040 { (char *)"PyDrawnShape__setCallbackInfo", (PyCFunction
) _wrap_PyDrawnShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33041 { (char *)"PyDrawnShape_CalculateSize", (PyCFunction
) _wrap_PyDrawnShape_CalculateSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33042 { (char *)"PyDrawnShape_DestroyClippingRect", (PyCFunction
) _wrap_PyDrawnShape_DestroyClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33043 { (char *)"PyDrawnShape_DrawArc", (PyCFunction
) _wrap_PyDrawnShape_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33044 { (char *)"PyDrawnShape_DrawAtAngle", (PyCFunction
) _wrap_PyDrawnShape_DrawAtAngle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33045 { (char *)"PyDrawnShape_DrawEllipticArc", (PyCFunction
) _wrap_PyDrawnShape_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33046 { (char *)"PyDrawnShape_DrawLine", (PyCFunction
) _wrap_PyDrawnShape_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33047 { (char *)"PyDrawnShape_DrawLines", (PyCFunction
) _wrap_PyDrawnShape_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33048 { (char *)"PyDrawnShape_DrawPoint", (PyCFunction
) _wrap_PyDrawnShape_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33049 { (char *)"PyDrawnShape_DrawPolygon", (PyCFunction
) _wrap_PyDrawnShape_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33050 { (char *)"PyDrawnShape_DrawRectangle", (PyCFunction
) _wrap_PyDrawnShape_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33051 { (char *)"PyDrawnShape_DrawRoundedRectangle", (PyCFunction
) _wrap_PyDrawnShape_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33052 { (char *)"PyDrawnShape_DrawSpline", (PyCFunction
) _wrap_PyDrawnShape_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33053 { (char *)"PyDrawnShape_DrawText", (PyCFunction
) _wrap_PyDrawnShape_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33054 { (char *)"PyDrawnShape_GetAngle", (PyCFunction
) _wrap_PyDrawnShape_GetAngle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33055 { (char *)"PyDrawnShape_GetMetaFile", (PyCFunction
) _wrap_PyDrawnShape_GetMetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33056 { (char *)"PyDrawnShape_GetRotation", (PyCFunction
) _wrap_PyDrawnShape_GetRotation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33057 { (char *)"PyDrawnShape_LoadFromMetaFile", (PyCFunction
) _wrap_PyDrawnShape_LoadFromMetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33058 { (char *)"PyDrawnShape_Rotate", (PyCFunction
) _wrap_PyDrawnShape_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33059 { (char *)"PyDrawnShape_SetClippingRect", (PyCFunction
) _wrap_PyDrawnShape_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33060 { (char *)"PyDrawnShape_SetDrawnBackgroundColour", (PyCFunction
) _wrap_PyDrawnShape_SetDrawnBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33061 { (char *)"PyDrawnShape_SetDrawnBackgroundMode", (PyCFunction
) _wrap_PyDrawnShape_SetDrawnBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33062 { (char *)"PyDrawnShape_SetDrawnBrush", (PyCFunction
) _wrap_PyDrawnShape_SetDrawnBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33063 { (char *)"PyDrawnShape_SetDrawnFont", (PyCFunction
) _wrap_PyDrawnShape_SetDrawnFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33064 { (char *)"PyDrawnShape_SetDrawnPen", (PyCFunction
) _wrap_PyDrawnShape_SetDrawnPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33065 { (char *)"PyDrawnShape_SetDrawnTextColour", (PyCFunction
) _wrap_PyDrawnShape_SetDrawnTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33066 { (char *)"PyDrawnShape_Scale", (PyCFunction
) _wrap_PyDrawnShape_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33067 { (char *)"PyDrawnShape_SetSaveToFile", (PyCFunction
) _wrap_PyDrawnShape_SetSaveToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33068 { (char *)"PyDrawnShape_Translate", (PyCFunction
) _wrap_PyDrawnShape_Translate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33069 { (char *)"PyDrawnShape_base_OnDelete", (PyCFunction
) _wrap_PyDrawnShape_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33070 { (char *)"PyDrawnShape_base_OnDraw", (PyCFunction
) _wrap_PyDrawnShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33071 { (char *)"PyDrawnShape_base_OnDrawContents", (PyCFunction
) _wrap_PyDrawnShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33072 { (char *)"PyDrawnShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyDrawnShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33073 { (char *)"PyDrawnShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyDrawnShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33074 { (char *)"PyDrawnShape_base_OnErase", (PyCFunction
) _wrap_PyDrawnShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33075 { (char *)"PyDrawnShape_base_OnEraseContents", (PyCFunction
) _wrap_PyDrawnShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33076 { (char *)"PyDrawnShape_base_OnHighlight", (PyCFunction
) _wrap_PyDrawnShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33077 { (char *)"PyDrawnShape_base_OnLeftClick", (PyCFunction
) _wrap_PyDrawnShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33078 { (char *)"PyDrawnShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyDrawnShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33079 { (char *)"PyDrawnShape_base_OnRightClick", (PyCFunction
) _wrap_PyDrawnShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33080 { (char *)"PyDrawnShape_base_OnSize", (PyCFunction
) _wrap_PyDrawnShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33081 { (char *)"PyDrawnShape_base_OnMovePre", (PyCFunction
) _wrap_PyDrawnShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33082 { (char *)"PyDrawnShape_base_OnMovePost", (PyCFunction
) _wrap_PyDrawnShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33083 { (char *)"PyDrawnShape_base_OnDragLeft", (PyCFunction
) _wrap_PyDrawnShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33084 { (char *)"PyDrawnShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyDrawnShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33085 { (char *)"PyDrawnShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyDrawnShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33086 { (char *)"PyDrawnShape_base_OnDragRight", (PyCFunction
) _wrap_PyDrawnShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33087 { (char *)"PyDrawnShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyDrawnShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33088 { (char *)"PyDrawnShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyDrawnShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33089 { (char *)"PyDrawnShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyDrawnShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33090 { (char *)"PyDrawnShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyDrawnShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33091 { (char *)"PyDrawnShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyDrawnShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33092 { (char *)"PyDrawnShape_base_OnMoveLink", (PyCFunction
) _wrap_PyDrawnShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33093 { (char *)"PyDrawnShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyDrawnShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33094 { (char *)"PyDrawnShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyDrawnShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33095 { (char *)"PyDrawnShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyDrawnShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33096 { (char *)"PyDrawnShape_base_OnBeginSize", (PyCFunction
) _wrap_PyDrawnShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33097 { (char *)"PyDrawnShape_base_OnEndSize", (PyCFunction
) _wrap_PyDrawnShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33098 { (char *)"PyDrawnShape_swigregister", PyDrawnShape_swigregister
, METH_VARARGS
, NULL
},
33099 { (char *)"new_OGLConstraint", (PyCFunction
) _wrap_new_OGLConstraint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33100 { (char *)"OGLConstraint_Evaluate", (PyCFunction
) _wrap_OGLConstraint_Evaluate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33101 { (char *)"OGLConstraint_SetSpacing", (PyCFunction
) _wrap_OGLConstraint_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33102 { (char *)"OGLConstraint_Equals", (PyCFunction
) _wrap_OGLConstraint_Equals
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33103 { (char *)"OGLConstraint_swigregister", OGLConstraint_swigregister
, METH_VARARGS
, NULL
},
33104 { (char *)"new_PyCompositeShape", (PyCFunction
) _wrap_new_PyCompositeShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33105 { (char *)"PyCompositeShape__setCallbackInfo", (PyCFunction
) _wrap_PyCompositeShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33106 { (char *)"PyCompositeShape_AddChild", (PyCFunction
) _wrap_PyCompositeShape_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33107 { (char *)"PyCompositeShape_AddConstraint", (PyCFunction
) _wrap_PyCompositeShape_AddConstraint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33108 { (char *)"PyCompositeShape_AddConstrainedShapes", (PyCFunction
) _wrap_PyCompositeShape_AddConstrainedShapes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33109 { (char *)"PyCompositeShape_AddSimpleConstraint", (PyCFunction
) _wrap_PyCompositeShape_AddSimpleConstraint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33110 { (char *)"PyCompositeShape_CalculateSize", (PyCFunction
) _wrap_PyCompositeShape_CalculateSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33111 { (char *)"PyCompositeShape_ContainsDivision", (PyCFunction
) _wrap_PyCompositeShape_ContainsDivision
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33112 { (char *)"PyCompositeShape_DeleteConstraint", (PyCFunction
) _wrap_PyCompositeShape_DeleteConstraint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33113 { (char *)"PyCompositeShape_DeleteConstraintsInvolvingChild", (PyCFunction
) _wrap_PyCompositeShape_DeleteConstraintsInvolvingChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33114 { (char *)"PyCompositeShape_FindContainerImage", (PyCFunction
) _wrap_PyCompositeShape_FindContainerImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33115 { (char *)"PyCompositeShape_GetConstraints", (PyCFunction
) _wrap_PyCompositeShape_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33116 { (char *)"PyCompositeShape_GetDivisions", (PyCFunction
) _wrap_PyCompositeShape_GetDivisions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33117 { (char *)"PyCompositeShape_MakeContainer", (PyCFunction
) _wrap_PyCompositeShape_MakeContainer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33118 { (char *)"PyCompositeShape_Recompute", (PyCFunction
) _wrap_PyCompositeShape_Recompute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33119 { (char *)"PyCompositeShape_RemoveChild", (PyCFunction
) _wrap_PyCompositeShape_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33120 { (char *)"PyCompositeShape_base_OnDelete", (PyCFunction
) _wrap_PyCompositeShape_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33121 { (char *)"PyCompositeShape_base_OnDraw", (PyCFunction
) _wrap_PyCompositeShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33122 { (char *)"PyCompositeShape_base_OnDrawContents", (PyCFunction
) _wrap_PyCompositeShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33123 { (char *)"PyCompositeShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyCompositeShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33124 { (char *)"PyCompositeShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyCompositeShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33125 { (char *)"PyCompositeShape_base_OnErase", (PyCFunction
) _wrap_PyCompositeShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33126 { (char *)"PyCompositeShape_base_OnEraseContents", (PyCFunction
) _wrap_PyCompositeShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33127 { (char *)"PyCompositeShape_base_OnHighlight", (PyCFunction
) _wrap_PyCompositeShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33128 { (char *)"PyCompositeShape_base_OnLeftClick", (PyCFunction
) _wrap_PyCompositeShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33129 { (char *)"PyCompositeShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyCompositeShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33130 { (char *)"PyCompositeShape_base_OnRightClick", (PyCFunction
) _wrap_PyCompositeShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33131 { (char *)"PyCompositeShape_base_OnSize", (PyCFunction
) _wrap_PyCompositeShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33132 { (char *)"PyCompositeShape_base_OnMovePre", (PyCFunction
) _wrap_PyCompositeShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33133 { (char *)"PyCompositeShape_base_OnMovePost", (PyCFunction
) _wrap_PyCompositeShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33134 { (char *)"PyCompositeShape_base_OnDragLeft", (PyCFunction
) _wrap_PyCompositeShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33135 { (char *)"PyCompositeShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyCompositeShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33136 { (char *)"PyCompositeShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyCompositeShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33137 { (char *)"PyCompositeShape_base_OnDragRight", (PyCFunction
) _wrap_PyCompositeShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33138 { (char *)"PyCompositeShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyCompositeShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33139 { (char *)"PyCompositeShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyCompositeShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33140 { (char *)"PyCompositeShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyCompositeShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33141 { (char *)"PyCompositeShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyCompositeShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33142 { (char *)"PyCompositeShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyCompositeShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33143 { (char *)"PyCompositeShape_base_OnMoveLink", (PyCFunction
) _wrap_PyCompositeShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33144 { (char *)"PyCompositeShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyCompositeShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33145 { (char *)"PyCompositeShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyCompositeShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33146 { (char *)"PyCompositeShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyCompositeShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33147 { (char *)"PyCompositeShape_base_OnBeginSize", (PyCFunction
) _wrap_PyCompositeShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33148 { (char *)"PyCompositeShape_base_OnEndSize", (PyCFunction
) _wrap_PyCompositeShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33149 { (char *)"PyCompositeShape_swigregister", PyCompositeShape_swigregister
, METH_VARARGS
, NULL
},
33150 { (char *)"new_PyDividedShape", (PyCFunction
) _wrap_new_PyDividedShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33151 { (char *)"PyDividedShape__setCallbackInfo", (PyCFunction
) _wrap_PyDividedShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33152 { (char *)"PyDividedShape_EditRegions", (PyCFunction
) _wrap_PyDividedShape_EditRegions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33153 { (char *)"PyDividedShape_SetRegionSizes", (PyCFunction
) _wrap_PyDividedShape_SetRegionSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33154 { (char *)"PyDividedShape_base_OnDelete", (PyCFunction
) _wrap_PyDividedShape_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33155 { (char *)"PyDividedShape_base_OnDraw", (PyCFunction
) _wrap_PyDividedShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33156 { (char *)"PyDividedShape_base_OnDrawContents", (PyCFunction
) _wrap_PyDividedShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33157 { (char *)"PyDividedShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyDividedShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33158 { (char *)"PyDividedShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyDividedShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33159 { (char *)"PyDividedShape_base_OnErase", (PyCFunction
) _wrap_PyDividedShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33160 { (char *)"PyDividedShape_base_OnEraseContents", (PyCFunction
) _wrap_PyDividedShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33161 { (char *)"PyDividedShape_base_OnHighlight", (PyCFunction
) _wrap_PyDividedShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33162 { (char *)"PyDividedShape_base_OnLeftClick", (PyCFunction
) _wrap_PyDividedShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33163 { (char *)"PyDividedShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyDividedShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33164 { (char *)"PyDividedShape_base_OnRightClick", (PyCFunction
) _wrap_PyDividedShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33165 { (char *)"PyDividedShape_base_OnSize", (PyCFunction
) _wrap_PyDividedShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33166 { (char *)"PyDividedShape_base_OnMovePre", (PyCFunction
) _wrap_PyDividedShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33167 { (char *)"PyDividedShape_base_OnMovePost", (PyCFunction
) _wrap_PyDividedShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33168 { (char *)"PyDividedShape_base_OnDragLeft", (PyCFunction
) _wrap_PyDividedShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33169 { (char *)"PyDividedShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyDividedShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33170 { (char *)"PyDividedShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyDividedShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33171 { (char *)"PyDividedShape_base_OnDragRight", (PyCFunction
) _wrap_PyDividedShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33172 { (char *)"PyDividedShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyDividedShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33173 { (char *)"PyDividedShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyDividedShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33174 { (char *)"PyDividedShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyDividedShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33175 { (char *)"PyDividedShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyDividedShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33176 { (char *)"PyDividedShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyDividedShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33177 { (char *)"PyDividedShape_base_OnMoveLink", (PyCFunction
) _wrap_PyDividedShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33178 { (char *)"PyDividedShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyDividedShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33179 { (char *)"PyDividedShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyDividedShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33180 { (char *)"PyDividedShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyDividedShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33181 { (char *)"PyDividedShape_base_OnBeginSize", (PyCFunction
) _wrap_PyDividedShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33182 { (char *)"PyDividedShape_base_OnEndSize", (PyCFunction
) _wrap_PyDividedShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33183 { (char *)"PyDividedShape_swigregister", PyDividedShape_swigregister
, METH_VARARGS
, NULL
},
33184 { (char *)"new_PyDivisionShape", (PyCFunction
) _wrap_new_PyDivisionShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33185 { (char *)"PyDivisionShape__setCallbackInfo", (PyCFunction
) _wrap_PyDivisionShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33186 { (char *)"PyDivisionShape_AdjustBottom", (PyCFunction
) _wrap_PyDivisionShape_AdjustBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33187 { (char *)"PyDivisionShape_AdjustLeft", (PyCFunction
) _wrap_PyDivisionShape_AdjustLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33188 { (char *)"PyDivisionShape_AdjustRight", (PyCFunction
) _wrap_PyDivisionShape_AdjustRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33189 { (char *)"PyDivisionShape_AdjustTop", (PyCFunction
) _wrap_PyDivisionShape_AdjustTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33190 { (char *)"PyDivisionShape_Divide", (PyCFunction
) _wrap_PyDivisionShape_Divide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33191 { (char *)"PyDivisionShape_EditEdge", (PyCFunction
) _wrap_PyDivisionShape_EditEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33192 { (char *)"PyDivisionShape_GetBottomSide", (PyCFunction
) _wrap_PyDivisionShape_GetBottomSide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33193 { (char *)"PyDivisionShape_GetHandleSide", (PyCFunction
) _wrap_PyDivisionShape_GetHandleSide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33194 { (char *)"PyDivisionShape_GetLeftSide", (PyCFunction
) _wrap_PyDivisionShape_GetLeftSide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33195 { (char *)"PyDivisionShape_GetLeftSideColour", (PyCFunction
) _wrap_PyDivisionShape_GetLeftSideColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33196 { (char *)"PyDivisionShape_GetLeftSidePen", (PyCFunction
) _wrap_PyDivisionShape_GetLeftSidePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33197 { (char *)"PyDivisionShape_GetRightSide", (PyCFunction
) _wrap_PyDivisionShape_GetRightSide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33198 { (char *)"PyDivisionShape_GetTopSide", (PyCFunction
) _wrap_PyDivisionShape_GetTopSide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33199 { (char *)"PyDivisionShape_GetTopSidePen", (PyCFunction
) _wrap_PyDivisionShape_GetTopSidePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33200 { (char *)"PyDivisionShape_ResizeAdjoining", (PyCFunction
) _wrap_PyDivisionShape_ResizeAdjoining
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33201 { (char *)"PyDivisionShape_PopupMenu", (PyCFunction
) _wrap_PyDivisionShape_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33202 { (char *)"PyDivisionShape_SetBottomSide", (PyCFunction
) _wrap_PyDivisionShape_SetBottomSide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33203 { (char *)"PyDivisionShape_SetHandleSide", (PyCFunction
) _wrap_PyDivisionShape_SetHandleSide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33204 { (char *)"PyDivisionShape_SetLeftSide", (PyCFunction
) _wrap_PyDivisionShape_SetLeftSide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33205 { (char *)"PyDivisionShape_SetLeftSideColour", (PyCFunction
) _wrap_PyDivisionShape_SetLeftSideColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33206 { (char *)"PyDivisionShape_SetLeftSidePen", (PyCFunction
) _wrap_PyDivisionShape_SetLeftSidePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33207 { (char *)"PyDivisionShape_SetRightSide", (PyCFunction
) _wrap_PyDivisionShape_SetRightSide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33208 { (char *)"PyDivisionShape_SetTopSide", (PyCFunction
) _wrap_PyDivisionShape_SetTopSide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33209 { (char *)"PyDivisionShape_SetTopSideColour", (PyCFunction
) _wrap_PyDivisionShape_SetTopSideColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33210 { (char *)"PyDivisionShape_SetTopSidePen", (PyCFunction
) _wrap_PyDivisionShape_SetTopSidePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33211 { (char *)"PyDivisionShape_base_OnDelete", (PyCFunction
) _wrap_PyDivisionShape_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33212 { (char *)"PyDivisionShape_base_OnDraw", (PyCFunction
) _wrap_PyDivisionShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33213 { (char *)"PyDivisionShape_base_OnDrawContents", (PyCFunction
) _wrap_PyDivisionShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33214 { (char *)"PyDivisionShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyDivisionShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33215 { (char *)"PyDivisionShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyDivisionShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33216 { (char *)"PyDivisionShape_base_OnErase", (PyCFunction
) _wrap_PyDivisionShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33217 { (char *)"PyDivisionShape_base_OnEraseContents", (PyCFunction
) _wrap_PyDivisionShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33218 { (char *)"PyDivisionShape_base_OnHighlight", (PyCFunction
) _wrap_PyDivisionShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33219 { (char *)"PyDivisionShape_base_OnLeftClick", (PyCFunction
) _wrap_PyDivisionShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33220 { (char *)"PyDivisionShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyDivisionShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33221 { (char *)"PyDivisionShape_base_OnRightClick", (PyCFunction
) _wrap_PyDivisionShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33222 { (char *)"PyDivisionShape_base_OnSize", (PyCFunction
) _wrap_PyDivisionShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33223 { (char *)"PyDivisionShape_base_OnMovePre", (PyCFunction
) _wrap_PyDivisionShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33224 { (char *)"PyDivisionShape_base_OnMovePost", (PyCFunction
) _wrap_PyDivisionShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33225 { (char *)"PyDivisionShape_base_OnDragLeft", (PyCFunction
) _wrap_PyDivisionShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33226 { (char *)"PyDivisionShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyDivisionShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33227 { (char *)"PyDivisionShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyDivisionShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33228 { (char *)"PyDivisionShape_base_OnDragRight", (PyCFunction
) _wrap_PyDivisionShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33229 { (char *)"PyDivisionShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyDivisionShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33230 { (char *)"PyDivisionShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyDivisionShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33231 { (char *)"PyDivisionShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyDivisionShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33232 { (char *)"PyDivisionShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyDivisionShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33233 { (char *)"PyDivisionShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyDivisionShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33234 { (char *)"PyDivisionShape_base_OnMoveLink", (PyCFunction
) _wrap_PyDivisionShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33235 { (char *)"PyDivisionShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyDivisionShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33236 { (char *)"PyDivisionShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyDivisionShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33237 { (char *)"PyDivisionShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyDivisionShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33238 { (char *)"PyDivisionShape_base_OnBeginSize", (PyCFunction
) _wrap_PyDivisionShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33239 { (char *)"PyDivisionShape_base_OnEndSize", (PyCFunction
) _wrap_PyDivisionShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33240 { (char *)"PyDivisionShape_swigregister", PyDivisionShape_swigregister
, METH_VARARGS
, NULL
},
33241 { (char *)"new_PyEllipseShape", (PyCFunction
) _wrap_new_PyEllipseShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33242 { (char *)"PyEllipseShape__setCallbackInfo", (PyCFunction
) _wrap_PyEllipseShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33243 { (char *)"PyEllipseShape_base_OnDraw", (PyCFunction
) _wrap_PyEllipseShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33244 { (char *)"PyEllipseShape_base_OnDrawContents", (PyCFunction
) _wrap_PyEllipseShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33245 { (char *)"PyEllipseShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyEllipseShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33246 { (char *)"PyEllipseShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyEllipseShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33247 { (char *)"PyEllipseShape_base_OnErase", (PyCFunction
) _wrap_PyEllipseShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33248 { (char *)"PyEllipseShape_base_OnEraseContents", (PyCFunction
) _wrap_PyEllipseShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33249 { (char *)"PyEllipseShape_base_OnHighlight", (PyCFunction
) _wrap_PyEllipseShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33250 { (char *)"PyEllipseShape_base_OnLeftClick", (PyCFunction
) _wrap_PyEllipseShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33251 { (char *)"PyEllipseShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyEllipseShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33252 { (char *)"PyEllipseShape_base_OnRightClick", (PyCFunction
) _wrap_PyEllipseShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33253 { (char *)"PyEllipseShape_base_OnSize", (PyCFunction
) _wrap_PyEllipseShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33254 { (char *)"PyEllipseShape_base_OnMovePre", (PyCFunction
) _wrap_PyEllipseShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33255 { (char *)"PyEllipseShape_base_OnMovePost", (PyCFunction
) _wrap_PyEllipseShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33256 { (char *)"PyEllipseShape_base_OnDragLeft", (PyCFunction
) _wrap_PyEllipseShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33257 { (char *)"PyEllipseShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyEllipseShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33258 { (char *)"PyEllipseShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyEllipseShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33259 { (char *)"PyEllipseShape_base_OnDragRight", (PyCFunction
) _wrap_PyEllipseShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33260 { (char *)"PyEllipseShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyEllipseShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33261 { (char *)"PyEllipseShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyEllipseShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33262 { (char *)"PyEllipseShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyEllipseShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33263 { (char *)"PyEllipseShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyEllipseShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33264 { (char *)"PyEllipseShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyEllipseShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33265 { (char *)"PyEllipseShape_base_OnMoveLink", (PyCFunction
) _wrap_PyEllipseShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33266 { (char *)"PyEllipseShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyEllipseShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33267 { (char *)"PyEllipseShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyEllipseShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33268 { (char *)"PyEllipseShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyEllipseShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33269 { (char *)"PyEllipseShape_base_OnBeginSize", (PyCFunction
) _wrap_PyEllipseShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33270 { (char *)"PyEllipseShape_base_OnEndSize", (PyCFunction
) _wrap_PyEllipseShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33271 { (char *)"PyEllipseShape_swigregister", PyEllipseShape_swigregister
, METH_VARARGS
, NULL
},
33272 { (char *)"new_PyCircleShape", (PyCFunction
) _wrap_new_PyCircleShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33273 { (char *)"PyCircleShape__setCallbackInfo", (PyCFunction
) _wrap_PyCircleShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33274 { (char *)"PyCircleShape_base_OnDraw", (PyCFunction
) _wrap_PyCircleShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33275 { (char *)"PyCircleShape_base_OnDrawContents", (PyCFunction
) _wrap_PyCircleShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33276 { (char *)"PyCircleShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyCircleShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33277 { (char *)"PyCircleShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyCircleShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33278 { (char *)"PyCircleShape_base_OnErase", (PyCFunction
) _wrap_PyCircleShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33279 { (char *)"PyCircleShape_base_OnEraseContents", (PyCFunction
) _wrap_PyCircleShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33280 { (char *)"PyCircleShape_base_OnHighlight", (PyCFunction
) _wrap_PyCircleShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33281 { (char *)"PyCircleShape_base_OnLeftClick", (PyCFunction
) _wrap_PyCircleShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33282 { (char *)"PyCircleShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyCircleShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33283 { (char *)"PyCircleShape_base_OnRightClick", (PyCFunction
) _wrap_PyCircleShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33284 { (char *)"PyCircleShape_base_OnSize", (PyCFunction
) _wrap_PyCircleShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33285 { (char *)"PyCircleShape_base_OnMovePre", (PyCFunction
) _wrap_PyCircleShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33286 { (char *)"PyCircleShape_base_OnMovePost", (PyCFunction
) _wrap_PyCircleShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33287 { (char *)"PyCircleShape_base_OnDragLeft", (PyCFunction
) _wrap_PyCircleShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33288 { (char *)"PyCircleShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyCircleShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33289 { (char *)"PyCircleShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyCircleShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33290 { (char *)"PyCircleShape_base_OnDragRight", (PyCFunction
) _wrap_PyCircleShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33291 { (char *)"PyCircleShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyCircleShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33292 { (char *)"PyCircleShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyCircleShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33293 { (char *)"PyCircleShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyCircleShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33294 { (char *)"PyCircleShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyCircleShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33295 { (char *)"PyCircleShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyCircleShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33296 { (char *)"PyCircleShape_base_OnMoveLink", (PyCFunction
) _wrap_PyCircleShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33297 { (char *)"PyCircleShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyCircleShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33298 { (char *)"PyCircleShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyCircleShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33299 { (char *)"PyCircleShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyCircleShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33300 { (char *)"PyCircleShape_base_OnBeginSize", (PyCFunction
) _wrap_PyCircleShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33301 { (char *)"PyCircleShape_base_OnEndSize", (PyCFunction
) _wrap_PyCircleShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33302 { (char *)"PyCircleShape_swigregister", PyCircleShape_swigregister
, METH_VARARGS
, NULL
},
33303 { (char *)"new_ArrowHead", (PyCFunction
) _wrap_new_ArrowHead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33304 { (char *)"delete_ArrowHead", (PyCFunction
) _wrap_delete_ArrowHead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33305 { (char *)"ArrowHead__GetType", (PyCFunction
) _wrap_ArrowHead__GetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33306 { (char *)"ArrowHead_GetPosition", (PyCFunction
) _wrap_ArrowHead_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33307 { (char *)"ArrowHead_SetPosition", (PyCFunction
) _wrap_ArrowHead_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33308 { (char *)"ArrowHead_GetXOffset", (PyCFunction
) _wrap_ArrowHead_GetXOffset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33309 { (char *)"ArrowHead_GetYOffset", (PyCFunction
) _wrap_ArrowHead_GetYOffset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33310 { (char *)"ArrowHead_GetSpacing", (PyCFunction
) _wrap_ArrowHead_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33311 { (char *)"ArrowHead_GetSize", (PyCFunction
) _wrap_ArrowHead_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33312 { (char *)"ArrowHead_GetName", (PyCFunction
) _wrap_ArrowHead_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33313 { (char *)"ArrowHead_SetXOffset", (PyCFunction
) _wrap_ArrowHead_SetXOffset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33314 { (char *)"ArrowHead_SetYOffset", (PyCFunction
) _wrap_ArrowHead_SetYOffset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33315 { (char *)"ArrowHead_GetMetaFile", (PyCFunction
) _wrap_ArrowHead_GetMetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33316 { (char *)"ArrowHead_GetId", (PyCFunction
) _wrap_ArrowHead_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33317 { (char *)"ArrowHead_GetArrowEnd", (PyCFunction
) _wrap_ArrowHead_GetArrowEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33318 { (char *)"ArrowHead_GetArrowSize", (PyCFunction
) _wrap_ArrowHead_GetArrowSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33319 { (char *)"ArrowHead_SetSize", (PyCFunction
) _wrap_ArrowHead_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33320 { (char *)"ArrowHead_SetSpacing", (PyCFunction
) _wrap_ArrowHead_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33321 { (char *)"ArrowHead_swigregister", ArrowHead_swigregister
, METH_VARARGS
, NULL
},
33322 { (char *)"new_PyLineShape", (PyCFunction
) _wrap_new_PyLineShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33323 { (char *)"PyLineShape__setCallbackInfo", (PyCFunction
) _wrap_PyLineShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33324 { (char *)"PyLineShape_AddArrow", (PyCFunction
) _wrap_PyLineShape_AddArrow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33325 { (char *)"PyLineShape_AddArrowOrdered", (PyCFunction
) _wrap_PyLineShape_AddArrowOrdered
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33326 { (char *)"PyLineShape_ClearArrow", (PyCFunction
) _wrap_PyLineShape_ClearArrow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33327 { (char *)"PyLineShape_ClearArrowsAtPosition", (PyCFunction
) _wrap_PyLineShape_ClearArrowsAtPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33328 { (char *)"PyLineShape_DrawArrow", (PyCFunction
) _wrap_PyLineShape_DrawArrow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33329 { (char *)"PyLineShape_DeleteArrowHeadId", (PyCFunction
) _wrap_PyLineShape_DeleteArrowHeadId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33330 { (char *)"PyLineShape_DeleteArrowHead", (PyCFunction
) _wrap_PyLineShape_DeleteArrowHead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33331 { (char *)"PyLineShape_DeleteLineControlPoint", (PyCFunction
) _wrap_PyLineShape_DeleteLineControlPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33332 { (char *)"PyLineShape_DrawArrows", (PyCFunction
) _wrap_PyLineShape_DrawArrows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33333 { (char *)"PyLineShape_DrawRegion", (PyCFunction
) _wrap_PyLineShape_DrawRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33334 { (char *)"PyLineShape_EraseRegion", (PyCFunction
) _wrap_PyLineShape_EraseRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33335 { (char *)"PyLineShape_FindArrowHeadId", (PyCFunction
) _wrap_PyLineShape_FindArrowHeadId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33336 { (char *)"PyLineShape_FindArrowHead", (PyCFunction
) _wrap_PyLineShape_FindArrowHead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33337 { (char *)"PyLineShape_FindLineEndPoints", (PyCFunction
) _wrap_PyLineShape_FindLineEndPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33338 { (char *)"PyLineShape_FindLinePosition", (PyCFunction
) _wrap_PyLineShape_FindLinePosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33339 { (char *)"PyLineShape_FindMinimumWidth", (PyCFunction
) _wrap_PyLineShape_FindMinimumWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33340 { (char *)"PyLineShape_FindNth", (PyCFunction
) _wrap_PyLineShape_FindNth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33341 { (char *)"PyLineShape_GetAttachmentFrom", (PyCFunction
) _wrap_PyLineShape_GetAttachmentFrom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33342 { (char *)"PyLineShape_GetAttachmentTo", (PyCFunction
) _wrap_PyLineShape_GetAttachmentTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33343 { (char *)"PyLineShape_GetEnds", (PyCFunction
) _wrap_PyLineShape_GetEnds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33344 { (char *)"PyLineShape_GetFrom", (PyCFunction
) _wrap_PyLineShape_GetFrom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33345 { (char *)"PyLineShape_GetLabelPosition", (PyCFunction
) _wrap_PyLineShape_GetLabelPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33346 { (char *)"PyLineShape_GetNextControlPoint", (PyCFunction
) _wrap_PyLineShape_GetNextControlPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33347 { (char *)"PyLineShape_GetTo", (PyCFunction
) _wrap_PyLineShape_GetTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33348 { (char *)"PyLineShape_Initialise", (PyCFunction
) _wrap_PyLineShape_Initialise
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33349 { (char *)"PyLineShape_InsertLineControlPoint", (PyCFunction
) _wrap_PyLineShape_InsertLineControlPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33350 { (char *)"PyLineShape_IsEnd", (PyCFunction
) _wrap_PyLineShape_IsEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33351 { (char *)"PyLineShape_IsSpline", (PyCFunction
) _wrap_PyLineShape_IsSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33352 { (char *)"PyLineShape_MakeLineControlPoints", (PyCFunction
) _wrap_PyLineShape_MakeLineControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33353 { (char *)"PyLineShape_GetLineControlPoints", (PyCFunction
) _wrap_PyLineShape_GetLineControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33354 { (char *)"PyLineShape_SetLineControlPoints", (PyCFunction
) _wrap_PyLineShape_SetLineControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33355 { (char *)"PyLineShape_SetAttachmentFrom", (PyCFunction
) _wrap_PyLineShape_SetAttachmentFrom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33356 { (char *)"PyLineShape_SetAttachments", (PyCFunction
) _wrap_PyLineShape_SetAttachments
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33357 { (char *)"PyLineShape_SetAttachmentTo", (PyCFunction
) _wrap_PyLineShape_SetAttachmentTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33358 { (char *)"PyLineShape_SetEnds", (PyCFunction
) _wrap_PyLineShape_SetEnds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33359 { (char *)"PyLineShape_SetFrom", (PyCFunction
) _wrap_PyLineShape_SetFrom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33360 { (char *)"PyLineShape_SetIgnoreOffsets", (PyCFunction
) _wrap_PyLineShape_SetIgnoreOffsets
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33361 { (char *)"PyLineShape_SetSpline", (PyCFunction
) _wrap_PyLineShape_SetSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33362 { (char *)"PyLineShape_SetTo", (PyCFunction
) _wrap_PyLineShape_SetTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33363 { (char *)"PyLineShape_Straighten", (PyCFunction
) _wrap_PyLineShape_Straighten
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33364 { (char *)"PyLineShape_Unlink", (PyCFunction
) _wrap_PyLineShape_Unlink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33365 { (char *)"PyLineShape_SetAlignmentOrientation", (PyCFunction
) _wrap_PyLineShape_SetAlignmentOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33366 { (char *)"PyLineShape_SetAlignmentType", (PyCFunction
) _wrap_PyLineShape_SetAlignmentType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33367 { (char *)"PyLineShape_GetAlignmentOrientation", (PyCFunction
) _wrap_PyLineShape_GetAlignmentOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33368 { (char *)"PyLineShape_GetAlignmentType", (PyCFunction
) _wrap_PyLineShape_GetAlignmentType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33369 { (char *)"PyLineShape_GetAlignmentStart", (PyCFunction
) _wrap_PyLineShape_GetAlignmentStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33370 { (char *)"PyLineShape_GetAlignmentEnd", (PyCFunction
) _wrap_PyLineShape_GetAlignmentEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33371 { (char *)"PyLineShape_base_OnDraw", (PyCFunction
) _wrap_PyLineShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33372 { (char *)"PyLineShape_base_OnDrawContents", (PyCFunction
) _wrap_PyLineShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33373 { (char *)"PyLineShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyLineShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33374 { (char *)"PyLineShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyLineShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33375 { (char *)"PyLineShape_base_OnErase", (PyCFunction
) _wrap_PyLineShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33376 { (char *)"PyLineShape_base_OnEraseContents", (PyCFunction
) _wrap_PyLineShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33377 { (char *)"PyLineShape_base_OnHighlight", (PyCFunction
) _wrap_PyLineShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33378 { (char *)"PyLineShape_base_OnLeftClick", (PyCFunction
) _wrap_PyLineShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33379 { (char *)"PyLineShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyLineShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33380 { (char *)"PyLineShape_base_OnRightClick", (PyCFunction
) _wrap_PyLineShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33381 { (char *)"PyLineShape_base_OnSize", (PyCFunction
) _wrap_PyLineShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33382 { (char *)"PyLineShape_base_OnMovePre", (PyCFunction
) _wrap_PyLineShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33383 { (char *)"PyLineShape_base_OnMovePost", (PyCFunction
) _wrap_PyLineShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33384 { (char *)"PyLineShape_base_OnDragLeft", (PyCFunction
) _wrap_PyLineShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33385 { (char *)"PyLineShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyLineShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33386 { (char *)"PyLineShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyLineShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33387 { (char *)"PyLineShape_base_OnDragRight", (PyCFunction
) _wrap_PyLineShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33388 { (char *)"PyLineShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyLineShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33389 { (char *)"PyLineShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyLineShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33390 { (char *)"PyLineShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyLineShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33391 { (char *)"PyLineShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyLineShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33392 { (char *)"PyLineShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyLineShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33393 { (char *)"PyLineShape_base_OnMoveLink", (PyCFunction
) _wrap_PyLineShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33394 { (char *)"PyLineShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyLineShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33395 { (char *)"PyLineShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyLineShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33396 { (char *)"PyLineShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyLineShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33397 { (char *)"PyLineShape_base_OnBeginSize", (PyCFunction
) _wrap_PyLineShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33398 { (char *)"PyLineShape_base_OnEndSize", (PyCFunction
) _wrap_PyLineShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33399 { (char *)"PyLineShape_swigregister", PyLineShape_swigregister
, METH_VARARGS
, NULL
},
33400 { (char *)"new_PyPolygonShape", (PyCFunction
) _wrap_new_PyPolygonShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33401 { (char *)"PyPolygonShape__setCallbackInfo", (PyCFunction
) _wrap_PyPolygonShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33402 { (char *)"PyPolygonShape_Create", (PyCFunction
) _wrap_PyPolygonShape_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33403 { (char *)"PyPolygonShape_AddPolygonPoint", (PyCFunction
) _wrap_PyPolygonShape_AddPolygonPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33404 { (char *)"PyPolygonShape_CalculatePolygonCentre", (PyCFunction
) _wrap_PyPolygonShape_CalculatePolygonCentre
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33405 { (char *)"PyPolygonShape_DeletePolygonPoint", (PyCFunction
) _wrap_PyPolygonShape_DeletePolygonPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33406 { (char *)"PyPolygonShape_GetPoints", (PyCFunction
) _wrap_PyPolygonShape_GetPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33407 { (char *)"PyPolygonShape_GetOriginalPoints", (PyCFunction
) _wrap_PyPolygonShape_GetOriginalPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33408 { (char *)"PyPolygonShape_GetOriginalWidth", (PyCFunction
) _wrap_PyPolygonShape_GetOriginalWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33409 { (char *)"PyPolygonShape_GetOriginalHeight", (PyCFunction
) _wrap_PyPolygonShape_GetOriginalHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33410 { (char *)"PyPolygonShape_SetOriginalWidth", (PyCFunction
) _wrap_PyPolygonShape_SetOriginalWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33411 { (char *)"PyPolygonShape_SetOriginalHeight", (PyCFunction
) _wrap_PyPolygonShape_SetOriginalHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33412 { (char *)"PyPolygonShape_UpdateOriginalPoints", (PyCFunction
) _wrap_PyPolygonShape_UpdateOriginalPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33413 { (char *)"PyPolygonShape_base_OnDraw", (PyCFunction
) _wrap_PyPolygonShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33414 { (char *)"PyPolygonShape_base_OnDrawContents", (PyCFunction
) _wrap_PyPolygonShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33415 { (char *)"PyPolygonShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyPolygonShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33416 { (char *)"PyPolygonShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyPolygonShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33417 { (char *)"PyPolygonShape_base_OnErase", (PyCFunction
) _wrap_PyPolygonShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33418 { (char *)"PyPolygonShape_base_OnEraseContents", (PyCFunction
) _wrap_PyPolygonShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33419 { (char *)"PyPolygonShape_base_OnHighlight", (PyCFunction
) _wrap_PyPolygonShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33420 { (char *)"PyPolygonShape_base_OnLeftClick", (PyCFunction
) _wrap_PyPolygonShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33421 { (char *)"PyPolygonShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyPolygonShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33422 { (char *)"PyPolygonShape_base_OnRightClick", (PyCFunction
) _wrap_PyPolygonShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33423 { (char *)"PyPolygonShape_base_OnSize", (PyCFunction
) _wrap_PyPolygonShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33424 { (char *)"PyPolygonShape_base_OnMovePre", (PyCFunction
) _wrap_PyPolygonShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33425 { (char *)"PyPolygonShape_base_OnMovePost", (PyCFunction
) _wrap_PyPolygonShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33426 { (char *)"PyPolygonShape_base_OnDragLeft", (PyCFunction
) _wrap_PyPolygonShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33427 { (char *)"PyPolygonShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyPolygonShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33428 { (char *)"PyPolygonShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyPolygonShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33429 { (char *)"PyPolygonShape_base_OnDragRight", (PyCFunction
) _wrap_PyPolygonShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33430 { (char *)"PyPolygonShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyPolygonShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33431 { (char *)"PyPolygonShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyPolygonShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33432 { (char *)"PyPolygonShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyPolygonShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33433 { (char *)"PyPolygonShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyPolygonShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33434 { (char *)"PyPolygonShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyPolygonShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33435 { (char *)"PyPolygonShape_base_OnMoveLink", (PyCFunction
) _wrap_PyPolygonShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33436 { (char *)"PyPolygonShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyPolygonShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33437 { (char *)"PyPolygonShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyPolygonShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33438 { (char *)"PyPolygonShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyPolygonShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33439 { (char *)"PyPolygonShape_base_OnBeginSize", (PyCFunction
) _wrap_PyPolygonShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33440 { (char *)"PyPolygonShape_base_OnEndSize", (PyCFunction
) _wrap_PyPolygonShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33441 { (char *)"PyPolygonShape_swigregister", PyPolygonShape_swigregister
, METH_VARARGS
, NULL
},
33442 { (char *)"new_PyTextShape", (PyCFunction
) _wrap_new_PyTextShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33443 { (char *)"PyTextShape__setCallbackInfo", (PyCFunction
) _wrap_PyTextShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33444 { (char *)"PyTextShape_base_OnDelete", (PyCFunction
) _wrap_PyTextShape_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33445 { (char *)"PyTextShape_base_OnDraw", (PyCFunction
) _wrap_PyTextShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33446 { (char *)"PyTextShape_base_OnDrawContents", (PyCFunction
) _wrap_PyTextShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33447 { (char *)"PyTextShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyTextShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33448 { (char *)"PyTextShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyTextShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33449 { (char *)"PyTextShape_base_OnErase", (PyCFunction
) _wrap_PyTextShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33450 { (char *)"PyTextShape_base_OnEraseContents", (PyCFunction
) _wrap_PyTextShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33451 { (char *)"PyTextShape_base_OnHighlight", (PyCFunction
) _wrap_PyTextShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33452 { (char *)"PyTextShape_base_OnLeftClick", (PyCFunction
) _wrap_PyTextShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33453 { (char *)"PyTextShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyTextShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33454 { (char *)"PyTextShape_base_OnRightClick", (PyCFunction
) _wrap_PyTextShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33455 { (char *)"PyTextShape_base_OnSize", (PyCFunction
) _wrap_PyTextShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33456 { (char *)"PyTextShape_base_OnMovePre", (PyCFunction
) _wrap_PyTextShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33457 { (char *)"PyTextShape_base_OnMovePost", (PyCFunction
) _wrap_PyTextShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33458 { (char *)"PyTextShape_base_OnDragLeft", (PyCFunction
) _wrap_PyTextShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33459 { (char *)"PyTextShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyTextShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33460 { (char *)"PyTextShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyTextShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33461 { (char *)"PyTextShape_base_OnDragRight", (PyCFunction
) _wrap_PyTextShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33462 { (char *)"PyTextShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyTextShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33463 { (char *)"PyTextShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyTextShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33464 { (char *)"PyTextShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyTextShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33465 { (char *)"PyTextShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyTextShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33466 { (char *)"PyTextShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyTextShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33467 { (char *)"PyTextShape_base_OnMoveLink", (PyCFunction
) _wrap_PyTextShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33468 { (char *)"PyTextShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyTextShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33469 { (char *)"PyTextShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyTextShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33470 { (char *)"PyTextShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyTextShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33471 { (char *)"PyTextShape_base_OnBeginSize", (PyCFunction
) _wrap_PyTextShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33472 { (char *)"PyTextShape_base_OnEndSize", (PyCFunction
) _wrap_PyTextShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33473 { (char *)"PyTextShape_swigregister", PyTextShape_swigregister
, METH_VARARGS
, NULL
},
33474 { (char *)"new_Diagram", (PyCFunction
) _wrap_new_Diagram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33475 { (char *)"Diagram_AddShape", (PyCFunction
) _wrap_Diagram_AddShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33476 { (char *)"Diagram_Clear", (PyCFunction
) _wrap_Diagram_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33477 { (char *)"Diagram_DeleteAllShapes", (PyCFunction
) _wrap_Diagram_DeleteAllShapes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33478 { (char *)"Diagram_DrawOutline", (PyCFunction
) _wrap_Diagram_DrawOutline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33479 { (char *)"Diagram_FindShape", (PyCFunction
) _wrap_Diagram_FindShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33480 { (char *)"Diagram_GetCanvas", (PyCFunction
) _wrap_Diagram_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33481 { (char *)"Diagram_GetCount", (PyCFunction
) _wrap_Diagram_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33482 { (char *)"Diagram_GetGridSpacing", (PyCFunction
) _wrap_Diagram_GetGridSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33483 { (char *)"Diagram_GetMouseTolerance", (PyCFunction
) _wrap_Diagram_GetMouseTolerance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33484 { (char *)"Diagram_GetShapeList", (PyCFunction
) _wrap_Diagram_GetShapeList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33485 { (char *)"Diagram_GetQuickEditMode", (PyCFunction
) _wrap_Diagram_GetQuickEditMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33486 { (char *)"Diagram_GetSnapToGrid", (PyCFunction
) _wrap_Diagram_GetSnapToGrid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33487 { (char *)"Diagram_InsertShape", (PyCFunction
) _wrap_Diagram_InsertShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33488 { (char *)"Diagram_RecentreAll", (PyCFunction
) _wrap_Diagram_RecentreAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33489 { (char *)"Diagram_Redraw", (PyCFunction
) _wrap_Diagram_Redraw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33490 { (char *)"Diagram_RemoveAllShapes", (PyCFunction
) _wrap_Diagram_RemoveAllShapes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33491 { (char *)"Diagram_RemoveShape", (PyCFunction
) _wrap_Diagram_RemoveShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33492 { (char *)"Diagram_SetCanvas", (PyCFunction
) _wrap_Diagram_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33493 { (char *)"Diagram_SetGridSpacing", (PyCFunction
) _wrap_Diagram_SetGridSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33494 { (char *)"Diagram_SetMouseTolerance", (PyCFunction
) _wrap_Diagram_SetMouseTolerance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33495 { (char *)"Diagram_SetQuickEditMode", (PyCFunction
) _wrap_Diagram_SetQuickEditMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33496 { (char *)"Diagram_SetSnapToGrid", (PyCFunction
) _wrap_Diagram_SetSnapToGrid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33497 { (char *)"Diagram_ShowAll", (PyCFunction
) _wrap_Diagram_ShowAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33498 { (char *)"Diagram_Snap", (PyCFunction
) _wrap_Diagram_Snap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33499 { (char *)"Diagram_swigregister", Diagram_swigregister
, METH_VARARGS
, NULL
},
33500 { (char *)"new_PyShapeCanvas", (PyCFunction
) _wrap_new_PyShapeCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33501 { (char *)"PyShapeCanvas__setCallbackInfo", (PyCFunction
) _wrap_PyShapeCanvas__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33502 { (char *)"PyShapeCanvas_AddShape", (PyCFunction
) _wrap_PyShapeCanvas_AddShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33503 { (char *)"PyShapeCanvas_FindShape", (PyCFunction
) _wrap_PyShapeCanvas_FindShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33504 { (char *)"PyShapeCanvas_FindFirstSensitiveShape", (PyCFunction
) _wrap_PyShapeCanvas_FindFirstSensitiveShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33505 { (char *)"PyShapeCanvas_GetDiagram", (PyCFunction
) _wrap_PyShapeCanvas_GetDiagram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33506 { (char *)"PyShapeCanvas_GetQuickEditMode", (PyCFunction
) _wrap_PyShapeCanvas_GetQuickEditMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33507 { (char *)"PyShapeCanvas_InsertShape", (PyCFunction
) _wrap_PyShapeCanvas_InsertShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33508 { (char *)"PyShapeCanvas_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyShapeCanvas_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33509 { (char *)"PyShapeCanvas_base_OnBeginDragRight", (PyCFunction
) _wrap_PyShapeCanvas_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33510 { (char *)"PyShapeCanvas_base_OnEndDragLeft", (PyCFunction
) _wrap_PyShapeCanvas_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33511 { (char *)"PyShapeCanvas_base_OnEndDragRight", (PyCFunction
) _wrap_PyShapeCanvas_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33512 { (char *)"PyShapeCanvas_base_OnDragLeft", (PyCFunction
) _wrap_PyShapeCanvas_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33513 { (char *)"PyShapeCanvas_base_OnDragRight", (PyCFunction
) _wrap_PyShapeCanvas_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33514 { (char *)"PyShapeCanvas_base_OnLeftClick", (PyCFunction
) _wrap_PyShapeCanvas_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33515 { (char *)"PyShapeCanvas_base_OnRightClick", (PyCFunction
) _wrap_PyShapeCanvas_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33516 { (char *)"PyShapeCanvas_Redraw", (PyCFunction
) _wrap_PyShapeCanvas_Redraw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33517 { (char *)"PyShapeCanvas_RemoveShape", (PyCFunction
) _wrap_PyShapeCanvas_RemoveShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33518 { (char *)"PyShapeCanvas_SetDiagram", (PyCFunction
) _wrap_PyShapeCanvas_SetDiagram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33519 { (char *)"PyShapeCanvas_Snap", (PyCFunction
) _wrap_PyShapeCanvas_Snap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33520 { (char *)"PyShapeCanvas_swigregister", PyShapeCanvas_swigregister
, METH_VARARGS
, NULL
},
33521 { (char *)"OGLInitialize", (PyCFunction
) _wrap_OGLInitialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33522 { (char *)"OGLCleanUp", (PyCFunction
) _wrap_OGLCleanUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33523 { NULL
, NULL
, 0, NULL
}
33527 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
33529 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
33530 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
33532 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
33533 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
33535 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
33536 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
33538 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
33539 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
33541 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
33542 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
33544 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
33545 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
33547 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
33548 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
33550 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
33551 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
33553 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
33554 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
33556 static void *_p_wxPyShapeCanvasTo_p_wxPanel(void *x
) {
33557 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyShapeCanvas
*) x
));
33559 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
33560 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
33562 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
33563 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
33565 static void *_p_wxPyShapeCanvasTo_p_wxScrolledWindow(void *x
) {
33566 return (void *)((wxScrolledWindow
*) ((wxPyShapeCanvas
*) x
));
33568 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
33569 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
33571 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
33572 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
33574 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
33575 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
33577 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
33578 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
33580 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
33581 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
33583 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
33584 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
33586 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
33587 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
33589 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x
) {
33590 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
33592 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
33593 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
33595 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
33596 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
33598 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
33599 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
33601 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
33602 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
33604 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
33605 return (void *)((wxWindow
*) ((wxPanel
*) x
));
33607 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
33608 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
33610 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
33611 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
33613 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
33614 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
33616 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
33617 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
33619 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
33620 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
33622 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
33623 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
33625 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
33626 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
33628 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
33629 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
33631 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
33632 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
33634 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
33635 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
33637 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
33638 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
33640 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
33641 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
33643 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
33644 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
33646 static void *_p_wxControlTo_p_wxWindow(void *x
) {
33647 return (void *)((wxWindow
*) ((wxControl
*) x
));
33649 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
33650 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
33652 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
33653 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
33655 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
33656 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
33658 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
33659 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
33661 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
33662 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
33664 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
33665 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
33667 static void *_p_wxPyShapeCanvasTo_p_wxWindow(void *x
) {
33668 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyShapeCanvas
*) x
));
33670 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
33671 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
33673 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
33674 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
33676 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
33677 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
33679 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
33680 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
33682 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
33683 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
33685 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
33686 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
33688 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
33689 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
33691 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
33692 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
33694 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
33695 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
33697 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x
) {
33698 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
33700 static void *_p_wxPrintDialogTo_p_wxWindow(void *x
) {
33701 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
33703 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
33704 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
33706 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
33707 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
33709 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
33710 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
33712 static void *_p_wxPyControlPointTo_p_wxObject(void *x
) {
33713 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*)(wxPyRectangleShape
*) ((wxPyControlPoint
*) x
));
33715 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
33716 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
33718 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
33719 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
33721 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
33722 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
33724 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
33725 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
33727 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
33728 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
33730 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
33731 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
33733 static void *_p_wxOGLConstraintTo_p_wxObject(void *x
) {
33734 return (void *)((wxObject
*) ((wxOGLConstraint
*) x
));
33736 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
33737 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
33739 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
33740 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
33742 static void *_p_wxSizerTo_p_wxObject(void *x
) {
33743 return (void *)((wxObject
*) ((wxSizer
*) x
));
33745 static void *_p_wxPyDrawnShapeTo_p_wxObject(void *x
) {
33746 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*)(wxPyRectangleShape
*) ((wxPyDrawnShape
*) x
));
33748 static void *_p_wxPyDivisionShapeTo_p_wxObject(void *x
) {
33749 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*)(wxPyRectangleShape
*)(wxPyCompositeShape
*) ((wxPyDivisionShape
*) x
));
33751 static void *_p_wxPyPolygonShapeTo_p_wxObject(void *x
) {
33752 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*) ((wxPyPolygonShape
*) x
));
33754 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
33755 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
33757 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
33758 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
33760 static void *_p_wxArrowHeadTo_p_wxObject(void *x
) {
33761 return (void *)((wxObject
*) ((wxArrowHead
*) x
));
33763 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
33764 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
33766 static void *_p_wxEventTo_p_wxObject(void *x
) {
33767 return (void *)((wxObject
*) ((wxEvent
*) x
));
33769 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
33770 return (void *)((wxObject
*) ((wxFontData
*) x
));
33772 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
33773 return (void *)((wxObject
*) ((wxPrintData
*) x
));
33775 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
33776 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
33778 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
33779 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
33781 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
33782 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
33784 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
33785 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
33787 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x
) {
33788 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
33790 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
33791 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
33793 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
33794 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
33796 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
33797 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
33799 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
33800 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
33802 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
33803 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
33805 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
33806 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
33808 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
33809 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
33811 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
33812 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
33814 static void *_p_wxPyShapeCanvasTo_p_wxObject(void *x
) {
33815 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyShapeCanvas
*) x
));
33817 static void *_p_wxControlTo_p_wxObject(void *x
) {
33818 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
33820 static void *_p_wxPyEllipseShapeTo_p_wxObject(void *x
) {
33821 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*) ((wxPyEllipseShape
*) x
));
33823 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
33824 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
33826 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
33827 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
33829 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
33830 return (void *)((wxObject
*) ((wxFSFile
*) x
));
33832 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
33833 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
33835 static void *_p_wxPyBitmapShapeTo_p_wxObject(void *x
) {
33836 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*)(wxPyRectangleShape
*) ((wxPyBitmapShape
*) x
));
33838 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
33839 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
33841 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
33842 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
33844 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
33845 return (void *)((wxObject
*) ((wxColourData
*) x
));
33847 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
33848 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
33850 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
33851 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
33853 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
33854 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
33856 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
33857 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
33859 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
33860 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
33862 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
33863 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
33865 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
33866 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
33868 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
33869 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
33871 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x
) {
33872 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
33874 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
33875 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
33877 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
33878 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
33880 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
33881 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
33883 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
33884 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
33886 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
33887 return (void *)((wxObject
*) ((wxPrinter
*) x
));
33889 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
33890 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
33892 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
33893 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
33895 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
33896 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
33898 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
33899 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
33901 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
33902 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
33904 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
33905 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
33907 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
33908 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
33910 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
33911 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
33913 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
33914 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
33916 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
33917 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
33919 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
33920 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
33922 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
33923 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
33925 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
33926 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
33928 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
33929 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
33931 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
33932 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
33934 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
33935 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
33937 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
33938 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
33940 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
33941 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
33943 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
33944 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
33946 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
33947 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
33949 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
33950 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
33952 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
33953 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
33955 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
33956 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
33958 static void *_p_wxPyShapeEvtHandlerTo_p_wxObject(void *x
) {
33959 return (void *)((wxObject
*) ((wxPyShapeEvtHandler
*) x
));
33961 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
33962 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
33964 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
33965 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
33967 static void *_p_wxPyTextShapeTo_p_wxObject(void *x
) {
33968 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*)(wxPyRectangleShape
*) ((wxPyTextShape
*) x
));
33970 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
33971 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
33973 static void *_p_wxPyDividedShapeTo_p_wxObject(void *x
) {
33974 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*)(wxPyRectangleShape
*) ((wxPyDividedShape
*) x
));
33976 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
33977 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
33979 static void *_p_wxImageTo_p_wxObject(void *x
) {
33980 return (void *)((wxObject
*) ((wxImage
*) x
));
33982 static void *_p_wxFrameTo_p_wxObject(void *x
) {
33983 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
33985 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
33986 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
33988 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
33989 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
33991 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
33992 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
33994 static void *_p_wxDiagramTo_p_wxObject(void *x
) {
33995 return (void *)((wxObject
*) ((wxDiagram
*) x
));
33997 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
33998 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
34000 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
34001 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
34003 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
34004 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
34006 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
34007 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
34009 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
34010 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
34012 static void *_p_wxWindowTo_p_wxObject(void *x
) {
34013 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
34015 static void *_p_wxMenuTo_p_wxObject(void *x
) {
34016 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
34018 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
34019 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
34021 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
34022 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
34024 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
34025 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
34027 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
34028 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
34030 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
34031 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
34033 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
34034 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
34036 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
34037 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
34039 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
34040 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
34042 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
34043 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
34045 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
34046 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
34048 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
34049 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
34051 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
34052 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
34054 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
34055 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
34057 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
34058 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
34060 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
34061 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
34063 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
34064 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
34066 static void *_p_wxPanelTo_p_wxObject(void *x
) {
34067 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
34069 static void *_p_wxDialogTo_p_wxObject(void *x
) {
34070 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
34072 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
34073 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
34075 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
34076 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
34078 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
34079 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
34081 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
34082 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
34084 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
34085 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
34087 static void *_p_wxAttachmentPointTo_p_wxObject(void *x
) {
34088 return (void *)((wxObject
*) ((wxAttachmentPoint
*) x
));
34090 static void *_p_wxPyShapeTo_p_wxObject(void *x
) {
34091 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*) ((wxPyShape
*) x
));
34093 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
34094 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
34096 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
34097 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
34099 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
34100 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
34102 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
34103 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
34105 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
34106 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
34108 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
34109 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
34111 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
34112 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
34114 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
34115 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
34117 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
34118 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
34120 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
34121 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
34123 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
34124 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
34126 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
34127 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
34129 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
34130 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
34132 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
34133 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
34135 static void *_p_wxPyRectangleShapeTo_p_wxObject(void *x
) {
34136 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*) ((wxPyRectangleShape
*) x
));
34138 static void *_p_wxPyCompositeShapeTo_p_wxObject(void *x
) {
34139 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*)(wxPyRectangleShape
*) ((wxPyCompositeShape
*) x
));
34141 static void *_p_wxPyCircleShapeTo_p_wxObject(void *x
) {
34142 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*)(wxPyEllipseShape
*) ((wxPyCircleShape
*) x
));
34144 static void *_p_wxPyLineShapeTo_p_wxObject(void *x
) {
34145 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*) ((wxPyLineShape
*) x
));
34147 static void *_p_wxPrintNativeDataBaseTo_p_wxObject(void *x
) {
34148 return (void *)((wxObject
*) ((wxPrintNativeDataBase
*) x
));
34150 static void *_p_wxPseudoMetaFileTo_p_wxObject(void *x
) {
34151 return (void *)((wxObject
*) ((wxPseudoMetaFile
*) x
));
34153 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
34154 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
34156 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
34157 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
34159 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
34160 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
34162 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
34163 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
34165 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
34166 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
34168 static void *_p_wxShapeRegionTo_p_wxObject(void *x
) {
34169 return (void *)((wxObject
*) ((wxShapeRegion
*) x
));
34171 static void *_p_wxPyRectangleShapeTo_p_wxPyShapeEvtHandler(void *x
) {
34172 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*) ((wxPyRectangleShape
*) x
));
34174 static void *_p_wxPyBitmapShapeTo_p_wxPyShapeEvtHandler(void *x
) {
34175 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*)(wxPyRectangleShape
*) ((wxPyBitmapShape
*) x
));
34177 static void *_p_wxPyCompositeShapeTo_p_wxPyShapeEvtHandler(void *x
) {
34178 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*)(wxPyRectangleShape
*) ((wxPyCompositeShape
*) x
));
34180 static void *_p_wxPyCircleShapeTo_p_wxPyShapeEvtHandler(void *x
) {
34181 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*)(wxPyEllipseShape
*) ((wxPyCircleShape
*) x
));
34183 static void *_p_wxPyLineShapeTo_p_wxPyShapeEvtHandler(void *x
) {
34184 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*) ((wxPyLineShape
*) x
));
34186 static void *_p_wxPyTextShapeTo_p_wxPyShapeEvtHandler(void *x
) {
34187 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*)(wxPyRectangleShape
*) ((wxPyTextShape
*) x
));
34189 static void *_p_wxPyControlPointTo_p_wxPyShapeEvtHandler(void *x
) {
34190 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*)(wxPyRectangleShape
*) ((wxPyControlPoint
*) x
));
34192 static void *_p_wxPyDrawnShapeTo_p_wxPyShapeEvtHandler(void *x
) {
34193 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*)(wxPyRectangleShape
*) ((wxPyDrawnShape
*) x
));
34195 static void *_p_wxPyDivisionShapeTo_p_wxPyShapeEvtHandler(void *x
) {
34196 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*)(wxPyRectangleShape
*)(wxPyCompositeShape
*) ((wxPyDivisionShape
*) x
));
34198 static void *_p_wxPyPolygonShapeTo_p_wxPyShapeEvtHandler(void *x
) {
34199 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*) ((wxPyPolygonShape
*) x
));
34201 static void *_p_wxPyDividedShapeTo_p_wxPyShapeEvtHandler(void *x
) {
34202 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*)(wxPyRectangleShape
*) ((wxPyDividedShape
*) x
));
34204 static void *_p_wxPyShapeTo_p_wxPyShapeEvtHandler(void *x
) {
34205 return (void *)((wxPyShapeEvtHandler
*) ((wxPyShape
*) x
));
34207 static void *_p_wxPyEllipseShapeTo_p_wxPyShapeEvtHandler(void *x
) {
34208 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*) ((wxPyEllipseShape
*) x
));
34210 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
34211 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
34213 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
34214 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
34216 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
34217 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
34219 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
34220 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
34222 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
34223 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
34225 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
34226 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
34228 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
34229 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
34231 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x
) {
34232 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
34234 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
34235 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
34237 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
34238 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
34240 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
34241 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
34243 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
34244 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
34246 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
34247 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
34249 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
34250 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
34252 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
34253 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
34255 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
34256 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
34258 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
34259 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
34261 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
34262 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
34264 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
34265 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
34267 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
34268 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
34270 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
34271 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
34273 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
34274 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
34276 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
34277 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
34279 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
34280 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
34282 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
34283 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
34285 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
34286 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
34288 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
34289 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
34291 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
34292 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
34294 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
34295 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
34297 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
34298 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
34300 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
34301 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
34303 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
34304 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
34306 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
34307 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
34309 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
34310 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
34312 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
34313 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
34315 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
34316 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
34318 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
34319 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
34321 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
34322 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
34324 static void *_p_wxPyShapeCanvasTo_p_wxEvtHandler(void *x
) {
34325 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyShapeCanvas
*) x
));
34327 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
34328 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
34330 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
34331 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
34333 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
34334 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
34336 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
34337 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
34339 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x
) {
34340 return (void *)((wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
34342 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
34343 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
34345 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
34346 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
34348 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
34349 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
34351 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
34352 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
34354 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
34355 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
34357 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x
) {
34358 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
34360 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x
) {
34361 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
34363 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
34364 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
34366 static void *_p_wxPyCircleShapeTo_p_wxPyEllipseShape(void *x
) {
34367 return (void *)((wxPyEllipseShape
*) ((wxPyCircleShape
*) x
));
34369 static void *_p_wxPyRectangleShapeTo_p_wxPyShape(void *x
) {
34370 return (void *)((wxPyShape
*) ((wxPyRectangleShape
*) x
));
34372 static void *_p_wxPyBitmapShapeTo_p_wxPyShape(void *x
) {
34373 return (void *)((wxPyShape
*) (wxPyRectangleShape
*) ((wxPyBitmapShape
*) x
));
34375 static void *_p_wxPyCompositeShapeTo_p_wxPyShape(void *x
) {
34376 return (void *)((wxPyShape
*) (wxPyRectangleShape
*) ((wxPyCompositeShape
*) x
));
34378 static void *_p_wxPyCircleShapeTo_p_wxPyShape(void *x
) {
34379 return (void *)((wxPyShape
*) (wxPyEllipseShape
*) ((wxPyCircleShape
*) x
));
34381 static void *_p_wxPyLineShapeTo_p_wxPyShape(void *x
) {
34382 return (void *)((wxPyShape
*) ((wxPyLineShape
*) x
));
34384 static void *_p_wxPyTextShapeTo_p_wxPyShape(void *x
) {
34385 return (void *)((wxPyShape
*) (wxPyRectangleShape
*) ((wxPyTextShape
*) x
));
34387 static void *_p_wxPyControlPointTo_p_wxPyShape(void *x
) {
34388 return (void *)((wxPyShape
*) (wxPyRectangleShape
*) ((wxPyControlPoint
*) x
));
34390 static void *_p_wxPyDrawnShapeTo_p_wxPyShape(void *x
) {
34391 return (void *)((wxPyShape
*) (wxPyRectangleShape
*) ((wxPyDrawnShape
*) x
));
34393 static void *_p_wxPyDivisionShapeTo_p_wxPyShape(void *x
) {
34394 return (void *)((wxPyShape
*) (wxPyRectangleShape
*)(wxPyCompositeShape
*) ((wxPyDivisionShape
*) x
));
34396 static void *_p_wxPyPolygonShapeTo_p_wxPyShape(void *x
) {
34397 return (void *)((wxPyShape
*) ((wxPyPolygonShape
*) x
));
34399 static void *_p_wxPyDividedShapeTo_p_wxPyShape(void *x
) {
34400 return (void *)((wxPyShape
*) (wxPyRectangleShape
*) ((wxPyDividedShape
*) x
));
34402 static void *_p_wxPyEllipseShapeTo_p_wxPyShape(void *x
) {
34403 return (void *)((wxPyShape
*) ((wxPyEllipseShape
*) x
));
34405 static void *_p_wxPyBitmapShapeTo_p_wxPyRectangleShape(void *x
) {
34406 return (void *)((wxPyRectangleShape
*) ((wxPyBitmapShape
*) x
));
34408 static void *_p_wxPyCompositeShapeTo_p_wxPyRectangleShape(void *x
) {
34409 return (void *)((wxPyRectangleShape
*) ((wxPyCompositeShape
*) x
));
34411 static void *_p_wxPyTextShapeTo_p_wxPyRectangleShape(void *x
) {
34412 return (void *)((wxPyRectangleShape
*) ((wxPyTextShape
*) x
));
34414 static void *_p_wxPyControlPointTo_p_wxPyRectangleShape(void *x
) {
34415 return (void *)((wxPyRectangleShape
*) ((wxPyControlPoint
*) x
));
34417 static void *_p_wxPyDrawnShapeTo_p_wxPyRectangleShape(void *x
) {
34418 return (void *)((wxPyRectangleShape
*) ((wxPyDrawnShape
*) x
));
34420 static void *_p_wxPyDivisionShapeTo_p_wxPyRectangleShape(void *x
) {
34421 return (void *)((wxPyRectangleShape
*) (wxPyCompositeShape
*) ((wxPyDivisionShape
*) x
));
34423 static void *_p_wxPyDividedShapeTo_p_wxPyRectangleShape(void *x
) {
34424 return (void *)((wxPyRectangleShape
*) ((wxPyDividedShape
*) x
));
34426 static void *_p_wxPyDivisionShapeTo_p_wxPyCompositeShape(void *x
) {
34427 return (void *)((wxPyCompositeShape
*) ((wxPyDivisionShape
*) x
));
34429 static swig_type_info _swigt__p_wxOGLConstraint
[] = {{"_p_wxOGLConstraint", 0, "wxOGLConstraint *", 0, 0, 0, 0},{"_p_wxOGLConstraint", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34430 static swig_type_info _swigt__p_wxBrush
[] = {{"_p_wxBrush", 0, "wxBrush *", 0, 0, 0, 0},{"_p_wxBrush", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34431 static swig_type_info _swigt__p_wxColour
[] = {{"_p_wxColour", 0, "wxColour *", 0, 0, 0, 0},{"_p_wxColour", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34432 static swig_type_info _swigt__p_wxShapeRegion
[] = {{"_p_wxShapeRegion", 0, "wxShapeRegion *", 0, 0, 0, 0},{"_p_wxShapeRegion", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34433 static swig_type_info _swigt__p_wxDC
[] = {{"_p_wxDC", 0, "wxDC *", 0, 0, 0, 0},{"_p_wxDC", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34434 static swig_type_info _swigt__p_wxRealPoint
[] = {{"_p_wxRealPoint", 0, "wxRealPoint *", 0, 0, 0, 0},{"_p_wxRealPoint", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34435 static swig_type_info _swigt__p_wxPyControlPoint
[] = {{"_p_wxPyControlPoint", 0, "wxPyControlPoint *", 0, 0, 0, 0},{"_p_wxPyControlPoint", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34436 static swig_type_info _swigt__p_wxArrowHead
[] = {{"_p_wxArrowHead", 0, "wxArrowHead *", 0, 0, 0, 0},{"_p_wxArrowHead", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34437 static swig_type_info _swigt__p_char
[] = {{"_p_char", 0, "char *", 0, 0, 0, 0},{"_p_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34438 static swig_type_info _swigt__p_wxStringList
[] = {{"_p_wxStringList", 0, "wxStringList *", 0, 0, 0, 0},{"_p_wxStringList", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34439 static swig_type_info _swigt__p_wxPanel
[] = {{"_p_wxPanel", 0, "wxPanel *", 0, 0, 0, 0},{"_p_wxPanel", 0, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxPanel
, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxPanel
, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxPanel
, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxPanel
, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPanel
, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxPanel
, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxPanel
, 0, 0, 0, 0, 0},{"_p_wxPyShapeCanvas", _p_wxPyShapeCanvasTo_p_wxPanel
, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxPanel
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxPanel
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34440 static swig_type_info _swigt__p_bool
[] = {{"_p_bool", 0, "bool *", 0, 0, 0, 0},{"_p_bool", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34441 static swig_type_info _swigt__p_wxList
[] = {{"_p_wxList", 0, "wxList *", 0, 0, 0, 0},{"_p_wxList", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34442 static swig_type_info _swigt__p_wxFont
[] = {{"_p_wxFont", 0, "wxFont *", 0, 0, 0, 0},{"_p_wxFont", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34443 static swig_type_info _swigt__p_wxScrolledWindow
[] = {{"_p_wxScrolledWindow", 0, "wxScrolledWindow *", 0, 0, 0, 0},{"_p_wxScrolledWindow", 0, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxScrolledWindow
, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxScrolledWindow
, 0, 0, 0, 0, 0},{"_p_wxPyShapeCanvas", _p_wxPyShapeCanvasTo_p_wxScrolledWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34444 static swig_type_info _swigt__p_wxWindow
[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyShapeCanvas", _p_wxPyShapeCanvasTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34445 static swig_type_info _swigt__p_double
[] = {{"_p_double", 0, "double *", 0, 0, 0, 0},{"_p_double", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34446 static swig_type_info _swigt__p_wxPyDivisionShape
[] = {{"_p_wxPyDivisionShape", 0, "wxPyDivisionShape *", 0, 0, 0, 0},{"_p_wxPyDivisionShape", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34447 static swig_type_info _swigt__p_wxPyDrawnShape
[] = {{"_p_wxPyDrawnShape", 0, "wxPyDrawnShape *", 0, 0, 0, 0},{"_p_wxPyDrawnShape", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34448 static swig_type_info _swigt__p_wxPyPolygonShape
[] = {{"_p_wxPyPolygonShape", 0, "wxPyPolygonShape *", 0, 0, 0, 0},{"_p_wxPyPolygonShape", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34449 static swig_type_info _swigt__p_wxBitmap
[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0, 0, 0, 0},{"_p_wxBitmap", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34450 static swig_type_info _swigt__p_wxObject
[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyControlPoint", _p_wxPyControlPointTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxOGLConstraint", _p_wxOGLConstraintTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPolygonShape", _p_wxPyPolygonShapeTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyDivisionShape", _p_wxPyDivisionShapeTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyDrawnShape", _p_wxPyDrawnShapeTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxArrowHead", _p_wxArrowHeadTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFontData", _p_wxFontDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrintData", _p_wxPrintDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyTaskBarIcon", _p_wxPyTaskBarIconTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxLayoutAlgorithm", _p_wxLayoutAlgorithmTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyShapeCanvas", _p_wxPyShapeCanvasTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyEllipseShape", _p_wxPyEllipseShapeTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceData", _p_wxFindReplaceDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyBitmapShape", _p_wxPyBitmapShapeTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxColourData", _p_wxColourDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrinter", _p_wxPrinterTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyShapeEvtHandler", _p_wxPyShapeEvtHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyTextShape", _p_wxPyTextShapeTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyDividedShape", _p_wxPyDividedShapeTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPrintout", _p_wxPyPrintoutTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDiagram", _p_wxDiagramTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrintPreview", _p_wxPrintPreviewTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyShape", _p_wxPyShapeTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxAttachmentPoint", _p_wxAttachmentPointTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyCircleShape", _p_wxPyCircleShapeTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyLineShape", _p_wxPyLineShapeTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyCompositeShape", _p_wxPyCompositeShapeTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyRectangleShape", _p_wxPyRectangleShapeTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrintNativeDataBase", _p_wxPrintNativeDataBaseTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPseudoMetaFile", _p_wxPseudoMetaFileTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialogData", _p_wxPageSetupDialogDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrintDialogData", _p_wxPrintDialogDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxShapeRegion", _p_wxShapeRegionTo_p_wxObject
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34451 static swig_type_info _swigt__p_wxPyBitmapShape
[] = {{"_p_wxPyBitmapShape", 0, "wxPyBitmapShape *", 0, 0, 0, 0},{"_p_wxPyBitmapShape", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34452 static swig_type_info _swigt__p_wxPyShapeEvtHandler
[] = {{"_p_wxPyShapeEvtHandler", 0, "wxPyShapeEvtHandler *", 0, 0, 0, 0},{"_p_wxPyControlPoint", _p_wxPyControlPointTo_p_wxPyShapeEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyRectangleShape", _p_wxPyRectangleShapeTo_p_wxPyShapeEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyCompositeShape", _p_wxPyCompositeShapeTo_p_wxPyShapeEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyCircleShape", _p_wxPyCircleShapeTo_p_wxPyShapeEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyLineShape", _p_wxPyLineShapeTo_p_wxPyShapeEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyDividedShape", _p_wxPyDividedShapeTo_p_wxPyShapeEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyEllipseShape", _p_wxPyEllipseShapeTo_p_wxPyShapeEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyPolygonShape", _p_wxPyPolygonShapeTo_p_wxPyShapeEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyDrawnShape", _p_wxPyDrawnShapeTo_p_wxPyShapeEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyDivisionShape", _p_wxPyDivisionShapeTo_p_wxPyShapeEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyShape", _p_wxPyShapeTo_p_wxPyShapeEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyShapeEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPyBitmapShape", _p_wxPyBitmapShapeTo_p_wxPyShapeEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyTextShape", _p_wxPyTextShapeTo_p_wxPyShapeEvtHandler
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34453 static swig_type_info _swigt__p_wxEvtHandler
[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPyShapeCanvas", _p_wxPyShapeCanvasTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyTaskBarIcon", _p_wxPyTaskBarIconTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34454 static swig_type_info _swigt__p_wxPyEllipseShape
[] = {{"_p_wxPyEllipseShape", 0, "wxPyEllipseShape *", 0, 0, 0, 0},{"_p_wxPyCircleShape", _p_wxPyCircleShapeTo_p_wxPyEllipseShape
, 0, 0, 0, 0, 0},{"_p_wxPyEllipseShape", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34455 static swig_type_info _swigt__p_wxPyShapeCanvas
[] = {{"_p_wxPyShapeCanvas", 0, "wxPyShapeCanvas *", 0, 0, 0, 0},{"_p_wxPyShapeCanvas", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34456 static swig_type_info _swigt__p_wxPoint
[] = {{"_p_wxPoint", 0, "wxPoint *", 0, 0, 0, 0},{"_p_wxPoint", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34457 static swig_type_info _swigt__p_wxDiagram
[] = {{"_p_wxDiagram", 0, "wxDiagram *", 0, 0, 0, 0},{"_p_wxDiagram", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34458 static swig_type_info _swigt__p_wxPyShape
[] = {{"_p_wxPyShape", 0, "wxPyShape *", 0, 0, 0, 0},{"_p_wxPyRectangleShape", _p_wxPyRectangleShapeTo_p_wxPyShape
, 0, 0, 0, 0, 0},{"_p_wxPyBitmapShape", _p_wxPyBitmapShapeTo_p_wxPyShape
, 0, 0, 0, 0, 0},{"_p_wxPyCompositeShape", _p_wxPyCompositeShapeTo_p_wxPyShape
, 0, 0, 0, 0, 0},{"_p_wxPyCircleShape", _p_wxPyCircleShapeTo_p_wxPyShape
, 0, 0, 0, 0, 0},{"_p_wxPyLineShape", _p_wxPyLineShapeTo_p_wxPyShape
, 0, 0, 0, 0, 0},{"_p_wxPyTextShape", _p_wxPyTextShapeTo_p_wxPyShape
, 0, 0, 0, 0, 0},{"_p_wxPyDivisionShape", _p_wxPyDivisionShapeTo_p_wxPyShape
, 0, 0, 0, 0, 0},{"_p_wxPyControlPoint", _p_wxPyControlPointTo_p_wxPyShape
, 0, 0, 0, 0, 0},{"_p_wxPyDrawnShape", _p_wxPyDrawnShapeTo_p_wxPyShape
, 0, 0, 0, 0, 0},{"_p_wxPyPolygonShape", _p_wxPyPolygonShapeTo_p_wxPyShape
, 0, 0, 0, 0, 0},{"_p_wxPyDividedShape", _p_wxPyDividedShapeTo_p_wxPyShape
, 0, 0, 0, 0, 0},{"_p_wxPyShape", 0, 0, 0, 0, 0, 0},{"_p_wxPyEllipseShape", _p_wxPyEllipseShapeTo_p_wxPyShape
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34459 static swig_type_info _swigt__p_wxAttachmentPoint
[] = {{"_p_wxAttachmentPoint", 0, "wxAttachmentPoint *", 0, 0, 0, 0},{"_p_wxAttachmentPoint", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34460 static swig_type_info _swigt__p_wxClassInfo
[] = {{"_p_wxClassInfo", 0, "wxClassInfo *", 0, 0, 0, 0},{"_p_wxClassInfo", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34461 static swig_type_info _swigt__p_wxPyLineShape
[] = {{"_p_wxPyLineShape", 0, "wxPyLineShape *", 0, 0, 0, 0},{"_p_wxPyLineShape", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34462 static swig_type_info _swigt__p_wxPyRectangleShape
[] = {{"_p_wxPyRectangleShape", 0, "wxPyRectangleShape *", 0, 0, 0, 0},{"_p_wxPyRectangleShape", 0, 0, 0, 0, 0, 0},{"_p_wxPyBitmapShape", _p_wxPyBitmapShapeTo_p_wxPyRectangleShape
, 0, 0, 0, 0, 0},{"_p_wxPyCompositeShape", _p_wxPyCompositeShapeTo_p_wxPyRectangleShape
, 0, 0, 0, 0, 0},{"_p_wxPyTextShape", _p_wxPyTextShapeTo_p_wxPyRectangleShape
, 0, 0, 0, 0, 0},{"_p_wxPyDivisionShape", _p_wxPyDivisionShapeTo_p_wxPyRectangleShape
, 0, 0, 0, 0, 0},{"_p_wxPyControlPoint", _p_wxPyControlPointTo_p_wxPyRectangleShape
, 0, 0, 0, 0, 0},{"_p_wxPyDrawnShape", _p_wxPyDrawnShapeTo_p_wxPyRectangleShape
, 0, 0, 0, 0, 0},{"_p_wxPyDividedShape", _p_wxPyDividedShapeTo_p_wxPyRectangleShape
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34463 static swig_type_info _swigt__p_wxPyCompositeShape
[] = {{"_p_wxPyCompositeShape", 0, "wxPyCompositeShape *", 0, 0, 0, 0},{"_p_wxPyCompositeShape", 0, 0, 0, 0, 0, 0},{"_p_wxPyDivisionShape", _p_wxPyDivisionShapeTo_p_wxPyCompositeShape
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34464 static swig_type_info _swigt__p_wxPyCircleShape
[] = {{"_p_wxPyCircleShape", 0, "wxPyCircleShape *", 0, 0, 0, 0},{"_p_wxPyCircleShape", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34465 static swig_type_info _swigt__p_wxPen
[] = {{"_p_wxPen", 0, "wxPen *", 0, 0, 0, 0},{"_p_wxPen", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34466 static swig_type_info _swigt__p_int
[] = {{"_p_int", 0, "int *", 0, 0, 0, 0},{"_p_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34467 static swig_type_info _swigt__p_wxPseudoMetaFile
[] = {{"_p_wxPseudoMetaFile", 0, "wxPseudoMetaFile *", 0, 0, 0, 0},{"_p_wxPseudoMetaFile", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34468 static swig_type_info _swigt__p_wxPyTextShape
[] = {{"_p_wxPyTextShape", 0, "wxPyTextShape *", 0, 0, 0, 0},{"_p_wxPyTextShape", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34469 static swig_type_info _swigt__p_wxPyDividedShape
[] = {{"_p_wxPyDividedShape", 0, "wxPyDividedShape *", 0, 0, 0, 0},{"_p_wxPyDividedShape", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
34471 static swig_type_info
*swig_types_initial
[] = {
34472 _swigt__p_wxOGLConstraint
,
34474 _swigt__p_wxColour
,
34475 _swigt__p_wxShapeRegion
,
34477 _swigt__p_wxRealPoint
,
34478 _swigt__p_wxPyControlPoint
,
34479 _swigt__p_wxArrowHead
,
34481 _swigt__p_wxStringList
,
34486 _swigt__p_wxScrolledWindow
,
34487 _swigt__p_wxWindow
,
34489 _swigt__p_wxPyDivisionShape
,
34490 _swigt__p_wxPyDrawnShape
,
34491 _swigt__p_wxPyPolygonShape
,
34492 _swigt__p_wxBitmap
,
34493 _swigt__p_wxObject
,
34494 _swigt__p_wxPyBitmapShape
,
34495 _swigt__p_wxPyShapeEvtHandler
,
34496 _swigt__p_wxEvtHandler
,
34497 _swigt__p_wxPyEllipseShape
,
34498 _swigt__p_wxPyShapeCanvas
,
34500 _swigt__p_wxDiagram
,
34501 _swigt__p_wxPyShape
,
34502 _swigt__p_wxAttachmentPoint
,
34503 _swigt__p_wxClassInfo
,
34504 _swigt__p_wxPyLineShape
,
34505 _swigt__p_wxPyRectangleShape
,
34506 _swigt__p_wxPyCompositeShape
,
34507 _swigt__p_wxPyCircleShape
,
34510 _swigt__p_wxPseudoMetaFile
,
34511 _swigt__p_wxPyTextShape
,
34512 _swigt__p_wxPyDividedShape
,
34517 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
34519 static swig_const_info swig_const_table
[] = {
34520 {0, 0, 0, 0.0, 0, 0}};
34529 SWIGEXPORT(void) SWIG_init(void) {
34530 static PyObject
*SWIG_globals
= 0;
34531 static int typeinit
= 0;
34534 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
34535 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
34536 d
= PyModule_GetDict(m
);
34539 for (i
= 0; swig_types_initial
[i
]; i
++) {
34540 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
34544 SWIG_InstallConstants(d
,swig_const_table
);
34546 PyDict_SetItemString(d
,"oglMETAFLAGS_OUTLINE", SWIG_From_int((int)oglMETAFLAGS_OUTLINE
));
34547 PyDict_SetItemString(d
,"oglMETAFLAGS_ATTACHMENTS", SWIG_From_int((int)oglMETAFLAGS_ATTACHMENTS
));
34548 PyDict_SetItemString(d
,"KEY_SHIFT", SWIG_From_int((int)KEY_SHIFT
));
34549 PyDict_SetItemString(d
,"KEY_CTRL", SWIG_From_int((int)KEY_CTRL
));
34550 PyDict_SetItemString(d
,"ARROW_NONE", SWIG_From_int((int)ARROW_NONE
));
34551 PyDict_SetItemString(d
,"ARROW_END", SWIG_From_int((int)ARROW_END
));
34552 PyDict_SetItemString(d
,"ARROW_BOTH", SWIG_From_int((int)ARROW_BOTH
));
34553 PyDict_SetItemString(d
,"ARROW_MIDDLE", SWIG_From_int((int)ARROW_MIDDLE
));
34554 PyDict_SetItemString(d
,"ARROW_START", SWIG_From_int((int)ARROW_START
));
34555 PyDict_SetItemString(d
,"ARROW_HOLLOW_CIRCLE", SWIG_From_int((int)ARROW_HOLLOW_CIRCLE
));
34556 PyDict_SetItemString(d
,"ARROW_FILLED_CIRCLE", SWIG_From_int((int)ARROW_FILLED_CIRCLE
));
34557 PyDict_SetItemString(d
,"ARROW_ARROW", SWIG_From_int((int)ARROW_ARROW
));
34558 PyDict_SetItemString(d
,"ARROW_SINGLE_OBLIQUE", SWIG_From_int((int)ARROW_SINGLE_OBLIQUE
));
34559 PyDict_SetItemString(d
,"ARROW_DOUBLE_OBLIQUE", SWIG_From_int((int)ARROW_DOUBLE_OBLIQUE
));
34560 PyDict_SetItemString(d
,"ARROW_METAFILE", SWIG_From_int((int)ARROW_METAFILE
));
34561 PyDict_SetItemString(d
,"ARROW_POSITION_END", SWIG_From_int((int)ARROW_POSITION_END
));
34562 PyDict_SetItemString(d
,"ARROW_POSITION_START", SWIG_From_int((int)ARROW_POSITION_START
));
34563 PyDict_SetItemString(d
,"CONTROL_POINT_VERTICAL", SWIG_From_int((int)CONTROL_POINT_VERTICAL
));
34564 PyDict_SetItemString(d
,"CONTROL_POINT_HORIZONTAL", SWIG_From_int((int)CONTROL_POINT_HORIZONTAL
));
34565 PyDict_SetItemString(d
,"CONTROL_POINT_DIAGONAL", SWIG_From_int((int)CONTROL_POINT_DIAGONAL
));
34566 PyDict_SetItemString(d
,"CONTROL_POINT_ENDPOINT_TO", SWIG_From_int((int)CONTROL_POINT_ENDPOINT_TO
));
34567 PyDict_SetItemString(d
,"CONTROL_POINT_ENDPOINT_FROM", SWIG_From_int((int)CONTROL_POINT_ENDPOINT_FROM
));
34568 PyDict_SetItemString(d
,"CONTROL_POINT_LINE", SWIG_From_int((int)CONTROL_POINT_LINE
));
34569 PyDict_SetItemString(d
,"FORMAT_NONE", SWIG_From_int((int)FORMAT_NONE
));
34570 PyDict_SetItemString(d
,"FORMAT_CENTRE_HORIZ", SWIG_From_int((int)FORMAT_CENTRE_HORIZ
));
34571 PyDict_SetItemString(d
,"FORMAT_CENTRE_VERT", SWIG_From_int((int)FORMAT_CENTRE_VERT
));
34572 PyDict_SetItemString(d
,"FORMAT_SIZE_TO_CONTENTS", SWIG_From_int((int)FORMAT_SIZE_TO_CONTENTS
));
34573 PyDict_SetItemString(d
,"LINE_ALIGNMENT_HORIZ", SWIG_From_int((int)LINE_ALIGNMENT_HORIZ
));
34574 PyDict_SetItemString(d
,"LINE_ALIGNMENT_VERT", SWIG_From_int((int)LINE_ALIGNMENT_VERT
));
34575 PyDict_SetItemString(d
,"LINE_ALIGNMENT_TO_NEXT_HANDLE", SWIG_From_int((int)LINE_ALIGNMENT_TO_NEXT_HANDLE
));
34576 PyDict_SetItemString(d
,"LINE_ALIGNMENT_NONE", SWIG_From_int((int)LINE_ALIGNMENT_NONE
));
34577 PyDict_SetItemString(d
,"SHADOW_NONE", SWIG_From_int((int)SHADOW_NONE
));
34578 PyDict_SetItemString(d
,"SHADOW_LEFT", SWIG_From_int((int)SHADOW_LEFT
));
34579 PyDict_SetItemString(d
,"SHADOW_RIGHT", SWIG_From_int((int)SHADOW_RIGHT
));
34580 PyDict_SetItemString(d
,"OP_CLICK_LEFT", SWIG_From_int((int)OP_CLICK_LEFT
));
34581 PyDict_SetItemString(d
,"OP_CLICK_RIGHT", SWIG_From_int((int)OP_CLICK_RIGHT
));
34582 PyDict_SetItemString(d
,"OP_DRAG_LEFT", SWIG_From_int((int)OP_DRAG_LEFT
));
34583 PyDict_SetItemString(d
,"OP_DRAG_RIGHT", SWIG_From_int((int)OP_DRAG_RIGHT
));
34584 PyDict_SetItemString(d
,"OP_ALL", SWIG_From_int((int)OP_ALL
));
34585 PyDict_SetItemString(d
,"ATTACHMENT_MODE_NONE", SWIG_From_int((int)ATTACHMENT_MODE_NONE
));
34586 PyDict_SetItemString(d
,"ATTACHMENT_MODE_EDGE", SWIG_From_int((int)ATTACHMENT_MODE_EDGE
));
34587 PyDict_SetItemString(d
,"ATTACHMENT_MODE_BRANCHING", SWIG_From_int((int)ATTACHMENT_MODE_BRANCHING
));
34588 PyDict_SetItemString(d
,"BRANCHING_ATTACHMENT_NORMAL", SWIG_From_int((int)BRANCHING_ATTACHMENT_NORMAL
));
34589 PyDict_SetItemString(d
,"BRANCHING_ATTACHMENT_BLOB", SWIG_From_int((int)BRANCHING_ATTACHMENT_BLOB
));
34590 PyDict_SetItemString(d
,"gyCONSTRAINT_CENTRED_VERTICALLY", SWIG_From_int((int)gyCONSTRAINT_CENTRED_VERTICALLY
));
34591 PyDict_SetItemString(d
,"gyCONSTRAINT_CENTRED_HORIZONTALLY", SWIG_From_int((int)gyCONSTRAINT_CENTRED_HORIZONTALLY
));
34592 PyDict_SetItemString(d
,"gyCONSTRAINT_CENTRED_BOTH", SWIG_From_int((int)gyCONSTRAINT_CENTRED_BOTH
));
34593 PyDict_SetItemString(d
,"gyCONSTRAINT_LEFT_OF", SWIG_From_int((int)gyCONSTRAINT_LEFT_OF
));
34594 PyDict_SetItemString(d
,"gyCONSTRAINT_RIGHT_OF", SWIG_From_int((int)gyCONSTRAINT_RIGHT_OF
));
34595 PyDict_SetItemString(d
,"gyCONSTRAINT_ABOVE", SWIG_From_int((int)gyCONSTRAINT_ABOVE
));
34596 PyDict_SetItemString(d
,"gyCONSTRAINT_BELOW", SWIG_From_int((int)gyCONSTRAINT_BELOW
));
34597 PyDict_SetItemString(d
,"gyCONSTRAINT_ALIGNED_TOP", SWIG_From_int((int)gyCONSTRAINT_ALIGNED_TOP
));
34598 PyDict_SetItemString(d
,"gyCONSTRAINT_ALIGNED_BOTTOM", SWIG_From_int((int)gyCONSTRAINT_ALIGNED_BOTTOM
));
34599 PyDict_SetItemString(d
,"gyCONSTRAINT_ALIGNED_LEFT", SWIG_From_int((int)gyCONSTRAINT_ALIGNED_LEFT
));
34600 PyDict_SetItemString(d
,"gyCONSTRAINT_ALIGNED_RIGHT", SWIG_From_int((int)gyCONSTRAINT_ALIGNED_RIGHT
));
34601 PyDict_SetItemString(d
,"gyCONSTRAINT_MIDALIGNED_TOP", SWIG_From_int((int)gyCONSTRAINT_MIDALIGNED_TOP
));
34602 PyDict_SetItemString(d
,"gyCONSTRAINT_MIDALIGNED_BOTTOM", SWIG_From_int((int)gyCONSTRAINT_MIDALIGNED_BOTTOM
));
34603 PyDict_SetItemString(d
,"gyCONSTRAINT_MIDALIGNED_LEFT", SWIG_From_int((int)gyCONSTRAINT_MIDALIGNED_LEFT
));
34604 PyDict_SetItemString(d
,"gyCONSTRAINT_MIDALIGNED_RIGHT", SWIG_From_int((int)gyCONSTRAINT_MIDALIGNED_RIGHT
));
34605 PyDict_SetItemString(d
,"DIVISION_SIDE_NONE", SWIG_From_int((int)DIVISION_SIDE_NONE
));
34606 PyDict_SetItemString(d
,"DIVISION_SIDE_LEFT", SWIG_From_int((int)DIVISION_SIDE_LEFT
));
34607 PyDict_SetItemString(d
,"DIVISION_SIDE_TOP", SWIG_From_int((int)DIVISION_SIDE_TOP
));
34608 PyDict_SetItemString(d
,"DIVISION_SIDE_RIGHT", SWIG_From_int((int)DIVISION_SIDE_RIGHT
));
34609 PyDict_SetItemString(d
,"DIVISION_SIDE_BOTTOM", SWIG_From_int((int)DIVISION_SIDE_BOTTOM
));
34612 // initoglbasicc();
34613 // initoglshapesc();
34614 // initoglshapes2c();
34615 // initoglcanvasc();
34618 wxPyPtrTypeMap_Add("wxControlPoint", "wxPyControlPoint");
34619 wxPyPtrTypeMap_Add("wxShapeCanvas", "wxPyShapeCanvas");
34620 wxPyPtrTypeMap_Add("wxShapeEvtHandler", "wxPyShapeEvtHandler");
34621 wxPyPtrTypeMap_Add("wxShape", "wxPyShape");
34622 wxPyPtrTypeMap_Add("wxRectangleShape", "wxPyRectangleShape");
34623 wxPyPtrTypeMap_Add("wxDrawnShape", "wxPyDrawnShape");
34624 wxPyPtrTypeMap_Add("wxCompositeShape", "wxPyCompositeShape");
34625 wxPyPtrTypeMap_Add("wxDividedShape", "wxPyDividedShape");
34626 wxPyPtrTypeMap_Add("wxDivisionShape", "wxPyDivisionShape");
34627 wxPyPtrTypeMap_Add("wxEllipseShape", "wxPyEllipseShape");
34628 wxPyPtrTypeMap_Add("wxCircleShape", "wxPyCircleShape");
34629 wxPyPtrTypeMap_Add("wxLineShape", "wxPyLineShape");
34630 wxPyPtrTypeMap_Add("wxPolygonShape", "wxPyPolygonShape");
34631 wxPyPtrTypeMap_Add("wxTextShape", "wxPyTextShape");