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
) {
480 target
= PyTuple_New(1);
481 PyTuple_SetItem(target
, 0, o2
);
484 PyTuple_SetItem(o3
, 0, o
);
487 target
= PySequence_Concat(o2
, o3
);
496 WXSHAPE_IMP_CALLBACKS(wxPyShapeEvtHandler
,wxShapeEvtHandler
);
498 void wxPyShapeEvtHandler__setOORInfo(wxPyShapeEvtHandler
*self
,PyObject
*_self
){
499 self
->SetClientObject(new wxPyOORClientData(_self
));
502 SWIGSTATICINLINE(int)
503 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
505 /* if (val) *val = PyObject_IsTrue(obj); return 1; */
506 if (obj
== Py_True
) {
507 if (val
) *val
= true;
510 if (obj
== Py_False
) {
511 if (val
) *val
= false;
515 if (SWIG_AsVal_int(obj
, &res
)) {
516 if (val
) *val
= (bool)res
;
520 PyErr_SetString(PyExc_TypeError
, "a bool is expected");
526 SWIGSTATICINLINE(bool)
527 SWIG_As_bool(PyObject
* obj
)
530 if (!SWIG_AsVal_bool(obj
, &v
)) {
532 this is needed to make valgrind/purify happier. the other
533 solution is throw an exception, but since this code should work
536 memset((void*)&v
, 0, sizeof(bool));
542 SWIGSTATICINLINE(int)
543 SWIG_Check_bool(PyObject
* obj
)
545 return SWIG_AsVal_bool(obj
, (bool*)0);
549 WXSHAPE_IMP_CALLBACKS(wxPyShape
, wxShape
);
551 PyObject
*wxPyShape_GetChildren(wxPyShape
*self
){
552 wxList
& list
= self
->GetChildren();
553 return wxPy_ConvertShapeList(&list
);
556 SWIGSTATICINLINE(PyObject
*)
557 SWIG_From_bool(bool value
)
559 PyObject
*obj
= value
? Py_True
: Py_False
;
566 PyObject
*wxPyShape_GetLines(wxPyShape
*self
){
567 wxList
& list
= self
->GetLines();
568 return wxPy_ConvertShapeList(&list
);
571 SWIGSTATICINLINE(long)
572 SWIG_As_long(PyObject
* obj
)
575 if (!SWIG_AsVal_long(obj
, &v
)) {
577 this is needed to make valgrind/purify happier. the other
578 solution is throw an exception, but since this code should work
581 memset((void*)&v
, 0, sizeof(long));
587 SWIGSTATICINLINE(int)
588 SWIG_Check_long(PyObject
* obj
)
590 return SWIG_AsVal_long(obj
, (long*)0);
593 PyObject
*wxPyShape_GetRegions(wxPyShape
*self
){
594 wxList
& list
= self
->GetRegions();
595 return wxPy_ConvertList(&list
);
597 PyObject
*wxPyShape_GetAttachments(wxPyShape
*self
){
598 wxList
& list
= self
->GetAttachments();
599 return wxPy_ConvertList(&list
);
601 void wxPyShape_ApplyAttachmentOrdering(wxPyShape
*self
,PyObject
*linesToSort
){
602 wxList
* list
= wxPy_wxListHelper(linesToSort
, wxT("wxPyLineShape"));
603 self
->ApplyAttachmentOrdering(*list
);
607 // Using this macro can sometimes provoke an Internal Compiler Error in MSVC
608 // 6, so instead I'l just expand it out by hand...
609 // WXSHAPE_IMP_CALLBACKS(wxPyRectangleShape, wxRectangleShape);
611 IMP_PYCALLBACK__ (wxPyRectangleShape
, wxRectangleShape
, OnDelete
);
612 IMP_PYCALLBACK__DC (wxPyRectangleShape
, wxRectangleShape
, OnDraw
);
613 IMP_PYCALLBACK__DC (wxPyRectangleShape
, wxRectangleShape
, OnDrawContents
);
614 IMP_PYCALLBACK__DCBOOL (wxPyRectangleShape
, wxRectangleShape
, OnDrawBranches
);
615 IMP_PYCALLBACK__DC (wxPyRectangleShape
, wxRectangleShape
, OnMoveLinks
);
616 IMP_PYCALLBACK__DC (wxPyRectangleShape
, wxRectangleShape
, OnErase
);
617 IMP_PYCALLBACK__DC (wxPyRectangleShape
, wxRectangleShape
, OnEraseContents
);
618 IMP_PYCALLBACK__DC (wxPyRectangleShape
, wxRectangleShape
, OnHighlight
);
619 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape
, wxRectangleShape
, OnLeftClick
);
620 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape
, wxRectangleShape
, OnLeftDoubleClick
);
621 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape
, wxRectangleShape
, OnRightClick
);
622 IMP_PYCALLBACK__2DBL (wxPyRectangleShape
, wxRectangleShape
, OnSize
);
623 IMP_PYCALLBACK_BOOL_DC4DBLBOOL (wxPyRectangleShape
, wxRectangleShape
, OnMovePre
);
624 IMP_PYCALLBACK__DC4DBLBOOL (wxPyRectangleShape
, wxRectangleShape
, OnMovePost
);
625 IMP_PYCALLBACK__BOOL2DBL2INT (wxPyRectangleShape
, wxRectangleShape
, OnDragLeft
);
626 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape
, wxRectangleShape
, OnBeginDragLeft
);
627 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape
, wxRectangleShape
, OnEndDragLeft
);
628 IMP_PYCALLBACK__BOOL2DBL2INT (wxPyRectangleShape
, wxRectangleShape
, OnDragRight
);
629 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape
, wxRectangleShape
, OnBeginDragRight
);
630 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape
, wxRectangleShape
, OnEndDragRight
);
631 IMP_PYCALLBACK__DC4DBL (wxPyRectangleShape
, wxRectangleShape
, OnDrawOutline
);
632 IMP_PYCALLBACK__DC (wxPyRectangleShape
, wxRectangleShape
, OnDrawControlPoints
);
633 IMP_PYCALLBACK__DC (wxPyRectangleShape
, wxRectangleShape
, OnEraseControlPoints
);
634 IMP_PYCALLBACK__DCBOOL (wxPyRectangleShape
, wxRectangleShape
, OnMoveLink
);
635 IMP_PYCALLBACK__WXCPBOOL2DBL2INT(wxPyRectangleShape
, wxRectangleShape
, OnSizingDragLeft
);
636 IMP_PYCALLBACK__WXCP2DBL2INT (wxPyRectangleShape
, wxRectangleShape
, OnSizingBeginDragLeft
);
637 IMP_PYCALLBACK__WXCP2DBL2INT (wxPyRectangleShape
, wxRectangleShape
, OnSizingEndDragLeft
);
638 IMP_PYCALLBACK__2DBL (wxPyRectangleShape
, wxRectangleShape
, OnBeginSize
);
639 IMP_PYCALLBACK__2DBL (wxPyRectangleShape
, wxRectangleShape
, OnEndSize
)
643 WXSHAPE_IMP_CALLBACKS(wxPyControlPoint
, wxControlPoint
);
646 WXSHAPE_IMP_CALLBACKS(wxPyBitmapShape
, wxBitmapShape
);
649 WXSHAPE_IMP_CALLBACKS(wxPyDrawnShape
, wxDrawnShape
);
651 wxOGLConstraint
*new_wxOGLConstraint(int type
,wxPyShape
*constraining
,PyObject
*constrained
){
652 wxList
* list
= wxPy_wxListHelper(constrained
, wxT("wxPyShape"));
653 wxOGLConstraint
* rv
= new wxOGLConstraint(type
, constraining
, *list
);
658 WXSHAPE_IMP_CALLBACKS(wxPyCompositeShape
, wxCompositeShape
);
660 wxOGLConstraint
*wxPyCompositeShape_AddConstrainedShapes(wxPyCompositeShape
*self
,int type
,wxPyShape
*constraining
,PyObject
*constrained
){
661 wxList
* list
= wxPy_wxListHelper(constrained
, wxT("wxPyShape"));
662 wxOGLConstraint
* rv
= self
->AddConstraint(type
, constraining
, *list
);
666 PyObject
*wxPyCompositeShape_GetConstraints(wxPyCompositeShape
*self
){
667 wxList
& list
= self
->GetConstraints();
668 return wxPy_ConvertList(&list
);
670 PyObject
*wxPyCompositeShape_GetDivisions(wxPyCompositeShape
*self
){
671 wxList
& list
= self
->GetDivisions();
672 return wxPy_ConvertShapeList(&list
);
675 WXSHAPE_IMP_CALLBACKS(wxPyDividedShape
, wxDividedShape
);
678 WXSHAPE_IMP_CALLBACKS(wxPyDivisionShape
, wxDivisionShape
);
681 WXSHAPE_IMP_CALLBACKS(wxPyEllipseShape
, wxEllipseShape
);
684 WXSHAPE_IMP_CALLBACKS(wxPyCircleShape
, wxCircleShape
);
687 WXSHAPE_IMP_CALLBACKS(wxPyLineShape
, wxLineShape
);
689 void wxPyLineShape_AddArrowOrdered(wxPyLineShape
*self
,wxArrowHead
*arrow
,PyObject
*referenceList
,int end
){
690 wxList
* list
= wxPy_wxListHelper(referenceList
, wxT("wxArrowHead"));
691 self
->AddArrowOrdered(arrow
, *list
, end
);
694 PyObject
*wxPyLineShape_GetLineControlPoints(wxPyLineShape
*self
){
695 wxList
* list
= self
->GetLineControlPoints();
696 return wxPy_ConvertRealPointList(list
);
698 void wxPyLineShape_SetLineControlPoints(wxPyLineShape
*self
,PyObject
*list
){
699 wxList
* real_point_list
= wxPy_wxRealPoint_ListHelper(list
);
700 self
->MakeLineControlPoints((int)(real_point_list
->GetCount()));
701 wxList
* old_control_points
= self
->GetLineControlPoints();
702 wxNode
* old_node
= old_control_points
->GetFirst();
703 wxNode
* real_node
= real_point_list
->GetFirst();
706 wxRealPoint
* old_point
= (wxRealPoint
*)old_node
->GetData();
707 wxRealPoint
* new_point
= (wxRealPoint
*)real_node
->GetData();
708 old_point
->x
= new_point
->x
;
709 old_point
->y
= new_point
->y
;
710 old_node
= old_node
->GetNext();
711 real_node
= real_node
->GetNext();
713 self
->ClearPointList(*real_point_list
);
714 delete real_point_list
;
717 WXSHAPE_IMP_CALLBACKS(wxPyPolygonShape
, wxPolygonShape
);
719 PyObject
*wxPyPolygonShape_Create(wxPyPolygonShape
*self
,PyObject
*points
){
720 wxList
* list
= wxPy_wxRealPoint_ListHelper(points
);
728 PyObject
*wxPyPolygonShape_GetPoints(wxPyPolygonShape
*self
){
729 wxList
* list
= self
->GetPoints();
730 return wxPy_ConvertRealPointList(list
);
732 PyObject
*wxPyPolygonShape_GetOriginalPoints(wxPyPolygonShape
*self
){
733 wxList
* list
= self
->GetOriginalPoints();
737 wxNode
* node
= list
->GetFirst();
739 bool blocked
= wxPyBeginBlockThreads();
740 pyList
= PyList_New(0);
742 wxObj
= node
->GetData();
743 pyObj
= wxPyConstructObject(wxObj
, wxT("wxRealPoint"), 0);
744 PyList_Append(pyList
, pyObj
);
745 node
= node
->GetNext();
747 wxPyEndBlockThreads(blocked
);
751 WXSHAPE_IMP_CALLBACKS(wxPyTextShape
, wxTextShape
);
754 // Put some wx default wxChar* values into wxStrings.
755 DECLARE_DEF_STRING(ShapeCanvasNameStr
);
757 PyObject
*wxDiagram_GetShapeList(wxDiagram
*self
){
758 wxList
* list
= self
->GetShapeList();
759 return wxPy_ConvertShapeList(list
);
762 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas
, wxShapeCanvas
, OnBeginDragLeft
);
763 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas
, wxShapeCanvas
, OnBeginDragRight
);
764 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas
, wxShapeCanvas
, OnEndDragLeft
);
765 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas
, wxShapeCanvas
, OnEndDragRight
);
766 IMP_PYCALLBACK__BOOL2DBLINT(wxPyShapeCanvas
, wxShapeCanvas
, OnDragLeft
);
767 IMP_PYCALLBACK__BOOL2DBLINT(wxPyShapeCanvas
, wxShapeCanvas
, OnDragRight
);
768 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas
, wxShapeCanvas
, OnLeftClick
);
769 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas
, wxShapeCanvas
, OnRightClick
);
772 //---------------------------------------------------------------------------
774 // Convert from a Python list to a list of className objects. This one will
775 // work for any class for the VERY generic cases, but beyond that the helper
776 // needs to know more about the type.
777 wxList
* wxPy_wxListHelper(PyObject
* pyList
, const wxChar
* className
) {
778 bool blocked
= wxPyBeginBlockThreads();
779 if (!PyList_Check(pyList
)) {
780 PyErr_SetString(PyExc_TypeError
, "Expected a list object.");
781 wxPyEndBlockThreads(blocked
);
784 int count
= PyList_Size(pyList
);
785 wxList
* list
= new wxList
;
787 PyErr_SetString(PyExc_MemoryError
, "Unable to allocate wxList object");
788 wxPyEndBlockThreads(blocked
);
791 for (int x
=0; x
<count
; x
++) {
792 PyObject
* pyo
= PyList_GetItem(pyList
, x
);
793 wxObject
* wxo
= NULL
;
795 if ( !wxPyConvertSwigPtr(pyo
, (void **)&wxo
, className
) ) {
797 errmsg
.Printf(wxT("Type error, expected list of %s objects"), className
);
798 PyErr_SetString(PyExc_TypeError
, errmsg
.mb_str());
799 wxPyEndBlockThreads(blocked
);
804 wxPyEndBlockThreads(blocked
);
808 //---------------------------------------------------------------------------
810 wxList
* wxPy_wxRealPoint_ListHelper(PyObject
* pyList
) {
811 bool blocked
= wxPyBeginBlockThreads();
812 if (!PyList_Check(pyList
)) {
813 PyErr_SetString(PyExc_TypeError
, "Expected a list object.");
814 wxPyEndBlockThreads(blocked
);
817 int count
= PyList_Size(pyList
);
818 wxList
* list
= new wxList
;
820 PyErr_SetString(PyExc_MemoryError
, "Unable to allocate wxList object");
821 wxPyEndBlockThreads(blocked
);
824 for (int x
=0; x
<count
; x
++) {
825 PyObject
* pyo
= PyList_GetItem(pyList
, x
);
827 if (PyTuple_Check(pyo
)) {
828 PyObject
* o1
= PyNumber_Float(PyTuple_GetItem(pyo
, 0));
829 PyObject
* o2
= PyNumber_Float(PyTuple_GetItem(pyo
, 1));
831 double val1
= (o1
? PyFloat_AsDouble(o1
) : 0.0);
832 double val2
= (o2
? PyFloat_AsDouble(o2
) : 0.0);
834 list
->Append((wxObject
*) new wxRealPoint(val1
, val2
));
837 wxRealPoint
* wxo
= NULL
;
838 if (wxPyConvertSwigPtr(pyo
, (void **)&wxo
, wxT("wxRealPoint"))) {
839 PyErr_SetString(PyExc_TypeError
, "Type error, expected list of wxRealPoint objects or 2-tuples");
840 wxPyEndBlockThreads(blocked
);
843 list
->Append((wxObject
*) new wxRealPoint(*wxo
));
846 wxPyEndBlockThreads(blocked
);
850 //---------------------------------------------------------------------------
852 PyObject
* wxPyMake_wxShapeEvtHandler(wxShapeEvtHandler
* source
, bool setThisOwn
) {
853 PyObject
* target
= NULL
;
855 if (source
&& wxIsKindOf(source
, wxShapeEvtHandler
)) {
856 // If it's derived from wxShapeEvtHandler then there may
857 // already be a pointer to a Python object that we can use
859 wxShapeEvtHandler
* seh
= (wxShapeEvtHandler
*)source
;
860 wxPyOORClientData
* data
= (wxPyOORClientData
*)seh
->GetClientObject();
862 target
= data
->m_obj
;
867 target
= wxPyMake_wxObject2(source
, setThisOwn
, false);
868 if (target
!= Py_None
)
869 ((wxShapeEvtHandler
*)source
)->SetClientObject(new wxPyOORClientData(target
));
874 //---------------------------------------------------------------------------
876 PyObject
* wxPy_ConvertRealPointList(wxListBase
* listbase
) {
877 wxList
* list
= (wxList
*)listbase
;
881 wxNode
* node
= list
->GetFirst();
883 bool blocked
= wxPyBeginBlockThreads();
884 pyList
= PyList_New(0);
886 wxObj
= node
->GetData();
887 pyObj
= wxPyConstructObject(wxObj
, wxT("wxRealPoint"), 0);
888 PyList_Append(pyList
, pyObj
);
889 node
= node
->GetNext();
891 wxPyEndBlockThreads(blocked
);
895 //---------------------------------------------------------------------------
897 PyObject
* wxPy_ConvertShapeList(wxListBase
* listbase
) {
898 wxList
* list
= (wxList
*)listbase
;
902 wxNode
* node
= list
->GetFirst();
904 bool blocked
= wxPyBeginBlockThreads();
905 pyList
= PyList_New(0);
907 wxObj
= node
->GetData();
908 pyObj
= wxPyMake_wxShapeEvtHandler((wxShapeEvtHandler
*)wxObj
, false);
909 PyList_Append(pyList
, pyObj
);
910 node
= node
->GetNext();
912 wxPyEndBlockThreads(blocked
);
917 //---------------------------------------------------------------------------
919 IMPLEMENT_DYNAMIC_CLASS(wxPyShapeCanvas
, wxShapeCanvas
);
920 IMPLEMENT_DYNAMIC_CLASS(wxPyShapeEvtHandler
, wxShapeEvtHandler
);
921 IMPLEMENT_ABSTRACT_CLASS(wxPyShape
, wxShape
);
922 IMPLEMENT_DYNAMIC_CLASS(wxPyRectangleShape
, wxRectangleShape
);
923 IMPLEMENT_DYNAMIC_CLASS(wxPyControlPoint
, wxControlPoint
);
924 IMPLEMENT_DYNAMIC_CLASS(wxPyBitmapShape
, wxBitmapShape
);
925 IMPLEMENT_DYNAMIC_CLASS(wxPyDrawnShape
, wxDrawnShape
);
926 IMPLEMENT_DYNAMIC_CLASS(wxPyCompositeShape
, wxCompositeShape
);
927 IMPLEMENT_DYNAMIC_CLASS(wxPyDividedShape
, wxDividedShape
);
928 IMPLEMENT_DYNAMIC_CLASS(wxPyDivisionShape
, wxDivisionShape
);
929 IMPLEMENT_DYNAMIC_CLASS(wxPyEllipseShape
, wxEllipseShape
);
930 IMPLEMENT_DYNAMIC_CLASS(wxPyCircleShape
, wxCircleShape
);
931 IMPLEMENT_DYNAMIC_CLASS(wxPyLineShape
, wxLineShape
);
932 IMPLEMENT_DYNAMIC_CLASS(wxPyPolygonShape
, wxPolygonShape
);
933 IMPLEMENT_DYNAMIC_CLASS(wxPyTextShape
, wxTextShape
);
935 //---------------------------------------------------------------------------
937 // extern "C" SWIGEXPORT(void) initoglbasicc();
938 // extern "C" SWIGEXPORT(void) initoglshapesc();
939 // extern "C" SWIGEXPORT(void) initoglshapes2c();
940 // extern "C" SWIGEXPORT(void) initoglcanvasc();
945 static PyObject
*_wrap_new_ShapeRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
947 wxShapeRegion
*result
;
952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ShapeRegion",kwnames
)) goto fail
;
954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
955 result
= (wxShapeRegion
*)new wxShapeRegion();
957 wxPyEndAllowThreads(__tstate
);
958 if (PyErr_Occurred()) SWIG_fail
;
960 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxShapeRegion
, 1);
967 static PyObject
*_wrap_ShapeRegion_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
969 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
972 PyObject
* obj0
= 0 ;
973 PyObject
* obj1
= 0 ;
975 (char *) "self",(char *) "s", NULL
978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShapeRegion_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShapeRegion
,
980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
982 arg2
= wxString_in_helper(obj1
);
983 if (arg2
== NULL
) SWIG_fail
;
987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
988 (arg1
)->SetText((wxString
const &)*arg2
);
990 wxPyEndAllowThreads(__tstate
);
991 if (PyErr_Occurred()) SWIG_fail
;
993 Py_INCREF(Py_None
); resultobj
= Py_None
;
1008 static PyObject
*_wrap_ShapeRegion_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1009 PyObject
*resultobj
;
1010 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1011 wxFont
*arg2
= (wxFont
*) 0 ;
1012 PyObject
* obj0
= 0 ;
1013 PyObject
* obj1
= 0 ;
1015 (char *) "self",(char *) "f", NULL
1018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShapeRegion_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
1019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShapeRegion
,
1020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1024 if (obj1
== Py_None
) {
1027 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxFont"))) {
1028 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxFont.");
1033 arg2
= wxTheFontList
->FindOrCreateFont(temp
->GetPointSize(),
1037 temp
->GetUnderlined(),
1038 temp
->GetFaceName(),
1039 temp
->GetEncoding());
1044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1045 (arg1
)->SetFont(arg2
);
1047 wxPyEndAllowThreads(__tstate
);
1048 if (PyErr_Occurred()) SWIG_fail
;
1050 Py_INCREF(Py_None
); resultobj
= Py_None
;
1057 static PyObject
*_wrap_ShapeRegion_SetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1058 PyObject
*resultobj
;
1059 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1062 PyObject
* obj0
= 0 ;
1063 PyObject
* obj1
= 0 ;
1064 PyObject
* obj2
= 0 ;
1066 (char *) "self",(char *) "w",(char *) "h", NULL
1069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ShapeRegion_SetMinSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShapeRegion
,
1071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1072 arg2
= (double)SWIG_As_double(obj1
);
1073 if (PyErr_Occurred()) SWIG_fail
;
1074 arg3
= (double)SWIG_As_double(obj2
);
1075 if (PyErr_Occurred()) SWIG_fail
;
1077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1078 (arg1
)->SetMinSize(arg2
,arg3
);
1080 wxPyEndAllowThreads(__tstate
);
1081 if (PyErr_Occurred()) SWIG_fail
;
1083 Py_INCREF(Py_None
); resultobj
= Py_None
;
1090 static PyObject
*_wrap_ShapeRegion_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1091 PyObject
*resultobj
;
1092 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1095 PyObject
* obj0
= 0 ;
1096 PyObject
* obj1
= 0 ;
1097 PyObject
* obj2
= 0 ;
1099 (char *) "self",(char *) "w",(char *) "h", NULL
1102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ShapeRegion_SetSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShapeRegion
,
1104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1105 arg2
= (double)SWIG_As_double(obj1
);
1106 if (PyErr_Occurred()) SWIG_fail
;
1107 arg3
= (double)SWIG_As_double(obj2
);
1108 if (PyErr_Occurred()) SWIG_fail
;
1110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1111 (arg1
)->SetSize(arg2
,arg3
);
1113 wxPyEndAllowThreads(__tstate
);
1114 if (PyErr_Occurred()) SWIG_fail
;
1116 Py_INCREF(Py_None
); resultobj
= Py_None
;
1123 static PyObject
*_wrap_ShapeRegion_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1124 PyObject
*resultobj
;
1125 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1128 PyObject
* obj0
= 0 ;
1129 PyObject
* obj1
= 0 ;
1130 PyObject
* obj2
= 0 ;
1132 (char *) "self",(char *) "x",(char *) "y", NULL
1135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ShapeRegion_SetPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShapeRegion
,
1137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1138 arg2
= (double)SWIG_As_double(obj1
);
1139 if (PyErr_Occurred()) SWIG_fail
;
1140 arg3
= (double)SWIG_As_double(obj2
);
1141 if (PyErr_Occurred()) SWIG_fail
;
1143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1144 (arg1
)->SetPosition(arg2
,arg3
);
1146 wxPyEndAllowThreads(__tstate
);
1147 if (PyErr_Occurred()) SWIG_fail
;
1149 Py_INCREF(Py_None
); resultobj
= Py_None
;
1156 static PyObject
*_wrap_ShapeRegion_SetProportions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1157 PyObject
*resultobj
;
1158 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1161 PyObject
* obj0
= 0 ;
1162 PyObject
* obj1
= 0 ;
1163 PyObject
* obj2
= 0 ;
1165 (char *) "self",(char *) "x",(char *) "y", NULL
1168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ShapeRegion_SetProportions",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShapeRegion
,
1170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1171 arg2
= (double)SWIG_As_double(obj1
);
1172 if (PyErr_Occurred()) SWIG_fail
;
1173 arg3
= (double)SWIG_As_double(obj2
);
1174 if (PyErr_Occurred()) SWIG_fail
;
1176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1177 (arg1
)->SetProportions(arg2
,arg3
);
1179 wxPyEndAllowThreads(__tstate
);
1180 if (PyErr_Occurred()) SWIG_fail
;
1182 Py_INCREF(Py_None
); resultobj
= Py_None
;
1189 static PyObject
*_wrap_ShapeRegion_SetFormatMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1190 PyObject
*resultobj
;
1191 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1193 PyObject
* obj0
= 0 ;
1194 PyObject
* obj1
= 0 ;
1196 (char *) "self",(char *) "mode", NULL
1199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShapeRegion_SetFormatMode",kwnames
,&obj0
,&obj1
)) goto fail
;
1200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShapeRegion
,
1201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1202 arg2
= (int)SWIG_As_int(obj1
);
1203 if (PyErr_Occurred()) SWIG_fail
;
1205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1206 (arg1
)->SetFormatMode(arg2
);
1208 wxPyEndAllowThreads(__tstate
);
1209 if (PyErr_Occurred()) SWIG_fail
;
1211 Py_INCREF(Py_None
); resultobj
= Py_None
;
1218 static PyObject
*_wrap_ShapeRegion_SetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1219 PyObject
*resultobj
;
1220 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1221 wxString
*arg2
= 0 ;
1222 bool temp2
= False
;
1223 PyObject
* obj0
= 0 ;
1224 PyObject
* obj1
= 0 ;
1226 (char *) "self",(char *) "s", NULL
1229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShapeRegion_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
1230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShapeRegion
,
1231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1233 arg2
= wxString_in_helper(obj1
);
1234 if (arg2
== NULL
) SWIG_fail
;
1238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1239 (arg1
)->SetName((wxString
const &)*arg2
);
1241 wxPyEndAllowThreads(__tstate
);
1242 if (PyErr_Occurred()) SWIG_fail
;
1244 Py_INCREF(Py_None
); resultobj
= Py_None
;
1259 static PyObject
*_wrap_ShapeRegion_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1260 PyObject
*resultobj
;
1261 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1262 wxString
*arg2
= 0 ;
1263 bool temp2
= False
;
1264 PyObject
* obj0
= 0 ;
1265 PyObject
* obj1
= 0 ;
1267 (char *) "self",(char *) "col", NULL
1270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShapeRegion_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
1271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShapeRegion
,
1272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1274 arg2
= wxString_in_helper(obj1
);
1275 if (arg2
== NULL
) SWIG_fail
;
1279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1280 (arg1
)->SetColour((wxString
const &)*arg2
);
1282 wxPyEndAllowThreads(__tstate
);
1283 if (PyErr_Occurred()) SWIG_fail
;
1285 Py_INCREF(Py_None
); resultobj
= Py_None
;
1300 static PyObject
*_wrap_ShapeRegion_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1301 PyObject
*resultobj
;
1302 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1304 PyObject
* obj0
= 0 ;
1306 (char *) "self", NULL
1309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetText",kwnames
,&obj0
)) goto fail
;
1310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShapeRegion
,
1311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1314 result
= (arg1
)->GetText();
1316 wxPyEndAllowThreads(__tstate
);
1317 if (PyErr_Occurred()) SWIG_fail
;
1321 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1323 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1332 static PyObject
*_wrap_ShapeRegion_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1333 PyObject
*resultobj
;
1334 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1336 PyObject
* obj0
= 0 ;
1338 (char *) "self", NULL
1341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetFont",kwnames
,&obj0
)) goto fail
;
1342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShapeRegion
,
1343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1346 result
= (wxFont
*)(arg1
)->GetFont();
1348 wxPyEndAllowThreads(__tstate
);
1349 if (PyErr_Occurred()) SWIG_fail
;
1351 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
1358 static PyObject
*_wrap_ShapeRegion_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1359 PyObject
*resultobj
;
1360 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1361 double *arg2
= (double *) 0 ;
1362 double *arg3
= (double *) 0 ;
1367 PyObject
* obj0
= 0 ;
1369 (char *) "self", NULL
1372 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
1373 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
1374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetMinSize",kwnames
,&obj0
)) goto fail
;
1375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShapeRegion
,
1376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1379 (arg1
)->GetMinSize(arg2
,arg3
);
1381 wxPyEndAllowThreads(__tstate
);
1382 if (PyErr_Occurred()) SWIG_fail
;
1384 Py_INCREF(Py_None
); resultobj
= Py_None
;
1385 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
1386 SWIG_From_double((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, 0)));
1387 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
1388 SWIG_From_double((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, 0)));
1395 static PyObject
*_wrap_ShapeRegion_GetProportion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1396 PyObject
*resultobj
;
1397 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1398 double *arg2
= (double *) 0 ;
1399 double *arg3
= (double *) 0 ;
1404 PyObject
* obj0
= 0 ;
1406 (char *) "self", NULL
1409 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
1410 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
1411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetProportion",kwnames
,&obj0
)) goto fail
;
1412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShapeRegion
,
1413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1416 (arg1
)->GetProportion(arg2
,arg3
);
1418 wxPyEndAllowThreads(__tstate
);
1419 if (PyErr_Occurred()) SWIG_fail
;
1421 Py_INCREF(Py_None
); resultobj
= Py_None
;
1422 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
1423 SWIG_From_double((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, 0)));
1424 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
1425 SWIG_From_double((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, 0)));
1432 static PyObject
*_wrap_ShapeRegion_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1433 PyObject
*resultobj
;
1434 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1435 double *arg2
= (double *) 0 ;
1436 double *arg3
= (double *) 0 ;
1441 PyObject
* obj0
= 0 ;
1443 (char *) "self", NULL
1446 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
1447 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
1448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetSize",kwnames
,&obj0
)) goto fail
;
1449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShapeRegion
,
1450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1453 (arg1
)->GetSize(arg2
,arg3
);
1455 wxPyEndAllowThreads(__tstate
);
1456 if (PyErr_Occurred()) SWIG_fail
;
1458 Py_INCREF(Py_None
); resultobj
= Py_None
;
1459 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
1460 SWIG_From_double((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, 0)));
1461 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
1462 SWIG_From_double((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, 0)));
1469 static PyObject
*_wrap_ShapeRegion_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1470 PyObject
*resultobj
;
1471 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1472 double *arg2
= (double *) 0 ;
1473 double *arg3
= (double *) 0 ;
1478 PyObject
* obj0
= 0 ;
1480 (char *) "self", NULL
1483 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
1484 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
1485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetPosition",kwnames
,&obj0
)) goto fail
;
1486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShapeRegion
,
1487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1490 (arg1
)->GetPosition(arg2
,arg3
);
1492 wxPyEndAllowThreads(__tstate
);
1493 if (PyErr_Occurred()) SWIG_fail
;
1495 Py_INCREF(Py_None
); resultobj
= Py_None
;
1496 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
1497 SWIG_From_double((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, 0)));
1498 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
1499 SWIG_From_double((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, 0)));
1506 static PyObject
*_wrap_ShapeRegion_GetFormatMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1507 PyObject
*resultobj
;
1508 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1510 PyObject
* obj0
= 0 ;
1512 (char *) "self", NULL
1515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetFormatMode",kwnames
,&obj0
)) goto fail
;
1516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShapeRegion
,
1517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1520 result
= (int)(arg1
)->GetFormatMode();
1522 wxPyEndAllowThreads(__tstate
);
1523 if (PyErr_Occurred()) SWIG_fail
;
1525 resultobj
= SWIG_From_int((int)result
);
1532 static PyObject
*_wrap_ShapeRegion_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1533 PyObject
*resultobj
;
1534 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1536 PyObject
* obj0
= 0 ;
1538 (char *) "self", NULL
1541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetName",kwnames
,&obj0
)) goto fail
;
1542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShapeRegion
,
1543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1546 result
= (arg1
)->GetName();
1548 wxPyEndAllowThreads(__tstate
);
1549 if (PyErr_Occurred()) SWIG_fail
;
1553 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1555 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1564 static PyObject
*_wrap_ShapeRegion_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1565 PyObject
*resultobj
;
1566 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1568 PyObject
* obj0
= 0 ;
1570 (char *) "self", NULL
1573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetColour",kwnames
,&obj0
)) goto fail
;
1574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShapeRegion
,
1575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1578 result
= (arg1
)->GetColour();
1580 wxPyEndAllowThreads(__tstate
);
1581 if (PyErr_Occurred()) SWIG_fail
;
1585 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1587 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1596 static PyObject
*_wrap_ShapeRegion_GetActualColourObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1597 PyObject
*resultobj
;
1598 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1600 PyObject
* obj0
= 0 ;
1602 (char *) "self", NULL
1605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetActualColourObject",kwnames
,&obj0
)) goto fail
;
1606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShapeRegion
,
1607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1610 result
= (arg1
)->GetActualColourObject();
1612 wxPyEndAllowThreads(__tstate
);
1613 if (PyErr_Occurred()) SWIG_fail
;
1616 wxColour
* resultptr
;
1617 resultptr
= new wxColour((wxColour
&) result
);
1618 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
1626 static PyObject
*_wrap_ShapeRegion_GetFormattedText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1627 PyObject
*resultobj
;
1628 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1630 PyObject
* obj0
= 0 ;
1632 (char *) "self", NULL
1635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetFormattedText",kwnames
,&obj0
)) goto fail
;
1636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShapeRegion
,
1637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1641 wxList
&_result_ref
= (arg1
)->GetFormattedText();
1642 result
= (wxList
*) &_result_ref
;
1645 wxPyEndAllowThreads(__tstate
);
1646 if (PyErr_Occurred()) SWIG_fail
;
1648 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxList
, 0);
1655 static PyObject
*_wrap_ShapeRegion_GetPenColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1656 PyObject
*resultobj
;
1657 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1659 PyObject
* obj0
= 0 ;
1661 (char *) "self", NULL
1664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetPenColour",kwnames
,&obj0
)) goto fail
;
1665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShapeRegion
,
1666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1669 result
= (arg1
)->GetPenColour();
1671 wxPyEndAllowThreads(__tstate
);
1672 if (PyErr_Occurred()) SWIG_fail
;
1676 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1678 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1687 static PyObject
*_wrap_ShapeRegion_GetPenStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1688 PyObject
*resultobj
;
1689 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1691 PyObject
* obj0
= 0 ;
1693 (char *) "self", NULL
1696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetPenStyle",kwnames
,&obj0
)) goto fail
;
1697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShapeRegion
,
1698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1701 result
= (int)(arg1
)->GetPenStyle();
1703 wxPyEndAllowThreads(__tstate
);
1704 if (PyErr_Occurred()) SWIG_fail
;
1706 resultobj
= SWIG_From_int((int)result
);
1713 static PyObject
*_wrap_ShapeRegion_SetPenStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1714 PyObject
*resultobj
;
1715 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1717 PyObject
* obj0
= 0 ;
1718 PyObject
* obj1
= 0 ;
1720 (char *) "self",(char *) "style", NULL
1723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShapeRegion_SetPenStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
1724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShapeRegion
,
1725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1726 arg2
= (int)SWIG_As_int(obj1
);
1727 if (PyErr_Occurred()) SWIG_fail
;
1729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1730 (arg1
)->SetPenStyle(arg2
);
1732 wxPyEndAllowThreads(__tstate
);
1733 if (PyErr_Occurred()) SWIG_fail
;
1735 Py_INCREF(Py_None
); resultobj
= Py_None
;
1742 static PyObject
*_wrap_ShapeRegion_SetPenColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1743 PyObject
*resultobj
;
1744 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1745 wxString
*arg2
= 0 ;
1746 bool temp2
= False
;
1747 PyObject
* obj0
= 0 ;
1748 PyObject
* obj1
= 0 ;
1750 (char *) "self",(char *) "col", NULL
1753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShapeRegion_SetPenColour",kwnames
,&obj0
,&obj1
)) goto fail
;
1754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShapeRegion
,
1755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1757 arg2
= wxString_in_helper(obj1
);
1758 if (arg2
== NULL
) SWIG_fail
;
1762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1763 (arg1
)->SetPenColour((wxString
const &)*arg2
);
1765 wxPyEndAllowThreads(__tstate
);
1766 if (PyErr_Occurred()) SWIG_fail
;
1768 Py_INCREF(Py_None
); resultobj
= Py_None
;
1783 static PyObject
*_wrap_ShapeRegion_GetActualPen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1784 PyObject
*resultobj
;
1785 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1787 PyObject
* obj0
= 0 ;
1789 (char *) "self", NULL
1792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetActualPen",kwnames
,&obj0
)) goto fail
;
1793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShapeRegion
,
1794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1797 result
= (wxPen
*)(arg1
)->GetActualPen();
1799 wxPyEndAllowThreads(__tstate
);
1800 if (PyErr_Occurred()) SWIG_fail
;
1802 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 0);
1809 static PyObject
*_wrap_ShapeRegion_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1810 PyObject
*resultobj
;
1811 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1813 PyObject
* obj0
= 0 ;
1815 (char *) "self", NULL
1818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetWidth",kwnames
,&obj0
)) goto fail
;
1819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShapeRegion
,
1820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1823 result
= (double)(arg1
)->GetWidth();
1825 wxPyEndAllowThreads(__tstate
);
1826 if (PyErr_Occurred()) SWIG_fail
;
1828 resultobj
= SWIG_From_double((double)result
);
1835 static PyObject
*_wrap_ShapeRegion_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1836 PyObject
*resultobj
;
1837 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1839 PyObject
* obj0
= 0 ;
1841 (char *) "self", NULL
1844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetHeight",kwnames
,&obj0
)) goto fail
;
1845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShapeRegion
,
1846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1849 result
= (double)(arg1
)->GetHeight();
1851 wxPyEndAllowThreads(__tstate
);
1852 if (PyErr_Occurred()) SWIG_fail
;
1854 resultobj
= SWIG_From_double((double)result
);
1861 static PyObject
*_wrap_ShapeRegion_ClearText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1862 PyObject
*resultobj
;
1863 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
1864 PyObject
* obj0
= 0 ;
1866 (char *) "self", NULL
1869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_ClearText",kwnames
,&obj0
)) goto fail
;
1870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShapeRegion
,
1871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1874 (arg1
)->ClearText();
1876 wxPyEndAllowThreads(__tstate
);
1877 if (PyErr_Occurred()) SWIG_fail
;
1879 Py_INCREF(Py_None
); resultobj
= Py_None
;
1886 static PyObject
* ShapeRegion_swigregister(PyObject
*, PyObject
*args
) {
1888 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1889 SWIG_TypeClientData(SWIGTYPE_p_wxShapeRegion
, obj
);
1891 return Py_BuildValue((char *)"");
1893 static PyObject
*_wrap_new_AttachmentPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1894 PyObject
*resultobj
;
1895 int arg1
= (int) 0 ;
1896 double arg2
= (double) 0.0 ;
1897 double arg3
= (double) 0.0 ;
1898 wxAttachmentPoint
*result
;
1899 PyObject
* obj0
= 0 ;
1900 PyObject
* obj1
= 0 ;
1901 PyObject
* obj2
= 0 ;
1903 (char *) "id",(char *) "x",(char *) "y", NULL
1906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_AttachmentPoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1908 arg1
= (int)SWIG_As_int(obj0
);
1909 if (PyErr_Occurred()) SWIG_fail
;
1912 arg2
= (double)SWIG_As_double(obj1
);
1913 if (PyErr_Occurred()) SWIG_fail
;
1916 arg3
= (double)SWIG_As_double(obj2
);
1917 if (PyErr_Occurred()) SWIG_fail
;
1920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1921 result
= (wxAttachmentPoint
*)new wxAttachmentPoint(arg1
,arg2
,arg3
);
1923 wxPyEndAllowThreads(__tstate
);
1924 if (PyErr_Occurred()) SWIG_fail
;
1926 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAttachmentPoint
, 1);
1933 static PyObject
*_wrap_AttachmentPoint_m_id_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1934 PyObject
*resultobj
;
1935 wxAttachmentPoint
*arg1
= (wxAttachmentPoint
*) 0 ;
1937 PyObject
* obj0
= 0 ;
1938 PyObject
* obj1
= 0 ;
1940 (char *) "self",(char *) "m_id", NULL
1943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AttachmentPoint_m_id_set",kwnames
,&obj0
,&obj1
)) goto fail
;
1944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAttachmentPoint
,
1945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1946 arg2
= (int)SWIG_As_int(obj1
);
1947 if (PyErr_Occurred()) SWIG_fail
;
1948 if (arg1
) (arg1
)->m_id
= arg2
;
1950 Py_INCREF(Py_None
); resultobj
= Py_None
;
1957 static PyObject
*_wrap_AttachmentPoint_m_id_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1958 PyObject
*resultobj
;
1959 wxAttachmentPoint
*arg1
= (wxAttachmentPoint
*) 0 ;
1961 PyObject
* obj0
= 0 ;
1963 (char *) "self", NULL
1966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AttachmentPoint_m_id_get",kwnames
,&obj0
)) goto fail
;
1967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAttachmentPoint
,
1968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1969 result
= (int) ((arg1
)->m_id
);
1971 resultobj
= SWIG_From_int((int)result
);
1978 static PyObject
*_wrap_AttachmentPoint_m_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1979 PyObject
*resultobj
;
1980 wxAttachmentPoint
*arg1
= (wxAttachmentPoint
*) 0 ;
1982 PyObject
* obj0
= 0 ;
1983 PyObject
* obj1
= 0 ;
1985 (char *) "self",(char *) "m_x", NULL
1988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AttachmentPoint_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
1989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAttachmentPoint
,
1990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1991 arg2
= (double)SWIG_As_double(obj1
);
1992 if (PyErr_Occurred()) SWIG_fail
;
1993 if (arg1
) (arg1
)->m_x
= arg2
;
1995 Py_INCREF(Py_None
); resultobj
= Py_None
;
2002 static PyObject
*_wrap_AttachmentPoint_m_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2003 PyObject
*resultobj
;
2004 wxAttachmentPoint
*arg1
= (wxAttachmentPoint
*) 0 ;
2006 PyObject
* obj0
= 0 ;
2008 (char *) "self", NULL
2011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AttachmentPoint_m_x_get",kwnames
,&obj0
)) goto fail
;
2012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAttachmentPoint
,
2013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2014 result
= (double) ((arg1
)->m_x
);
2016 resultobj
= SWIG_From_double((double)result
);
2023 static PyObject
*_wrap_AttachmentPoint_m_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2024 PyObject
*resultobj
;
2025 wxAttachmentPoint
*arg1
= (wxAttachmentPoint
*) 0 ;
2027 PyObject
* obj0
= 0 ;
2028 PyObject
* obj1
= 0 ;
2030 (char *) "self",(char *) "m_y", NULL
2033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AttachmentPoint_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAttachmentPoint
,
2035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2036 arg2
= (double)SWIG_As_double(obj1
);
2037 if (PyErr_Occurred()) SWIG_fail
;
2038 if (arg1
) (arg1
)->m_y
= arg2
;
2040 Py_INCREF(Py_None
); resultobj
= Py_None
;
2047 static PyObject
*_wrap_AttachmentPoint_m_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2048 PyObject
*resultobj
;
2049 wxAttachmentPoint
*arg1
= (wxAttachmentPoint
*) 0 ;
2051 PyObject
* obj0
= 0 ;
2053 (char *) "self", NULL
2056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AttachmentPoint_m_y_get",kwnames
,&obj0
)) goto fail
;
2057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAttachmentPoint
,
2058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2059 result
= (double) ((arg1
)->m_y
);
2061 resultobj
= SWIG_From_double((double)result
);
2068 static PyObject
* AttachmentPoint_swigregister(PyObject
*, PyObject
*args
) {
2070 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2071 SWIG_TypeClientData(SWIGTYPE_p_wxAttachmentPoint
, obj
);
2073 return Py_BuildValue((char *)"");
2075 static PyObject
*_wrap_new_PyShapeEvtHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2076 PyObject
*resultobj
;
2077 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) NULL
;
2078 wxPyShape
*arg2
= (wxPyShape
*) NULL
;
2079 wxPyShapeEvtHandler
*result
;
2080 PyObject
* obj0
= 0 ;
2081 PyObject
* obj1
= 0 ;
2083 (char *) "prev",(char *) "shape", NULL
2086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyShapeEvtHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
2088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2092 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
2093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2097 result
= (wxPyShapeEvtHandler
*)new wxPyShapeEvtHandler(arg1
,arg2
);
2099 wxPyEndAllowThreads(__tstate
);
2100 if (PyErr_Occurred()) SWIG_fail
;
2102 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyShapeEvtHandler
, 1);
2109 static PyObject
*_wrap_PyShapeEvtHandler__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2110 PyObject
*resultobj
;
2111 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2112 PyObject
*arg2
= (PyObject
*) 0 ;
2113 PyObject
*arg3
= (PyObject
*) 0 ;
2114 PyObject
* obj0
= 0 ;
2115 PyObject
* obj1
= 0 ;
2116 PyObject
* obj2
= 0 ;
2118 (char *) "self",(char *) "self",(char *) "_class", NULL
2121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShapeEvtHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2128 (arg1
)->_setCallbackInfo(arg2
,arg3
);
2130 wxPyEndAllowThreads(__tstate
);
2131 if (PyErr_Occurred()) SWIG_fail
;
2133 Py_INCREF(Py_None
); resultobj
= Py_None
;
2140 static PyObject
*_wrap_PyShapeEvtHandler__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2141 PyObject
*resultobj
;
2142 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2143 PyObject
*arg2
= (PyObject
*) 0 ;
2144 PyObject
* obj0
= 0 ;
2145 PyObject
* obj1
= 0 ;
2147 (char *) "self",(char *) "_self", NULL
2150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
2151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2156 wxPyShapeEvtHandler__setOORInfo(arg1
,arg2
);
2158 wxPyEndAllowThreads(__tstate
);
2159 if (PyErr_Occurred()) SWIG_fail
;
2161 Py_INCREF(Py_None
); resultobj
= Py_None
;
2168 static PyObject
*_wrap_PyShapeEvtHandler_SetShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2169 PyObject
*resultobj
;
2170 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2171 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
2172 PyObject
* obj0
= 0 ;
2173 PyObject
* obj1
= 0 ;
2175 (char *) "self",(char *) "sh", NULL
2178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler_SetShape",kwnames
,&obj0
,&obj1
)) goto fail
;
2179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2181 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
2182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2185 (arg1
)->SetShape(arg2
);
2187 wxPyEndAllowThreads(__tstate
);
2188 if (PyErr_Occurred()) SWIG_fail
;
2190 Py_INCREF(Py_None
); resultobj
= Py_None
;
2197 static PyObject
*_wrap_PyShapeEvtHandler_GetShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2198 PyObject
*resultobj
;
2199 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2201 PyObject
* obj0
= 0 ;
2203 (char *) "self", NULL
2206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShapeEvtHandler_GetShape",kwnames
,&obj0
)) goto fail
;
2207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2211 result
= (wxPyShape
*)(arg1
)->GetShape();
2213 wxPyEndAllowThreads(__tstate
);
2214 if (PyErr_Occurred()) SWIG_fail
;
2217 resultobj
= wxPyMake_wxShapeEvtHandler(result
, 0);
2225 static PyObject
*_wrap_PyShapeEvtHandler_SetPreviousHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2226 PyObject
*resultobj
;
2227 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2228 wxPyShapeEvtHandler
*arg2
= (wxPyShapeEvtHandler
*) 0 ;
2229 PyObject
* obj0
= 0 ;
2230 PyObject
* obj1
= 0 ;
2232 (char *) "self",(char *) "handler", NULL
2235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler_SetPreviousHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
2236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2238 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2242 (arg1
)->SetPreviousHandler(arg2
);
2244 wxPyEndAllowThreads(__tstate
);
2245 if (PyErr_Occurred()) SWIG_fail
;
2247 Py_INCREF(Py_None
); resultobj
= Py_None
;
2254 static PyObject
*_wrap_PyShapeEvtHandler_GetPreviousHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2255 PyObject
*resultobj
;
2256 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2257 wxPyShapeEvtHandler
*result
;
2258 PyObject
* obj0
= 0 ;
2260 (char *) "self", NULL
2263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShapeEvtHandler_GetPreviousHandler",kwnames
,&obj0
)) goto fail
;
2264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2268 result
= (wxPyShapeEvtHandler
*)(arg1
)->GetPreviousHandler();
2270 wxPyEndAllowThreads(__tstate
);
2271 if (PyErr_Occurred()) SWIG_fail
;
2274 resultobj
= wxPyMake_wxShapeEvtHandler(result
, 0);
2282 static PyObject
*_wrap_PyShapeEvtHandler_CreateNewCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2283 PyObject
*resultobj
;
2284 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2285 wxPyShapeEvtHandler
*result
;
2286 PyObject
* obj0
= 0 ;
2288 (char *) "self", NULL
2291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShapeEvtHandler_CreateNewCopy",kwnames
,&obj0
)) goto fail
;
2292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2296 result
= (wxPyShapeEvtHandler
*)(arg1
)->CreateNewCopy();
2298 wxPyEndAllowThreads(__tstate
);
2299 if (PyErr_Occurred()) SWIG_fail
;
2302 resultobj
= wxPyMake_wxShapeEvtHandler(result
, 0);
2310 static PyObject
*_wrap_PyShapeEvtHandler_base_OnDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2311 PyObject
*resultobj
;
2312 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2313 PyObject
* obj0
= 0 ;
2315 (char *) "self", NULL
2318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShapeEvtHandler_base_OnDelete",kwnames
,&obj0
)) goto fail
;
2319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2323 (arg1
)->base_OnDelete();
2325 wxPyEndAllowThreads(__tstate
);
2326 if (PyErr_Occurred()) SWIG_fail
;
2328 Py_INCREF(Py_None
); resultobj
= Py_None
;
2335 static PyObject
*_wrap_PyShapeEvtHandler_base_OnDraw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2336 PyObject
*resultobj
;
2337 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2339 PyObject
* obj0
= 0 ;
2340 PyObject
* obj1
= 0 ;
2342 (char *) "self",(char *) "dc", NULL
2345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
2346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2348 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
2349 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2352 PyErr_SetString(PyExc_TypeError
,"null reference");
2356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2357 (arg1
)->base_OnDraw(*arg2
);
2359 wxPyEndAllowThreads(__tstate
);
2360 if (PyErr_Occurred()) SWIG_fail
;
2362 Py_INCREF(Py_None
); resultobj
= Py_None
;
2369 static PyObject
*_wrap_PyShapeEvtHandler_base_OnDrawContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2370 PyObject
*resultobj
;
2371 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2373 PyObject
* obj0
= 0 ;
2374 PyObject
* obj1
= 0 ;
2376 (char *) "self",(char *) "dc", NULL
2379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
2380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2382 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
2383 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2386 PyErr_SetString(PyExc_TypeError
,"null reference");
2390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2391 (arg1
)->base_OnDrawContents(*arg2
);
2393 wxPyEndAllowThreads(__tstate
);
2394 if (PyErr_Occurred()) SWIG_fail
;
2396 Py_INCREF(Py_None
); resultobj
= Py_None
;
2403 static PyObject
*_wrap_PyShapeEvtHandler_base_OnDrawBranches(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2404 PyObject
*resultobj
;
2405 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2407 bool arg3
= (bool) False
;
2408 PyObject
* obj0
= 0 ;
2409 PyObject
* obj1
= 0 ;
2410 PyObject
* obj2
= 0 ;
2412 (char *) "self",(char *) "dc",(char *) "erase", NULL
2415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShapeEvtHandler_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2418 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
2419 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2422 PyErr_SetString(PyExc_TypeError
,"null reference");
2426 arg3
= (bool)SWIG_As_bool(obj2
);
2427 if (PyErr_Occurred()) SWIG_fail
;
2430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2431 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
2433 wxPyEndAllowThreads(__tstate
);
2434 if (PyErr_Occurred()) SWIG_fail
;
2436 Py_INCREF(Py_None
); resultobj
= Py_None
;
2443 static PyObject
*_wrap_PyShapeEvtHandler_base_OnMoveLinks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2444 PyObject
*resultobj
;
2445 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2447 PyObject
* obj0
= 0 ;
2448 PyObject
* obj1
= 0 ;
2450 (char *) "self",(char *) "dc", NULL
2453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
2454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2456 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
2457 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2460 PyErr_SetString(PyExc_TypeError
,"null reference");
2464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2465 (arg1
)->base_OnMoveLinks(*arg2
);
2467 wxPyEndAllowThreads(__tstate
);
2468 if (PyErr_Occurred()) SWIG_fail
;
2470 Py_INCREF(Py_None
); resultobj
= Py_None
;
2477 static PyObject
*_wrap_PyShapeEvtHandler_base_OnErase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2478 PyObject
*resultobj
;
2479 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2481 PyObject
* obj0
= 0 ;
2482 PyObject
* obj1
= 0 ;
2484 (char *) "self",(char *) "dc", NULL
2487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
2488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2490 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
2491 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2494 PyErr_SetString(PyExc_TypeError
,"null reference");
2498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2499 (arg1
)->base_OnErase(*arg2
);
2501 wxPyEndAllowThreads(__tstate
);
2502 if (PyErr_Occurred()) SWIG_fail
;
2504 Py_INCREF(Py_None
); resultobj
= Py_None
;
2511 static PyObject
*_wrap_PyShapeEvtHandler_base_OnEraseContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2512 PyObject
*resultobj
;
2513 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2515 PyObject
* obj0
= 0 ;
2516 PyObject
* obj1
= 0 ;
2518 (char *) "self",(char *) "dc", NULL
2521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
2522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2524 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
2525 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2528 PyErr_SetString(PyExc_TypeError
,"null reference");
2532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2533 (arg1
)->base_OnEraseContents(*arg2
);
2535 wxPyEndAllowThreads(__tstate
);
2536 if (PyErr_Occurred()) SWIG_fail
;
2538 Py_INCREF(Py_None
); resultobj
= Py_None
;
2545 static PyObject
*_wrap_PyShapeEvtHandler_base_OnHighlight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2546 PyObject
*resultobj
;
2547 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2549 PyObject
* obj0
= 0 ;
2550 PyObject
* obj1
= 0 ;
2552 (char *) "self",(char *) "dc", NULL
2555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
2556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2558 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
2559 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2562 PyErr_SetString(PyExc_TypeError
,"null reference");
2566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2567 (arg1
)->base_OnHighlight(*arg2
);
2569 wxPyEndAllowThreads(__tstate
);
2570 if (PyErr_Occurred()) SWIG_fail
;
2572 Py_INCREF(Py_None
); resultobj
= Py_None
;
2579 static PyObject
*_wrap_PyShapeEvtHandler_base_OnLeftClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2580 PyObject
*resultobj
;
2581 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2584 int arg4
= (int) 0 ;
2585 int arg5
= (int) 0 ;
2586 PyObject
* obj0
= 0 ;
2587 PyObject
* obj1
= 0 ;
2588 PyObject
* obj2
= 0 ;
2589 PyObject
* obj3
= 0 ;
2590 PyObject
* obj4
= 0 ;
2592 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShapeEvtHandler_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
2596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2598 arg2
= (double)SWIG_As_double(obj1
);
2599 if (PyErr_Occurred()) SWIG_fail
;
2600 arg3
= (double)SWIG_As_double(obj2
);
2601 if (PyErr_Occurred()) SWIG_fail
;
2603 arg4
= (int)SWIG_As_int(obj3
);
2604 if (PyErr_Occurred()) SWIG_fail
;
2607 arg5
= (int)SWIG_As_int(obj4
);
2608 if (PyErr_Occurred()) SWIG_fail
;
2611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2612 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
2614 wxPyEndAllowThreads(__tstate
);
2615 if (PyErr_Occurred()) SWIG_fail
;
2617 Py_INCREF(Py_None
); resultobj
= Py_None
;
2624 static PyObject
*_wrap_PyShapeEvtHandler_base_OnLeftDoubleClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2625 PyObject
*resultobj
;
2626 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2629 int arg4
= (int) 0 ;
2630 int arg5
= (int) 0 ;
2631 PyObject
* obj0
= 0 ;
2632 PyObject
* obj1
= 0 ;
2633 PyObject
* obj2
= 0 ;
2634 PyObject
* obj3
= 0 ;
2635 PyObject
* obj4
= 0 ;
2637 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShapeEvtHandler_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
2641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2643 arg2
= (double)SWIG_As_double(obj1
);
2644 if (PyErr_Occurred()) SWIG_fail
;
2645 arg3
= (double)SWIG_As_double(obj2
);
2646 if (PyErr_Occurred()) SWIG_fail
;
2648 arg4
= (int)SWIG_As_int(obj3
);
2649 if (PyErr_Occurred()) SWIG_fail
;
2652 arg5
= (int)SWIG_As_int(obj4
);
2653 if (PyErr_Occurred()) SWIG_fail
;
2656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2657 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
2659 wxPyEndAllowThreads(__tstate
);
2660 if (PyErr_Occurred()) SWIG_fail
;
2662 Py_INCREF(Py_None
); resultobj
= Py_None
;
2669 static PyObject
*_wrap_PyShapeEvtHandler_base_OnRightClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2670 PyObject
*resultobj
;
2671 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2674 int arg4
= (int) 0 ;
2675 int arg5
= (int) 0 ;
2676 PyObject
* obj0
= 0 ;
2677 PyObject
* obj1
= 0 ;
2678 PyObject
* obj2
= 0 ;
2679 PyObject
* obj3
= 0 ;
2680 PyObject
* obj4
= 0 ;
2682 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShapeEvtHandler_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
2686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2688 arg2
= (double)SWIG_As_double(obj1
);
2689 if (PyErr_Occurred()) SWIG_fail
;
2690 arg3
= (double)SWIG_As_double(obj2
);
2691 if (PyErr_Occurred()) SWIG_fail
;
2693 arg4
= (int)SWIG_As_int(obj3
);
2694 if (PyErr_Occurred()) SWIG_fail
;
2697 arg5
= (int)SWIG_As_int(obj4
);
2698 if (PyErr_Occurred()) SWIG_fail
;
2701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2702 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
2704 wxPyEndAllowThreads(__tstate
);
2705 if (PyErr_Occurred()) SWIG_fail
;
2707 Py_INCREF(Py_None
); resultobj
= Py_None
;
2714 static PyObject
*_wrap_PyShapeEvtHandler_base_OnSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2715 PyObject
*resultobj
;
2716 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2719 PyObject
* obj0
= 0 ;
2720 PyObject
* obj1
= 0 ;
2721 PyObject
* obj2
= 0 ;
2723 (char *) "self",(char *) "x",(char *) "y", NULL
2726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShapeEvtHandler_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2729 arg2
= (double)SWIG_As_double(obj1
);
2730 if (PyErr_Occurred()) SWIG_fail
;
2731 arg3
= (double)SWIG_As_double(obj2
);
2732 if (PyErr_Occurred()) SWIG_fail
;
2734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2735 (arg1
)->base_OnSize(arg2
,arg3
);
2737 wxPyEndAllowThreads(__tstate
);
2738 if (PyErr_Occurred()) SWIG_fail
;
2740 Py_INCREF(Py_None
); resultobj
= Py_None
;
2747 static PyObject
*_wrap_PyShapeEvtHandler_base_OnMovePre(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2748 PyObject
*resultobj
;
2749 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2755 bool arg7
= (bool) True
;
2757 PyObject
* obj0
= 0 ;
2758 PyObject
* obj1
= 0 ;
2759 PyObject
* obj2
= 0 ;
2760 PyObject
* obj3
= 0 ;
2761 PyObject
* obj4
= 0 ;
2762 PyObject
* obj5
= 0 ;
2763 PyObject
* obj6
= 0 ;
2765 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
2768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyShapeEvtHandler_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
2769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2771 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
2772 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2775 PyErr_SetString(PyExc_TypeError
,"null reference");
2778 arg3
= (double)SWIG_As_double(obj2
);
2779 if (PyErr_Occurred()) SWIG_fail
;
2780 arg4
= (double)SWIG_As_double(obj3
);
2781 if (PyErr_Occurred()) SWIG_fail
;
2782 arg5
= (double)SWIG_As_double(obj4
);
2783 if (PyErr_Occurred()) SWIG_fail
;
2784 arg6
= (double)SWIG_As_double(obj5
);
2785 if (PyErr_Occurred()) SWIG_fail
;
2787 arg7
= (bool)SWIG_As_bool(obj6
);
2788 if (PyErr_Occurred()) SWIG_fail
;
2791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2792 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
2794 wxPyEndAllowThreads(__tstate
);
2795 if (PyErr_Occurred()) SWIG_fail
;
2798 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2806 static PyObject
*_wrap_PyShapeEvtHandler_base_OnMovePost(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2807 PyObject
*resultobj
;
2808 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2814 bool arg7
= (bool) True
;
2815 PyObject
* obj0
= 0 ;
2816 PyObject
* obj1
= 0 ;
2817 PyObject
* obj2
= 0 ;
2818 PyObject
* obj3
= 0 ;
2819 PyObject
* obj4
= 0 ;
2820 PyObject
* obj5
= 0 ;
2821 PyObject
* obj6
= 0 ;
2823 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
2826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyShapeEvtHandler_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
2827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2829 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
2830 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2833 PyErr_SetString(PyExc_TypeError
,"null reference");
2836 arg3
= (double)SWIG_As_double(obj2
);
2837 if (PyErr_Occurred()) SWIG_fail
;
2838 arg4
= (double)SWIG_As_double(obj3
);
2839 if (PyErr_Occurred()) SWIG_fail
;
2840 arg5
= (double)SWIG_As_double(obj4
);
2841 if (PyErr_Occurred()) SWIG_fail
;
2842 arg6
= (double)SWIG_As_double(obj5
);
2843 if (PyErr_Occurred()) SWIG_fail
;
2845 arg7
= (bool)SWIG_As_bool(obj6
);
2846 if (PyErr_Occurred()) SWIG_fail
;
2849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2850 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
2852 wxPyEndAllowThreads(__tstate
);
2853 if (PyErr_Occurred()) SWIG_fail
;
2855 Py_INCREF(Py_None
); resultobj
= Py_None
;
2862 static PyObject
*_wrap_PyShapeEvtHandler_base_OnDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2863 PyObject
*resultobj
;
2864 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2868 int arg5
= (int) 0 ;
2869 int arg6
= (int) 0 ;
2870 PyObject
* obj0
= 0 ;
2871 PyObject
* obj1
= 0 ;
2872 PyObject
* obj2
= 0 ;
2873 PyObject
* obj3
= 0 ;
2874 PyObject
* obj4
= 0 ;
2875 PyObject
* obj5
= 0 ;
2877 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyShapeEvtHandler_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
2881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2883 arg2
= (bool)SWIG_As_bool(obj1
);
2884 if (PyErr_Occurred()) SWIG_fail
;
2885 arg3
= (double)SWIG_As_double(obj2
);
2886 if (PyErr_Occurred()) SWIG_fail
;
2887 arg4
= (double)SWIG_As_double(obj3
);
2888 if (PyErr_Occurred()) SWIG_fail
;
2890 arg5
= (int)SWIG_As_int(obj4
);
2891 if (PyErr_Occurred()) SWIG_fail
;
2894 arg6
= (int)SWIG_As_int(obj5
);
2895 if (PyErr_Occurred()) SWIG_fail
;
2898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2899 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
2901 wxPyEndAllowThreads(__tstate
);
2902 if (PyErr_Occurred()) SWIG_fail
;
2904 Py_INCREF(Py_None
); resultobj
= Py_None
;
2911 static PyObject
*_wrap_PyShapeEvtHandler_base_OnBeginDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2912 PyObject
*resultobj
;
2913 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2916 int arg4
= (int) 0 ;
2917 int arg5
= (int) 0 ;
2918 PyObject
* obj0
= 0 ;
2919 PyObject
* obj1
= 0 ;
2920 PyObject
* obj2
= 0 ;
2921 PyObject
* obj3
= 0 ;
2922 PyObject
* obj4
= 0 ;
2924 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShapeEvtHandler_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
2928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2930 arg2
= (double)SWIG_As_double(obj1
);
2931 if (PyErr_Occurred()) SWIG_fail
;
2932 arg3
= (double)SWIG_As_double(obj2
);
2933 if (PyErr_Occurred()) SWIG_fail
;
2935 arg4
= (int)SWIG_As_int(obj3
);
2936 if (PyErr_Occurred()) SWIG_fail
;
2939 arg5
= (int)SWIG_As_int(obj4
);
2940 if (PyErr_Occurred()) SWIG_fail
;
2943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2944 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
2946 wxPyEndAllowThreads(__tstate
);
2947 if (PyErr_Occurred()) SWIG_fail
;
2949 Py_INCREF(Py_None
); resultobj
= Py_None
;
2956 static PyObject
*_wrap_PyShapeEvtHandler_base_OnEndDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2957 PyObject
*resultobj
;
2958 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
2961 int arg4
= (int) 0 ;
2962 int arg5
= (int) 0 ;
2963 PyObject
* obj0
= 0 ;
2964 PyObject
* obj1
= 0 ;
2965 PyObject
* obj2
= 0 ;
2966 PyObject
* obj3
= 0 ;
2967 PyObject
* obj4
= 0 ;
2969 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
2972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShapeEvtHandler_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
2973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
2974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2975 arg2
= (double)SWIG_As_double(obj1
);
2976 if (PyErr_Occurred()) SWIG_fail
;
2977 arg3
= (double)SWIG_As_double(obj2
);
2978 if (PyErr_Occurred()) SWIG_fail
;
2980 arg4
= (int)SWIG_As_int(obj3
);
2981 if (PyErr_Occurred()) SWIG_fail
;
2984 arg5
= (int)SWIG_As_int(obj4
);
2985 if (PyErr_Occurred()) SWIG_fail
;
2988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2989 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
2991 wxPyEndAllowThreads(__tstate
);
2992 if (PyErr_Occurred()) SWIG_fail
;
2994 Py_INCREF(Py_None
); resultobj
= Py_None
;
3001 static PyObject
*_wrap_PyShapeEvtHandler_base_OnDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3002 PyObject
*resultobj
;
3003 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
3007 int arg5
= (int) 0 ;
3008 int arg6
= (int) 0 ;
3009 PyObject
* obj0
= 0 ;
3010 PyObject
* obj1
= 0 ;
3011 PyObject
* obj2
= 0 ;
3012 PyObject
* obj3
= 0 ;
3013 PyObject
* obj4
= 0 ;
3014 PyObject
* obj5
= 0 ;
3016 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
3019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyShapeEvtHandler_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
3020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
3021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3022 arg2
= (bool)SWIG_As_bool(obj1
);
3023 if (PyErr_Occurred()) SWIG_fail
;
3024 arg3
= (double)SWIG_As_double(obj2
);
3025 if (PyErr_Occurred()) SWIG_fail
;
3026 arg4
= (double)SWIG_As_double(obj3
);
3027 if (PyErr_Occurred()) SWIG_fail
;
3029 arg5
= (int)SWIG_As_int(obj4
);
3030 if (PyErr_Occurred()) SWIG_fail
;
3033 arg6
= (int)SWIG_As_int(obj5
);
3034 if (PyErr_Occurred()) SWIG_fail
;
3037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3038 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
3040 wxPyEndAllowThreads(__tstate
);
3041 if (PyErr_Occurred()) SWIG_fail
;
3043 Py_INCREF(Py_None
); resultobj
= Py_None
;
3050 static PyObject
*_wrap_PyShapeEvtHandler_base_OnBeginDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3051 PyObject
*resultobj
;
3052 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
3055 int arg4
= (int) 0 ;
3056 int arg5
= (int) 0 ;
3057 PyObject
* obj0
= 0 ;
3058 PyObject
* obj1
= 0 ;
3059 PyObject
* obj2
= 0 ;
3060 PyObject
* obj3
= 0 ;
3061 PyObject
* obj4
= 0 ;
3063 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
3066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShapeEvtHandler_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
3067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
3068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3069 arg2
= (double)SWIG_As_double(obj1
);
3070 if (PyErr_Occurred()) SWIG_fail
;
3071 arg3
= (double)SWIG_As_double(obj2
);
3072 if (PyErr_Occurred()) SWIG_fail
;
3074 arg4
= (int)SWIG_As_int(obj3
);
3075 if (PyErr_Occurred()) SWIG_fail
;
3078 arg5
= (int)SWIG_As_int(obj4
);
3079 if (PyErr_Occurred()) SWIG_fail
;
3082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3083 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
3085 wxPyEndAllowThreads(__tstate
);
3086 if (PyErr_Occurred()) SWIG_fail
;
3088 Py_INCREF(Py_None
); resultobj
= Py_None
;
3095 static PyObject
*_wrap_PyShapeEvtHandler_base_OnEndDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3096 PyObject
*resultobj
;
3097 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
3100 int arg4
= (int) 0 ;
3101 int arg5
= (int) 0 ;
3102 PyObject
* obj0
= 0 ;
3103 PyObject
* obj1
= 0 ;
3104 PyObject
* obj2
= 0 ;
3105 PyObject
* obj3
= 0 ;
3106 PyObject
* obj4
= 0 ;
3108 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
3111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShapeEvtHandler_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
3112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
3113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3114 arg2
= (double)SWIG_As_double(obj1
);
3115 if (PyErr_Occurred()) SWIG_fail
;
3116 arg3
= (double)SWIG_As_double(obj2
);
3117 if (PyErr_Occurred()) SWIG_fail
;
3119 arg4
= (int)SWIG_As_int(obj3
);
3120 if (PyErr_Occurred()) SWIG_fail
;
3123 arg5
= (int)SWIG_As_int(obj4
);
3124 if (PyErr_Occurred()) SWIG_fail
;
3127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3128 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
3130 wxPyEndAllowThreads(__tstate
);
3131 if (PyErr_Occurred()) SWIG_fail
;
3133 Py_INCREF(Py_None
); resultobj
= Py_None
;
3140 static PyObject
*_wrap_PyShapeEvtHandler_base_OnDrawOutline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3141 PyObject
*resultobj
;
3142 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
3148 PyObject
* obj0
= 0 ;
3149 PyObject
* obj1
= 0 ;
3150 PyObject
* obj2
= 0 ;
3151 PyObject
* obj3
= 0 ;
3152 PyObject
* obj4
= 0 ;
3153 PyObject
* obj5
= 0 ;
3155 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
3158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyShapeEvtHandler_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
3159 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
3160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3161 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
3162 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3165 PyErr_SetString(PyExc_TypeError
,"null reference");
3168 arg3
= (double)SWIG_As_double(obj2
);
3169 if (PyErr_Occurred()) SWIG_fail
;
3170 arg4
= (double)SWIG_As_double(obj3
);
3171 if (PyErr_Occurred()) SWIG_fail
;
3172 arg5
= (double)SWIG_As_double(obj4
);
3173 if (PyErr_Occurred()) SWIG_fail
;
3174 arg6
= (double)SWIG_As_double(obj5
);
3175 if (PyErr_Occurred()) SWIG_fail
;
3177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3178 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
3180 wxPyEndAllowThreads(__tstate
);
3181 if (PyErr_Occurred()) SWIG_fail
;
3183 Py_INCREF(Py_None
); resultobj
= Py_None
;
3190 static PyObject
*_wrap_PyShapeEvtHandler_base_OnDrawControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3191 PyObject
*resultobj
;
3192 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
3194 PyObject
* obj0
= 0 ;
3195 PyObject
* obj1
= 0 ;
3197 (char *) "self",(char *) "dc", NULL
3200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
3201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
3202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3203 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
3204 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3207 PyErr_SetString(PyExc_TypeError
,"null reference");
3211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3212 (arg1
)->base_OnDrawControlPoints(*arg2
);
3214 wxPyEndAllowThreads(__tstate
);
3215 if (PyErr_Occurred()) SWIG_fail
;
3217 Py_INCREF(Py_None
); resultobj
= Py_None
;
3224 static PyObject
*_wrap_PyShapeEvtHandler_base_OnEraseControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3225 PyObject
*resultobj
;
3226 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
3228 PyObject
* obj0
= 0 ;
3229 PyObject
* obj1
= 0 ;
3231 (char *) "self",(char *) "dc", NULL
3234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
3235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
3236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3237 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
3238 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3241 PyErr_SetString(PyExc_TypeError
,"null reference");
3245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3246 (arg1
)->base_OnEraseControlPoints(*arg2
);
3248 wxPyEndAllowThreads(__tstate
);
3249 if (PyErr_Occurred()) SWIG_fail
;
3251 Py_INCREF(Py_None
); resultobj
= Py_None
;
3258 static PyObject
*_wrap_PyShapeEvtHandler_base_OnMoveLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3259 PyObject
*resultobj
;
3260 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
3262 bool arg3
= (bool) True
;
3263 PyObject
* obj0
= 0 ;
3264 PyObject
* obj1
= 0 ;
3265 PyObject
* obj2
= 0 ;
3267 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
3270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShapeEvtHandler_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
3272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3273 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
3274 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3277 PyErr_SetString(PyExc_TypeError
,"null reference");
3281 arg3
= (bool)SWIG_As_bool(obj2
);
3282 if (PyErr_Occurred()) SWIG_fail
;
3285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3286 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
3288 wxPyEndAllowThreads(__tstate
);
3289 if (PyErr_Occurred()) SWIG_fail
;
3291 Py_INCREF(Py_None
); resultobj
= Py_None
;
3298 static PyObject
*_wrap_PyShapeEvtHandler_base_OnSizingDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3299 PyObject
*resultobj
;
3300 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
3301 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
3305 int arg6
= (int) 0 ;
3306 int arg7
= (int) 0 ;
3307 PyObject
* obj0
= 0 ;
3308 PyObject
* obj1
= 0 ;
3309 PyObject
* obj2
= 0 ;
3310 PyObject
* obj3
= 0 ;
3311 PyObject
* obj4
= 0 ;
3312 PyObject
* obj5
= 0 ;
3313 PyObject
* obj6
= 0 ;
3315 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
3318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyShapeEvtHandler_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
3320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3321 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
3322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3323 arg3
= (bool)SWIG_As_bool(obj2
);
3324 if (PyErr_Occurred()) SWIG_fail
;
3325 arg4
= (double)SWIG_As_double(obj3
);
3326 if (PyErr_Occurred()) SWIG_fail
;
3327 arg5
= (double)SWIG_As_double(obj4
);
3328 if (PyErr_Occurred()) SWIG_fail
;
3330 arg6
= (int)SWIG_As_int(obj5
);
3331 if (PyErr_Occurred()) SWIG_fail
;
3334 arg7
= (int)SWIG_As_int(obj6
);
3335 if (PyErr_Occurred()) SWIG_fail
;
3338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3339 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
3341 wxPyEndAllowThreads(__tstate
);
3342 if (PyErr_Occurred()) SWIG_fail
;
3344 Py_INCREF(Py_None
); resultobj
= Py_None
;
3351 static PyObject
*_wrap_PyShapeEvtHandler_base_OnSizingBeginDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3352 PyObject
*resultobj
;
3353 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
3354 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
3357 int arg5
= (int) 0 ;
3358 int arg6
= (int) 0 ;
3359 PyObject
* obj0
= 0 ;
3360 PyObject
* obj1
= 0 ;
3361 PyObject
* obj2
= 0 ;
3362 PyObject
* obj3
= 0 ;
3363 PyObject
* obj4
= 0 ;
3364 PyObject
* obj5
= 0 ;
3366 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
3369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyShapeEvtHandler_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
3370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
3371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3372 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
3373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3374 arg3
= (double)SWIG_As_double(obj2
);
3375 if (PyErr_Occurred()) SWIG_fail
;
3376 arg4
= (double)SWIG_As_double(obj3
);
3377 if (PyErr_Occurred()) SWIG_fail
;
3379 arg5
= (int)SWIG_As_int(obj4
);
3380 if (PyErr_Occurred()) SWIG_fail
;
3383 arg6
= (int)SWIG_As_int(obj5
);
3384 if (PyErr_Occurred()) SWIG_fail
;
3387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3388 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
3390 wxPyEndAllowThreads(__tstate
);
3391 if (PyErr_Occurred()) SWIG_fail
;
3393 Py_INCREF(Py_None
); resultobj
= Py_None
;
3400 static PyObject
*_wrap_PyShapeEvtHandler_base_OnSizingEndDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3401 PyObject
*resultobj
;
3402 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
3403 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
3406 int arg5
= (int) 0 ;
3407 int arg6
= (int) 0 ;
3408 PyObject
* obj0
= 0 ;
3409 PyObject
* obj1
= 0 ;
3410 PyObject
* obj2
= 0 ;
3411 PyObject
* obj3
= 0 ;
3412 PyObject
* obj4
= 0 ;
3413 PyObject
* obj5
= 0 ;
3415 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
3418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyShapeEvtHandler_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
3419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
3420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3421 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
3422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3423 arg3
= (double)SWIG_As_double(obj2
);
3424 if (PyErr_Occurred()) SWIG_fail
;
3425 arg4
= (double)SWIG_As_double(obj3
);
3426 if (PyErr_Occurred()) SWIG_fail
;
3428 arg5
= (int)SWIG_As_int(obj4
);
3429 if (PyErr_Occurred()) SWIG_fail
;
3432 arg6
= (int)SWIG_As_int(obj5
);
3433 if (PyErr_Occurred()) SWIG_fail
;
3436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3437 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
3439 wxPyEndAllowThreads(__tstate
);
3440 if (PyErr_Occurred()) SWIG_fail
;
3442 Py_INCREF(Py_None
); resultobj
= Py_None
;
3449 static PyObject
*_wrap_PyShapeEvtHandler_base_OnBeginSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3450 PyObject
*resultobj
;
3451 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
3454 PyObject
* obj0
= 0 ;
3455 PyObject
* obj1
= 0 ;
3456 PyObject
* obj2
= 0 ;
3458 (char *) "self",(char *) "w",(char *) "h", NULL
3461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShapeEvtHandler_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
3463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3464 arg2
= (double)SWIG_As_double(obj1
);
3465 if (PyErr_Occurred()) SWIG_fail
;
3466 arg3
= (double)SWIG_As_double(obj2
);
3467 if (PyErr_Occurred()) SWIG_fail
;
3469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3470 (arg1
)->base_OnBeginSize(arg2
,arg3
);
3472 wxPyEndAllowThreads(__tstate
);
3473 if (PyErr_Occurred()) SWIG_fail
;
3475 Py_INCREF(Py_None
); resultobj
= Py_None
;
3482 static PyObject
*_wrap_PyShapeEvtHandler_base_OnEndSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3483 PyObject
*resultobj
;
3484 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
3487 PyObject
* obj0
= 0 ;
3488 PyObject
* obj1
= 0 ;
3489 PyObject
* obj2
= 0 ;
3491 (char *) "self",(char *) "w",(char *) "h", NULL
3494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShapeEvtHandler_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeEvtHandler
,
3496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3497 arg2
= (double)SWIG_As_double(obj1
);
3498 if (PyErr_Occurred()) SWIG_fail
;
3499 arg3
= (double)SWIG_As_double(obj2
);
3500 if (PyErr_Occurred()) SWIG_fail
;
3502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3503 (arg1
)->base_OnEndSize(arg2
,arg3
);
3505 wxPyEndAllowThreads(__tstate
);
3506 if (PyErr_Occurred()) SWIG_fail
;
3508 Py_INCREF(Py_None
); resultobj
= Py_None
;
3515 static PyObject
* PyShapeEvtHandler_swigregister(PyObject
*, PyObject
*args
) {
3517 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3518 SWIG_TypeClientData(SWIGTYPE_p_wxPyShapeEvtHandler
, obj
);
3520 return Py_BuildValue((char *)"");
3522 static PyObject
*_wrap_new_PyShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3523 PyObject
*resultobj
;
3524 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) NULL
;
3526 PyObject
* obj0
= 0 ;
3528 (char *) "can", NULL
3531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyShape",kwnames
,&obj0
)) goto fail
;
3533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
3534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3538 result
= (wxPyShape
*)new wxPyShape(arg1
);
3540 wxPyEndAllowThreads(__tstate
);
3541 if (PyErr_Occurred()) SWIG_fail
;
3543 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyShape
, 1);
3550 static PyObject
*_wrap_PyShape__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3551 PyObject
*resultobj
;
3552 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3553 PyObject
*arg2
= (PyObject
*) 0 ;
3554 PyObject
*arg3
= (PyObject
*) 0 ;
3555 PyObject
* obj0
= 0 ;
3556 PyObject
* obj1
= 0 ;
3557 PyObject
* obj2
= 0 ;
3559 (char *) "self",(char *) "self",(char *) "_class", NULL
3562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
3564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3569 (arg1
)->_setCallbackInfo(arg2
,arg3
);
3571 wxPyEndAllowThreads(__tstate
);
3572 if (PyErr_Occurred()) SWIG_fail
;
3574 Py_INCREF(Py_None
); resultobj
= Py_None
;
3581 static PyObject
*_wrap_PyShape_GetBoundingBoxMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3582 PyObject
*resultobj
;
3583 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3584 double *arg2
= (double *) 0 ;
3585 double *arg3
= (double *) 0 ;
3590 PyObject
* obj0
= 0 ;
3592 (char *) "self", NULL
3595 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
3596 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
3597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetBoundingBoxMax",kwnames
,&obj0
)) goto fail
;
3598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
3599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3602 (arg1
)->GetBoundingBoxMax(arg2
,arg3
);
3604 wxPyEndAllowThreads(__tstate
);
3605 if (PyErr_Occurred()) SWIG_fail
;
3607 Py_INCREF(Py_None
); resultobj
= Py_None
;
3608 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
3609 SWIG_From_double((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, 0)));
3610 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
3611 SWIG_From_double((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, 0)));
3618 static PyObject
*_wrap_PyShape_GetBoundingBoxMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3619 PyObject
*resultobj
;
3620 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3621 double *arg2
= (double *) 0 ;
3622 double *arg3
= (double *) 0 ;
3627 PyObject
* obj0
= 0 ;
3629 (char *) "self", NULL
3632 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
3633 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
3634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetBoundingBoxMin",kwnames
,&obj0
)) goto fail
;
3635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
3636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3639 (arg1
)->GetBoundingBoxMin(arg2
,arg3
);
3641 wxPyEndAllowThreads(__tstate
);
3642 if (PyErr_Occurred()) SWIG_fail
;
3644 Py_INCREF(Py_None
); resultobj
= Py_None
;
3645 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
3646 SWIG_From_double((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, 0)));
3647 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
3648 SWIG_From_double((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, 0)));
3655 static PyObject
*_wrap_PyShape_GetPerimeterPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3656 PyObject
*resultobj
;
3657 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3662 double *arg6
= (double *) 0 ;
3663 double *arg7
= (double *) 0 ;
3669 PyObject
* obj0
= 0 ;
3670 PyObject
* obj1
= 0 ;
3671 PyObject
* obj2
= 0 ;
3672 PyObject
* obj3
= 0 ;
3673 PyObject
* obj4
= 0 ;
3675 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
3678 arg6
= &temp6
; res6
= SWIG_NEWOBJ
;
3679 arg7
= &temp7
; res7
= SWIG_NEWOBJ
;
3680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyShape_GetPerimeterPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
3681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
3682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3683 arg2
= (double)SWIG_As_double(obj1
);
3684 if (PyErr_Occurred()) SWIG_fail
;
3685 arg3
= (double)SWIG_As_double(obj2
);
3686 if (PyErr_Occurred()) SWIG_fail
;
3687 arg4
= (double)SWIG_As_double(obj3
);
3688 if (PyErr_Occurred()) SWIG_fail
;
3689 arg5
= (double)SWIG_As_double(obj4
);
3690 if (PyErr_Occurred()) SWIG_fail
;
3692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3693 result
= (bool)(arg1
)->GetPerimeterPoint(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
3695 wxPyEndAllowThreads(__tstate
);
3696 if (PyErr_Occurred()) SWIG_fail
;
3699 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3701 resultobj
= t_output_helper(resultobj
, ((res6
== SWIG_NEWOBJ
) ?
3702 SWIG_From_double((*arg6
)) : SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_double
, 0)));
3703 resultobj
= t_output_helper(resultobj
, ((res7
== SWIG_NEWOBJ
) ?
3704 SWIG_From_double((*arg7
)) : SWIG_NewPointerObj((void*)(arg7
), SWIGTYPE_p_double
, 0)));
3711 static PyObject
*_wrap_PyShape_GetCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3712 PyObject
*resultobj
;
3713 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3714 wxPyShapeCanvas
*result
;
3715 PyObject
* obj0
= 0 ;
3717 (char *) "self", NULL
3720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetCanvas",kwnames
,&obj0
)) goto fail
;
3721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
3722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3725 result
= (wxPyShapeCanvas
*)(arg1
)->GetCanvas();
3727 wxPyEndAllowThreads(__tstate
);
3728 if (PyErr_Occurred()) SWIG_fail
;
3731 resultobj
= wxPyMake_wxObject(result
, 0);
3739 static PyObject
*_wrap_PyShape_SetCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3740 PyObject
*resultobj
;
3741 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3742 wxPyShapeCanvas
*arg2
= (wxPyShapeCanvas
*) 0 ;
3743 PyObject
* obj0
= 0 ;
3744 PyObject
* obj1
= 0 ;
3746 (char *) "self",(char *) "the_canvas", NULL
3749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
3750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
3751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3752 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShapeCanvas
,
3753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3756 (arg1
)->SetCanvas(arg2
);
3758 wxPyEndAllowThreads(__tstate
);
3759 if (PyErr_Occurred()) SWIG_fail
;
3761 Py_INCREF(Py_None
); resultobj
= Py_None
;
3768 static PyObject
*_wrap_PyShape_AddToCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3769 PyObject
*resultobj
;
3770 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3771 wxPyShapeCanvas
*arg2
= (wxPyShapeCanvas
*) 0 ;
3772 wxPyShape
*arg3
= (wxPyShape
*) NULL
;
3773 PyObject
* obj0
= 0 ;
3774 PyObject
* obj1
= 0 ;
3775 PyObject
* obj2
= 0 ;
3777 (char *) "self",(char *) "the_canvas",(char *) "addAfter", NULL
3780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShape_AddToCanvas",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
3782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3783 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShapeCanvas
,
3784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3786 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyShape
,
3787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3791 (arg1
)->AddToCanvas(arg2
,arg3
);
3793 wxPyEndAllowThreads(__tstate
);
3794 if (PyErr_Occurred()) SWIG_fail
;
3796 Py_INCREF(Py_None
); resultobj
= Py_None
;
3803 static PyObject
*_wrap_PyShape_InsertInCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3804 PyObject
*resultobj
;
3805 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3806 wxPyShapeCanvas
*arg2
= (wxPyShapeCanvas
*) 0 ;
3807 PyObject
* obj0
= 0 ;
3808 PyObject
* obj1
= 0 ;
3810 (char *) "self",(char *) "the_canvas", NULL
3813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_InsertInCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
3814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
3815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3816 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShapeCanvas
,
3817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3820 (arg1
)->InsertInCanvas(arg2
);
3822 wxPyEndAllowThreads(__tstate
);
3823 if (PyErr_Occurred()) SWIG_fail
;
3825 Py_INCREF(Py_None
); resultobj
= Py_None
;
3832 static PyObject
*_wrap_PyShape_RemoveFromCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3833 PyObject
*resultobj
;
3834 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3835 wxPyShapeCanvas
*arg2
= (wxPyShapeCanvas
*) 0 ;
3836 PyObject
* obj0
= 0 ;
3837 PyObject
* obj1
= 0 ;
3839 (char *) "self",(char *) "the_canvas", NULL
3842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_RemoveFromCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
3843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
3844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3845 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShapeCanvas
,
3846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3849 (arg1
)->RemoveFromCanvas(arg2
);
3851 wxPyEndAllowThreads(__tstate
);
3852 if (PyErr_Occurred()) SWIG_fail
;
3854 Py_INCREF(Py_None
); resultobj
= Py_None
;
3861 static PyObject
*_wrap_PyShape_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3862 PyObject
*resultobj
;
3863 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3865 PyObject
* obj0
= 0 ;
3867 (char *) "self", NULL
3870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetX",kwnames
,&obj0
)) goto fail
;
3871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
3872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3875 result
= (double)(arg1
)->GetX();
3877 wxPyEndAllowThreads(__tstate
);
3878 if (PyErr_Occurred()) SWIG_fail
;
3880 resultobj
= SWIG_From_double((double)result
);
3887 static PyObject
*_wrap_PyShape_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3888 PyObject
*resultobj
;
3889 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3891 PyObject
* obj0
= 0 ;
3893 (char *) "self", NULL
3896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetY",kwnames
,&obj0
)) goto fail
;
3897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
3898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3901 result
= (double)(arg1
)->GetY();
3903 wxPyEndAllowThreads(__tstate
);
3904 if (PyErr_Occurred()) SWIG_fail
;
3906 resultobj
= SWIG_From_double((double)result
);
3913 static PyObject
*_wrap_PyShape_SetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3914 PyObject
*resultobj
;
3915 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3917 PyObject
* obj0
= 0 ;
3918 PyObject
* obj1
= 0 ;
3920 (char *) "self",(char *) "x", NULL
3923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetX",kwnames
,&obj0
,&obj1
)) goto fail
;
3924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
3925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3926 arg2
= (double)SWIG_As_double(obj1
);
3927 if (PyErr_Occurred()) SWIG_fail
;
3929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3932 wxPyEndAllowThreads(__tstate
);
3933 if (PyErr_Occurred()) SWIG_fail
;
3935 Py_INCREF(Py_None
); resultobj
= Py_None
;
3942 static PyObject
*_wrap_PyShape_SetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3943 PyObject
*resultobj
;
3944 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3946 PyObject
* obj0
= 0 ;
3947 PyObject
* obj1
= 0 ;
3949 (char *) "self",(char *) "y", NULL
3952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetY",kwnames
,&obj0
,&obj1
)) goto fail
;
3953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
3954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3955 arg2
= (double)SWIG_As_double(obj1
);
3956 if (PyErr_Occurred()) SWIG_fail
;
3958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3961 wxPyEndAllowThreads(__tstate
);
3962 if (PyErr_Occurred()) SWIG_fail
;
3964 Py_INCREF(Py_None
); resultobj
= Py_None
;
3971 static PyObject
*_wrap_PyShape_GetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3972 PyObject
*resultobj
;
3973 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
3975 PyObject
* obj0
= 0 ;
3977 (char *) "self", NULL
3980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetParent",kwnames
,&obj0
)) goto fail
;
3981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
3982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3985 result
= (wxPyShape
*)(arg1
)->GetParent();
3987 wxPyEndAllowThreads(__tstate
);
3988 if (PyErr_Occurred()) SWIG_fail
;
3991 resultobj
= wxPyMake_wxShapeEvtHandler(result
, 0);
3999 static PyObject
*_wrap_PyShape_SetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4000 PyObject
*resultobj
;
4001 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4002 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
4003 PyObject
* obj0
= 0 ;
4004 PyObject
* obj1
= 0 ;
4006 (char *) "self",(char *) "p", NULL
4009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetParent",kwnames
,&obj0
,&obj1
)) goto fail
;
4010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4012 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
4013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4016 (arg1
)->SetParent(arg2
);
4018 wxPyEndAllowThreads(__tstate
);
4019 if (PyErr_Occurred()) SWIG_fail
;
4021 Py_INCREF(Py_None
); resultobj
= Py_None
;
4028 static PyObject
*_wrap_PyShape_GetTopAncestor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4029 PyObject
*resultobj
;
4030 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4032 PyObject
* obj0
= 0 ;
4034 (char *) "self", NULL
4037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetTopAncestor",kwnames
,&obj0
)) goto fail
;
4038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4042 result
= (wxPyShape
*)(arg1
)->GetTopAncestor();
4044 wxPyEndAllowThreads(__tstate
);
4045 if (PyErr_Occurred()) SWIG_fail
;
4048 resultobj
= wxPyMake_wxShapeEvtHandler(result
, 0);
4056 static PyObject
*_wrap_PyShape_GetChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4057 PyObject
*resultobj
;
4058 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4060 PyObject
* obj0
= 0 ;
4062 (char *) "self", NULL
4065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetChildren",kwnames
,&obj0
)) goto fail
;
4066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4070 result
= (PyObject
*)wxPyShape_GetChildren(arg1
);
4072 wxPyEndAllowThreads(__tstate
);
4073 if (PyErr_Occurred()) SWIG_fail
;
4082 static PyObject
*_wrap_PyShape_Unlink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4083 PyObject
*resultobj
;
4084 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4085 PyObject
* obj0
= 0 ;
4087 (char *) "self", NULL
4090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_Unlink",kwnames
,&obj0
)) goto fail
;
4091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4097 wxPyEndAllowThreads(__tstate
);
4098 if (PyErr_Occurred()) SWIG_fail
;
4100 Py_INCREF(Py_None
); resultobj
= Py_None
;
4107 static PyObject
*_wrap_PyShape_SetDrawHandles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4108 PyObject
*resultobj
;
4109 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4111 PyObject
* obj0
= 0 ;
4112 PyObject
* obj1
= 0 ;
4114 (char *) "self",(char *) "drawH", NULL
4117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetDrawHandles",kwnames
,&obj0
,&obj1
)) goto fail
;
4118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4120 arg2
= (bool)SWIG_As_bool(obj1
);
4121 if (PyErr_Occurred()) SWIG_fail
;
4123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4124 (arg1
)->SetDrawHandles(arg2
);
4126 wxPyEndAllowThreads(__tstate
);
4127 if (PyErr_Occurred()) SWIG_fail
;
4129 Py_INCREF(Py_None
); resultobj
= Py_None
;
4136 static PyObject
*_wrap_PyShape_GetDrawHandles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4137 PyObject
*resultobj
;
4138 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4140 PyObject
* obj0
= 0 ;
4142 (char *) "self", NULL
4145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetDrawHandles",kwnames
,&obj0
)) goto fail
;
4146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4150 result
= (bool)(arg1
)->GetDrawHandles();
4152 wxPyEndAllowThreads(__tstate
);
4153 if (PyErr_Occurred()) SWIG_fail
;
4156 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4164 static PyObject
*_wrap_PyShape_MakeControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4165 PyObject
*resultobj
;
4166 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4167 PyObject
* obj0
= 0 ;
4169 (char *) "self", NULL
4172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_MakeControlPoints",kwnames
,&obj0
)) goto fail
;
4173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4177 (arg1
)->MakeControlPoints();
4179 wxPyEndAllowThreads(__tstate
);
4180 if (PyErr_Occurred()) SWIG_fail
;
4182 Py_INCREF(Py_None
); resultobj
= Py_None
;
4189 static PyObject
*_wrap_PyShape_DeleteControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4190 PyObject
*resultobj
;
4191 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4192 wxDC
*arg2
= (wxDC
*) NULL
;
4193 PyObject
* obj0
= 0 ;
4194 PyObject
* obj1
= 0 ;
4196 (char *) "self",(char *) "dc", NULL
4199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyShape_DeleteControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
4200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4203 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
4204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4208 (arg1
)->DeleteControlPoints(arg2
);
4210 wxPyEndAllowThreads(__tstate
);
4211 if (PyErr_Occurred()) SWIG_fail
;
4213 Py_INCREF(Py_None
); resultobj
= Py_None
;
4220 static PyObject
*_wrap_PyShape_ResetControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4221 PyObject
*resultobj
;
4222 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4223 PyObject
* obj0
= 0 ;
4225 (char *) "self", NULL
4228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_ResetControlPoints",kwnames
,&obj0
)) goto fail
;
4229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4233 (arg1
)->ResetControlPoints();
4235 wxPyEndAllowThreads(__tstate
);
4236 if (PyErr_Occurred()) SWIG_fail
;
4238 Py_INCREF(Py_None
); resultobj
= Py_None
;
4245 static PyObject
*_wrap_PyShape_GetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4246 PyObject
*resultobj
;
4247 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4248 wxPyShapeEvtHandler
*result
;
4249 PyObject
* obj0
= 0 ;
4251 (char *) "self", NULL
4254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetEventHandler",kwnames
,&obj0
)) goto fail
;
4255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4259 result
= (wxPyShapeEvtHandler
*)(arg1
)->GetEventHandler();
4261 wxPyEndAllowThreads(__tstate
);
4262 if (PyErr_Occurred()) SWIG_fail
;
4265 resultobj
= wxPyMake_wxShapeEvtHandler(result
, 0);
4273 static PyObject
*_wrap_PyShape_SetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4274 PyObject
*resultobj
;
4275 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4276 wxPyShapeEvtHandler
*arg2
= (wxPyShapeEvtHandler
*) 0 ;
4277 PyObject
* obj0
= 0 ;
4278 PyObject
* obj1
= 0 ;
4280 (char *) "self",(char *) "handler", NULL
4283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
4284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4286 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShapeEvtHandler
,
4287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4290 (arg1
)->SetEventHandler(arg2
);
4292 wxPyEndAllowThreads(__tstate
);
4293 if (PyErr_Occurred()) SWIG_fail
;
4295 Py_INCREF(Py_None
); resultobj
= Py_None
;
4302 static PyObject
*_wrap_PyShape_MakeMandatoryControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4303 PyObject
*resultobj
;
4304 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4305 PyObject
* obj0
= 0 ;
4307 (char *) "self", NULL
4310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_MakeMandatoryControlPoints",kwnames
,&obj0
)) goto fail
;
4311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4315 (arg1
)->MakeMandatoryControlPoints();
4317 wxPyEndAllowThreads(__tstate
);
4318 if (PyErr_Occurred()) SWIG_fail
;
4320 Py_INCREF(Py_None
); resultobj
= Py_None
;
4327 static PyObject
*_wrap_PyShape_ResetMandatoryControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4328 PyObject
*resultobj
;
4329 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4330 PyObject
* obj0
= 0 ;
4332 (char *) "self", NULL
4335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_ResetMandatoryControlPoints",kwnames
,&obj0
)) goto fail
;
4336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4340 (arg1
)->ResetMandatoryControlPoints();
4342 wxPyEndAllowThreads(__tstate
);
4343 if (PyErr_Occurred()) SWIG_fail
;
4345 Py_INCREF(Py_None
); resultobj
= Py_None
;
4352 static PyObject
*_wrap_PyShape_Recompute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4353 PyObject
*resultobj
;
4354 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4356 PyObject
* obj0
= 0 ;
4358 (char *) "self", NULL
4361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_Recompute",kwnames
,&obj0
)) goto fail
;
4362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4366 result
= (bool)(arg1
)->Recompute();
4368 wxPyEndAllowThreads(__tstate
);
4369 if (PyErr_Occurred()) SWIG_fail
;
4372 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4380 static PyObject
*_wrap_PyShape_CalculateSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4381 PyObject
*resultobj
;
4382 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4383 PyObject
* obj0
= 0 ;
4385 (char *) "self", NULL
4388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_CalculateSize",kwnames
,&obj0
)) goto fail
;
4389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4393 (arg1
)->CalculateSize();
4395 wxPyEndAllowThreads(__tstate
);
4396 if (PyErr_Occurred()) SWIG_fail
;
4398 Py_INCREF(Py_None
); resultobj
= Py_None
;
4405 static PyObject
*_wrap_PyShape_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4406 PyObject
*resultobj
;
4407 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4408 bool arg2
= (bool) True
;
4409 wxDC
*arg3
= (wxDC
*) NULL
;
4410 PyObject
* obj0
= 0 ;
4411 PyObject
* obj1
= 0 ;
4412 PyObject
* obj2
= 0 ;
4414 (char *) "self",(char *) "select",(char *) "dc", NULL
4417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyShape_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4421 arg2
= (bool)SWIG_As_bool(obj1
);
4422 if (PyErr_Occurred()) SWIG_fail
;
4425 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
4426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4430 (arg1
)->Select(arg2
,arg3
);
4432 wxPyEndAllowThreads(__tstate
);
4433 if (PyErr_Occurred()) SWIG_fail
;
4435 Py_INCREF(Py_None
); resultobj
= Py_None
;
4442 static PyObject
*_wrap_PyShape_SetHighlight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4443 PyObject
*resultobj
;
4444 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4445 bool arg2
= (bool) True
;
4446 bool arg3
= (bool) False
;
4447 PyObject
* obj0
= 0 ;
4448 PyObject
* obj1
= 0 ;
4449 PyObject
* obj2
= 0 ;
4451 (char *) "self",(char *) "hi",(char *) "recurse", NULL
4454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyShape_SetHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4455 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4458 arg2
= (bool)SWIG_As_bool(obj1
);
4459 if (PyErr_Occurred()) SWIG_fail
;
4462 arg3
= (bool)SWIG_As_bool(obj2
);
4463 if (PyErr_Occurred()) SWIG_fail
;
4466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4467 (arg1
)->SetHighlight(arg2
,arg3
);
4469 wxPyEndAllowThreads(__tstate
);
4470 if (PyErr_Occurred()) SWIG_fail
;
4472 Py_INCREF(Py_None
); resultobj
= Py_None
;
4479 static PyObject
*_wrap_PyShape_IsHighlighted(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4480 PyObject
*resultobj
;
4481 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4483 PyObject
* obj0
= 0 ;
4485 (char *) "self", NULL
4488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_IsHighlighted",kwnames
,&obj0
)) goto fail
;
4489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4493 result
= (bool)(arg1
)->IsHighlighted();
4495 wxPyEndAllowThreads(__tstate
);
4496 if (PyErr_Occurred()) SWIG_fail
;
4499 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4507 static PyObject
*_wrap_PyShape_Selected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4508 PyObject
*resultobj
;
4509 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4511 PyObject
* obj0
= 0 ;
4513 (char *) "self", NULL
4516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_Selected",kwnames
,&obj0
)) goto fail
;
4517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4521 result
= (bool)(arg1
)->Selected();
4523 wxPyEndAllowThreads(__tstate
);
4524 if (PyErr_Occurred()) SWIG_fail
;
4527 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4535 static PyObject
*_wrap_PyShape_AncestorSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4536 PyObject
*resultobj
;
4537 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4539 PyObject
* obj0
= 0 ;
4541 (char *) "self", NULL
4544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_AncestorSelected",kwnames
,&obj0
)) goto fail
;
4545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4549 result
= (bool)(arg1
)->AncestorSelected();
4551 wxPyEndAllowThreads(__tstate
);
4552 if (PyErr_Occurred()) SWIG_fail
;
4555 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4563 static PyObject
*_wrap_PyShape_SetSensitivityFilter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4564 PyObject
*resultobj
;
4565 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4566 int arg2
= (int) OP_ALL
;
4567 bool arg3
= (bool) False
;
4568 PyObject
* obj0
= 0 ;
4569 PyObject
* obj1
= 0 ;
4570 PyObject
* obj2
= 0 ;
4572 (char *) "self",(char *) "sens",(char *) "recursive", NULL
4575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyShape_SetSensitivityFilter",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4579 arg2
= (int)SWIG_As_int(obj1
);
4580 if (PyErr_Occurred()) SWIG_fail
;
4583 arg3
= (bool)SWIG_As_bool(obj2
);
4584 if (PyErr_Occurred()) SWIG_fail
;
4587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4588 (arg1
)->SetSensitivityFilter(arg2
,arg3
);
4590 wxPyEndAllowThreads(__tstate
);
4591 if (PyErr_Occurred()) SWIG_fail
;
4593 Py_INCREF(Py_None
); resultobj
= Py_None
;
4600 static PyObject
*_wrap_PyShape_GetSensitivityFilter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4601 PyObject
*resultobj
;
4602 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4604 PyObject
* obj0
= 0 ;
4606 (char *) "self", NULL
4609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetSensitivityFilter",kwnames
,&obj0
)) goto fail
;
4610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4614 result
= (int)(arg1
)->GetSensitivityFilter();
4616 wxPyEndAllowThreads(__tstate
);
4617 if (PyErr_Occurred()) SWIG_fail
;
4619 resultobj
= SWIG_From_int((int)result
);
4626 static PyObject
*_wrap_PyShape_SetDraggable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4627 PyObject
*resultobj
;
4628 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4630 bool arg3
= (bool) False
;
4631 PyObject
* obj0
= 0 ;
4632 PyObject
* obj1
= 0 ;
4633 PyObject
* obj2
= 0 ;
4635 (char *) "self",(char *) "drag",(char *) "recursive", NULL
4638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShape_SetDraggable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4641 arg2
= (bool)SWIG_As_bool(obj1
);
4642 if (PyErr_Occurred()) SWIG_fail
;
4644 arg3
= (bool)SWIG_As_bool(obj2
);
4645 if (PyErr_Occurred()) SWIG_fail
;
4648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4649 (arg1
)->SetDraggable(arg2
,arg3
);
4651 wxPyEndAllowThreads(__tstate
);
4652 if (PyErr_Occurred()) SWIG_fail
;
4654 Py_INCREF(Py_None
); resultobj
= Py_None
;
4661 static PyObject
*_wrap_PyShape_SetFixedSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4662 PyObject
*resultobj
;
4663 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4666 PyObject
* obj0
= 0 ;
4667 PyObject
* obj1
= 0 ;
4668 PyObject
* obj2
= 0 ;
4670 (char *) "self",(char *) "x",(char *) "y", NULL
4673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShape_SetFixedSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4676 arg2
= (bool)SWIG_As_bool(obj1
);
4677 if (PyErr_Occurred()) SWIG_fail
;
4678 arg3
= (bool)SWIG_As_bool(obj2
);
4679 if (PyErr_Occurred()) SWIG_fail
;
4681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4682 (arg1
)->SetFixedSize(arg2
,arg3
);
4684 wxPyEndAllowThreads(__tstate
);
4685 if (PyErr_Occurred()) SWIG_fail
;
4687 Py_INCREF(Py_None
); resultobj
= Py_None
;
4694 static PyObject
*_wrap_PyShape_GetFixedSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4695 PyObject
*resultobj
;
4696 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4697 bool *arg2
= (bool *) 0 ;
4698 bool *arg3
= (bool *) 0 ;
4703 PyObject
* obj0
= 0 ;
4705 (char *) "self", NULL
4708 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
4709 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
4710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetFixedSize",kwnames
,&obj0
)) goto fail
;
4711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4715 (arg1
)->GetFixedSize(arg2
,arg3
);
4717 wxPyEndAllowThreads(__tstate
);
4718 if (PyErr_Occurred()) SWIG_fail
;
4720 Py_INCREF(Py_None
); resultobj
= Py_None
;
4721 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
4722 SWIG_From_bool((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_bool
, 0)));
4723 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
4724 SWIG_From_bool((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_bool
, 0)));
4731 static PyObject
*_wrap_PyShape_GetFixedWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4732 PyObject
*resultobj
;
4733 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4735 PyObject
* obj0
= 0 ;
4737 (char *) "self", NULL
4740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetFixedWidth",kwnames
,&obj0
)) goto fail
;
4741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4745 result
= (bool)(arg1
)->GetFixedWidth();
4747 wxPyEndAllowThreads(__tstate
);
4748 if (PyErr_Occurred()) SWIG_fail
;
4751 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4759 static PyObject
*_wrap_PyShape_GetFixedHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4760 PyObject
*resultobj
;
4761 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4763 PyObject
* obj0
= 0 ;
4765 (char *) "self", NULL
4768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetFixedHeight",kwnames
,&obj0
)) goto fail
;
4769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4773 result
= (bool)(arg1
)->GetFixedHeight();
4775 wxPyEndAllowThreads(__tstate
);
4776 if (PyErr_Occurred()) SWIG_fail
;
4779 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4787 static PyObject
*_wrap_PyShape_SetSpaceAttachments(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4788 PyObject
*resultobj
;
4789 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4791 PyObject
* obj0
= 0 ;
4792 PyObject
* obj1
= 0 ;
4794 (char *) "self",(char *) "sp", NULL
4797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetSpaceAttachments",kwnames
,&obj0
,&obj1
)) goto fail
;
4798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4800 arg2
= (bool)SWIG_As_bool(obj1
);
4801 if (PyErr_Occurred()) SWIG_fail
;
4803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4804 (arg1
)->SetSpaceAttachments(arg2
);
4806 wxPyEndAllowThreads(__tstate
);
4807 if (PyErr_Occurred()) SWIG_fail
;
4809 Py_INCREF(Py_None
); resultobj
= Py_None
;
4816 static PyObject
*_wrap_PyShape_GetSpaceAttachments(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4817 PyObject
*resultobj
;
4818 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4820 PyObject
* obj0
= 0 ;
4822 (char *) "self", NULL
4825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetSpaceAttachments",kwnames
,&obj0
)) goto fail
;
4826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4830 result
= (bool)(arg1
)->GetSpaceAttachments();
4832 wxPyEndAllowThreads(__tstate
);
4833 if (PyErr_Occurred()) SWIG_fail
;
4836 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4844 static PyObject
*_wrap_PyShape_SetShadowMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4845 PyObject
*resultobj
;
4846 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4848 bool arg3
= (bool) False
;
4849 PyObject
* obj0
= 0 ;
4850 PyObject
* obj1
= 0 ;
4851 PyObject
* obj2
= 0 ;
4853 (char *) "self",(char *) "mode",(char *) "redraw", NULL
4856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShape_SetShadowMode",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4859 arg2
= (int)SWIG_As_int(obj1
);
4860 if (PyErr_Occurred()) SWIG_fail
;
4862 arg3
= (bool)SWIG_As_bool(obj2
);
4863 if (PyErr_Occurred()) SWIG_fail
;
4866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4867 (arg1
)->SetShadowMode(arg2
,arg3
);
4869 wxPyEndAllowThreads(__tstate
);
4870 if (PyErr_Occurred()) SWIG_fail
;
4872 Py_INCREF(Py_None
); resultobj
= Py_None
;
4879 static PyObject
*_wrap_PyShape_GetShadowMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4880 PyObject
*resultobj
;
4881 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4883 PyObject
* obj0
= 0 ;
4885 (char *) "self", NULL
4888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetShadowMode",kwnames
,&obj0
)) goto fail
;
4889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4893 result
= (int)(arg1
)->GetShadowMode();
4895 wxPyEndAllowThreads(__tstate
);
4896 if (PyErr_Occurred()) SWIG_fail
;
4898 resultobj
= SWIG_From_int((int)result
);
4905 static PyObject
*_wrap_PyShape_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4906 PyObject
*resultobj
;
4907 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4910 int *arg4
= (int *) 0 ;
4911 double *arg5
= (double *) 0 ;
4917 PyObject
* obj0
= 0 ;
4918 PyObject
* obj1
= 0 ;
4919 PyObject
* obj2
= 0 ;
4921 (char *) "self",(char *) "x",(char *) "y", NULL
4924 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
4925 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
4926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShape_HitTest",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4929 arg2
= (double)SWIG_As_double(obj1
);
4930 if (PyErr_Occurred()) SWIG_fail
;
4931 arg3
= (double)SWIG_As_double(obj2
);
4932 if (PyErr_Occurred()) SWIG_fail
;
4934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4935 result
= (bool)(arg1
)->HitTest(arg2
,arg3
,arg4
,arg5
);
4937 wxPyEndAllowThreads(__tstate
);
4938 if (PyErr_Occurred()) SWIG_fail
;
4941 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4943 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
4944 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
4945 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
4946 SWIG_From_double((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_double
, 0)));
4953 static PyObject
*_wrap_PyShape_SetCentreResize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4954 PyObject
*resultobj
;
4955 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4957 PyObject
* obj0
= 0 ;
4958 PyObject
* obj1
= 0 ;
4960 (char *) "self",(char *) "cr", NULL
4963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetCentreResize",kwnames
,&obj0
,&obj1
)) goto fail
;
4964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4966 arg2
= (bool)SWIG_As_bool(obj1
);
4967 if (PyErr_Occurred()) SWIG_fail
;
4969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4970 (arg1
)->SetCentreResize(arg2
);
4972 wxPyEndAllowThreads(__tstate
);
4973 if (PyErr_Occurred()) SWIG_fail
;
4975 Py_INCREF(Py_None
); resultobj
= Py_None
;
4982 static PyObject
*_wrap_PyShape_GetCentreResize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4983 PyObject
*resultobj
;
4984 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4986 PyObject
* obj0
= 0 ;
4988 (char *) "self", NULL
4991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetCentreResize",kwnames
,&obj0
)) goto fail
;
4992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
4993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4996 result
= (bool)(arg1
)->GetCentreResize();
4998 wxPyEndAllowThreads(__tstate
);
4999 if (PyErr_Occurred()) SWIG_fail
;
5002 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5010 static PyObject
*_wrap_PyShape_SetMaintainAspectRatio(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5011 PyObject
*resultobj
;
5012 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5014 PyObject
* obj0
= 0 ;
5015 PyObject
* obj1
= 0 ;
5017 (char *) "self",(char *) "ar", NULL
5020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetMaintainAspectRatio",kwnames
,&obj0
,&obj1
)) goto fail
;
5021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5023 arg2
= (bool)SWIG_As_bool(obj1
);
5024 if (PyErr_Occurred()) SWIG_fail
;
5026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5027 (arg1
)->SetMaintainAspectRatio(arg2
);
5029 wxPyEndAllowThreads(__tstate
);
5030 if (PyErr_Occurred()) SWIG_fail
;
5032 Py_INCREF(Py_None
); resultobj
= Py_None
;
5039 static PyObject
*_wrap_PyShape_GetMaintainAspectRatio(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5040 PyObject
*resultobj
;
5041 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5043 PyObject
* obj0
= 0 ;
5045 (char *) "self", NULL
5048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetMaintainAspectRatio",kwnames
,&obj0
)) goto fail
;
5049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5053 result
= (bool)(arg1
)->GetMaintainAspectRatio();
5055 wxPyEndAllowThreads(__tstate
);
5056 if (PyErr_Occurred()) SWIG_fail
;
5059 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5067 static PyObject
*_wrap_PyShape_GetLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5068 PyObject
*resultobj
;
5069 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5071 PyObject
* obj0
= 0 ;
5073 (char *) "self", NULL
5076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetLines",kwnames
,&obj0
)) goto fail
;
5077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5081 result
= (PyObject
*)wxPyShape_GetLines(arg1
);
5083 wxPyEndAllowThreads(__tstate
);
5084 if (PyErr_Occurred()) SWIG_fail
;
5093 static PyObject
*_wrap_PyShape_SetDisableLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5094 PyObject
*resultobj
;
5095 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5097 PyObject
* obj0
= 0 ;
5098 PyObject
* obj1
= 0 ;
5100 (char *) "self",(char *) "flag", NULL
5103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetDisableLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
5104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5106 arg2
= (bool)SWIG_As_bool(obj1
);
5107 if (PyErr_Occurred()) SWIG_fail
;
5109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5110 (arg1
)->SetDisableLabel(arg2
);
5112 wxPyEndAllowThreads(__tstate
);
5113 if (PyErr_Occurred()) SWIG_fail
;
5115 Py_INCREF(Py_None
); resultobj
= Py_None
;
5122 static PyObject
*_wrap_PyShape_GetDisableLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5123 PyObject
*resultobj
;
5124 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5126 PyObject
* obj0
= 0 ;
5128 (char *) "self", NULL
5131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetDisableLabel",kwnames
,&obj0
)) goto fail
;
5132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5136 result
= (bool)(arg1
)->GetDisableLabel();
5138 wxPyEndAllowThreads(__tstate
);
5139 if (PyErr_Occurred()) SWIG_fail
;
5142 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5150 static PyObject
*_wrap_PyShape_SetAttachmentMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5151 PyObject
*resultobj
;
5152 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5154 PyObject
* obj0
= 0 ;
5155 PyObject
* obj1
= 0 ;
5157 (char *) "self",(char *) "mode", NULL
5160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetAttachmentMode",kwnames
,&obj0
,&obj1
)) goto fail
;
5161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5163 arg2
= (int)SWIG_As_int(obj1
);
5164 if (PyErr_Occurred()) SWIG_fail
;
5166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5167 (arg1
)->SetAttachmentMode(arg2
);
5169 wxPyEndAllowThreads(__tstate
);
5170 if (PyErr_Occurred()) SWIG_fail
;
5172 Py_INCREF(Py_None
); resultobj
= Py_None
;
5179 static PyObject
*_wrap_PyShape_GetAttachmentMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5180 PyObject
*resultobj
;
5181 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5183 PyObject
* obj0
= 0 ;
5185 (char *) "self", NULL
5188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetAttachmentMode",kwnames
,&obj0
)) goto fail
;
5189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5193 result
= (int)(arg1
)->GetAttachmentMode();
5195 wxPyEndAllowThreads(__tstate
);
5196 if (PyErr_Occurred()) SWIG_fail
;
5198 resultobj
= SWIG_From_int((int)result
);
5205 static PyObject
*_wrap_PyShape_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5206 PyObject
*resultobj
;
5207 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5209 PyObject
* obj0
= 0 ;
5210 PyObject
* obj1
= 0 ;
5212 (char *) "self",(char *) "i", NULL
5215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
5216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5218 arg2
= (long)SWIG_As_long(obj1
);
5219 if (PyErr_Occurred()) SWIG_fail
;
5221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5222 (arg1
)->SetId(arg2
);
5224 wxPyEndAllowThreads(__tstate
);
5225 if (PyErr_Occurred()) SWIG_fail
;
5227 Py_INCREF(Py_None
); resultobj
= Py_None
;
5234 static PyObject
*_wrap_PyShape_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5235 PyObject
*resultobj
;
5236 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5238 PyObject
* obj0
= 0 ;
5240 (char *) "self", NULL
5243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetId",kwnames
,&obj0
)) goto fail
;
5244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5248 result
= (long)(arg1
)->GetId();
5250 wxPyEndAllowThreads(__tstate
);
5251 if (PyErr_Occurred()) SWIG_fail
;
5253 resultobj
= SWIG_From_long((long)result
);
5260 static PyObject
*_wrap_PyShape_SetPen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5261 PyObject
*resultobj
;
5262 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5263 wxPen
*arg2
= (wxPen
*) 0 ;
5264 PyObject
* obj0
= 0 ;
5265 PyObject
* obj1
= 0 ;
5267 (char *) "self",(char *) "pen", NULL
5270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetPen",kwnames
,&obj0
,&obj1
)) goto fail
;
5271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5276 if (obj1
== Py_None
) {
5279 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxPen"))) {
5280 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxPen.");
5285 arg2
= wxThePenList
->FindOrCreatePen(temp
->GetColour(),
5292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5293 (arg1
)->SetPen(arg2
);
5295 wxPyEndAllowThreads(__tstate
);
5296 if (PyErr_Occurred()) SWIG_fail
;
5298 Py_INCREF(Py_None
); resultobj
= Py_None
;
5305 static PyObject
*_wrap_PyShape_SetBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5306 PyObject
*resultobj
;
5307 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5308 wxBrush
*arg2
= (wxBrush
*) 0 ;
5309 PyObject
* obj0
= 0 ;
5310 PyObject
* obj1
= 0 ;
5312 (char *) "self",(char *) "brush", NULL
5315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
5316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5321 if (obj1
== Py_None
) {
5324 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxBrush"))) {
5325 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxBrush.");
5330 arg2
= wxTheBrushList
->FindOrCreateBrush(temp
->GetColour(), temp
->GetStyle());
5335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5336 (arg1
)->SetBrush(arg2
);
5338 wxPyEndAllowThreads(__tstate
);
5339 if (PyErr_Occurred()) SWIG_fail
;
5341 Py_INCREF(Py_None
); resultobj
= Py_None
;
5348 static PyObject
*_wrap_PyShape_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5349 PyObject
*resultobj
;
5350 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5352 PyObject
* obj0
= 0 ;
5353 PyObject
* obj1
= 0 ;
5355 (char *) "self",(char *) "show", NULL
5358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
5359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5361 arg2
= (bool)SWIG_As_bool(obj1
);
5362 if (PyErr_Occurred()) SWIG_fail
;
5364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5367 wxPyEndAllowThreads(__tstate
);
5368 if (PyErr_Occurred()) SWIG_fail
;
5370 Py_INCREF(Py_None
); resultobj
= Py_None
;
5377 static PyObject
*_wrap_PyShape_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5378 PyObject
*resultobj
;
5379 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5381 PyObject
* obj0
= 0 ;
5383 (char *) "self", NULL
5386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_IsShown",kwnames
,&obj0
)) goto fail
;
5387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5391 result
= (bool)(arg1
)->IsShown();
5393 wxPyEndAllowThreads(__tstate
);
5394 if (PyErr_Occurred()) SWIG_fail
;
5397 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5405 static PyObject
*_wrap_PyShape_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5406 PyObject
*resultobj
;
5407 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5411 bool arg5
= (bool) True
;
5412 PyObject
* obj0
= 0 ;
5413 PyObject
* obj1
= 0 ;
5414 PyObject
* obj2
= 0 ;
5415 PyObject
* obj3
= 0 ;
5416 PyObject
* obj4
= 0 ;
5418 (char *) "self",(char *) "dc",(char *) "x1",(char *) "y1",(char *) "display", NULL
5421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PyShape_Move",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5424 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
5425 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5428 PyErr_SetString(PyExc_TypeError
,"null reference");
5431 arg3
= (double)SWIG_As_double(obj2
);
5432 if (PyErr_Occurred()) SWIG_fail
;
5433 arg4
= (double)SWIG_As_double(obj3
);
5434 if (PyErr_Occurred()) SWIG_fail
;
5436 arg5
= (bool)SWIG_As_bool(obj4
);
5437 if (PyErr_Occurred()) SWIG_fail
;
5440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5441 (arg1
)->Move(*arg2
,arg3
,arg4
,arg5
);
5443 wxPyEndAllowThreads(__tstate
);
5444 if (PyErr_Occurred()) SWIG_fail
;
5446 Py_INCREF(Py_None
); resultobj
= Py_None
;
5453 static PyObject
*_wrap_PyShape_Erase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5454 PyObject
*resultobj
;
5455 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5457 PyObject
* obj0
= 0 ;
5458 PyObject
* obj1
= 0 ;
5460 (char *) "self",(char *) "dc", NULL
5463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_Erase",kwnames
,&obj0
,&obj1
)) goto fail
;
5464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5466 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
5467 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5470 PyErr_SetString(PyExc_TypeError
,"null reference");
5474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5475 (arg1
)->Erase(*arg2
);
5477 wxPyEndAllowThreads(__tstate
);
5478 if (PyErr_Occurred()) SWIG_fail
;
5480 Py_INCREF(Py_None
); resultobj
= Py_None
;
5487 static PyObject
*_wrap_PyShape_EraseContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5488 PyObject
*resultobj
;
5489 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5491 PyObject
* obj0
= 0 ;
5492 PyObject
* obj1
= 0 ;
5494 (char *) "self",(char *) "dc", NULL
5497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_EraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
5498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5500 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
5501 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5504 PyErr_SetString(PyExc_TypeError
,"null reference");
5508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5509 (arg1
)->EraseContents(*arg2
);
5511 wxPyEndAllowThreads(__tstate
);
5512 if (PyErr_Occurred()) SWIG_fail
;
5514 Py_INCREF(Py_None
); resultobj
= Py_None
;
5521 static PyObject
*_wrap_PyShape_Draw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5522 PyObject
*resultobj
;
5523 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5525 PyObject
* obj0
= 0 ;
5526 PyObject
* obj1
= 0 ;
5528 (char *) "self",(char *) "dc", NULL
5531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_Draw",kwnames
,&obj0
,&obj1
)) goto fail
;
5532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5534 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
5535 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5538 PyErr_SetString(PyExc_TypeError
,"null reference");
5542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5543 (arg1
)->Draw(*arg2
);
5545 wxPyEndAllowThreads(__tstate
);
5546 if (PyErr_Occurred()) SWIG_fail
;
5548 Py_INCREF(Py_None
); resultobj
= Py_None
;
5555 static PyObject
*_wrap_PyShape_Flash(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5556 PyObject
*resultobj
;
5557 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5558 PyObject
* obj0
= 0 ;
5560 (char *) "self", NULL
5563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_Flash",kwnames
,&obj0
)) goto fail
;
5564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5570 wxPyEndAllowThreads(__tstate
);
5571 if (PyErr_Occurred()) SWIG_fail
;
5573 Py_INCREF(Py_None
); resultobj
= Py_None
;
5580 static PyObject
*_wrap_PyShape_MoveLinks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5581 PyObject
*resultobj
;
5582 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5584 PyObject
* obj0
= 0 ;
5585 PyObject
* obj1
= 0 ;
5587 (char *) "self",(char *) "dc", NULL
5590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_MoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
5591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5593 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
5594 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5597 PyErr_SetString(PyExc_TypeError
,"null reference");
5601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5602 (arg1
)->MoveLinks(*arg2
);
5604 wxPyEndAllowThreads(__tstate
);
5605 if (PyErr_Occurred()) SWIG_fail
;
5607 Py_INCREF(Py_None
); resultobj
= Py_None
;
5614 static PyObject
*_wrap_PyShape_DrawContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5615 PyObject
*resultobj
;
5616 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5618 PyObject
* obj0
= 0 ;
5619 PyObject
* obj1
= 0 ;
5621 (char *) "self",(char *) "dc", NULL
5624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_DrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
5625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5627 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
5628 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5631 PyErr_SetString(PyExc_TypeError
,"null reference");
5635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5636 (arg1
)->DrawContents(*arg2
);
5638 wxPyEndAllowThreads(__tstate
);
5639 if (PyErr_Occurred()) SWIG_fail
;
5641 Py_INCREF(Py_None
); resultobj
= Py_None
;
5648 static PyObject
*_wrap_PyShape_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5649 PyObject
*resultobj
;
5650 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5653 bool arg4
= (bool) True
;
5654 PyObject
* obj0
= 0 ;
5655 PyObject
* obj1
= 0 ;
5656 PyObject
* obj2
= 0 ;
5657 PyObject
* obj3
= 0 ;
5659 (char *) "self",(char *) "x",(char *) "y",(char *) "recursive", NULL
5662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyShape_SetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5665 arg2
= (double)SWIG_As_double(obj1
);
5666 if (PyErr_Occurred()) SWIG_fail
;
5667 arg3
= (double)SWIG_As_double(obj2
);
5668 if (PyErr_Occurred()) SWIG_fail
;
5670 arg4
= (bool)SWIG_As_bool(obj3
);
5671 if (PyErr_Occurred()) SWIG_fail
;
5674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5675 (arg1
)->SetSize(arg2
,arg3
,arg4
);
5677 wxPyEndAllowThreads(__tstate
);
5678 if (PyErr_Occurred()) SWIG_fail
;
5680 Py_INCREF(Py_None
); resultobj
= Py_None
;
5687 static PyObject
*_wrap_PyShape_SetAttachmentSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5688 PyObject
*resultobj
;
5689 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5692 PyObject
* obj0
= 0 ;
5693 PyObject
* obj1
= 0 ;
5694 PyObject
* obj2
= 0 ;
5696 (char *) "self",(char *) "x",(char *) "y", NULL
5699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShape_SetAttachmentSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5702 arg2
= (double)SWIG_As_double(obj1
);
5703 if (PyErr_Occurred()) SWIG_fail
;
5704 arg3
= (double)SWIG_As_double(obj2
);
5705 if (PyErr_Occurred()) SWIG_fail
;
5707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5708 (arg1
)->SetAttachmentSize(arg2
,arg3
);
5710 wxPyEndAllowThreads(__tstate
);
5711 if (PyErr_Occurred()) SWIG_fail
;
5713 Py_INCREF(Py_None
); resultobj
= Py_None
;
5720 static PyObject
*_wrap_PyShape_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5721 PyObject
*resultobj
;
5722 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5723 wxPyShapeCanvas
*arg2
= (wxPyShapeCanvas
*) 0 ;
5724 PyObject
* obj0
= 0 ;
5725 PyObject
* obj1
= 0 ;
5727 (char *) "self",(char *) "can", NULL
5730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
5731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5733 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShapeCanvas
,
5734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5737 (arg1
)->Attach(arg2
);
5739 wxPyEndAllowThreads(__tstate
);
5740 if (PyErr_Occurred()) SWIG_fail
;
5742 Py_INCREF(Py_None
); resultobj
= Py_None
;
5749 static PyObject
*_wrap_PyShape_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5750 PyObject
*resultobj
;
5751 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5752 PyObject
* obj0
= 0 ;
5754 (char *) "self", NULL
5757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_Detach",kwnames
,&obj0
)) goto fail
;
5758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5764 wxPyEndAllowThreads(__tstate
);
5765 if (PyErr_Occurred()) SWIG_fail
;
5767 Py_INCREF(Py_None
); resultobj
= Py_None
;
5774 static PyObject
*_wrap_PyShape_Constrain(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5775 PyObject
*resultobj
;
5776 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5778 PyObject
* obj0
= 0 ;
5780 (char *) "self", NULL
5783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_Constrain",kwnames
,&obj0
)) goto fail
;
5784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5788 result
= (bool)(arg1
)->Constrain();
5790 wxPyEndAllowThreads(__tstate
);
5791 if (PyErr_Occurred()) SWIG_fail
;
5794 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5802 static PyObject
*_wrap_PyShape_AddLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5803 PyObject
*resultobj
;
5804 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5805 wxPyLineShape
*arg2
= (wxPyLineShape
*) 0 ;
5806 wxPyShape
*arg3
= (wxPyShape
*) 0 ;
5807 int arg4
= (int) 0 ;
5808 int arg5
= (int) 0 ;
5809 int arg6
= (int) -1 ;
5810 int arg7
= (int) -1 ;
5811 PyObject
* obj0
= 0 ;
5812 PyObject
* obj1
= 0 ;
5813 PyObject
* obj2
= 0 ;
5814 PyObject
* obj3
= 0 ;
5815 PyObject
* obj4
= 0 ;
5816 PyObject
* obj5
= 0 ;
5817 PyObject
* obj6
= 0 ;
5819 (char *) "self",(char *) "line",(char *) "other",(char *) "attachFrom",(char *) "attachTo",(char *) "positionFrom",(char *) "positionTo", NULL
5822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:PyShape_AddLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5825 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyLineShape
,
5826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5827 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyShape
,
5828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5830 arg4
= (int)SWIG_As_int(obj3
);
5831 if (PyErr_Occurred()) SWIG_fail
;
5834 arg5
= (int)SWIG_As_int(obj4
);
5835 if (PyErr_Occurred()) SWIG_fail
;
5838 arg6
= (int)SWIG_As_int(obj5
);
5839 if (PyErr_Occurred()) SWIG_fail
;
5842 arg7
= (int)SWIG_As_int(obj6
);
5843 if (PyErr_Occurred()) SWIG_fail
;
5846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5847 (arg1
)->AddLine(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
5849 wxPyEndAllowThreads(__tstate
);
5850 if (PyErr_Occurred()) SWIG_fail
;
5852 Py_INCREF(Py_None
); resultobj
= Py_None
;
5859 static PyObject
*_wrap_PyShape_GetLinePosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5860 PyObject
*resultobj
;
5861 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5862 wxPyLineShape
*arg2
= (wxPyLineShape
*) 0 ;
5864 PyObject
* obj0
= 0 ;
5865 PyObject
* obj1
= 0 ;
5867 (char *) "self",(char *) "line", NULL
5870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_GetLinePosition",kwnames
,&obj0
,&obj1
)) goto fail
;
5871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5873 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyLineShape
,
5874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5877 result
= (int)(arg1
)->GetLinePosition(arg2
);
5879 wxPyEndAllowThreads(__tstate
);
5880 if (PyErr_Occurred()) SWIG_fail
;
5882 resultobj
= SWIG_From_int((int)result
);
5889 static PyObject
*_wrap_PyShape_AddText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5890 PyObject
*resultobj
;
5891 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5892 wxString
*arg2
= 0 ;
5893 bool temp2
= False
;
5894 PyObject
* obj0
= 0 ;
5895 PyObject
* obj1
= 0 ;
5897 (char *) "self",(char *) "string", NULL
5900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_AddText",kwnames
,&obj0
,&obj1
)) goto fail
;
5901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5904 arg2
= wxString_in_helper(obj1
);
5905 if (arg2
== NULL
) SWIG_fail
;
5909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5910 (arg1
)->AddText((wxString
const &)*arg2
);
5912 wxPyEndAllowThreads(__tstate
);
5913 if (PyErr_Occurred()) SWIG_fail
;
5915 Py_INCREF(Py_None
); resultobj
= Py_None
;
5930 static PyObject
*_wrap_PyShape_GetPen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5931 PyObject
*resultobj
;
5932 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5934 PyObject
* obj0
= 0 ;
5936 (char *) "self", NULL
5939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetPen",kwnames
,&obj0
)) goto fail
;
5940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5944 result
= (wxPen
*)(arg1
)->GetPen();
5946 wxPyEndAllowThreads(__tstate
);
5947 if (PyErr_Occurred()) SWIG_fail
;
5949 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 0);
5956 static PyObject
*_wrap_PyShape_GetBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5957 PyObject
*resultobj
;
5958 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5960 PyObject
* obj0
= 0 ;
5962 (char *) "self", NULL
5965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetBrush",kwnames
,&obj0
)) goto fail
;
5966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5970 result
= (wxBrush
*)(arg1
)->GetBrush();
5972 wxPyEndAllowThreads(__tstate
);
5973 if (PyErr_Occurred()) SWIG_fail
;
5975 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 0);
5982 static PyObject
*_wrap_PyShape_SetDefaultRegionSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5983 PyObject
*resultobj
;
5984 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5985 PyObject
* obj0
= 0 ;
5987 (char *) "self", NULL
5990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_SetDefaultRegionSize",kwnames
,&obj0
)) goto fail
;
5991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
5992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5995 (arg1
)->SetDefaultRegionSize();
5997 wxPyEndAllowThreads(__tstate
);
5998 if (PyErr_Occurred()) SWIG_fail
;
6000 Py_INCREF(Py_None
); resultobj
= Py_None
;
6007 static PyObject
*_wrap_PyShape_FormatText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6008 PyObject
*resultobj
;
6009 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6011 wxString
*arg3
= 0 ;
6012 int arg4
= (int) 0 ;
6013 bool temp3
= False
;
6014 PyObject
* obj0
= 0 ;
6015 PyObject
* obj1
= 0 ;
6016 PyObject
* obj2
= 0 ;
6017 PyObject
* obj3
= 0 ;
6019 (char *) "self",(char *) "dc",(char *) "s",(char *) "regionId", NULL
6022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyShape_FormatText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6025 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
6026 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6029 PyErr_SetString(PyExc_TypeError
,"null reference");
6033 arg3
= wxString_in_helper(obj2
);
6034 if (arg3
== NULL
) SWIG_fail
;
6038 arg4
= (int)SWIG_As_int(obj3
);
6039 if (PyErr_Occurred()) SWIG_fail
;
6042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6043 (arg1
)->FormatText(*arg2
,(wxString
const &)*arg3
,arg4
);
6045 wxPyEndAllowThreads(__tstate
);
6046 if (PyErr_Occurred()) SWIG_fail
;
6048 Py_INCREF(Py_None
); resultobj
= Py_None
;
6063 static PyObject
*_wrap_PyShape_SetFormatMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6064 PyObject
*resultobj
;
6065 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6067 int arg3
= (int) 0 ;
6068 PyObject
* obj0
= 0 ;
6069 PyObject
* obj1
= 0 ;
6070 PyObject
* obj2
= 0 ;
6072 (char *) "self",(char *) "mode",(char *) "regionId", NULL
6075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShape_SetFormatMode",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6078 arg2
= (int)SWIG_As_int(obj1
);
6079 if (PyErr_Occurred()) SWIG_fail
;
6081 arg3
= (int)SWIG_As_int(obj2
);
6082 if (PyErr_Occurred()) SWIG_fail
;
6085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6086 (arg1
)->SetFormatMode(arg2
,arg3
);
6088 wxPyEndAllowThreads(__tstate
);
6089 if (PyErr_Occurred()) SWIG_fail
;
6091 Py_INCREF(Py_None
); resultobj
= Py_None
;
6098 static PyObject
*_wrap_PyShape_GetFormatMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6099 PyObject
*resultobj
;
6100 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6101 int arg2
= (int) 0 ;
6103 PyObject
* obj0
= 0 ;
6104 PyObject
* obj1
= 0 ;
6106 (char *) "self",(char *) "regionId", NULL
6109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyShape_GetFormatMode",kwnames
,&obj0
,&obj1
)) goto fail
;
6110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6113 arg2
= (int)SWIG_As_int(obj1
);
6114 if (PyErr_Occurred()) SWIG_fail
;
6117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6118 result
= (int)(arg1
)->GetFormatMode(arg2
);
6120 wxPyEndAllowThreads(__tstate
);
6121 if (PyErr_Occurred()) SWIG_fail
;
6123 resultobj
= SWIG_From_int((int)result
);
6130 static PyObject
*_wrap_PyShape_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6131 PyObject
*resultobj
;
6132 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6133 wxFont
*arg2
= (wxFont
*) 0 ;
6134 int arg3
= (int) 0 ;
6135 PyObject
* obj0
= 0 ;
6136 PyObject
* obj1
= 0 ;
6137 PyObject
* obj2
= 0 ;
6139 (char *) "self",(char *) "font",(char *) "regionId", NULL
6142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShape_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6148 if (obj1
== Py_None
) {
6151 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxFont"))) {
6152 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxFont.");
6157 arg2
= wxTheFontList
->FindOrCreateFont(temp
->GetPointSize(),
6161 temp
->GetUnderlined(),
6162 temp
->GetFaceName(),
6163 temp
->GetEncoding());
6168 arg3
= (int)SWIG_As_int(obj2
);
6169 if (PyErr_Occurred()) SWIG_fail
;
6172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6173 (arg1
)->SetFont(arg2
,arg3
);
6175 wxPyEndAllowThreads(__tstate
);
6176 if (PyErr_Occurred()) SWIG_fail
;
6178 Py_INCREF(Py_None
); resultobj
= Py_None
;
6185 static PyObject
*_wrap_PyShape_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6186 PyObject
*resultobj
;
6187 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6188 int arg2
= (int) 0 ;
6190 PyObject
* obj0
= 0 ;
6191 PyObject
* obj1
= 0 ;
6193 (char *) "self",(char *) "regionId", NULL
6196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyShape_GetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
6197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6200 arg2
= (int)SWIG_As_int(obj1
);
6201 if (PyErr_Occurred()) SWIG_fail
;
6204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6205 result
= (wxFont
*)(arg1
)->GetFont(arg2
);
6207 wxPyEndAllowThreads(__tstate
);
6208 if (PyErr_Occurred()) SWIG_fail
;
6210 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
6217 static PyObject
*_wrap_PyShape_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6218 PyObject
*resultobj
;
6219 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6220 wxString
*arg2
= 0 ;
6221 int arg3
= (int) 0 ;
6222 bool temp2
= False
;
6223 PyObject
* obj0
= 0 ;
6224 PyObject
* obj1
= 0 ;
6225 PyObject
* obj2
= 0 ;
6227 (char *) "self",(char *) "colour",(char *) "regionId", NULL
6230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShape_SetTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6234 arg2
= wxString_in_helper(obj1
);
6235 if (arg2
== NULL
) SWIG_fail
;
6239 arg3
= (int)SWIG_As_int(obj2
);
6240 if (PyErr_Occurred()) SWIG_fail
;
6243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6244 (arg1
)->SetTextColour((wxString
const &)*arg2
,arg3
);
6246 wxPyEndAllowThreads(__tstate
);
6247 if (PyErr_Occurred()) SWIG_fail
;
6249 Py_INCREF(Py_None
); resultobj
= Py_None
;
6264 static PyObject
*_wrap_PyShape_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6265 PyObject
*resultobj
;
6266 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6267 int arg2
= (int) 0 ;
6269 PyObject
* obj0
= 0 ;
6270 PyObject
* obj1
= 0 ;
6272 (char *) "self",(char *) "regionId", NULL
6275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyShape_GetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
6276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6279 arg2
= (int)SWIG_As_int(obj1
);
6280 if (PyErr_Occurred()) SWIG_fail
;
6283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6284 result
= (arg1
)->GetTextColour(arg2
);
6286 wxPyEndAllowThreads(__tstate
);
6287 if (PyErr_Occurred()) SWIG_fail
;
6291 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6293 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6302 static PyObject
*_wrap_PyShape_GetNumberOfTextRegions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6303 PyObject
*resultobj
;
6304 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6306 PyObject
* obj0
= 0 ;
6308 (char *) "self", NULL
6311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetNumberOfTextRegions",kwnames
,&obj0
)) goto fail
;
6312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6316 result
= (int)(arg1
)->GetNumberOfTextRegions();
6318 wxPyEndAllowThreads(__tstate
);
6319 if (PyErr_Occurred()) SWIG_fail
;
6321 resultobj
= SWIG_From_int((int)result
);
6328 static PyObject
*_wrap_PyShape_SetRegionName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6329 PyObject
*resultobj
;
6330 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6331 wxString
*arg2
= 0 ;
6332 int arg3
= (int) 0 ;
6333 bool temp2
= False
;
6334 PyObject
* obj0
= 0 ;
6335 PyObject
* obj1
= 0 ;
6336 PyObject
* obj2
= 0 ;
6338 (char *) "self",(char *) "name",(char *) "regionId", NULL
6341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShape_SetRegionName",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6345 arg2
= wxString_in_helper(obj1
);
6346 if (arg2
== NULL
) SWIG_fail
;
6350 arg3
= (int)SWIG_As_int(obj2
);
6351 if (PyErr_Occurred()) SWIG_fail
;
6354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6355 (arg1
)->SetRegionName((wxString
const &)*arg2
,arg3
);
6357 wxPyEndAllowThreads(__tstate
);
6358 if (PyErr_Occurred()) SWIG_fail
;
6360 Py_INCREF(Py_None
); resultobj
= Py_None
;
6375 static PyObject
*_wrap_PyShape_GetRegionName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6376 PyObject
*resultobj
;
6377 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6380 PyObject
* obj0
= 0 ;
6381 PyObject
* obj1
= 0 ;
6383 (char *) "self",(char *) "regionId", NULL
6386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_GetRegionName",kwnames
,&obj0
,&obj1
)) goto fail
;
6387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6389 arg2
= (int)SWIG_As_int(obj1
);
6390 if (PyErr_Occurred()) SWIG_fail
;
6392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6393 result
= (arg1
)->GetRegionName(arg2
);
6395 wxPyEndAllowThreads(__tstate
);
6396 if (PyErr_Occurred()) SWIG_fail
;
6400 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6402 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6411 static PyObject
*_wrap_PyShape_GetRegionId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6412 PyObject
*resultobj
;
6413 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6414 wxString
*arg2
= 0 ;
6416 bool temp2
= False
;
6417 PyObject
* obj0
= 0 ;
6418 PyObject
* obj1
= 0 ;
6420 (char *) "self",(char *) "name", NULL
6423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_GetRegionId",kwnames
,&obj0
,&obj1
)) goto fail
;
6424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6427 arg2
= wxString_in_helper(obj1
);
6428 if (arg2
== NULL
) SWIG_fail
;
6432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6433 result
= (int)(arg1
)->GetRegionId((wxString
const &)*arg2
);
6435 wxPyEndAllowThreads(__tstate
);
6436 if (PyErr_Occurred()) SWIG_fail
;
6438 resultobj
= SWIG_From_int((int)result
);
6453 static PyObject
*_wrap_PyShape_NameRegions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6454 PyObject
*resultobj
;
6455 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6456 wxString
const &arg2_defvalue
= wxPyEmptyString
;
6457 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
6458 bool temp2
= False
;
6459 PyObject
* obj0
= 0 ;
6460 PyObject
* obj1
= 0 ;
6462 (char *) "self",(char *) "parentName", NULL
6465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyShape_NameRegions",kwnames
,&obj0
,&obj1
)) goto fail
;
6466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6470 arg2
= wxString_in_helper(obj1
);
6471 if (arg2
== NULL
) SWIG_fail
;
6476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6477 (arg1
)->NameRegions((wxString
const &)*arg2
);
6479 wxPyEndAllowThreads(__tstate
);
6480 if (PyErr_Occurred()) SWIG_fail
;
6482 Py_INCREF(Py_None
); resultobj
= Py_None
;
6497 static PyObject
*_wrap_PyShape_GetRegions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6498 PyObject
*resultobj
;
6499 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6501 PyObject
* obj0
= 0 ;
6503 (char *) "self", NULL
6506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetRegions",kwnames
,&obj0
)) goto fail
;
6507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6511 result
= (PyObject
*)wxPyShape_GetRegions(arg1
);
6513 wxPyEndAllowThreads(__tstate
);
6514 if (PyErr_Occurred()) SWIG_fail
;
6523 static PyObject
*_wrap_PyShape_AddRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6524 PyObject
*resultobj
;
6525 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6526 wxShapeRegion
*arg2
= (wxShapeRegion
*) 0 ;
6527 PyObject
* obj0
= 0 ;
6528 PyObject
* obj1
= 0 ;
6530 (char *) "self",(char *) "region", NULL
6533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_AddRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
6534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6536 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxShapeRegion
,
6537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6540 (arg1
)->AddRegion(arg2
);
6542 wxPyEndAllowThreads(__tstate
);
6543 if (PyErr_Occurred()) SWIG_fail
;
6545 Py_INCREF(Py_None
); resultobj
= Py_None
;
6552 static PyObject
*_wrap_PyShape_ClearRegions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6553 PyObject
*resultobj
;
6554 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6555 PyObject
* obj0
= 0 ;
6557 (char *) "self", NULL
6560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_ClearRegions",kwnames
,&obj0
)) goto fail
;
6561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6565 (arg1
)->ClearRegions();
6567 wxPyEndAllowThreads(__tstate
);
6568 if (PyErr_Occurred()) SWIG_fail
;
6570 Py_INCREF(Py_None
); resultobj
= Py_None
;
6577 static PyObject
*_wrap_PyShape_AssignNewIds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6578 PyObject
*resultobj
;
6579 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6580 PyObject
* obj0
= 0 ;
6582 (char *) "self", NULL
6585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_AssignNewIds",kwnames
,&obj0
)) goto fail
;
6586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6590 (arg1
)->AssignNewIds();
6592 wxPyEndAllowThreads(__tstate
);
6593 if (PyErr_Occurred()) SWIG_fail
;
6595 Py_INCREF(Py_None
); resultobj
= Py_None
;
6602 static PyObject
*_wrap_PyShape_FindRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6603 PyObject
*resultobj
;
6604 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6605 wxString
*arg2
= 0 ;
6606 int *arg3
= (int *) 0 ;
6608 bool temp2
= False
;
6611 PyObject
* obj0
= 0 ;
6612 PyObject
* obj1
= 0 ;
6614 (char *) "self",(char *) "regionName", NULL
6617 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
6618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_FindRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
6619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6622 arg2
= wxString_in_helper(obj1
);
6623 if (arg2
== NULL
) SWIG_fail
;
6627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6628 result
= (wxPyShape
*)(arg1
)->FindRegion((wxString
const &)*arg2
,arg3
);
6630 wxPyEndAllowThreads(__tstate
);
6631 if (PyErr_Occurred()) SWIG_fail
;
6634 resultobj
= wxPyMake_wxShapeEvtHandler(result
, 0);
6636 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
6637 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
6652 static PyObject
*_wrap_PyShape_FindRegionNames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6653 PyObject
*resultobj
;
6654 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6655 wxStringList
*arg2
= 0 ;
6656 PyObject
* obj0
= 0 ;
6657 PyObject
* obj1
= 0 ;
6659 (char *) "self",(char *) "list", NULL
6662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_FindRegionNames",kwnames
,&obj0
,&obj1
)) goto fail
;
6663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6665 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxStringList
,
6666 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6669 PyErr_SetString(PyExc_TypeError
,"null reference");
6673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6674 (arg1
)->FindRegionNames(*arg2
);
6676 wxPyEndAllowThreads(__tstate
);
6677 if (PyErr_Occurred()) SWIG_fail
;
6679 Py_INCREF(Py_None
); resultobj
= Py_None
;
6686 static PyObject
*_wrap_PyShape_ClearText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6687 PyObject
*resultobj
;
6688 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6689 int arg2
= (int) 0 ;
6690 PyObject
* obj0
= 0 ;
6691 PyObject
* obj1
= 0 ;
6693 (char *) "self",(char *) "regionId", NULL
6696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyShape_ClearText",kwnames
,&obj0
,&obj1
)) goto fail
;
6697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6700 arg2
= (int)SWIG_As_int(obj1
);
6701 if (PyErr_Occurred()) SWIG_fail
;
6704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6705 (arg1
)->ClearText(arg2
);
6707 wxPyEndAllowThreads(__tstate
);
6708 if (PyErr_Occurred()) SWIG_fail
;
6710 Py_INCREF(Py_None
); resultobj
= Py_None
;
6717 static PyObject
*_wrap_PyShape_RemoveLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6718 PyObject
*resultobj
;
6719 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6720 wxPyLineShape
*arg2
= (wxPyLineShape
*) 0 ;
6721 PyObject
* obj0
= 0 ;
6722 PyObject
* obj1
= 0 ;
6724 (char *) "self",(char *) "line", NULL
6727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_RemoveLine",kwnames
,&obj0
,&obj1
)) goto fail
;
6728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6730 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyLineShape
,
6731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6734 (arg1
)->RemoveLine(arg2
);
6736 wxPyEndAllowThreads(__tstate
);
6737 if (PyErr_Occurred()) SWIG_fail
;
6739 Py_INCREF(Py_None
); resultobj
= Py_None
;
6746 static PyObject
*_wrap_PyShape_GetAttachmentPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6747 PyObject
*resultobj
;
6748 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6750 double *arg3
= (double *) 0 ;
6751 double *arg4
= (double *) 0 ;
6752 int arg5
= (int) 0 ;
6753 int arg6
= (int) 1 ;
6754 wxPyLineShape
*arg7
= (wxPyLineShape
*) NULL
;
6760 PyObject
* obj0
= 0 ;
6761 PyObject
* obj1
= 0 ;
6762 PyObject
* obj2
= 0 ;
6763 PyObject
* obj3
= 0 ;
6764 PyObject
* obj4
= 0 ;
6766 (char *) "self",(char *) "attachment",(char *) "nth",(char *) "no_arcs",(char *) "line", NULL
6769 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
6770 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
6771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:PyShape_GetAttachmentPosition",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6774 arg2
= (int)SWIG_As_int(obj1
);
6775 if (PyErr_Occurred()) SWIG_fail
;
6777 arg5
= (int)SWIG_As_int(obj2
);
6778 if (PyErr_Occurred()) SWIG_fail
;
6781 arg6
= (int)SWIG_As_int(obj3
);
6782 if (PyErr_Occurred()) SWIG_fail
;
6785 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg7
),SWIGTYPE_p_wxPyLineShape
,
6786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6790 result
= (bool)(arg1
)->GetAttachmentPosition(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
6792 wxPyEndAllowThreads(__tstate
);
6793 if (PyErr_Occurred()) SWIG_fail
;
6796 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6798 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
6799 SWIG_From_double((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, 0)));
6800 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
6801 SWIG_From_double((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_double
, 0)));
6808 static PyObject
*_wrap_PyShape_GetNumberOfAttachments(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6809 PyObject
*resultobj
;
6810 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6812 PyObject
* obj0
= 0 ;
6814 (char *) "self", NULL
6817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetNumberOfAttachments",kwnames
,&obj0
)) goto fail
;
6818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6822 result
= (int)(arg1
)->GetNumberOfAttachments();
6824 wxPyEndAllowThreads(__tstate
);
6825 if (PyErr_Occurred()) SWIG_fail
;
6827 resultobj
= SWIG_From_int((int)result
);
6834 static PyObject
*_wrap_PyShape_AttachmentIsValid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6835 PyObject
*resultobj
;
6836 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6839 PyObject
* obj0
= 0 ;
6840 PyObject
* obj1
= 0 ;
6842 (char *) "self",(char *) "attachment", NULL
6845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_AttachmentIsValid",kwnames
,&obj0
,&obj1
)) goto fail
;
6846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6848 arg2
= (int)SWIG_As_int(obj1
);
6849 if (PyErr_Occurred()) SWIG_fail
;
6851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6852 result
= (bool)(arg1
)->AttachmentIsValid(arg2
);
6854 wxPyEndAllowThreads(__tstate
);
6855 if (PyErr_Occurred()) SWIG_fail
;
6858 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6866 static PyObject
*_wrap_PyShape_GetAttachments(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6867 PyObject
*resultobj
;
6868 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6870 PyObject
* obj0
= 0 ;
6872 (char *) "self", NULL
6875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetAttachments",kwnames
,&obj0
)) goto fail
;
6876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6880 result
= (PyObject
*)wxPyShape_GetAttachments(arg1
);
6882 wxPyEndAllowThreads(__tstate
);
6883 if (PyErr_Occurred()) SWIG_fail
;
6892 static PyObject
*_wrap_PyShape_GetAttachmentPositionEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6893 PyObject
*resultobj
;
6894 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6896 double *arg3
= (double *) 0 ;
6897 double *arg4
= (double *) 0 ;
6898 int arg5
= (int) 0 ;
6899 int arg6
= (int) 1 ;
6900 wxPyLineShape
*arg7
= (wxPyLineShape
*) NULL
;
6906 PyObject
* obj0
= 0 ;
6907 PyObject
* obj1
= 0 ;
6908 PyObject
* obj2
= 0 ;
6909 PyObject
* obj3
= 0 ;
6910 PyObject
* obj4
= 0 ;
6912 (char *) "self",(char *) "attachment",(char *) "nth",(char *) "no_arcs",(char *) "line", NULL
6915 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
6916 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
6917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:PyShape_GetAttachmentPositionEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6920 arg2
= (int)SWIG_As_int(obj1
);
6921 if (PyErr_Occurred()) SWIG_fail
;
6923 arg5
= (int)SWIG_As_int(obj2
);
6924 if (PyErr_Occurred()) SWIG_fail
;
6927 arg6
= (int)SWIG_As_int(obj3
);
6928 if (PyErr_Occurred()) SWIG_fail
;
6931 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg7
),SWIGTYPE_p_wxPyLineShape
,
6932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6936 result
= (bool)(arg1
)->GetAttachmentPositionEdge(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
6938 wxPyEndAllowThreads(__tstate
);
6939 if (PyErr_Occurred()) SWIG_fail
;
6942 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6944 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
6945 SWIG_From_double((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, 0)));
6946 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
6947 SWIG_From_double((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_double
, 0)));
6954 static PyObject
*_wrap_PyShape_CalcSimpleAttachment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6955 PyObject
*resultobj
;
6956 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6957 wxRealPoint
*arg2
= 0 ;
6958 wxRealPoint
*arg3
= 0 ;
6961 wxPyLineShape
*arg6
= (wxPyLineShape
*) 0 ;
6965 PyObject
* obj0
= 0 ;
6966 PyObject
* obj1
= 0 ;
6967 PyObject
* obj2
= 0 ;
6968 PyObject
* obj3
= 0 ;
6969 PyObject
* obj4
= 0 ;
6970 PyObject
* obj5
= 0 ;
6972 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "nth",(char *) "noArcs",(char *) "line", NULL
6975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyShape_CalcSimpleAttachment",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
6976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
6977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6980 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6984 if ( ! wxRealPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6986 arg4
= (int)SWIG_As_int(obj3
);
6987 if (PyErr_Occurred()) SWIG_fail
;
6988 arg5
= (int)SWIG_As_int(obj4
);
6989 if (PyErr_Occurred()) SWIG_fail
;
6990 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxPyLineShape
,
6991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6994 result
= (arg1
)->CalcSimpleAttachment((wxRealPoint
const &)*arg2
,(wxRealPoint
const &)*arg3
,arg4
,arg5
,arg6
);
6996 wxPyEndAllowThreads(__tstate
);
6997 if (PyErr_Occurred()) SWIG_fail
;
7000 wxRealPoint
* resultptr
;
7001 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
7002 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
7010 static PyObject
*_wrap_PyShape_AttachmentSortTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7011 PyObject
*resultobj
;
7012 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7014 wxRealPoint
*arg3
= 0 ;
7015 wxRealPoint
*arg4
= 0 ;
7019 PyObject
* obj0
= 0 ;
7020 PyObject
* obj1
= 0 ;
7021 PyObject
* obj2
= 0 ;
7022 PyObject
* obj3
= 0 ;
7024 (char *) "self",(char *) "attachmentPoint",(char *) "pt1",(char *) "pt2", NULL
7027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyShape_AttachmentSortTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7030 arg2
= (int)SWIG_As_int(obj1
);
7031 if (PyErr_Occurred()) SWIG_fail
;
7034 if ( ! wxRealPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7038 if ( ! wxRealPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7042 result
= (bool)(arg1
)->AttachmentSortTest(arg2
,(wxRealPoint
const &)*arg3
,(wxRealPoint
const &)*arg4
);
7044 wxPyEndAllowThreads(__tstate
);
7045 if (PyErr_Occurred()) SWIG_fail
;
7048 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7056 static PyObject
*_wrap_PyShape_EraseLinks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7057 PyObject
*resultobj
;
7058 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7060 int arg3
= (int) -1 ;
7061 bool arg4
= (bool) False
;
7062 PyObject
* obj0
= 0 ;
7063 PyObject
* obj1
= 0 ;
7064 PyObject
* obj2
= 0 ;
7065 PyObject
* obj3
= 0 ;
7067 (char *) "self",(char *) "dc",(char *) "attachment",(char *) "recurse", NULL
7070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:PyShape_EraseLinks",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7073 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
7074 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7077 PyErr_SetString(PyExc_TypeError
,"null reference");
7081 arg3
= (int)SWIG_As_int(obj2
);
7082 if (PyErr_Occurred()) SWIG_fail
;
7085 arg4
= (bool)SWIG_As_bool(obj3
);
7086 if (PyErr_Occurred()) SWIG_fail
;
7089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7090 (arg1
)->EraseLinks(*arg2
,arg3
,arg4
);
7092 wxPyEndAllowThreads(__tstate
);
7093 if (PyErr_Occurred()) SWIG_fail
;
7095 Py_INCREF(Py_None
); resultobj
= Py_None
;
7102 static PyObject
*_wrap_PyShape_DrawLinks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7103 PyObject
*resultobj
;
7104 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7106 int arg3
= (int) -1 ;
7107 bool arg4
= (bool) False
;
7108 PyObject
* obj0
= 0 ;
7109 PyObject
* obj1
= 0 ;
7110 PyObject
* obj2
= 0 ;
7111 PyObject
* obj3
= 0 ;
7113 (char *) "self",(char *) "dc",(char *) "attachment",(char *) "recurse", NULL
7116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:PyShape_DrawLinks",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7119 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
7120 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7123 PyErr_SetString(PyExc_TypeError
,"null reference");
7127 arg3
= (int)SWIG_As_int(obj2
);
7128 if (PyErr_Occurred()) SWIG_fail
;
7131 arg4
= (bool)SWIG_As_bool(obj3
);
7132 if (PyErr_Occurred()) SWIG_fail
;
7135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7136 (arg1
)->DrawLinks(*arg2
,arg3
,arg4
);
7138 wxPyEndAllowThreads(__tstate
);
7139 if (PyErr_Occurred()) SWIG_fail
;
7141 Py_INCREF(Py_None
); resultobj
= Py_None
;
7148 static PyObject
*_wrap_PyShape_MoveLineToNewAttachment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7149 PyObject
*resultobj
;
7150 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7152 wxPyLineShape
*arg3
= (wxPyLineShape
*) 0 ;
7156 PyObject
* obj0
= 0 ;
7157 PyObject
* obj1
= 0 ;
7158 PyObject
* obj2
= 0 ;
7159 PyObject
* obj3
= 0 ;
7160 PyObject
* obj4
= 0 ;
7162 (char *) "self",(char *) "dc",(char *) "to_move",(char *) "x",(char *) "y", NULL
7165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyShape_MoveLineToNewAttachment",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
7166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7168 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
7169 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7172 PyErr_SetString(PyExc_TypeError
,"null reference");
7175 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyLineShape
,
7176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7177 arg4
= (double)SWIG_As_double(obj3
);
7178 if (PyErr_Occurred()) SWIG_fail
;
7179 arg5
= (double)SWIG_As_double(obj4
);
7180 if (PyErr_Occurred()) SWIG_fail
;
7182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7183 result
= (bool)(arg1
)->MoveLineToNewAttachment(*arg2
,arg3
,arg4
,arg5
);
7185 wxPyEndAllowThreads(__tstate
);
7186 if (PyErr_Occurred()) SWIG_fail
;
7189 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7197 static PyObject
*_wrap_PyShape_ApplyAttachmentOrdering(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7198 PyObject
*resultobj
;
7199 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7200 PyObject
*arg2
= (PyObject
*) 0 ;
7201 PyObject
* obj0
= 0 ;
7202 PyObject
* obj1
= 0 ;
7204 (char *) "self",(char *) "linesToSort", NULL
7207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_ApplyAttachmentOrdering",kwnames
,&obj0
,&obj1
)) goto fail
;
7208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7213 wxPyShape_ApplyAttachmentOrdering(arg1
,arg2
);
7215 wxPyEndAllowThreads(__tstate
);
7216 if (PyErr_Occurred()) SWIG_fail
;
7218 Py_INCREF(Py_None
); resultobj
= Py_None
;
7225 static PyObject
*_wrap_PyShape_GetBranchingAttachmentRoot(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7226 PyObject
*resultobj
;
7227 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7230 PyObject
* obj0
= 0 ;
7231 PyObject
* obj1
= 0 ;
7233 (char *) "self",(char *) "attachment", NULL
7236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_GetBranchingAttachmentRoot",kwnames
,&obj0
,&obj1
)) goto fail
;
7237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7239 arg2
= (int)SWIG_As_int(obj1
);
7240 if (PyErr_Occurred()) SWIG_fail
;
7242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7243 result
= (arg1
)->GetBranchingAttachmentRoot(arg2
);
7245 wxPyEndAllowThreads(__tstate
);
7246 if (PyErr_Occurred()) SWIG_fail
;
7249 wxRealPoint
* resultptr
;
7250 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
7251 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
7259 static PyObject
*_wrap_PyShape_GetBranchingAttachmentInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7260 PyObject
*resultobj
;
7261 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7263 wxRealPoint
*arg3
= 0 ;
7264 wxRealPoint
*arg4
= 0 ;
7265 wxRealPoint
*arg5
= 0 ;
7266 wxRealPoint
*arg6
= 0 ;
7272 PyObject
* obj0
= 0 ;
7273 PyObject
* obj1
= 0 ;
7274 PyObject
* obj2
= 0 ;
7275 PyObject
* obj3
= 0 ;
7276 PyObject
* obj4
= 0 ;
7277 PyObject
* obj5
= 0 ;
7279 (char *) "self",(char *) "attachment",(char *) "root",(char *) "neck",(char *) "shoulder1",(char *) "shoulder2", NULL
7282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyShape_GetBranchingAttachmentInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
7283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7285 arg2
= (int)SWIG_As_int(obj1
);
7286 if (PyErr_Occurred()) SWIG_fail
;
7289 if ( ! wxRealPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7293 if ( ! wxRealPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7297 if ( ! wxRealPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7301 if ( ! wxRealPoint_helper(obj5
, &arg6
)) SWIG_fail
;
7304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7305 result
= (bool)(arg1
)->GetBranchingAttachmentInfo(arg2
,*arg3
,*arg4
,*arg5
,*arg6
);
7307 wxPyEndAllowThreads(__tstate
);
7308 if (PyErr_Occurred()) SWIG_fail
;
7311 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7319 static PyObject
*_wrap_PyShape_GetBranchingAttachmentPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7320 PyObject
*resultobj
;
7321 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7324 wxRealPoint
*arg4
= 0 ;
7325 wxRealPoint
*arg5
= 0 ;
7329 PyObject
* obj0
= 0 ;
7330 PyObject
* obj1
= 0 ;
7331 PyObject
* obj2
= 0 ;
7332 PyObject
* obj3
= 0 ;
7333 PyObject
* obj4
= 0 ;
7335 (char *) "self",(char *) "attachment",(char *) "n",(char *) "attachmentPoint",(char *) "stemPoint", NULL
7338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyShape_GetBranchingAttachmentPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
7339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7341 arg2
= (int)SWIG_As_int(obj1
);
7342 if (PyErr_Occurred()) SWIG_fail
;
7343 arg3
= (int)SWIG_As_int(obj2
);
7344 if (PyErr_Occurred()) SWIG_fail
;
7347 if ( ! wxRealPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7351 if ( ! wxRealPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7355 result
= (bool)(arg1
)->GetBranchingAttachmentPoint(arg2
,arg3
,*arg4
,*arg5
);
7357 wxPyEndAllowThreads(__tstate
);
7358 if (PyErr_Occurred()) SWIG_fail
;
7361 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7369 static PyObject
*_wrap_PyShape_GetAttachmentLineCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7370 PyObject
*resultobj
;
7371 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7374 PyObject
* obj0
= 0 ;
7375 PyObject
* obj1
= 0 ;
7377 (char *) "self",(char *) "attachment", NULL
7380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_GetAttachmentLineCount",kwnames
,&obj0
,&obj1
)) goto fail
;
7381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7383 arg2
= (int)SWIG_As_int(obj1
);
7384 if (PyErr_Occurred()) SWIG_fail
;
7386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7387 result
= (int)(arg1
)->GetAttachmentLineCount(arg2
);
7389 wxPyEndAllowThreads(__tstate
);
7390 if (PyErr_Occurred()) SWIG_fail
;
7392 resultobj
= SWIG_From_int((int)result
);
7399 static PyObject
*_wrap_PyShape_SetBranchNeckLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7400 PyObject
*resultobj
;
7401 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7403 PyObject
* obj0
= 0 ;
7404 PyObject
* obj1
= 0 ;
7406 (char *) "self",(char *) "len", NULL
7409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetBranchNeckLength",kwnames
,&obj0
,&obj1
)) goto fail
;
7410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7412 arg2
= (int)SWIG_As_int(obj1
);
7413 if (PyErr_Occurred()) SWIG_fail
;
7415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7416 (arg1
)->SetBranchNeckLength(arg2
);
7418 wxPyEndAllowThreads(__tstate
);
7419 if (PyErr_Occurred()) SWIG_fail
;
7421 Py_INCREF(Py_None
); resultobj
= Py_None
;
7428 static PyObject
*_wrap_PyShape_GetBranchNeckLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7429 PyObject
*resultobj
;
7430 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7432 PyObject
* obj0
= 0 ;
7434 (char *) "self", NULL
7437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetBranchNeckLength",kwnames
,&obj0
)) goto fail
;
7438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7442 result
= (int)(arg1
)->GetBranchNeckLength();
7444 wxPyEndAllowThreads(__tstate
);
7445 if (PyErr_Occurred()) SWIG_fail
;
7447 resultobj
= SWIG_From_int((int)result
);
7454 static PyObject
*_wrap_PyShape_SetBranchStemLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7455 PyObject
*resultobj
;
7456 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7458 PyObject
* obj0
= 0 ;
7459 PyObject
* obj1
= 0 ;
7461 (char *) "self",(char *) "len", NULL
7464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetBranchStemLength",kwnames
,&obj0
,&obj1
)) goto fail
;
7465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7467 arg2
= (int)SWIG_As_int(obj1
);
7468 if (PyErr_Occurred()) SWIG_fail
;
7470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7471 (arg1
)->SetBranchStemLength(arg2
);
7473 wxPyEndAllowThreads(__tstate
);
7474 if (PyErr_Occurred()) SWIG_fail
;
7476 Py_INCREF(Py_None
); resultobj
= Py_None
;
7483 static PyObject
*_wrap_PyShape_GetBranchStemLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7484 PyObject
*resultobj
;
7485 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7487 PyObject
* obj0
= 0 ;
7489 (char *) "self", NULL
7492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetBranchStemLength",kwnames
,&obj0
)) goto fail
;
7493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7497 result
= (int)(arg1
)->GetBranchStemLength();
7499 wxPyEndAllowThreads(__tstate
);
7500 if (PyErr_Occurred()) SWIG_fail
;
7502 resultobj
= SWIG_From_int((int)result
);
7509 static PyObject
*_wrap_PyShape_SetBranchSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7510 PyObject
*resultobj
;
7511 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7513 PyObject
* obj0
= 0 ;
7514 PyObject
* obj1
= 0 ;
7516 (char *) "self",(char *) "len", NULL
7519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetBranchSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
7520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7522 arg2
= (int)SWIG_As_int(obj1
);
7523 if (PyErr_Occurred()) SWIG_fail
;
7525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7526 (arg1
)->SetBranchSpacing(arg2
);
7528 wxPyEndAllowThreads(__tstate
);
7529 if (PyErr_Occurred()) SWIG_fail
;
7531 Py_INCREF(Py_None
); resultobj
= Py_None
;
7538 static PyObject
*_wrap_PyShape_GetBranchSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7539 PyObject
*resultobj
;
7540 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7542 PyObject
* obj0
= 0 ;
7544 (char *) "self", NULL
7547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetBranchSpacing",kwnames
,&obj0
)) goto fail
;
7548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7552 result
= (int)(arg1
)->GetBranchSpacing();
7554 wxPyEndAllowThreads(__tstate
);
7555 if (PyErr_Occurred()) SWIG_fail
;
7557 resultobj
= SWIG_From_int((int)result
);
7564 static PyObject
*_wrap_PyShape_SetBranchStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7565 PyObject
*resultobj
;
7566 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7568 PyObject
* obj0
= 0 ;
7569 PyObject
* obj1
= 0 ;
7571 (char *) "self",(char *) "style", NULL
7574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetBranchStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
7575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7577 arg2
= (long)SWIG_As_long(obj1
);
7578 if (PyErr_Occurred()) SWIG_fail
;
7580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7581 (arg1
)->SetBranchStyle(arg2
);
7583 wxPyEndAllowThreads(__tstate
);
7584 if (PyErr_Occurred()) SWIG_fail
;
7586 Py_INCREF(Py_None
); resultobj
= Py_None
;
7593 static PyObject
*_wrap_PyShape_GetBranchStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7594 PyObject
*resultobj
;
7595 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7597 PyObject
* obj0
= 0 ;
7599 (char *) "self", NULL
7602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetBranchStyle",kwnames
,&obj0
)) goto fail
;
7603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7607 result
= (long)(arg1
)->GetBranchStyle();
7609 wxPyEndAllowThreads(__tstate
);
7610 if (PyErr_Occurred()) SWIG_fail
;
7612 resultobj
= SWIG_From_long((long)result
);
7619 static PyObject
*_wrap_PyShape_PhysicalToLogicalAttachment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7620 PyObject
*resultobj
;
7621 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7624 PyObject
* obj0
= 0 ;
7625 PyObject
* obj1
= 0 ;
7627 (char *) "self",(char *) "physicalAttachment", NULL
7630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_PhysicalToLogicalAttachment",kwnames
,&obj0
,&obj1
)) goto fail
;
7631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7633 arg2
= (int)SWIG_As_int(obj1
);
7634 if (PyErr_Occurred()) SWIG_fail
;
7636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7637 result
= (int)(arg1
)->PhysicalToLogicalAttachment(arg2
);
7639 wxPyEndAllowThreads(__tstate
);
7640 if (PyErr_Occurred()) SWIG_fail
;
7642 resultobj
= SWIG_From_int((int)result
);
7649 static PyObject
*_wrap_PyShape_LogicalToPhysicalAttachment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7650 PyObject
*resultobj
;
7651 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7654 PyObject
* obj0
= 0 ;
7655 PyObject
* obj1
= 0 ;
7657 (char *) "self",(char *) "logicalAttachment", NULL
7660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_LogicalToPhysicalAttachment",kwnames
,&obj0
,&obj1
)) goto fail
;
7661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7663 arg2
= (int)SWIG_As_int(obj1
);
7664 if (PyErr_Occurred()) SWIG_fail
;
7666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7667 result
= (int)(arg1
)->LogicalToPhysicalAttachment(arg2
);
7669 wxPyEndAllowThreads(__tstate
);
7670 if (PyErr_Occurred()) SWIG_fail
;
7672 resultobj
= SWIG_From_int((int)result
);
7679 static PyObject
*_wrap_PyShape_Draggable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7680 PyObject
*resultobj
;
7681 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7683 PyObject
* obj0
= 0 ;
7685 (char *) "self", NULL
7688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_Draggable",kwnames
,&obj0
)) goto fail
;
7689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7693 result
= (bool)(arg1
)->Draggable();
7695 wxPyEndAllowThreads(__tstate
);
7696 if (PyErr_Occurred()) SWIG_fail
;
7699 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7707 static PyObject
*_wrap_PyShape_HasDescendant(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7708 PyObject
*resultobj
;
7709 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7710 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
7712 PyObject
* obj0
= 0 ;
7713 PyObject
* obj1
= 0 ;
7715 (char *) "self",(char *) "image", NULL
7718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_HasDescendant",kwnames
,&obj0
,&obj1
)) goto fail
;
7719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7721 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
7722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7725 result
= (bool)(arg1
)->HasDescendant(arg2
);
7727 wxPyEndAllowThreads(__tstate
);
7728 if (PyErr_Occurred()) SWIG_fail
;
7731 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7739 static PyObject
*_wrap_PyShape_CreateNewCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7740 PyObject
*resultobj
;
7741 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7742 bool arg2
= (bool) True
;
7743 bool arg3
= (bool) True
;
7745 PyObject
* obj0
= 0 ;
7746 PyObject
* obj1
= 0 ;
7747 PyObject
* obj2
= 0 ;
7749 (char *) "self",(char *) "resetMapping",(char *) "recompute", NULL
7752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyShape_CreateNewCopy",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7756 arg2
= (bool)SWIG_As_bool(obj1
);
7757 if (PyErr_Occurred()) SWIG_fail
;
7760 arg3
= (bool)SWIG_As_bool(obj2
);
7761 if (PyErr_Occurred()) SWIG_fail
;
7764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7765 result
= (wxPyShape
*)(arg1
)->CreateNewCopy(arg2
,arg3
);
7767 wxPyEndAllowThreads(__tstate
);
7768 if (PyErr_Occurred()) SWIG_fail
;
7771 resultobj
= wxPyMake_wxShapeEvtHandler(result
, 0);
7779 static PyObject
*_wrap_PyShape_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7780 PyObject
*resultobj
;
7781 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7782 wxPyShape
*arg2
= 0 ;
7783 PyObject
* obj0
= 0 ;
7784 PyObject
* obj1
= 0 ;
7786 (char *) "self",(char *) "copy", NULL
7789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_Copy",kwnames
,&obj0
,&obj1
)) goto fail
;
7790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7792 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
7793 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7796 PyErr_SetString(PyExc_TypeError
,"null reference");
7800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7801 (arg1
)->Copy(*arg2
);
7803 wxPyEndAllowThreads(__tstate
);
7804 if (PyErr_Occurred()) SWIG_fail
;
7806 Py_INCREF(Py_None
); resultobj
= Py_None
;
7813 static PyObject
*_wrap_PyShape_CopyWithHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7814 PyObject
*resultobj
;
7815 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7816 wxPyShape
*arg2
= 0 ;
7817 PyObject
* obj0
= 0 ;
7818 PyObject
* obj1
= 0 ;
7820 (char *) "self",(char *) "copy", NULL
7823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_CopyWithHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
7824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7826 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
7827 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7830 PyErr_SetString(PyExc_TypeError
,"null reference");
7834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7835 (arg1
)->CopyWithHandler(*arg2
);
7837 wxPyEndAllowThreads(__tstate
);
7838 if (PyErr_Occurred()) SWIG_fail
;
7840 Py_INCREF(Py_None
); resultobj
= Py_None
;
7847 static PyObject
*_wrap_PyShape_Rotate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7848 PyObject
*resultobj
;
7849 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7853 PyObject
* obj0
= 0 ;
7854 PyObject
* obj1
= 0 ;
7855 PyObject
* obj2
= 0 ;
7856 PyObject
* obj3
= 0 ;
7858 (char *) "self",(char *) "x",(char *) "y",(char *) "theta", NULL
7861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyShape_Rotate",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7864 arg2
= (double)SWIG_As_double(obj1
);
7865 if (PyErr_Occurred()) SWIG_fail
;
7866 arg3
= (double)SWIG_As_double(obj2
);
7867 if (PyErr_Occurred()) SWIG_fail
;
7868 arg4
= (double)SWIG_As_double(obj3
);
7869 if (PyErr_Occurred()) SWIG_fail
;
7871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7872 (arg1
)->Rotate(arg2
,arg3
,arg4
);
7874 wxPyEndAllowThreads(__tstate
);
7875 if (PyErr_Occurred()) SWIG_fail
;
7877 Py_INCREF(Py_None
); resultobj
= Py_None
;
7884 static PyObject
*_wrap_PyShape_GetRotation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7885 PyObject
*resultobj
;
7886 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7888 PyObject
* obj0
= 0 ;
7890 (char *) "self", NULL
7893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetRotation",kwnames
,&obj0
)) goto fail
;
7894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7898 result
= (double)(arg1
)->GetRotation();
7900 wxPyEndAllowThreads(__tstate
);
7901 if (PyErr_Occurred()) SWIG_fail
;
7903 resultobj
= SWIG_From_double((double)result
);
7910 static PyObject
*_wrap_PyShape_SetRotation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7911 PyObject
*resultobj
;
7912 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7914 PyObject
* obj0
= 0 ;
7915 PyObject
* obj1
= 0 ;
7917 (char *) "self",(char *) "rotation", NULL
7920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetRotation",kwnames
,&obj0
,&obj1
)) goto fail
;
7921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7923 arg2
= (double)SWIG_As_double(obj1
);
7924 if (PyErr_Occurred()) SWIG_fail
;
7926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7927 (arg1
)->SetRotation(arg2
);
7929 wxPyEndAllowThreads(__tstate
);
7930 if (PyErr_Occurred()) SWIG_fail
;
7932 Py_INCREF(Py_None
); resultobj
= Py_None
;
7939 static PyObject
*_wrap_PyShape_ClearAttachments(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7940 PyObject
*resultobj
;
7941 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7942 PyObject
* obj0
= 0 ;
7944 (char *) "self", NULL
7947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_ClearAttachments",kwnames
,&obj0
)) goto fail
;
7948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7952 (arg1
)->ClearAttachments();
7954 wxPyEndAllowThreads(__tstate
);
7955 if (PyErr_Occurred()) SWIG_fail
;
7957 Py_INCREF(Py_None
); resultobj
= Py_None
;
7964 static PyObject
*_wrap_PyShape_Recentre(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7965 PyObject
*resultobj
;
7966 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7968 PyObject
* obj0
= 0 ;
7969 PyObject
* obj1
= 0 ;
7971 (char *) "self",(char *) "dc", NULL
7974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_Recentre",kwnames
,&obj0
,&obj1
)) goto fail
;
7975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
7976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7977 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
7978 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7981 PyErr_SetString(PyExc_TypeError
,"null reference");
7985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7986 (arg1
)->Recentre(*arg2
);
7988 wxPyEndAllowThreads(__tstate
);
7989 if (PyErr_Occurred()) SWIG_fail
;
7991 Py_INCREF(Py_None
); resultobj
= Py_None
;
7998 static PyObject
*_wrap_PyShape_ClearPointList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7999 PyObject
*resultobj
;
8000 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8002 PyObject
* obj0
= 0 ;
8003 PyObject
* obj1
= 0 ;
8005 (char *) "self",(char *) "list", NULL
8008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_ClearPointList",kwnames
,&obj0
,&obj1
)) goto fail
;
8009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8011 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxList
,
8012 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8015 PyErr_SetString(PyExc_TypeError
,"null reference");
8019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8020 (arg1
)->ClearPointList(*arg2
);
8022 wxPyEndAllowThreads(__tstate
);
8023 if (PyErr_Occurred()) SWIG_fail
;
8025 Py_INCREF(Py_None
); resultobj
= Py_None
;
8032 static PyObject
*_wrap_PyShape_GetBackgroundPen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8033 PyObject
*resultobj
;
8034 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8036 PyObject
* obj0
= 0 ;
8038 (char *) "self", NULL
8041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetBackgroundPen",kwnames
,&obj0
)) goto fail
;
8042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8046 result
= (arg1
)->GetBackgroundPen();
8048 wxPyEndAllowThreads(__tstate
);
8049 if (PyErr_Occurred()) SWIG_fail
;
8053 resultptr
= new wxPen((wxPen
&) result
);
8054 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPen
, 1);
8062 static PyObject
*_wrap_PyShape_GetBackgroundBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8063 PyObject
*resultobj
;
8064 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8066 PyObject
* obj0
= 0 ;
8068 (char *) "self", NULL
8071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetBackgroundBrush",kwnames
,&obj0
)) goto fail
;
8072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8076 result
= (arg1
)->GetBackgroundBrush();
8078 wxPyEndAllowThreads(__tstate
);
8079 if (PyErr_Occurred()) SWIG_fail
;
8082 wxBrush
* resultptr
;
8083 resultptr
= new wxBrush((wxBrush
&) result
);
8084 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
8092 static PyObject
*_wrap_PyShape_base_OnDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8093 PyObject
*resultobj
;
8094 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8095 PyObject
* obj0
= 0 ;
8097 (char *) "self", NULL
8100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_base_OnDelete",kwnames
,&obj0
)) goto fail
;
8101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8105 (arg1
)->base_OnDelete();
8107 wxPyEndAllowThreads(__tstate
);
8108 if (PyErr_Occurred()) SWIG_fail
;
8110 Py_INCREF(Py_None
); resultobj
= Py_None
;
8117 static PyObject
*_wrap_PyShape_base_OnDraw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8118 PyObject
*resultobj
;
8119 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8121 PyObject
* obj0
= 0 ;
8122 PyObject
* obj1
= 0 ;
8124 (char *) "self",(char *) "dc", NULL
8127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
8128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8130 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
8131 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8134 PyErr_SetString(PyExc_TypeError
,"null reference");
8138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8139 (arg1
)->base_OnDraw(*arg2
);
8141 wxPyEndAllowThreads(__tstate
);
8142 if (PyErr_Occurred()) SWIG_fail
;
8144 Py_INCREF(Py_None
); resultobj
= Py_None
;
8151 static PyObject
*_wrap_PyShape_base_OnDrawContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8152 PyObject
*resultobj
;
8153 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8155 PyObject
* obj0
= 0 ;
8156 PyObject
* obj1
= 0 ;
8158 (char *) "self",(char *) "dc", NULL
8161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
8162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8164 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
8165 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8168 PyErr_SetString(PyExc_TypeError
,"null reference");
8172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8173 (arg1
)->base_OnDrawContents(*arg2
);
8175 wxPyEndAllowThreads(__tstate
);
8176 if (PyErr_Occurred()) SWIG_fail
;
8178 Py_INCREF(Py_None
); resultobj
= Py_None
;
8185 static PyObject
*_wrap_PyShape_base_OnDrawBranches(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8186 PyObject
*resultobj
;
8187 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8189 bool arg3
= (bool) False
;
8190 PyObject
* obj0
= 0 ;
8191 PyObject
* obj1
= 0 ;
8192 PyObject
* obj2
= 0 ;
8194 (char *) "self",(char *) "dc",(char *) "erase", NULL
8197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8200 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
8201 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8204 PyErr_SetString(PyExc_TypeError
,"null reference");
8208 arg3
= (bool)SWIG_As_bool(obj2
);
8209 if (PyErr_Occurred()) SWIG_fail
;
8212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8213 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
8215 wxPyEndAllowThreads(__tstate
);
8216 if (PyErr_Occurred()) SWIG_fail
;
8218 Py_INCREF(Py_None
); resultobj
= Py_None
;
8225 static PyObject
*_wrap_PyShape_base_OnMoveLinks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8226 PyObject
*resultobj
;
8227 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8229 PyObject
* obj0
= 0 ;
8230 PyObject
* obj1
= 0 ;
8232 (char *) "self",(char *) "dc", NULL
8235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
8236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8238 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
8239 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8242 PyErr_SetString(PyExc_TypeError
,"null reference");
8246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8247 (arg1
)->base_OnMoveLinks(*arg2
);
8249 wxPyEndAllowThreads(__tstate
);
8250 if (PyErr_Occurred()) SWIG_fail
;
8252 Py_INCREF(Py_None
); resultobj
= Py_None
;
8259 static PyObject
*_wrap_PyShape_base_OnErase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8260 PyObject
*resultobj
;
8261 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8263 PyObject
* obj0
= 0 ;
8264 PyObject
* obj1
= 0 ;
8266 (char *) "self",(char *) "dc", NULL
8269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
8270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8272 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
8273 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8276 PyErr_SetString(PyExc_TypeError
,"null reference");
8280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8281 (arg1
)->base_OnErase(*arg2
);
8283 wxPyEndAllowThreads(__tstate
);
8284 if (PyErr_Occurred()) SWIG_fail
;
8286 Py_INCREF(Py_None
); resultobj
= Py_None
;
8293 static PyObject
*_wrap_PyShape_base_OnEraseContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8294 PyObject
*resultobj
;
8295 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8297 PyObject
* obj0
= 0 ;
8298 PyObject
* obj1
= 0 ;
8300 (char *) "self",(char *) "dc", NULL
8303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
8304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8306 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
8307 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8310 PyErr_SetString(PyExc_TypeError
,"null reference");
8314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8315 (arg1
)->base_OnEraseContents(*arg2
);
8317 wxPyEndAllowThreads(__tstate
);
8318 if (PyErr_Occurred()) SWIG_fail
;
8320 Py_INCREF(Py_None
); resultobj
= Py_None
;
8327 static PyObject
*_wrap_PyShape_base_OnHighlight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8328 PyObject
*resultobj
;
8329 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8331 PyObject
* obj0
= 0 ;
8332 PyObject
* obj1
= 0 ;
8334 (char *) "self",(char *) "dc", NULL
8337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
8338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8340 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
8341 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8344 PyErr_SetString(PyExc_TypeError
,"null reference");
8348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8349 (arg1
)->base_OnHighlight(*arg2
);
8351 wxPyEndAllowThreads(__tstate
);
8352 if (PyErr_Occurred()) SWIG_fail
;
8354 Py_INCREF(Py_None
); resultobj
= Py_None
;
8361 static PyObject
*_wrap_PyShape_base_OnLeftClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8362 PyObject
*resultobj
;
8363 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8366 int arg4
= (int) 0 ;
8367 int arg5
= (int) 0 ;
8368 PyObject
* obj0
= 0 ;
8369 PyObject
* obj1
= 0 ;
8370 PyObject
* obj2
= 0 ;
8371 PyObject
* obj3
= 0 ;
8372 PyObject
* obj4
= 0 ;
8374 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShape_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
8378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8380 arg2
= (double)SWIG_As_double(obj1
);
8381 if (PyErr_Occurred()) SWIG_fail
;
8382 arg3
= (double)SWIG_As_double(obj2
);
8383 if (PyErr_Occurred()) SWIG_fail
;
8385 arg4
= (int)SWIG_As_int(obj3
);
8386 if (PyErr_Occurred()) SWIG_fail
;
8389 arg5
= (int)SWIG_As_int(obj4
);
8390 if (PyErr_Occurred()) SWIG_fail
;
8393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8394 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
8396 wxPyEndAllowThreads(__tstate
);
8397 if (PyErr_Occurred()) SWIG_fail
;
8399 Py_INCREF(Py_None
); resultobj
= Py_None
;
8406 static PyObject
*_wrap_PyShape_base_OnLeftDoubleClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8407 PyObject
*resultobj
;
8408 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8411 int arg4
= (int) 0 ;
8412 int arg5
= (int) 0 ;
8413 PyObject
* obj0
= 0 ;
8414 PyObject
* obj1
= 0 ;
8415 PyObject
* obj2
= 0 ;
8416 PyObject
* obj3
= 0 ;
8417 PyObject
* obj4
= 0 ;
8419 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
8423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8425 arg2
= (double)SWIG_As_double(obj1
);
8426 if (PyErr_Occurred()) SWIG_fail
;
8427 arg3
= (double)SWIG_As_double(obj2
);
8428 if (PyErr_Occurred()) SWIG_fail
;
8430 arg4
= (int)SWIG_As_int(obj3
);
8431 if (PyErr_Occurred()) SWIG_fail
;
8434 arg5
= (int)SWIG_As_int(obj4
);
8435 if (PyErr_Occurred()) SWIG_fail
;
8438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8439 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
8441 wxPyEndAllowThreads(__tstate
);
8442 if (PyErr_Occurred()) SWIG_fail
;
8444 Py_INCREF(Py_None
); resultobj
= Py_None
;
8451 static PyObject
*_wrap_PyShape_base_OnRightClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8452 PyObject
*resultobj
;
8453 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8456 int arg4
= (int) 0 ;
8457 int arg5
= (int) 0 ;
8458 PyObject
* obj0
= 0 ;
8459 PyObject
* obj1
= 0 ;
8460 PyObject
* obj2
= 0 ;
8461 PyObject
* obj3
= 0 ;
8462 PyObject
* obj4
= 0 ;
8464 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShape_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
8468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8470 arg2
= (double)SWIG_As_double(obj1
);
8471 if (PyErr_Occurred()) SWIG_fail
;
8472 arg3
= (double)SWIG_As_double(obj2
);
8473 if (PyErr_Occurred()) SWIG_fail
;
8475 arg4
= (int)SWIG_As_int(obj3
);
8476 if (PyErr_Occurred()) SWIG_fail
;
8479 arg5
= (int)SWIG_As_int(obj4
);
8480 if (PyErr_Occurred()) SWIG_fail
;
8483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8484 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
8486 wxPyEndAllowThreads(__tstate
);
8487 if (PyErr_Occurred()) SWIG_fail
;
8489 Py_INCREF(Py_None
); resultobj
= Py_None
;
8496 static PyObject
*_wrap_PyShape_base_OnSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8497 PyObject
*resultobj
;
8498 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8501 PyObject
* obj0
= 0 ;
8502 PyObject
* obj1
= 0 ;
8503 PyObject
* obj2
= 0 ;
8505 (char *) "self",(char *) "x",(char *) "y", NULL
8508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShape_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8511 arg2
= (double)SWIG_As_double(obj1
);
8512 if (PyErr_Occurred()) SWIG_fail
;
8513 arg3
= (double)SWIG_As_double(obj2
);
8514 if (PyErr_Occurred()) SWIG_fail
;
8516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8517 (arg1
)->base_OnSize(arg2
,arg3
);
8519 wxPyEndAllowThreads(__tstate
);
8520 if (PyErr_Occurred()) SWIG_fail
;
8522 Py_INCREF(Py_None
); resultobj
= Py_None
;
8529 static PyObject
*_wrap_PyShape_base_OnMovePre(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8530 PyObject
*resultobj
;
8531 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8537 bool arg7
= (bool) True
;
8539 PyObject
* obj0
= 0 ;
8540 PyObject
* obj1
= 0 ;
8541 PyObject
* obj2
= 0 ;
8542 PyObject
* obj3
= 0 ;
8543 PyObject
* obj4
= 0 ;
8544 PyObject
* obj5
= 0 ;
8545 PyObject
* obj6
= 0 ;
8547 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
8550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8553 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
8554 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8557 PyErr_SetString(PyExc_TypeError
,"null reference");
8560 arg3
= (double)SWIG_As_double(obj2
);
8561 if (PyErr_Occurred()) SWIG_fail
;
8562 arg4
= (double)SWIG_As_double(obj3
);
8563 if (PyErr_Occurred()) SWIG_fail
;
8564 arg5
= (double)SWIG_As_double(obj4
);
8565 if (PyErr_Occurred()) SWIG_fail
;
8566 arg6
= (double)SWIG_As_double(obj5
);
8567 if (PyErr_Occurred()) SWIG_fail
;
8569 arg7
= (bool)SWIG_As_bool(obj6
);
8570 if (PyErr_Occurred()) SWIG_fail
;
8573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8574 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
8576 wxPyEndAllowThreads(__tstate
);
8577 if (PyErr_Occurred()) SWIG_fail
;
8580 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8588 static PyObject
*_wrap_PyShape_base_OnMovePost(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8589 PyObject
*resultobj
;
8590 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8596 bool arg7
= (bool) True
;
8597 PyObject
* obj0
= 0 ;
8598 PyObject
* obj1
= 0 ;
8599 PyObject
* obj2
= 0 ;
8600 PyObject
* obj3
= 0 ;
8601 PyObject
* obj4
= 0 ;
8602 PyObject
* obj5
= 0 ;
8603 PyObject
* obj6
= 0 ;
8605 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
8608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8611 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
8612 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8615 PyErr_SetString(PyExc_TypeError
,"null reference");
8618 arg3
= (double)SWIG_As_double(obj2
);
8619 if (PyErr_Occurred()) SWIG_fail
;
8620 arg4
= (double)SWIG_As_double(obj3
);
8621 if (PyErr_Occurred()) SWIG_fail
;
8622 arg5
= (double)SWIG_As_double(obj4
);
8623 if (PyErr_Occurred()) SWIG_fail
;
8624 arg6
= (double)SWIG_As_double(obj5
);
8625 if (PyErr_Occurred()) SWIG_fail
;
8627 arg7
= (bool)SWIG_As_bool(obj6
);
8628 if (PyErr_Occurred()) SWIG_fail
;
8631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8632 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
8634 wxPyEndAllowThreads(__tstate
);
8635 if (PyErr_Occurred()) SWIG_fail
;
8637 Py_INCREF(Py_None
); resultobj
= Py_None
;
8644 static PyObject
*_wrap_PyShape_base_OnDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8645 PyObject
*resultobj
;
8646 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8650 int arg5
= (int) 0 ;
8651 int arg6
= (int) 0 ;
8652 PyObject
* obj0
= 0 ;
8653 PyObject
* obj1
= 0 ;
8654 PyObject
* obj2
= 0 ;
8655 PyObject
* obj3
= 0 ;
8656 PyObject
* obj4
= 0 ;
8657 PyObject
* obj5
= 0 ;
8659 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8665 arg2
= (bool)SWIG_As_bool(obj1
);
8666 if (PyErr_Occurred()) SWIG_fail
;
8667 arg3
= (double)SWIG_As_double(obj2
);
8668 if (PyErr_Occurred()) SWIG_fail
;
8669 arg4
= (double)SWIG_As_double(obj3
);
8670 if (PyErr_Occurred()) SWIG_fail
;
8672 arg5
= (int)SWIG_As_int(obj4
);
8673 if (PyErr_Occurred()) SWIG_fail
;
8676 arg6
= (int)SWIG_As_int(obj5
);
8677 if (PyErr_Occurred()) SWIG_fail
;
8680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8681 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
8683 wxPyEndAllowThreads(__tstate
);
8684 if (PyErr_Occurred()) SWIG_fail
;
8686 Py_INCREF(Py_None
); resultobj
= Py_None
;
8693 static PyObject
*_wrap_PyShape_base_OnBeginDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8694 PyObject
*resultobj
;
8695 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8698 int arg4
= (int) 0 ;
8699 int arg5
= (int) 0 ;
8700 PyObject
* obj0
= 0 ;
8701 PyObject
* obj1
= 0 ;
8702 PyObject
* obj2
= 0 ;
8703 PyObject
* obj3
= 0 ;
8704 PyObject
* obj4
= 0 ;
8706 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShape_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
8710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8712 arg2
= (double)SWIG_As_double(obj1
);
8713 if (PyErr_Occurred()) SWIG_fail
;
8714 arg3
= (double)SWIG_As_double(obj2
);
8715 if (PyErr_Occurred()) SWIG_fail
;
8717 arg4
= (int)SWIG_As_int(obj3
);
8718 if (PyErr_Occurred()) SWIG_fail
;
8721 arg5
= (int)SWIG_As_int(obj4
);
8722 if (PyErr_Occurred()) SWIG_fail
;
8725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8726 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
8728 wxPyEndAllowThreads(__tstate
);
8729 if (PyErr_Occurred()) SWIG_fail
;
8731 Py_INCREF(Py_None
); resultobj
= Py_None
;
8738 static PyObject
*_wrap_PyShape_base_OnEndDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8739 PyObject
*resultobj
;
8740 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8743 int arg4
= (int) 0 ;
8744 int arg5
= (int) 0 ;
8745 PyObject
* obj0
= 0 ;
8746 PyObject
* obj1
= 0 ;
8747 PyObject
* obj2
= 0 ;
8748 PyObject
* obj3
= 0 ;
8749 PyObject
* obj4
= 0 ;
8751 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShape_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
8755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8757 arg2
= (double)SWIG_As_double(obj1
);
8758 if (PyErr_Occurred()) SWIG_fail
;
8759 arg3
= (double)SWIG_As_double(obj2
);
8760 if (PyErr_Occurred()) SWIG_fail
;
8762 arg4
= (int)SWIG_As_int(obj3
);
8763 if (PyErr_Occurred()) SWIG_fail
;
8766 arg5
= (int)SWIG_As_int(obj4
);
8767 if (PyErr_Occurred()) SWIG_fail
;
8770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8771 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
8773 wxPyEndAllowThreads(__tstate
);
8774 if (PyErr_Occurred()) SWIG_fail
;
8776 Py_INCREF(Py_None
); resultobj
= Py_None
;
8783 static PyObject
*_wrap_PyShape_base_OnDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8784 PyObject
*resultobj
;
8785 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8789 int arg5
= (int) 0 ;
8790 int arg6
= (int) 0 ;
8791 PyObject
* obj0
= 0 ;
8792 PyObject
* obj1
= 0 ;
8793 PyObject
* obj2
= 0 ;
8794 PyObject
* obj3
= 0 ;
8795 PyObject
* obj4
= 0 ;
8796 PyObject
* obj5
= 0 ;
8798 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8804 arg2
= (bool)SWIG_As_bool(obj1
);
8805 if (PyErr_Occurred()) SWIG_fail
;
8806 arg3
= (double)SWIG_As_double(obj2
);
8807 if (PyErr_Occurred()) SWIG_fail
;
8808 arg4
= (double)SWIG_As_double(obj3
);
8809 if (PyErr_Occurred()) SWIG_fail
;
8811 arg5
= (int)SWIG_As_int(obj4
);
8812 if (PyErr_Occurred()) SWIG_fail
;
8815 arg6
= (int)SWIG_As_int(obj5
);
8816 if (PyErr_Occurred()) SWIG_fail
;
8819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8820 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
8822 wxPyEndAllowThreads(__tstate
);
8823 if (PyErr_Occurred()) SWIG_fail
;
8825 Py_INCREF(Py_None
); resultobj
= Py_None
;
8832 static PyObject
*_wrap_PyShape_base_OnBeginDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8833 PyObject
*resultobj
;
8834 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8837 int arg4
= (int) 0 ;
8838 int arg5
= (int) 0 ;
8839 PyObject
* obj0
= 0 ;
8840 PyObject
* obj1
= 0 ;
8841 PyObject
* obj2
= 0 ;
8842 PyObject
* obj3
= 0 ;
8843 PyObject
* obj4
= 0 ;
8845 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShape_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
8849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8851 arg2
= (double)SWIG_As_double(obj1
);
8852 if (PyErr_Occurred()) SWIG_fail
;
8853 arg3
= (double)SWIG_As_double(obj2
);
8854 if (PyErr_Occurred()) SWIG_fail
;
8856 arg4
= (int)SWIG_As_int(obj3
);
8857 if (PyErr_Occurred()) SWIG_fail
;
8860 arg5
= (int)SWIG_As_int(obj4
);
8861 if (PyErr_Occurred()) SWIG_fail
;
8864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8865 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
8867 wxPyEndAllowThreads(__tstate
);
8868 if (PyErr_Occurred()) SWIG_fail
;
8870 Py_INCREF(Py_None
); resultobj
= Py_None
;
8877 static PyObject
*_wrap_PyShape_base_OnEndDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8878 PyObject
*resultobj
;
8879 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8882 int arg4
= (int) 0 ;
8883 int arg5
= (int) 0 ;
8884 PyObject
* obj0
= 0 ;
8885 PyObject
* obj1
= 0 ;
8886 PyObject
* obj2
= 0 ;
8887 PyObject
* obj3
= 0 ;
8888 PyObject
* obj4
= 0 ;
8890 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
8893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShape_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
8894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8896 arg2
= (double)SWIG_As_double(obj1
);
8897 if (PyErr_Occurred()) SWIG_fail
;
8898 arg3
= (double)SWIG_As_double(obj2
);
8899 if (PyErr_Occurred()) SWIG_fail
;
8901 arg4
= (int)SWIG_As_int(obj3
);
8902 if (PyErr_Occurred()) SWIG_fail
;
8905 arg5
= (int)SWIG_As_int(obj4
);
8906 if (PyErr_Occurred()) SWIG_fail
;
8909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8910 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
8912 wxPyEndAllowThreads(__tstate
);
8913 if (PyErr_Occurred()) SWIG_fail
;
8915 Py_INCREF(Py_None
); resultobj
= Py_None
;
8922 static PyObject
*_wrap_PyShape_base_OnDrawOutline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8923 PyObject
*resultobj
;
8924 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8930 PyObject
* obj0
= 0 ;
8931 PyObject
* obj1
= 0 ;
8932 PyObject
* obj2
= 0 ;
8933 PyObject
* obj3
= 0 ;
8934 PyObject
* obj4
= 0 ;
8935 PyObject
* obj5
= 0 ;
8937 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
8940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8943 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
8944 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8947 PyErr_SetString(PyExc_TypeError
,"null reference");
8950 arg3
= (double)SWIG_As_double(obj2
);
8951 if (PyErr_Occurred()) SWIG_fail
;
8952 arg4
= (double)SWIG_As_double(obj3
);
8953 if (PyErr_Occurred()) SWIG_fail
;
8954 arg5
= (double)SWIG_As_double(obj4
);
8955 if (PyErr_Occurred()) SWIG_fail
;
8956 arg6
= (double)SWIG_As_double(obj5
);
8957 if (PyErr_Occurred()) SWIG_fail
;
8959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8960 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
8962 wxPyEndAllowThreads(__tstate
);
8963 if (PyErr_Occurred()) SWIG_fail
;
8965 Py_INCREF(Py_None
); resultobj
= Py_None
;
8972 static PyObject
*_wrap_PyShape_base_OnDrawControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8973 PyObject
*resultobj
;
8974 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8976 PyObject
* obj0
= 0 ;
8977 PyObject
* obj1
= 0 ;
8979 (char *) "self",(char *) "dc", NULL
8982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
8983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
8984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8985 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
8986 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8989 PyErr_SetString(PyExc_TypeError
,"null reference");
8993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8994 (arg1
)->base_OnDrawControlPoints(*arg2
);
8996 wxPyEndAllowThreads(__tstate
);
8997 if (PyErr_Occurred()) SWIG_fail
;
8999 Py_INCREF(Py_None
); resultobj
= Py_None
;
9006 static PyObject
*_wrap_PyShape_base_OnEraseControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9007 PyObject
*resultobj
;
9008 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
9010 PyObject
* obj0
= 0 ;
9011 PyObject
* obj1
= 0 ;
9013 (char *) "self",(char *) "dc", NULL
9016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
9017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
9018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9019 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
9020 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9023 PyErr_SetString(PyExc_TypeError
,"null reference");
9027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9028 (arg1
)->base_OnEraseControlPoints(*arg2
);
9030 wxPyEndAllowThreads(__tstate
);
9031 if (PyErr_Occurred()) SWIG_fail
;
9033 Py_INCREF(Py_None
); resultobj
= Py_None
;
9040 static PyObject
*_wrap_PyShape_base_OnMoveLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9041 PyObject
*resultobj
;
9042 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
9044 bool arg3
= (bool) True
;
9045 PyObject
* obj0
= 0 ;
9046 PyObject
* obj1
= 0 ;
9047 PyObject
* obj2
= 0 ;
9049 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
9052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
9054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9055 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
9056 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9059 PyErr_SetString(PyExc_TypeError
,"null reference");
9063 arg3
= (bool)SWIG_As_bool(obj2
);
9064 if (PyErr_Occurred()) SWIG_fail
;
9067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9068 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
9070 wxPyEndAllowThreads(__tstate
);
9071 if (PyErr_Occurred()) SWIG_fail
;
9073 Py_INCREF(Py_None
); resultobj
= Py_None
;
9080 static PyObject
*_wrap_PyShape_base_OnSizingDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9081 PyObject
*resultobj
;
9082 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
9083 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
9087 int arg6
= (int) 0 ;
9088 int arg7
= (int) 0 ;
9089 PyObject
* obj0
= 0 ;
9090 PyObject
* obj1
= 0 ;
9091 PyObject
* obj2
= 0 ;
9092 PyObject
* obj3
= 0 ;
9093 PyObject
* obj4
= 0 ;
9094 PyObject
* obj5
= 0 ;
9095 PyObject
* obj6
= 0 ;
9097 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
9100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
9102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9103 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
9104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9105 arg3
= (bool)SWIG_As_bool(obj2
);
9106 if (PyErr_Occurred()) SWIG_fail
;
9107 arg4
= (double)SWIG_As_double(obj3
);
9108 if (PyErr_Occurred()) SWIG_fail
;
9109 arg5
= (double)SWIG_As_double(obj4
);
9110 if (PyErr_Occurred()) SWIG_fail
;
9112 arg6
= (int)SWIG_As_int(obj5
);
9113 if (PyErr_Occurred()) SWIG_fail
;
9116 arg7
= (int)SWIG_As_int(obj6
);
9117 if (PyErr_Occurred()) SWIG_fail
;
9120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9121 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
9123 wxPyEndAllowThreads(__tstate
);
9124 if (PyErr_Occurred()) SWIG_fail
;
9126 Py_INCREF(Py_None
); resultobj
= Py_None
;
9133 static PyObject
*_wrap_PyShape_base_OnSizingBeginDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9134 PyObject
*resultobj
;
9135 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
9136 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
9139 int arg5
= (int) 0 ;
9140 int arg6
= (int) 0 ;
9141 PyObject
* obj0
= 0 ;
9142 PyObject
* obj1
= 0 ;
9143 PyObject
* obj2
= 0 ;
9144 PyObject
* obj3
= 0 ;
9145 PyObject
* obj4
= 0 ;
9146 PyObject
* obj5
= 0 ;
9148 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
9151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
9153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9154 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
9155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9156 arg3
= (double)SWIG_As_double(obj2
);
9157 if (PyErr_Occurred()) SWIG_fail
;
9158 arg4
= (double)SWIG_As_double(obj3
);
9159 if (PyErr_Occurred()) SWIG_fail
;
9161 arg5
= (int)SWIG_As_int(obj4
);
9162 if (PyErr_Occurred()) SWIG_fail
;
9165 arg6
= (int)SWIG_As_int(obj5
);
9166 if (PyErr_Occurred()) SWIG_fail
;
9169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9170 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
9172 wxPyEndAllowThreads(__tstate
);
9173 if (PyErr_Occurred()) SWIG_fail
;
9175 Py_INCREF(Py_None
); resultobj
= Py_None
;
9182 static PyObject
*_wrap_PyShape_base_OnSizingEndDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9183 PyObject
*resultobj
;
9184 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
9185 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
9188 int arg5
= (int) 0 ;
9189 int arg6
= (int) 0 ;
9190 PyObject
* obj0
= 0 ;
9191 PyObject
* obj1
= 0 ;
9192 PyObject
* obj2
= 0 ;
9193 PyObject
* obj3
= 0 ;
9194 PyObject
* obj4
= 0 ;
9195 PyObject
* obj5
= 0 ;
9197 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
9200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
9202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9203 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
9204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9205 arg3
= (double)SWIG_As_double(obj2
);
9206 if (PyErr_Occurred()) SWIG_fail
;
9207 arg4
= (double)SWIG_As_double(obj3
);
9208 if (PyErr_Occurred()) SWIG_fail
;
9210 arg5
= (int)SWIG_As_int(obj4
);
9211 if (PyErr_Occurred()) SWIG_fail
;
9214 arg6
= (int)SWIG_As_int(obj5
);
9215 if (PyErr_Occurred()) SWIG_fail
;
9218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9219 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
9221 wxPyEndAllowThreads(__tstate
);
9222 if (PyErr_Occurred()) SWIG_fail
;
9224 Py_INCREF(Py_None
); resultobj
= Py_None
;
9231 static PyObject
*_wrap_PyShape_base_OnBeginSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9232 PyObject
*resultobj
;
9233 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
9236 PyObject
* obj0
= 0 ;
9237 PyObject
* obj1
= 0 ;
9238 PyObject
* obj2
= 0 ;
9240 (char *) "self",(char *) "w",(char *) "h", NULL
9243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShape_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
9245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9246 arg2
= (double)SWIG_As_double(obj1
);
9247 if (PyErr_Occurred()) SWIG_fail
;
9248 arg3
= (double)SWIG_As_double(obj2
);
9249 if (PyErr_Occurred()) SWIG_fail
;
9251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9252 (arg1
)->base_OnBeginSize(arg2
,arg3
);
9254 wxPyEndAllowThreads(__tstate
);
9255 if (PyErr_Occurred()) SWIG_fail
;
9257 Py_INCREF(Py_None
); resultobj
= Py_None
;
9264 static PyObject
*_wrap_PyShape_base_OnEndSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9265 PyObject
*resultobj
;
9266 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
9269 PyObject
* obj0
= 0 ;
9270 PyObject
* obj1
= 0 ;
9271 PyObject
* obj2
= 0 ;
9273 (char *) "self",(char *) "w",(char *) "h", NULL
9276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShape_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShape
,
9278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9279 arg2
= (double)SWIG_As_double(obj1
);
9280 if (PyErr_Occurred()) SWIG_fail
;
9281 arg3
= (double)SWIG_As_double(obj2
);
9282 if (PyErr_Occurred()) SWIG_fail
;
9284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9285 (arg1
)->base_OnEndSize(arg2
,arg3
);
9287 wxPyEndAllowThreads(__tstate
);
9288 if (PyErr_Occurred()) SWIG_fail
;
9290 Py_INCREF(Py_None
); resultobj
= Py_None
;
9297 static PyObject
* PyShape_swigregister(PyObject
*, PyObject
*args
) {
9299 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9300 SWIG_TypeClientData(SWIGTYPE_p_wxPyShape
, obj
);
9302 return Py_BuildValue((char *)"");
9304 static PyObject
*_wrap_new_PseudoMetaFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9305 PyObject
*resultobj
;
9306 wxPseudoMetaFile
*result
;
9311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PseudoMetaFile",kwnames
)) goto fail
;
9313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9314 result
= (wxPseudoMetaFile
*)new wxPseudoMetaFile();
9316 wxPyEndAllowThreads(__tstate
);
9317 if (PyErr_Occurred()) SWIG_fail
;
9320 resultobj
= wxPyMake_wxObject(result
, 1);
9328 static PyObject
*_wrap_delete_PseudoMetaFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9329 PyObject
*resultobj
;
9330 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9331 PyObject
* obj0
= 0 ;
9333 (char *) "self", NULL
9336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PseudoMetaFile",kwnames
,&obj0
)) goto fail
;
9337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9343 wxPyEndAllowThreads(__tstate
);
9344 if (PyErr_Occurred()) SWIG_fail
;
9346 Py_INCREF(Py_None
); resultobj
= Py_None
;
9353 static PyObject
*_wrap_PseudoMetaFile_Draw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9354 PyObject
*resultobj
;
9355 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9359 PyObject
* obj0
= 0 ;
9360 PyObject
* obj1
= 0 ;
9361 PyObject
* obj2
= 0 ;
9362 PyObject
* obj3
= 0 ;
9364 (char *) "self",(char *) "dc",(char *) "xoffset",(char *) "yoffset", NULL
9367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoMetaFile_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9370 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
9371 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9374 PyErr_SetString(PyExc_TypeError
,"null reference");
9377 arg3
= (double)SWIG_As_double(obj2
);
9378 if (PyErr_Occurred()) SWIG_fail
;
9379 arg4
= (double)SWIG_As_double(obj3
);
9380 if (PyErr_Occurred()) SWIG_fail
;
9382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9383 (arg1
)->Draw(*arg2
,arg3
,arg4
);
9385 wxPyEndAllowThreads(__tstate
);
9386 if (PyErr_Occurred()) SWIG_fail
;
9388 Py_INCREF(Py_None
); resultobj
= Py_None
;
9395 static PyObject
*_wrap_PseudoMetaFile_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9396 PyObject
*resultobj
;
9397 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9398 PyObject
* obj0
= 0 ;
9400 (char *) "self", NULL
9403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PseudoMetaFile_Clear",kwnames
,&obj0
)) goto fail
;
9404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9410 wxPyEndAllowThreads(__tstate
);
9411 if (PyErr_Occurred()) SWIG_fail
;
9413 Py_INCREF(Py_None
); resultobj
= Py_None
;
9420 static PyObject
*_wrap_PseudoMetaFile_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9421 PyObject
*resultobj
;
9422 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9423 wxPseudoMetaFile
*arg2
= 0 ;
9424 PyObject
* obj0
= 0 ;
9425 PyObject
* obj1
= 0 ;
9427 (char *) "self",(char *) "copy", NULL
9430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_Copy",kwnames
,&obj0
,&obj1
)) goto fail
;
9431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9433 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPseudoMetaFile
,
9434 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9437 PyErr_SetString(PyExc_TypeError
,"null reference");
9441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9442 (arg1
)->Copy(*arg2
);
9444 wxPyEndAllowThreads(__tstate
);
9445 if (PyErr_Occurred()) SWIG_fail
;
9447 Py_INCREF(Py_None
); resultobj
= Py_None
;
9454 static PyObject
*_wrap_PseudoMetaFile_Scale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9455 PyObject
*resultobj
;
9456 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9459 PyObject
* obj0
= 0 ;
9460 PyObject
* obj1
= 0 ;
9461 PyObject
* obj2
= 0 ;
9463 (char *) "self",(char *) "sx",(char *) "sy", NULL
9466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoMetaFile_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9469 arg2
= (double)SWIG_As_double(obj1
);
9470 if (PyErr_Occurred()) SWIG_fail
;
9471 arg3
= (double)SWIG_As_double(obj2
);
9472 if (PyErr_Occurred()) SWIG_fail
;
9474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9475 (arg1
)->Scale(arg2
,arg3
);
9477 wxPyEndAllowThreads(__tstate
);
9478 if (PyErr_Occurred()) SWIG_fail
;
9480 Py_INCREF(Py_None
); resultobj
= Py_None
;
9487 static PyObject
*_wrap_PseudoMetaFile_ScaleTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9488 PyObject
*resultobj
;
9489 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9492 PyObject
* obj0
= 0 ;
9493 PyObject
* obj1
= 0 ;
9494 PyObject
* obj2
= 0 ;
9496 (char *) "self",(char *) "w",(char *) "h", NULL
9499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoMetaFile_ScaleTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9502 arg2
= (double)SWIG_As_double(obj1
);
9503 if (PyErr_Occurred()) SWIG_fail
;
9504 arg3
= (double)SWIG_As_double(obj2
);
9505 if (PyErr_Occurred()) SWIG_fail
;
9507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9508 (arg1
)->ScaleTo(arg2
,arg3
);
9510 wxPyEndAllowThreads(__tstate
);
9511 if (PyErr_Occurred()) SWIG_fail
;
9513 Py_INCREF(Py_None
); resultobj
= Py_None
;
9520 static PyObject
*_wrap_PseudoMetaFile_Translate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9521 PyObject
*resultobj
;
9522 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9525 PyObject
* obj0
= 0 ;
9526 PyObject
* obj1
= 0 ;
9527 PyObject
* obj2
= 0 ;
9529 (char *) "self",(char *) "x",(char *) "y", NULL
9532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoMetaFile_Translate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9535 arg2
= (double)SWIG_As_double(obj1
);
9536 if (PyErr_Occurred()) SWIG_fail
;
9537 arg3
= (double)SWIG_As_double(obj2
);
9538 if (PyErr_Occurred()) SWIG_fail
;
9540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9541 (arg1
)->Translate(arg2
,arg3
);
9543 wxPyEndAllowThreads(__tstate
);
9544 if (PyErr_Occurred()) SWIG_fail
;
9546 Py_INCREF(Py_None
); resultobj
= Py_None
;
9553 static PyObject
*_wrap_PseudoMetaFile_Rotate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9554 PyObject
*resultobj
;
9555 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9559 PyObject
* obj0
= 0 ;
9560 PyObject
* obj1
= 0 ;
9561 PyObject
* obj2
= 0 ;
9562 PyObject
* obj3
= 0 ;
9564 (char *) "self",(char *) "x",(char *) "y",(char *) "theta", NULL
9567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoMetaFile_Rotate",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9570 arg2
= (double)SWIG_As_double(obj1
);
9571 if (PyErr_Occurred()) SWIG_fail
;
9572 arg3
= (double)SWIG_As_double(obj2
);
9573 if (PyErr_Occurred()) SWIG_fail
;
9574 arg4
= (double)SWIG_As_double(obj3
);
9575 if (PyErr_Occurred()) SWIG_fail
;
9577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9578 (arg1
)->Rotate(arg2
,arg3
,arg4
);
9580 wxPyEndAllowThreads(__tstate
);
9581 if (PyErr_Occurred()) SWIG_fail
;
9583 Py_INCREF(Py_None
); resultobj
= Py_None
;
9590 static PyObject
*_wrap_PseudoMetaFile_LoadFromMetaFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9591 PyObject
*resultobj
;
9592 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9593 wxString
*arg2
= 0 ;
9594 double *arg3
= (double *) 0 ;
9595 double *arg4
= (double *) 0 ;
9597 bool temp2
= False
;
9598 PyObject
* obj0
= 0 ;
9599 PyObject
* obj1
= 0 ;
9600 PyObject
* obj2
= 0 ;
9601 PyObject
* obj3
= 0 ;
9603 (char *) "self",(char *) "filename",(char *) "width",(char *) "height", NULL
9606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoMetaFile_LoadFromMetaFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9610 arg2
= wxString_in_helper(obj1
);
9611 if (arg2
== NULL
) SWIG_fail
;
9614 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_double
,
9615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9616 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_double
,
9617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9620 result
= (bool)(arg1
)->LoadFromMetaFile((wxString
const &)*arg2
,arg3
,arg4
);
9622 wxPyEndAllowThreads(__tstate
);
9623 if (PyErr_Occurred()) SWIG_fail
;
9626 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9642 static PyObject
*_wrap_PseudoMetaFile_GetBounds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9643 PyObject
*resultobj
;
9644 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9645 double *arg2
= (double *) 0 ;
9646 double *arg3
= (double *) 0 ;
9647 double *arg4
= (double *) 0 ;
9648 double *arg5
= (double *) 0 ;
9649 PyObject
* obj0
= 0 ;
9650 PyObject
* obj1
= 0 ;
9651 PyObject
* obj2
= 0 ;
9652 PyObject
* obj3
= 0 ;
9653 PyObject
* obj4
= 0 ;
9655 (char *) "self",(char *) "minX",(char *) "minY",(char *) "maxX",(char *) "maxY", NULL
9658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoMetaFile_GetBounds",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
9659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9661 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_double
,
9662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9663 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_double
,
9664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9665 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_double
,
9666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9667 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_double
,
9668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9671 (arg1
)->GetBounds(arg2
,arg3
,arg4
,arg5
);
9673 wxPyEndAllowThreads(__tstate
);
9674 if (PyErr_Occurred()) SWIG_fail
;
9676 Py_INCREF(Py_None
); resultobj
= Py_None
;
9683 static PyObject
*_wrap_PseudoMetaFile_CalculateSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9684 PyObject
*resultobj
;
9685 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9686 wxPyDrawnShape
*arg2
= (wxPyDrawnShape
*) 0 ;
9687 PyObject
* obj0
= 0 ;
9688 PyObject
* obj1
= 0 ;
9690 (char *) "self",(char *) "shape", NULL
9693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_CalculateSize",kwnames
,&obj0
,&obj1
)) goto fail
;
9694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9696 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyDrawnShape
,
9697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9700 (arg1
)->CalculateSize(arg2
);
9702 wxPyEndAllowThreads(__tstate
);
9703 if (PyErr_Occurred()) SWIG_fail
;
9705 Py_INCREF(Py_None
); resultobj
= Py_None
;
9712 static PyObject
*_wrap_PseudoMetaFile_SetRotateable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9713 PyObject
*resultobj
;
9714 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9716 PyObject
* obj0
= 0 ;
9717 PyObject
* obj1
= 0 ;
9719 (char *) "self",(char *) "rot", NULL
9722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_SetRotateable",kwnames
,&obj0
,&obj1
)) goto fail
;
9723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9725 arg2
= (bool)SWIG_As_bool(obj1
);
9726 if (PyErr_Occurred()) SWIG_fail
;
9728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9729 (arg1
)->SetRotateable(arg2
);
9731 wxPyEndAllowThreads(__tstate
);
9732 if (PyErr_Occurred()) SWIG_fail
;
9734 Py_INCREF(Py_None
); resultobj
= Py_None
;
9741 static PyObject
*_wrap_PseudoMetaFile_GetRotateable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9742 PyObject
*resultobj
;
9743 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9745 PyObject
* obj0
= 0 ;
9747 (char *) "self", NULL
9750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PseudoMetaFile_GetRotateable",kwnames
,&obj0
)) goto fail
;
9751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9755 result
= (bool)(arg1
)->GetRotateable();
9757 wxPyEndAllowThreads(__tstate
);
9758 if (PyErr_Occurred()) SWIG_fail
;
9761 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9769 static PyObject
*_wrap_PseudoMetaFile_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9770 PyObject
*resultobj
;
9771 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9774 PyObject
* obj0
= 0 ;
9775 PyObject
* obj1
= 0 ;
9776 PyObject
* obj2
= 0 ;
9778 (char *) "self",(char *) "w",(char *) "h", NULL
9781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoMetaFile_SetSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9784 arg2
= (double)SWIG_As_double(obj1
);
9785 if (PyErr_Occurred()) SWIG_fail
;
9786 arg3
= (double)SWIG_As_double(obj2
);
9787 if (PyErr_Occurred()) SWIG_fail
;
9789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9790 (arg1
)->SetSize(arg2
,arg3
);
9792 wxPyEndAllowThreads(__tstate
);
9793 if (PyErr_Occurred()) SWIG_fail
;
9795 Py_INCREF(Py_None
); resultobj
= Py_None
;
9802 static PyObject
*_wrap_PseudoMetaFile_SetFillBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9803 PyObject
*resultobj
;
9804 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9805 wxBrush
*arg2
= (wxBrush
*) 0 ;
9806 PyObject
* obj0
= 0 ;
9807 PyObject
* obj1
= 0 ;
9809 (char *) "self",(char *) "brush", NULL
9812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_SetFillBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
9813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9818 if (obj1
== Py_None
) {
9821 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxBrush"))) {
9822 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxBrush.");
9827 arg2
= wxTheBrushList
->FindOrCreateBrush(temp
->GetColour(), temp
->GetStyle());
9832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9833 (arg1
)->SetFillBrush(arg2
);
9835 wxPyEndAllowThreads(__tstate
);
9836 if (PyErr_Occurred()) SWIG_fail
;
9838 Py_INCREF(Py_None
); resultobj
= Py_None
;
9845 static PyObject
*_wrap_PseudoMetaFile_GetFillBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9846 PyObject
*resultobj
;
9847 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9849 PyObject
* obj0
= 0 ;
9851 (char *) "self", NULL
9854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PseudoMetaFile_GetFillBrush",kwnames
,&obj0
)) goto fail
;
9855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9859 result
= (wxBrush
*)(arg1
)->GetFillBrush();
9861 wxPyEndAllowThreads(__tstate
);
9862 if (PyErr_Occurred()) SWIG_fail
;
9864 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 0);
9871 static PyObject
*_wrap_PseudoMetaFile_SetOutlinePen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9872 PyObject
*resultobj
;
9873 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9874 wxPen
*arg2
= (wxPen
*) 0 ;
9875 PyObject
* obj0
= 0 ;
9876 PyObject
* obj1
= 0 ;
9878 (char *) "self",(char *) "pen", NULL
9881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_SetOutlinePen",kwnames
,&obj0
,&obj1
)) goto fail
;
9882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9887 if (obj1
== Py_None
) {
9890 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxPen"))) {
9891 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxPen.");
9896 arg2
= wxThePenList
->FindOrCreatePen(temp
->GetColour(),
9903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9904 (arg1
)->SetOutlinePen(arg2
);
9906 wxPyEndAllowThreads(__tstate
);
9907 if (PyErr_Occurred()) SWIG_fail
;
9909 Py_INCREF(Py_None
); resultobj
= Py_None
;
9916 static PyObject
*_wrap_PseudoMetaFile_GetOutlinePen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9917 PyObject
*resultobj
;
9918 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9920 PyObject
* obj0
= 0 ;
9922 (char *) "self", NULL
9925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PseudoMetaFile_GetOutlinePen",kwnames
,&obj0
)) goto fail
;
9926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9930 result
= (wxPen
*)(arg1
)->GetOutlinePen();
9932 wxPyEndAllowThreads(__tstate
);
9933 if (PyErr_Occurred()) SWIG_fail
;
9935 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 0);
9942 static PyObject
*_wrap_PseudoMetaFile_SetOutlineOp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9943 PyObject
*resultobj
;
9944 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9946 PyObject
* obj0
= 0 ;
9947 PyObject
* obj1
= 0 ;
9949 (char *) "self",(char *) "op", NULL
9952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_SetOutlineOp",kwnames
,&obj0
,&obj1
)) goto fail
;
9953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9955 arg2
= (int)SWIG_As_int(obj1
);
9956 if (PyErr_Occurred()) SWIG_fail
;
9958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9959 (arg1
)->SetOutlineOp(arg2
);
9961 wxPyEndAllowThreads(__tstate
);
9962 if (PyErr_Occurred()) SWIG_fail
;
9964 Py_INCREF(Py_None
); resultobj
= Py_None
;
9971 static PyObject
*_wrap_PseudoMetaFile_GetOutlineOp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9972 PyObject
*resultobj
;
9973 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
9975 PyObject
* obj0
= 0 ;
9977 (char *) "self", NULL
9980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PseudoMetaFile_GetOutlineOp",kwnames
,&obj0
)) goto fail
;
9981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
9982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9985 result
= (int)(arg1
)->GetOutlineOp();
9987 wxPyEndAllowThreads(__tstate
);
9988 if (PyErr_Occurred()) SWIG_fail
;
9990 resultobj
= SWIG_From_int((int)result
);
9997 static PyObject
*_wrap_PseudoMetaFile_IsValid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9998 PyObject
*resultobj
;
9999 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10001 PyObject
* obj0
= 0 ;
10002 char *kwnames
[] = {
10003 (char *) "self", NULL
10006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PseudoMetaFile_IsValid",kwnames
,&obj0
)) goto fail
;
10007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
10008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10011 result
= (bool)(arg1
)->IsValid();
10013 wxPyEndAllowThreads(__tstate
);
10014 if (PyErr_Occurred()) SWIG_fail
;
10017 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10025 static PyObject
*_wrap_PseudoMetaFile_DrawLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10026 PyObject
*resultobj
;
10027 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10028 wxPoint
*arg2
= 0 ;
10029 wxPoint
*arg3
= 0 ;
10032 PyObject
* obj0
= 0 ;
10033 PyObject
* obj1
= 0 ;
10034 PyObject
* obj2
= 0 ;
10035 char *kwnames
[] = {
10036 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
10039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoMetaFile_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
10041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10044 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10048 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10052 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
10054 wxPyEndAllowThreads(__tstate
);
10055 if (PyErr_Occurred()) SWIG_fail
;
10057 Py_INCREF(Py_None
); resultobj
= Py_None
;
10064 static PyObject
*_wrap_PseudoMetaFile_DrawRectangle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10065 PyObject
*resultobj
;
10066 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10069 PyObject
* obj0
= 0 ;
10070 PyObject
* obj1
= 0 ;
10071 char *kwnames
[] = {
10072 (char *) "self",(char *) "rect", NULL
10075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_DrawRectangle",kwnames
,&obj0
,&obj1
)) goto fail
;
10076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
10077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10080 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10084 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
10086 wxPyEndAllowThreads(__tstate
);
10087 if (PyErr_Occurred()) SWIG_fail
;
10089 Py_INCREF(Py_None
); resultobj
= Py_None
;
10096 static PyObject
*_wrap_PseudoMetaFile_DrawRoundedRectangle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10097 PyObject
*resultobj
;
10098 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10102 PyObject
* obj0
= 0 ;
10103 PyObject
* obj1
= 0 ;
10104 PyObject
* obj2
= 0 ;
10105 char *kwnames
[] = {
10106 (char *) "self",(char *) "rect",(char *) "radius", NULL
10109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoMetaFile_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
10111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10114 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10116 arg3
= (double)SWIG_As_double(obj2
);
10117 if (PyErr_Occurred()) SWIG_fail
;
10119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10120 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
10122 wxPyEndAllowThreads(__tstate
);
10123 if (PyErr_Occurred()) SWIG_fail
;
10125 Py_INCREF(Py_None
); resultobj
= Py_None
;
10132 static PyObject
*_wrap_PseudoMetaFile_DrawArc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10133 PyObject
*resultobj
;
10134 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10135 wxPoint
*arg2
= 0 ;
10136 wxPoint
*arg3
= 0 ;
10137 wxPoint
*arg4
= 0 ;
10141 PyObject
* obj0
= 0 ;
10142 PyObject
* obj1
= 0 ;
10143 PyObject
* obj2
= 0 ;
10144 PyObject
* obj3
= 0 ;
10145 char *kwnames
[] = {
10146 (char *) "self",(char *) "centrePt",(char *) "startPt",(char *) "endPt", NULL
10149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoMetaFile_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
10151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10154 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10158 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10162 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10166 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
10168 wxPyEndAllowThreads(__tstate
);
10169 if (PyErr_Occurred()) SWIG_fail
;
10171 Py_INCREF(Py_None
); resultobj
= Py_None
;
10178 static PyObject
*_wrap_PseudoMetaFile_DrawEllipticArc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10179 PyObject
*resultobj
;
10180 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10185 PyObject
* obj0
= 0 ;
10186 PyObject
* obj1
= 0 ;
10187 PyObject
* obj2
= 0 ;
10188 PyObject
* obj3
= 0 ;
10189 char *kwnames
[] = {
10190 (char *) "self",(char *) "rect",(char *) "startAngle",(char *) "endAngle", NULL
10193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoMetaFile_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
10195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10198 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10200 arg3
= (double)SWIG_As_double(obj2
);
10201 if (PyErr_Occurred()) SWIG_fail
;
10202 arg4
= (double)SWIG_As_double(obj3
);
10203 if (PyErr_Occurred()) SWIG_fail
;
10205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10206 (arg1
)->DrawEllipticArc((wxRect
const &)*arg2
,arg3
,arg4
);
10208 wxPyEndAllowThreads(__tstate
);
10209 if (PyErr_Occurred()) SWIG_fail
;
10211 Py_INCREF(Py_None
); resultobj
= Py_None
;
10218 static PyObject
*_wrap_PseudoMetaFile_DrawEllipse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10219 PyObject
*resultobj
;
10220 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10223 PyObject
* obj0
= 0 ;
10224 PyObject
* obj1
= 0 ;
10225 char *kwnames
[] = {
10226 (char *) "self",(char *) "rect", NULL
10229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_DrawEllipse",kwnames
,&obj0
,&obj1
)) goto fail
;
10230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
10231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10234 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10238 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
10240 wxPyEndAllowThreads(__tstate
);
10241 if (PyErr_Occurred()) SWIG_fail
;
10243 Py_INCREF(Py_None
); resultobj
= Py_None
;
10250 static PyObject
*_wrap_PseudoMetaFile_DrawPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10251 PyObject
*resultobj
;
10252 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10253 wxPoint
*arg2
= 0 ;
10255 PyObject
* obj0
= 0 ;
10256 PyObject
* obj1
= 0 ;
10257 char *kwnames
[] = {
10258 (char *) "self",(char *) "pt", NULL
10261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_DrawPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
10262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
10263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10266 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10270 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
10272 wxPyEndAllowThreads(__tstate
);
10273 if (PyErr_Occurred()) SWIG_fail
;
10275 Py_INCREF(Py_None
); resultobj
= Py_None
;
10282 static PyObject
*_wrap_PseudoMetaFile_DrawText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10283 PyObject
*resultobj
;
10284 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10285 wxString
*arg2
= 0 ;
10286 wxPoint
*arg3
= 0 ;
10287 bool temp2
= False
;
10289 PyObject
* obj0
= 0 ;
10290 PyObject
* obj1
= 0 ;
10291 PyObject
* obj2
= 0 ;
10292 char *kwnames
[] = {
10293 (char *) "self",(char *) "text",(char *) "pt", NULL
10296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoMetaFile_DrawText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
10298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10300 arg2
= wxString_in_helper(obj1
);
10301 if (arg2
== NULL
) SWIG_fail
;
10306 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10310 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
10312 wxPyEndAllowThreads(__tstate
);
10313 if (PyErr_Occurred()) SWIG_fail
;
10315 Py_INCREF(Py_None
); resultobj
= Py_None
;
10330 static PyObject
*_wrap_PseudoMetaFile_DrawLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10331 PyObject
*resultobj
;
10332 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10334 wxPoint
*arg3
= (wxPoint
*) 0 ;
10335 PyObject
* obj0
= 0 ;
10336 PyObject
* obj1
= 0 ;
10337 char *kwnames
[] = {
10338 (char *) "self",(char *) "points", NULL
10341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_DrawLines",kwnames
,&obj0
,&obj1
)) goto fail
;
10342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
10343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10345 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
10346 if (arg3
== NULL
) SWIG_fail
;
10349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10350 (arg1
)->DrawLines(arg2
,arg3
);
10352 wxPyEndAllowThreads(__tstate
);
10353 if (PyErr_Occurred()) SWIG_fail
;
10355 Py_INCREF(Py_None
); resultobj
= Py_None
;
10357 if (arg3
) delete [] arg3
;
10362 if (arg3
) delete [] arg3
;
10368 static PyObject
*_wrap_PseudoMetaFile_DrawPolygon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10369 PyObject
*resultobj
;
10370 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10372 wxPoint
*arg3
= (wxPoint
*) 0 ;
10373 int arg4
= (int) 0 ;
10374 PyObject
* obj0
= 0 ;
10375 PyObject
* obj1
= 0 ;
10376 PyObject
* obj2
= 0 ;
10377 char *kwnames
[] = {
10378 (char *) "self",(char *) "points",(char *) "flags", NULL
10381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PseudoMetaFile_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
10383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10385 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
10386 if (arg3
== NULL
) SWIG_fail
;
10389 arg4
= (int)SWIG_As_int(obj2
);
10390 if (PyErr_Occurred()) SWIG_fail
;
10393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10394 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
);
10396 wxPyEndAllowThreads(__tstate
);
10397 if (PyErr_Occurred()) SWIG_fail
;
10399 Py_INCREF(Py_None
); resultobj
= Py_None
;
10401 if (arg3
) delete [] arg3
;
10406 if (arg3
) delete [] arg3
;
10412 static PyObject
*_wrap_PseudoMetaFile_DrawSpline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10413 PyObject
*resultobj
;
10414 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10416 wxPoint
*arg3
= (wxPoint
*) 0 ;
10417 PyObject
* obj0
= 0 ;
10418 PyObject
* obj1
= 0 ;
10419 char *kwnames
[] = {
10420 (char *) "self",(char *) "points", NULL
10423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_DrawSpline",kwnames
,&obj0
,&obj1
)) goto fail
;
10424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
10425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10427 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
10428 if (arg3
== NULL
) SWIG_fail
;
10431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10432 (arg1
)->DrawSpline(arg2
,arg3
);
10434 wxPyEndAllowThreads(__tstate
);
10435 if (PyErr_Occurred()) SWIG_fail
;
10437 Py_INCREF(Py_None
); resultobj
= Py_None
;
10439 if (arg3
) delete [] arg3
;
10444 if (arg3
) delete [] arg3
;
10450 static PyObject
*_wrap_PseudoMetaFile_SetClippingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10451 PyObject
*resultobj
;
10452 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10455 PyObject
* obj0
= 0 ;
10456 PyObject
* obj1
= 0 ;
10457 char *kwnames
[] = {
10458 (char *) "self",(char *) "rect", NULL
10461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_SetClippingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
10462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
10463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10466 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10470 (arg1
)->SetClippingRect((wxRect
const &)*arg2
);
10472 wxPyEndAllowThreads(__tstate
);
10473 if (PyErr_Occurred()) SWIG_fail
;
10475 Py_INCREF(Py_None
); resultobj
= Py_None
;
10482 static PyObject
*_wrap_PseudoMetaFile_DestroyClippingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10483 PyObject
*resultobj
;
10484 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10485 PyObject
* obj0
= 0 ;
10486 char *kwnames
[] = {
10487 (char *) "self", NULL
10490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PseudoMetaFile_DestroyClippingRect",kwnames
,&obj0
)) goto fail
;
10491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
10492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10495 (arg1
)->DestroyClippingRect();
10497 wxPyEndAllowThreads(__tstate
);
10498 if (PyErr_Occurred()) SWIG_fail
;
10500 Py_INCREF(Py_None
); resultobj
= Py_None
;
10507 static PyObject
*_wrap_PseudoMetaFile_SetPen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10508 PyObject
*resultobj
;
10509 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10510 wxPen
*arg2
= (wxPen
*) 0 ;
10511 bool arg3
= (bool) FALSE
;
10512 PyObject
* obj0
= 0 ;
10513 PyObject
* obj1
= 0 ;
10514 PyObject
* obj2
= 0 ;
10515 char *kwnames
[] = {
10516 (char *) "self",(char *) "pen",(char *) "isOutline", NULL
10519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PseudoMetaFile_SetPen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
10521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10525 if (obj1
== Py_None
) {
10528 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxPen"))) {
10529 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxPen.");
10534 arg2
= wxThePenList
->FindOrCreatePen(temp
->GetColour(),
10541 arg3
= (bool)SWIG_As_bool(obj2
);
10542 if (PyErr_Occurred()) SWIG_fail
;
10545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10546 (arg1
)->SetPen(arg2
,arg3
);
10548 wxPyEndAllowThreads(__tstate
);
10549 if (PyErr_Occurred()) SWIG_fail
;
10551 Py_INCREF(Py_None
); resultobj
= Py_None
;
10558 static PyObject
*_wrap_PseudoMetaFile_SetBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10559 PyObject
*resultobj
;
10560 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10561 wxBrush
*arg2
= (wxBrush
*) 0 ;
10562 bool arg3
= (bool) FALSE
;
10563 PyObject
* obj0
= 0 ;
10564 PyObject
* obj1
= 0 ;
10565 PyObject
* obj2
= 0 ;
10566 char *kwnames
[] = {
10567 (char *) "self",(char *) "brush",(char *) "isFill", NULL
10570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PseudoMetaFile_SetBrush",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
10572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10576 if (obj1
== Py_None
) {
10579 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxBrush"))) {
10580 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxBrush.");
10585 arg2
= wxTheBrushList
->FindOrCreateBrush(temp
->GetColour(), temp
->GetStyle());
10590 arg3
= (bool)SWIG_As_bool(obj2
);
10591 if (PyErr_Occurred()) SWIG_fail
;
10594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10595 (arg1
)->SetBrush(arg2
,arg3
);
10597 wxPyEndAllowThreads(__tstate
);
10598 if (PyErr_Occurred()) SWIG_fail
;
10600 Py_INCREF(Py_None
); resultobj
= Py_None
;
10607 static PyObject
*_wrap_PseudoMetaFile_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10608 PyObject
*resultobj
;
10609 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10610 wxFont
*arg2
= (wxFont
*) 0 ;
10611 PyObject
* obj0
= 0 ;
10612 PyObject
* obj1
= 0 ;
10613 char *kwnames
[] = {
10614 (char *) "self",(char *) "font", NULL
10617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
10618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
10619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10623 if (obj1
== Py_None
) {
10626 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxFont"))) {
10627 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxFont.");
10632 arg2
= wxTheFontList
->FindOrCreateFont(temp
->GetPointSize(),
10636 temp
->GetUnderlined(),
10637 temp
->GetFaceName(),
10638 temp
->GetEncoding());
10643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10644 (arg1
)->SetFont(arg2
);
10646 wxPyEndAllowThreads(__tstate
);
10647 if (PyErr_Occurred()) SWIG_fail
;
10649 Py_INCREF(Py_None
); resultobj
= Py_None
;
10656 static PyObject
*_wrap_PseudoMetaFile_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10657 PyObject
*resultobj
;
10658 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10659 wxColour
*arg2
= 0 ;
10661 PyObject
* obj0
= 0 ;
10662 PyObject
* obj1
= 0 ;
10663 char *kwnames
[] = {
10664 (char *) "self",(char *) "colour", NULL
10667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
10668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
10669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10672 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10676 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
10678 wxPyEndAllowThreads(__tstate
);
10679 if (PyErr_Occurred()) SWIG_fail
;
10681 Py_INCREF(Py_None
); resultobj
= Py_None
;
10688 static PyObject
*_wrap_PseudoMetaFile_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10689 PyObject
*resultobj
;
10690 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10691 wxColour
*arg2
= 0 ;
10693 PyObject
* obj0
= 0 ;
10694 PyObject
* obj1
= 0 ;
10695 char *kwnames
[] = {
10696 (char *) "self",(char *) "colour", NULL
10699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
10700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
10701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10704 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10708 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
10710 wxPyEndAllowThreads(__tstate
);
10711 if (PyErr_Occurred()) SWIG_fail
;
10713 Py_INCREF(Py_None
); resultobj
= Py_None
;
10720 static PyObject
*_wrap_PseudoMetaFile_SetBackgroundMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10721 PyObject
*resultobj
;
10722 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10724 PyObject
* obj0
= 0 ;
10725 PyObject
* obj1
= 0 ;
10726 char *kwnames
[] = {
10727 (char *) "self",(char *) "mode", NULL
10730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) goto fail
;
10731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPseudoMetaFile
,
10732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10733 arg2
= (int)SWIG_As_int(obj1
);
10734 if (PyErr_Occurred()) SWIG_fail
;
10736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10737 (arg1
)->SetBackgroundMode(arg2
);
10739 wxPyEndAllowThreads(__tstate
);
10740 if (PyErr_Occurred()) SWIG_fail
;
10742 Py_INCREF(Py_None
); resultobj
= Py_None
;
10749 static PyObject
* PseudoMetaFile_swigregister(PyObject
*, PyObject
*args
) {
10751 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10752 SWIG_TypeClientData(SWIGTYPE_p_wxPseudoMetaFile
, obj
);
10754 return Py_BuildValue((char *)"");
10756 static PyObject
*_wrap_new_PyRectangleShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10757 PyObject
*resultobj
;
10758 double arg1
= (double) 0.0 ;
10759 double arg2
= (double) 0.0 ;
10760 wxPyRectangleShape
*result
;
10761 PyObject
* obj0
= 0 ;
10762 PyObject
* obj1
= 0 ;
10763 char *kwnames
[] = {
10764 (char *) "width",(char *) "height", NULL
10767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyRectangleShape",kwnames
,&obj0
,&obj1
)) goto fail
;
10769 arg1
= (double)SWIG_As_double(obj0
);
10770 if (PyErr_Occurred()) SWIG_fail
;
10773 arg2
= (double)SWIG_As_double(obj1
);
10774 if (PyErr_Occurred()) SWIG_fail
;
10777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10778 result
= (wxPyRectangleShape
*)new wxPyRectangleShape(arg1
,arg2
);
10780 wxPyEndAllowThreads(__tstate
);
10781 if (PyErr_Occurred()) SWIG_fail
;
10783 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyRectangleShape
, 1);
10790 static PyObject
*_wrap_PyRectangleShape__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10791 PyObject
*resultobj
;
10792 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
10793 PyObject
*arg2
= (PyObject
*) 0 ;
10794 PyObject
*arg3
= (PyObject
*) 0 ;
10795 PyObject
* obj0
= 0 ;
10796 PyObject
* obj1
= 0 ;
10797 PyObject
* obj2
= 0 ;
10798 char *kwnames
[] = {
10799 (char *) "self",(char *) "self",(char *) "_class", NULL
10802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyRectangleShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
10804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10809 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10811 wxPyEndAllowThreads(__tstate
);
10812 if (PyErr_Occurred()) SWIG_fail
;
10814 Py_INCREF(Py_None
); resultobj
= Py_None
;
10821 static PyObject
*_wrap_PyRectangleShape_SetCornerRadius(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10822 PyObject
*resultobj
;
10823 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
10825 PyObject
* obj0
= 0 ;
10826 PyObject
* obj1
= 0 ;
10827 char *kwnames
[] = {
10828 (char *) "self",(char *) "radius", NULL
10831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyRectangleShape_SetCornerRadius",kwnames
,&obj0
,&obj1
)) goto fail
;
10832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
10833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10834 arg2
= (double)SWIG_As_double(obj1
);
10835 if (PyErr_Occurred()) SWIG_fail
;
10837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10838 (arg1
)->SetCornerRadius(arg2
);
10840 wxPyEndAllowThreads(__tstate
);
10841 if (PyErr_Occurred()) SWIG_fail
;
10843 Py_INCREF(Py_None
); resultobj
= Py_None
;
10850 static PyObject
*_wrap_PyRectangleShape_GetCornerRadius(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10851 PyObject
*resultobj
;
10852 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
10854 PyObject
* obj0
= 0 ;
10855 char *kwnames
[] = {
10856 (char *) "self", NULL
10859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyRectangleShape_GetCornerRadius",kwnames
,&obj0
)) goto fail
;
10860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
10861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10864 result
= (double)(arg1
)->GetCornerRadius();
10866 wxPyEndAllowThreads(__tstate
);
10867 if (PyErr_Occurred()) SWIG_fail
;
10869 resultobj
= SWIG_From_double((double)result
);
10876 static PyObject
*_wrap_PyRectangleShape_base_OnDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10877 PyObject
*resultobj
;
10878 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
10879 PyObject
* obj0
= 0 ;
10880 char *kwnames
[] = {
10881 (char *) "self", NULL
10884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyRectangleShape_base_OnDelete",kwnames
,&obj0
)) goto fail
;
10885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
10886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10889 (arg1
)->base_OnDelete();
10891 wxPyEndAllowThreads(__tstate
);
10892 if (PyErr_Occurred()) SWIG_fail
;
10894 Py_INCREF(Py_None
); resultobj
= Py_None
;
10901 static PyObject
*_wrap_PyRectangleShape_base_OnDraw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10902 PyObject
*resultobj
;
10903 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
10905 PyObject
* obj0
= 0 ;
10906 PyObject
* obj1
= 0 ;
10907 char *kwnames
[] = {
10908 (char *) "self",(char *) "dc", NULL
10911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyRectangleShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
10912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
10913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10914 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
10915 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10917 if (arg2
== NULL
) {
10918 PyErr_SetString(PyExc_TypeError
,"null reference");
10922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10923 (arg1
)->base_OnDraw(*arg2
);
10925 wxPyEndAllowThreads(__tstate
);
10926 if (PyErr_Occurred()) SWIG_fail
;
10928 Py_INCREF(Py_None
); resultobj
= Py_None
;
10935 static PyObject
*_wrap_PyRectangleShape_base_OnDrawContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10936 PyObject
*resultobj
;
10937 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
10939 PyObject
* obj0
= 0 ;
10940 PyObject
* obj1
= 0 ;
10941 char *kwnames
[] = {
10942 (char *) "self",(char *) "dc", NULL
10945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyRectangleShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
10946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
10947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10948 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
10949 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10951 if (arg2
== NULL
) {
10952 PyErr_SetString(PyExc_TypeError
,"null reference");
10956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10957 (arg1
)->base_OnDrawContents(*arg2
);
10959 wxPyEndAllowThreads(__tstate
);
10960 if (PyErr_Occurred()) SWIG_fail
;
10962 Py_INCREF(Py_None
); resultobj
= Py_None
;
10969 static PyObject
*_wrap_PyRectangleShape_base_OnDrawBranches(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10970 PyObject
*resultobj
;
10971 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
10973 bool arg3
= (bool) FALSE
;
10974 PyObject
* obj0
= 0 ;
10975 PyObject
* obj1
= 0 ;
10976 PyObject
* obj2
= 0 ;
10977 char *kwnames
[] = {
10978 (char *) "self",(char *) "dc",(char *) "erase", NULL
10981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyRectangleShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
10983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10984 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
10985 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10987 if (arg2
== NULL
) {
10988 PyErr_SetString(PyExc_TypeError
,"null reference");
10992 arg3
= (bool)SWIG_As_bool(obj2
);
10993 if (PyErr_Occurred()) SWIG_fail
;
10996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10997 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
10999 wxPyEndAllowThreads(__tstate
);
11000 if (PyErr_Occurred()) SWIG_fail
;
11002 Py_INCREF(Py_None
); resultobj
= Py_None
;
11009 static PyObject
*_wrap_PyRectangleShape_base_OnMoveLinks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11010 PyObject
*resultobj
;
11011 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11013 PyObject
* obj0
= 0 ;
11014 PyObject
* obj1
= 0 ;
11015 char *kwnames
[] = {
11016 (char *) "self",(char *) "dc", NULL
11019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyRectangleShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
11020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11022 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
11023 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11025 if (arg2
== NULL
) {
11026 PyErr_SetString(PyExc_TypeError
,"null reference");
11030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11031 (arg1
)->base_OnMoveLinks(*arg2
);
11033 wxPyEndAllowThreads(__tstate
);
11034 if (PyErr_Occurred()) SWIG_fail
;
11036 Py_INCREF(Py_None
); resultobj
= Py_None
;
11043 static PyObject
*_wrap_PyRectangleShape_base_OnErase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11044 PyObject
*resultobj
;
11045 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11047 PyObject
* obj0
= 0 ;
11048 PyObject
* obj1
= 0 ;
11049 char *kwnames
[] = {
11050 (char *) "self",(char *) "dc", NULL
11053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyRectangleShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
11054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11056 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
11057 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11059 if (arg2
== NULL
) {
11060 PyErr_SetString(PyExc_TypeError
,"null reference");
11064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11065 (arg1
)->base_OnErase(*arg2
);
11067 wxPyEndAllowThreads(__tstate
);
11068 if (PyErr_Occurred()) SWIG_fail
;
11070 Py_INCREF(Py_None
); resultobj
= Py_None
;
11077 static PyObject
*_wrap_PyRectangleShape_base_OnEraseContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11078 PyObject
*resultobj
;
11079 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11081 PyObject
* obj0
= 0 ;
11082 PyObject
* obj1
= 0 ;
11083 char *kwnames
[] = {
11084 (char *) "self",(char *) "dc", NULL
11087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyRectangleShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
11088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11090 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
11091 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11093 if (arg2
== NULL
) {
11094 PyErr_SetString(PyExc_TypeError
,"null reference");
11098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11099 (arg1
)->base_OnEraseContents(*arg2
);
11101 wxPyEndAllowThreads(__tstate
);
11102 if (PyErr_Occurred()) SWIG_fail
;
11104 Py_INCREF(Py_None
); resultobj
= Py_None
;
11111 static PyObject
*_wrap_PyRectangleShape_base_OnHighlight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11112 PyObject
*resultobj
;
11113 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11115 PyObject
* obj0
= 0 ;
11116 PyObject
* obj1
= 0 ;
11117 char *kwnames
[] = {
11118 (char *) "self",(char *) "dc", NULL
11121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyRectangleShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
11122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11124 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
11125 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11127 if (arg2
== NULL
) {
11128 PyErr_SetString(PyExc_TypeError
,"null reference");
11132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11133 (arg1
)->base_OnHighlight(*arg2
);
11135 wxPyEndAllowThreads(__tstate
);
11136 if (PyErr_Occurred()) SWIG_fail
;
11138 Py_INCREF(Py_None
); resultobj
= Py_None
;
11145 static PyObject
*_wrap_PyRectangleShape_base_OnLeftClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11146 PyObject
*resultobj
;
11147 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11150 int arg4
= (int) 0 ;
11151 int arg5
= (int) 0 ;
11152 PyObject
* obj0
= 0 ;
11153 PyObject
* obj1
= 0 ;
11154 PyObject
* obj2
= 0 ;
11155 PyObject
* obj3
= 0 ;
11156 PyObject
* obj4
= 0 ;
11157 char *kwnames
[] = {
11158 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyRectangleShape_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11164 arg2
= (double)SWIG_As_double(obj1
);
11165 if (PyErr_Occurred()) SWIG_fail
;
11166 arg3
= (double)SWIG_As_double(obj2
);
11167 if (PyErr_Occurred()) SWIG_fail
;
11169 arg4
= (int)SWIG_As_int(obj3
);
11170 if (PyErr_Occurred()) SWIG_fail
;
11173 arg5
= (int)SWIG_As_int(obj4
);
11174 if (PyErr_Occurred()) SWIG_fail
;
11177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11178 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
11180 wxPyEndAllowThreads(__tstate
);
11181 if (PyErr_Occurred()) SWIG_fail
;
11183 Py_INCREF(Py_None
); resultobj
= Py_None
;
11190 static PyObject
*_wrap_PyRectangleShape_base_OnLeftDoubleClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11191 PyObject
*resultobj
;
11192 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11195 int arg4
= (int) 0 ;
11196 int arg5
= (int) 0 ;
11197 PyObject
* obj0
= 0 ;
11198 PyObject
* obj1
= 0 ;
11199 PyObject
* obj2
= 0 ;
11200 PyObject
* obj3
= 0 ;
11201 PyObject
* obj4
= 0 ;
11202 char *kwnames
[] = {
11203 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyRectangleShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11209 arg2
= (double)SWIG_As_double(obj1
);
11210 if (PyErr_Occurred()) SWIG_fail
;
11211 arg3
= (double)SWIG_As_double(obj2
);
11212 if (PyErr_Occurred()) SWIG_fail
;
11214 arg4
= (int)SWIG_As_int(obj3
);
11215 if (PyErr_Occurred()) SWIG_fail
;
11218 arg5
= (int)SWIG_As_int(obj4
);
11219 if (PyErr_Occurred()) SWIG_fail
;
11222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11223 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
11225 wxPyEndAllowThreads(__tstate
);
11226 if (PyErr_Occurred()) SWIG_fail
;
11228 Py_INCREF(Py_None
); resultobj
= Py_None
;
11235 static PyObject
*_wrap_PyRectangleShape_base_OnRightClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11236 PyObject
*resultobj
;
11237 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11240 int arg4
= (int) 0 ;
11241 int arg5
= (int) 0 ;
11242 PyObject
* obj0
= 0 ;
11243 PyObject
* obj1
= 0 ;
11244 PyObject
* obj2
= 0 ;
11245 PyObject
* obj3
= 0 ;
11246 PyObject
* obj4
= 0 ;
11247 char *kwnames
[] = {
11248 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyRectangleShape_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11254 arg2
= (double)SWIG_As_double(obj1
);
11255 if (PyErr_Occurred()) SWIG_fail
;
11256 arg3
= (double)SWIG_As_double(obj2
);
11257 if (PyErr_Occurred()) SWIG_fail
;
11259 arg4
= (int)SWIG_As_int(obj3
);
11260 if (PyErr_Occurred()) SWIG_fail
;
11263 arg5
= (int)SWIG_As_int(obj4
);
11264 if (PyErr_Occurred()) SWIG_fail
;
11267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11268 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
11270 wxPyEndAllowThreads(__tstate
);
11271 if (PyErr_Occurred()) SWIG_fail
;
11273 Py_INCREF(Py_None
); resultobj
= Py_None
;
11280 static PyObject
*_wrap_PyRectangleShape_base_OnSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11281 PyObject
*resultobj
;
11282 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11285 PyObject
* obj0
= 0 ;
11286 PyObject
* obj1
= 0 ;
11287 PyObject
* obj2
= 0 ;
11288 char *kwnames
[] = {
11289 (char *) "self",(char *) "x",(char *) "y", NULL
11292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyRectangleShape_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11295 arg2
= (double)SWIG_As_double(obj1
);
11296 if (PyErr_Occurred()) SWIG_fail
;
11297 arg3
= (double)SWIG_As_double(obj2
);
11298 if (PyErr_Occurred()) SWIG_fail
;
11300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11301 (arg1
)->base_OnSize(arg2
,arg3
);
11303 wxPyEndAllowThreads(__tstate
);
11304 if (PyErr_Occurred()) SWIG_fail
;
11306 Py_INCREF(Py_None
); resultobj
= Py_None
;
11313 static PyObject
*_wrap_PyRectangleShape_base_OnMovePre(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11314 PyObject
*resultobj
;
11315 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11321 bool arg7
= (bool) True
;
11323 PyObject
* obj0
= 0 ;
11324 PyObject
* obj1
= 0 ;
11325 PyObject
* obj2
= 0 ;
11326 PyObject
* obj3
= 0 ;
11327 PyObject
* obj4
= 0 ;
11328 PyObject
* obj5
= 0 ;
11329 PyObject
* obj6
= 0 ;
11330 char *kwnames
[] = {
11331 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
11334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyRectangleShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11337 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
11338 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11340 if (arg2
== NULL
) {
11341 PyErr_SetString(PyExc_TypeError
,"null reference");
11344 arg3
= (double)SWIG_As_double(obj2
);
11345 if (PyErr_Occurred()) SWIG_fail
;
11346 arg4
= (double)SWIG_As_double(obj3
);
11347 if (PyErr_Occurred()) SWIG_fail
;
11348 arg5
= (double)SWIG_As_double(obj4
);
11349 if (PyErr_Occurred()) SWIG_fail
;
11350 arg6
= (double)SWIG_As_double(obj5
);
11351 if (PyErr_Occurred()) SWIG_fail
;
11353 arg7
= (bool)SWIG_As_bool(obj6
);
11354 if (PyErr_Occurred()) SWIG_fail
;
11357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11358 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
11360 wxPyEndAllowThreads(__tstate
);
11361 if (PyErr_Occurred()) SWIG_fail
;
11364 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11372 static PyObject
*_wrap_PyRectangleShape_base_OnMovePost(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11373 PyObject
*resultobj
;
11374 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11380 bool arg7
= (bool) True
;
11381 PyObject
* obj0
= 0 ;
11382 PyObject
* obj1
= 0 ;
11383 PyObject
* obj2
= 0 ;
11384 PyObject
* obj3
= 0 ;
11385 PyObject
* obj4
= 0 ;
11386 PyObject
* obj5
= 0 ;
11387 PyObject
* obj6
= 0 ;
11388 char *kwnames
[] = {
11389 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
11392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyRectangleShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11395 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
11396 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11398 if (arg2
== NULL
) {
11399 PyErr_SetString(PyExc_TypeError
,"null reference");
11402 arg3
= (double)SWIG_As_double(obj2
);
11403 if (PyErr_Occurred()) SWIG_fail
;
11404 arg4
= (double)SWIG_As_double(obj3
);
11405 if (PyErr_Occurred()) SWIG_fail
;
11406 arg5
= (double)SWIG_As_double(obj4
);
11407 if (PyErr_Occurred()) SWIG_fail
;
11408 arg6
= (double)SWIG_As_double(obj5
);
11409 if (PyErr_Occurred()) SWIG_fail
;
11411 arg7
= (bool)SWIG_As_bool(obj6
);
11412 if (PyErr_Occurred()) SWIG_fail
;
11415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11416 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
11418 wxPyEndAllowThreads(__tstate
);
11419 if (PyErr_Occurred()) SWIG_fail
;
11421 Py_INCREF(Py_None
); resultobj
= Py_None
;
11428 static PyObject
*_wrap_PyRectangleShape_base_OnDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11429 PyObject
*resultobj
;
11430 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11434 int arg5
= (int) 0 ;
11435 int arg6
= (int) 0 ;
11436 PyObject
* obj0
= 0 ;
11437 PyObject
* obj1
= 0 ;
11438 PyObject
* obj2
= 0 ;
11439 PyObject
* obj3
= 0 ;
11440 PyObject
* obj4
= 0 ;
11441 PyObject
* obj5
= 0 ;
11442 char *kwnames
[] = {
11443 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyRectangleShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11449 arg2
= (bool)SWIG_As_bool(obj1
);
11450 if (PyErr_Occurred()) SWIG_fail
;
11451 arg3
= (double)SWIG_As_double(obj2
);
11452 if (PyErr_Occurred()) SWIG_fail
;
11453 arg4
= (double)SWIG_As_double(obj3
);
11454 if (PyErr_Occurred()) SWIG_fail
;
11456 arg5
= (int)SWIG_As_int(obj4
);
11457 if (PyErr_Occurred()) SWIG_fail
;
11460 arg6
= (int)SWIG_As_int(obj5
);
11461 if (PyErr_Occurred()) SWIG_fail
;
11464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11465 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
11467 wxPyEndAllowThreads(__tstate
);
11468 if (PyErr_Occurred()) SWIG_fail
;
11470 Py_INCREF(Py_None
); resultobj
= Py_None
;
11477 static PyObject
*_wrap_PyRectangleShape_base_OnBeginDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11478 PyObject
*resultobj
;
11479 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11482 int arg4
= (int) 0 ;
11483 int arg5
= (int) 0 ;
11484 PyObject
* obj0
= 0 ;
11485 PyObject
* obj1
= 0 ;
11486 PyObject
* obj2
= 0 ;
11487 PyObject
* obj3
= 0 ;
11488 PyObject
* obj4
= 0 ;
11489 char *kwnames
[] = {
11490 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyRectangleShape_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11496 arg2
= (double)SWIG_As_double(obj1
);
11497 if (PyErr_Occurred()) SWIG_fail
;
11498 arg3
= (double)SWIG_As_double(obj2
);
11499 if (PyErr_Occurred()) SWIG_fail
;
11501 arg4
= (int)SWIG_As_int(obj3
);
11502 if (PyErr_Occurred()) SWIG_fail
;
11505 arg5
= (int)SWIG_As_int(obj4
);
11506 if (PyErr_Occurred()) SWIG_fail
;
11509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11510 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
11512 wxPyEndAllowThreads(__tstate
);
11513 if (PyErr_Occurred()) SWIG_fail
;
11515 Py_INCREF(Py_None
); resultobj
= Py_None
;
11522 static PyObject
*_wrap_PyRectangleShape_base_OnEndDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11523 PyObject
*resultobj
;
11524 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11527 int arg4
= (int) 0 ;
11528 int arg5
= (int) 0 ;
11529 PyObject
* obj0
= 0 ;
11530 PyObject
* obj1
= 0 ;
11531 PyObject
* obj2
= 0 ;
11532 PyObject
* obj3
= 0 ;
11533 PyObject
* obj4
= 0 ;
11534 char *kwnames
[] = {
11535 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyRectangleShape_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11541 arg2
= (double)SWIG_As_double(obj1
);
11542 if (PyErr_Occurred()) SWIG_fail
;
11543 arg3
= (double)SWIG_As_double(obj2
);
11544 if (PyErr_Occurred()) SWIG_fail
;
11546 arg4
= (int)SWIG_As_int(obj3
);
11547 if (PyErr_Occurred()) SWIG_fail
;
11550 arg5
= (int)SWIG_As_int(obj4
);
11551 if (PyErr_Occurred()) SWIG_fail
;
11554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11555 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
11557 wxPyEndAllowThreads(__tstate
);
11558 if (PyErr_Occurred()) SWIG_fail
;
11560 Py_INCREF(Py_None
); resultobj
= Py_None
;
11567 static PyObject
*_wrap_PyRectangleShape_base_OnDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11568 PyObject
*resultobj
;
11569 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11573 int arg5
= (int) 0 ;
11574 int arg6
= (int) 0 ;
11575 PyObject
* obj0
= 0 ;
11576 PyObject
* obj1
= 0 ;
11577 PyObject
* obj2
= 0 ;
11578 PyObject
* obj3
= 0 ;
11579 PyObject
* obj4
= 0 ;
11580 PyObject
* obj5
= 0 ;
11581 char *kwnames
[] = {
11582 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyRectangleShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11588 arg2
= (bool)SWIG_As_bool(obj1
);
11589 if (PyErr_Occurred()) SWIG_fail
;
11590 arg3
= (double)SWIG_As_double(obj2
);
11591 if (PyErr_Occurred()) SWIG_fail
;
11592 arg4
= (double)SWIG_As_double(obj3
);
11593 if (PyErr_Occurred()) SWIG_fail
;
11595 arg5
= (int)SWIG_As_int(obj4
);
11596 if (PyErr_Occurred()) SWIG_fail
;
11599 arg6
= (int)SWIG_As_int(obj5
);
11600 if (PyErr_Occurred()) SWIG_fail
;
11603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11604 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
11606 wxPyEndAllowThreads(__tstate
);
11607 if (PyErr_Occurred()) SWIG_fail
;
11609 Py_INCREF(Py_None
); resultobj
= Py_None
;
11616 static PyObject
*_wrap_PyRectangleShape_base_OnBeginDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11617 PyObject
*resultobj
;
11618 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11621 int arg4
= (int) 0 ;
11622 int arg5
= (int) 0 ;
11623 PyObject
* obj0
= 0 ;
11624 PyObject
* obj1
= 0 ;
11625 PyObject
* obj2
= 0 ;
11626 PyObject
* obj3
= 0 ;
11627 PyObject
* obj4
= 0 ;
11628 char *kwnames
[] = {
11629 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyRectangleShape_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11635 arg2
= (double)SWIG_As_double(obj1
);
11636 if (PyErr_Occurred()) SWIG_fail
;
11637 arg3
= (double)SWIG_As_double(obj2
);
11638 if (PyErr_Occurred()) SWIG_fail
;
11640 arg4
= (int)SWIG_As_int(obj3
);
11641 if (PyErr_Occurred()) SWIG_fail
;
11644 arg5
= (int)SWIG_As_int(obj4
);
11645 if (PyErr_Occurred()) SWIG_fail
;
11648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11649 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
11651 wxPyEndAllowThreads(__tstate
);
11652 if (PyErr_Occurred()) SWIG_fail
;
11654 Py_INCREF(Py_None
); resultobj
= Py_None
;
11661 static PyObject
*_wrap_PyRectangleShape_base_OnEndDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11662 PyObject
*resultobj
;
11663 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11666 int arg4
= (int) 0 ;
11667 int arg5
= (int) 0 ;
11668 PyObject
* obj0
= 0 ;
11669 PyObject
* obj1
= 0 ;
11670 PyObject
* obj2
= 0 ;
11671 PyObject
* obj3
= 0 ;
11672 PyObject
* obj4
= 0 ;
11673 char *kwnames
[] = {
11674 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyRectangleShape_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11680 arg2
= (double)SWIG_As_double(obj1
);
11681 if (PyErr_Occurred()) SWIG_fail
;
11682 arg3
= (double)SWIG_As_double(obj2
);
11683 if (PyErr_Occurred()) SWIG_fail
;
11685 arg4
= (int)SWIG_As_int(obj3
);
11686 if (PyErr_Occurred()) SWIG_fail
;
11689 arg5
= (int)SWIG_As_int(obj4
);
11690 if (PyErr_Occurred()) SWIG_fail
;
11693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11694 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
11696 wxPyEndAllowThreads(__tstate
);
11697 if (PyErr_Occurred()) SWIG_fail
;
11699 Py_INCREF(Py_None
); resultobj
= Py_None
;
11706 static PyObject
*_wrap_PyRectangleShape_base_OnDrawOutline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11707 PyObject
*resultobj
;
11708 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11714 PyObject
* obj0
= 0 ;
11715 PyObject
* obj1
= 0 ;
11716 PyObject
* obj2
= 0 ;
11717 PyObject
* obj3
= 0 ;
11718 PyObject
* obj4
= 0 ;
11719 PyObject
* obj5
= 0 ;
11720 char *kwnames
[] = {
11721 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
11724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyRectangleShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11727 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
11728 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11730 if (arg2
== NULL
) {
11731 PyErr_SetString(PyExc_TypeError
,"null reference");
11734 arg3
= (double)SWIG_As_double(obj2
);
11735 if (PyErr_Occurred()) SWIG_fail
;
11736 arg4
= (double)SWIG_As_double(obj3
);
11737 if (PyErr_Occurred()) SWIG_fail
;
11738 arg5
= (double)SWIG_As_double(obj4
);
11739 if (PyErr_Occurred()) SWIG_fail
;
11740 arg6
= (double)SWIG_As_double(obj5
);
11741 if (PyErr_Occurred()) SWIG_fail
;
11743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11744 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
11746 wxPyEndAllowThreads(__tstate
);
11747 if (PyErr_Occurred()) SWIG_fail
;
11749 Py_INCREF(Py_None
); resultobj
= Py_None
;
11756 static PyObject
*_wrap_PyRectangleShape_base_OnDrawControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11757 PyObject
*resultobj
;
11758 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11760 PyObject
* obj0
= 0 ;
11761 PyObject
* obj1
= 0 ;
11762 char *kwnames
[] = {
11763 (char *) "self",(char *) "dc", NULL
11766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyRectangleShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
11767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11769 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
11770 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11772 if (arg2
== NULL
) {
11773 PyErr_SetString(PyExc_TypeError
,"null reference");
11777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11778 (arg1
)->base_OnDrawControlPoints(*arg2
);
11780 wxPyEndAllowThreads(__tstate
);
11781 if (PyErr_Occurred()) SWIG_fail
;
11783 Py_INCREF(Py_None
); resultobj
= Py_None
;
11790 static PyObject
*_wrap_PyRectangleShape_base_OnEraseControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11791 PyObject
*resultobj
;
11792 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11794 PyObject
* obj0
= 0 ;
11795 PyObject
* obj1
= 0 ;
11796 char *kwnames
[] = {
11797 (char *) "self",(char *) "dc", NULL
11800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyRectangleShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
11801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11803 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
11804 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11806 if (arg2
== NULL
) {
11807 PyErr_SetString(PyExc_TypeError
,"null reference");
11811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11812 (arg1
)->base_OnEraseControlPoints(*arg2
);
11814 wxPyEndAllowThreads(__tstate
);
11815 if (PyErr_Occurred()) SWIG_fail
;
11817 Py_INCREF(Py_None
); resultobj
= Py_None
;
11824 static PyObject
*_wrap_PyRectangleShape_base_OnMoveLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11825 PyObject
*resultobj
;
11826 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11828 bool arg3
= (bool) True
;
11829 PyObject
* obj0
= 0 ;
11830 PyObject
* obj1
= 0 ;
11831 PyObject
* obj2
= 0 ;
11832 char *kwnames
[] = {
11833 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
11836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyRectangleShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11839 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
11840 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11842 if (arg2
== NULL
) {
11843 PyErr_SetString(PyExc_TypeError
,"null reference");
11847 arg3
= (bool)SWIG_As_bool(obj2
);
11848 if (PyErr_Occurred()) SWIG_fail
;
11851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11852 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
11854 wxPyEndAllowThreads(__tstate
);
11855 if (PyErr_Occurred()) SWIG_fail
;
11857 Py_INCREF(Py_None
); resultobj
= Py_None
;
11864 static PyObject
*_wrap_PyRectangleShape_base_OnSizingDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11865 PyObject
*resultobj
;
11866 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11867 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
11871 int arg6
= (int) 0 ;
11872 int arg7
= (int) 0 ;
11873 PyObject
* obj0
= 0 ;
11874 PyObject
* obj1
= 0 ;
11875 PyObject
* obj2
= 0 ;
11876 PyObject
* obj3
= 0 ;
11877 PyObject
* obj4
= 0 ;
11878 PyObject
* obj5
= 0 ;
11879 PyObject
* obj6
= 0 ;
11880 char *kwnames
[] = {
11881 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyRectangleShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11887 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
11888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11889 arg3
= (bool)SWIG_As_bool(obj2
);
11890 if (PyErr_Occurred()) SWIG_fail
;
11891 arg4
= (double)SWIG_As_double(obj3
);
11892 if (PyErr_Occurred()) SWIG_fail
;
11893 arg5
= (double)SWIG_As_double(obj4
);
11894 if (PyErr_Occurred()) SWIG_fail
;
11896 arg6
= (int)SWIG_As_int(obj5
);
11897 if (PyErr_Occurred()) SWIG_fail
;
11900 arg7
= (int)SWIG_As_int(obj6
);
11901 if (PyErr_Occurred()) SWIG_fail
;
11904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11905 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
11907 wxPyEndAllowThreads(__tstate
);
11908 if (PyErr_Occurred()) SWIG_fail
;
11910 Py_INCREF(Py_None
); resultobj
= Py_None
;
11917 static PyObject
*_wrap_PyRectangleShape_base_OnSizingBeginDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11918 PyObject
*resultobj
;
11919 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11920 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
11923 int arg5
= (int) 0 ;
11924 int arg6
= (int) 0 ;
11925 PyObject
* obj0
= 0 ;
11926 PyObject
* obj1
= 0 ;
11927 PyObject
* obj2
= 0 ;
11928 PyObject
* obj3
= 0 ;
11929 PyObject
* obj4
= 0 ;
11930 PyObject
* obj5
= 0 ;
11931 char *kwnames
[] = {
11932 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyRectangleShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11938 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
11939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11940 arg3
= (double)SWIG_As_double(obj2
);
11941 if (PyErr_Occurred()) SWIG_fail
;
11942 arg4
= (double)SWIG_As_double(obj3
);
11943 if (PyErr_Occurred()) SWIG_fail
;
11945 arg5
= (int)SWIG_As_int(obj4
);
11946 if (PyErr_Occurred()) SWIG_fail
;
11949 arg6
= (int)SWIG_As_int(obj5
);
11950 if (PyErr_Occurred()) SWIG_fail
;
11953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11954 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
11956 wxPyEndAllowThreads(__tstate
);
11957 if (PyErr_Occurred()) SWIG_fail
;
11959 Py_INCREF(Py_None
); resultobj
= Py_None
;
11966 static PyObject
*_wrap_PyRectangleShape_base_OnSizingEndDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11967 PyObject
*resultobj
;
11968 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
11969 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
11972 int arg5
= (int) 0 ;
11973 int arg6
= (int) 0 ;
11974 PyObject
* obj0
= 0 ;
11975 PyObject
* obj1
= 0 ;
11976 PyObject
* obj2
= 0 ;
11977 PyObject
* obj3
= 0 ;
11978 PyObject
* obj4
= 0 ;
11979 PyObject
* obj5
= 0 ;
11980 char *kwnames
[] = {
11981 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
11984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyRectangleShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
11986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11987 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
11988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11989 arg3
= (double)SWIG_As_double(obj2
);
11990 if (PyErr_Occurred()) SWIG_fail
;
11991 arg4
= (double)SWIG_As_double(obj3
);
11992 if (PyErr_Occurred()) SWIG_fail
;
11994 arg5
= (int)SWIG_As_int(obj4
);
11995 if (PyErr_Occurred()) SWIG_fail
;
11998 arg6
= (int)SWIG_As_int(obj5
);
11999 if (PyErr_Occurred()) SWIG_fail
;
12002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12003 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
12005 wxPyEndAllowThreads(__tstate
);
12006 if (PyErr_Occurred()) SWIG_fail
;
12008 Py_INCREF(Py_None
); resultobj
= Py_None
;
12015 static PyObject
*_wrap_PyRectangleShape_base_OnBeginSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12016 PyObject
*resultobj
;
12017 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
12020 PyObject
* obj0
= 0 ;
12021 PyObject
* obj1
= 0 ;
12022 PyObject
* obj2
= 0 ;
12023 char *kwnames
[] = {
12024 (char *) "self",(char *) "w",(char *) "h", NULL
12027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyRectangleShape_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
12029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12030 arg2
= (double)SWIG_As_double(obj1
);
12031 if (PyErr_Occurred()) SWIG_fail
;
12032 arg3
= (double)SWIG_As_double(obj2
);
12033 if (PyErr_Occurred()) SWIG_fail
;
12035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12036 (arg1
)->base_OnBeginSize(arg2
,arg3
);
12038 wxPyEndAllowThreads(__tstate
);
12039 if (PyErr_Occurred()) SWIG_fail
;
12041 Py_INCREF(Py_None
); resultobj
= Py_None
;
12048 static PyObject
*_wrap_PyRectangleShape_base_OnEndSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12049 PyObject
*resultobj
;
12050 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
12053 PyObject
* obj0
= 0 ;
12054 PyObject
* obj1
= 0 ;
12055 PyObject
* obj2
= 0 ;
12056 char *kwnames
[] = {
12057 (char *) "self",(char *) "w",(char *) "h", NULL
12060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyRectangleShape_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyRectangleShape
,
12062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12063 arg2
= (double)SWIG_As_double(obj1
);
12064 if (PyErr_Occurred()) SWIG_fail
;
12065 arg3
= (double)SWIG_As_double(obj2
);
12066 if (PyErr_Occurred()) SWIG_fail
;
12068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12069 (arg1
)->base_OnEndSize(arg2
,arg3
);
12071 wxPyEndAllowThreads(__tstate
);
12072 if (PyErr_Occurred()) SWIG_fail
;
12074 Py_INCREF(Py_None
); resultobj
= Py_None
;
12081 static PyObject
* PyRectangleShape_swigregister(PyObject
*, PyObject
*args
) {
12083 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12084 SWIG_TypeClientData(SWIGTYPE_p_wxPyRectangleShape
, obj
);
12086 return Py_BuildValue((char *)"");
12088 static PyObject
*_wrap_new_PyControlPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12089 PyObject
*resultobj
;
12090 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) NULL
;
12091 wxPyShape
*arg2
= (wxPyShape
*) NULL
;
12092 double arg3
= (double) 0.0 ;
12093 double arg4
= (double) 0.0 ;
12094 double arg5
= (double) 0.0 ;
12095 int arg6
= (int) 0 ;
12096 wxPyControlPoint
*result
;
12097 PyObject
* obj0
= 0 ;
12098 PyObject
* obj1
= 0 ;
12099 PyObject
* obj2
= 0 ;
12100 PyObject
* obj3
= 0 ;
12101 PyObject
* obj4
= 0 ;
12102 PyObject
* obj5
= 0 ;
12103 char *kwnames
[] = {
12104 (char *) "the_canvas",(char *) "object",(char *) "size",(char *) "the_xoffset",(char *) "the_yoffset",(char *) "the_type", NULL
12107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOO:new_PyControlPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
12110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12113 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
12114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12117 arg3
= (double)SWIG_As_double(obj2
);
12118 if (PyErr_Occurred()) SWIG_fail
;
12121 arg4
= (double)SWIG_As_double(obj3
);
12122 if (PyErr_Occurred()) SWIG_fail
;
12125 arg5
= (double)SWIG_As_double(obj4
);
12126 if (PyErr_Occurred()) SWIG_fail
;
12129 arg6
= (int)SWIG_As_int(obj5
);
12130 if (PyErr_Occurred()) SWIG_fail
;
12133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12134 result
= (wxPyControlPoint
*)new wxPyControlPoint(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
12136 wxPyEndAllowThreads(__tstate
);
12137 if (PyErr_Occurred()) SWIG_fail
;
12139 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControlPoint
, 1);
12146 static PyObject
*_wrap_PyControlPoint__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12147 PyObject
*resultobj
;
12148 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12149 PyObject
*arg2
= (PyObject
*) 0 ;
12150 PyObject
*arg3
= (PyObject
*) 0 ;
12151 PyObject
* obj0
= 0 ;
12152 PyObject
* obj1
= 0 ;
12153 PyObject
* obj2
= 0 ;
12154 char *kwnames
[] = {
12155 (char *) "self",(char *) "self",(char *) "_class", NULL
12158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControlPoint__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12159 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12165 (arg1
)->_setCallbackInfo(arg2
,arg3
);
12167 wxPyEndAllowThreads(__tstate
);
12168 if (PyErr_Occurred()) SWIG_fail
;
12170 Py_INCREF(Py_None
); resultobj
= Py_None
;
12177 static PyObject
*_wrap_PyControlPoint_SetCornerRadius(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12178 PyObject
*resultobj
;
12179 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12181 PyObject
* obj0
= 0 ;
12182 PyObject
* obj1
= 0 ;
12183 char *kwnames
[] = {
12184 (char *) "self",(char *) "radius", NULL
12187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControlPoint_SetCornerRadius",kwnames
,&obj0
,&obj1
)) goto fail
;
12188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12190 arg2
= (double)SWIG_As_double(obj1
);
12191 if (PyErr_Occurred()) SWIG_fail
;
12193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12194 (arg1
)->SetCornerRadius(arg2
);
12196 wxPyEndAllowThreads(__tstate
);
12197 if (PyErr_Occurred()) SWIG_fail
;
12199 Py_INCREF(Py_None
); resultobj
= Py_None
;
12206 static PyObject
*_wrap_PyControlPoint_base_OnDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12207 PyObject
*resultobj
;
12208 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12209 PyObject
* obj0
= 0 ;
12210 char *kwnames
[] = {
12211 (char *) "self", NULL
12214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControlPoint_base_OnDelete",kwnames
,&obj0
)) goto fail
;
12215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12219 (arg1
)->base_OnDelete();
12221 wxPyEndAllowThreads(__tstate
);
12222 if (PyErr_Occurred()) SWIG_fail
;
12224 Py_INCREF(Py_None
); resultobj
= Py_None
;
12231 static PyObject
*_wrap_PyControlPoint_base_OnDraw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12232 PyObject
*resultobj
;
12233 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12235 PyObject
* obj0
= 0 ;
12236 PyObject
* obj1
= 0 ;
12237 char *kwnames
[] = {
12238 (char *) "self",(char *) "dc", NULL
12241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControlPoint_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
12242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12244 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
12245 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12247 if (arg2
== NULL
) {
12248 PyErr_SetString(PyExc_TypeError
,"null reference");
12252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12253 (arg1
)->base_OnDraw(*arg2
);
12255 wxPyEndAllowThreads(__tstate
);
12256 if (PyErr_Occurred()) SWIG_fail
;
12258 Py_INCREF(Py_None
); resultobj
= Py_None
;
12265 static PyObject
*_wrap_PyControlPoint_base_OnDrawContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12266 PyObject
*resultobj
;
12267 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12269 PyObject
* obj0
= 0 ;
12270 PyObject
* obj1
= 0 ;
12271 char *kwnames
[] = {
12272 (char *) "self",(char *) "dc", NULL
12275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControlPoint_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
12276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12278 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
12279 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12281 if (arg2
== NULL
) {
12282 PyErr_SetString(PyExc_TypeError
,"null reference");
12286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12287 (arg1
)->base_OnDrawContents(*arg2
);
12289 wxPyEndAllowThreads(__tstate
);
12290 if (PyErr_Occurred()) SWIG_fail
;
12292 Py_INCREF(Py_None
); resultobj
= Py_None
;
12299 static PyObject
*_wrap_PyControlPoint_base_OnDrawBranches(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12300 PyObject
*resultobj
;
12301 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12303 bool arg3
= (bool) FALSE
;
12304 PyObject
* obj0
= 0 ;
12305 PyObject
* obj1
= 0 ;
12306 PyObject
* obj2
= 0 ;
12307 char *kwnames
[] = {
12308 (char *) "self",(char *) "dc",(char *) "erase", NULL
12311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyControlPoint_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12314 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
12315 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12317 if (arg2
== NULL
) {
12318 PyErr_SetString(PyExc_TypeError
,"null reference");
12322 arg3
= (bool)SWIG_As_bool(obj2
);
12323 if (PyErr_Occurred()) SWIG_fail
;
12326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12327 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
12329 wxPyEndAllowThreads(__tstate
);
12330 if (PyErr_Occurred()) SWIG_fail
;
12332 Py_INCREF(Py_None
); resultobj
= Py_None
;
12339 static PyObject
*_wrap_PyControlPoint_base_OnMoveLinks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12340 PyObject
*resultobj
;
12341 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12343 PyObject
* obj0
= 0 ;
12344 PyObject
* obj1
= 0 ;
12345 char *kwnames
[] = {
12346 (char *) "self",(char *) "dc", NULL
12349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControlPoint_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
12350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12352 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
12353 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12355 if (arg2
== NULL
) {
12356 PyErr_SetString(PyExc_TypeError
,"null reference");
12360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12361 (arg1
)->base_OnMoveLinks(*arg2
);
12363 wxPyEndAllowThreads(__tstate
);
12364 if (PyErr_Occurred()) SWIG_fail
;
12366 Py_INCREF(Py_None
); resultobj
= Py_None
;
12373 static PyObject
*_wrap_PyControlPoint_base_OnErase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12374 PyObject
*resultobj
;
12375 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12377 PyObject
* obj0
= 0 ;
12378 PyObject
* obj1
= 0 ;
12379 char *kwnames
[] = {
12380 (char *) "self",(char *) "dc", NULL
12383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControlPoint_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
12384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12386 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
12387 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12389 if (arg2
== NULL
) {
12390 PyErr_SetString(PyExc_TypeError
,"null reference");
12394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12395 (arg1
)->base_OnErase(*arg2
);
12397 wxPyEndAllowThreads(__tstate
);
12398 if (PyErr_Occurred()) SWIG_fail
;
12400 Py_INCREF(Py_None
); resultobj
= Py_None
;
12407 static PyObject
*_wrap_PyControlPoint_base_OnEraseContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12408 PyObject
*resultobj
;
12409 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12411 PyObject
* obj0
= 0 ;
12412 PyObject
* obj1
= 0 ;
12413 char *kwnames
[] = {
12414 (char *) "self",(char *) "dc", NULL
12417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControlPoint_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
12418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12420 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
12421 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12423 if (arg2
== NULL
) {
12424 PyErr_SetString(PyExc_TypeError
,"null reference");
12428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12429 (arg1
)->base_OnEraseContents(*arg2
);
12431 wxPyEndAllowThreads(__tstate
);
12432 if (PyErr_Occurred()) SWIG_fail
;
12434 Py_INCREF(Py_None
); resultobj
= Py_None
;
12441 static PyObject
*_wrap_PyControlPoint_base_OnHighlight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12442 PyObject
*resultobj
;
12443 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12445 PyObject
* obj0
= 0 ;
12446 PyObject
* obj1
= 0 ;
12447 char *kwnames
[] = {
12448 (char *) "self",(char *) "dc", NULL
12451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControlPoint_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
12452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12454 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
12455 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12457 if (arg2
== NULL
) {
12458 PyErr_SetString(PyExc_TypeError
,"null reference");
12462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12463 (arg1
)->base_OnHighlight(*arg2
);
12465 wxPyEndAllowThreads(__tstate
);
12466 if (PyErr_Occurred()) SWIG_fail
;
12468 Py_INCREF(Py_None
); resultobj
= Py_None
;
12475 static PyObject
*_wrap_PyControlPoint_base_OnLeftClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12476 PyObject
*resultobj
;
12477 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12480 int arg4
= (int) 0 ;
12481 int arg5
= (int) 0 ;
12482 PyObject
* obj0
= 0 ;
12483 PyObject
* obj1
= 0 ;
12484 PyObject
* obj2
= 0 ;
12485 PyObject
* obj3
= 0 ;
12486 PyObject
* obj4
= 0 ;
12487 char *kwnames
[] = {
12488 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyControlPoint_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12494 arg2
= (double)SWIG_As_double(obj1
);
12495 if (PyErr_Occurred()) SWIG_fail
;
12496 arg3
= (double)SWIG_As_double(obj2
);
12497 if (PyErr_Occurred()) SWIG_fail
;
12499 arg4
= (int)SWIG_As_int(obj3
);
12500 if (PyErr_Occurred()) SWIG_fail
;
12503 arg5
= (int)SWIG_As_int(obj4
);
12504 if (PyErr_Occurred()) SWIG_fail
;
12507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12508 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
12510 wxPyEndAllowThreads(__tstate
);
12511 if (PyErr_Occurred()) SWIG_fail
;
12513 Py_INCREF(Py_None
); resultobj
= Py_None
;
12520 static PyObject
*_wrap_PyControlPoint_base_OnLeftDoubleClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12521 PyObject
*resultobj
;
12522 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12525 int arg4
= (int) 0 ;
12526 int arg5
= (int) 0 ;
12527 PyObject
* obj0
= 0 ;
12528 PyObject
* obj1
= 0 ;
12529 PyObject
* obj2
= 0 ;
12530 PyObject
* obj3
= 0 ;
12531 PyObject
* obj4
= 0 ;
12532 char *kwnames
[] = {
12533 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyControlPoint_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12539 arg2
= (double)SWIG_As_double(obj1
);
12540 if (PyErr_Occurred()) SWIG_fail
;
12541 arg3
= (double)SWIG_As_double(obj2
);
12542 if (PyErr_Occurred()) SWIG_fail
;
12544 arg4
= (int)SWIG_As_int(obj3
);
12545 if (PyErr_Occurred()) SWIG_fail
;
12548 arg5
= (int)SWIG_As_int(obj4
);
12549 if (PyErr_Occurred()) SWIG_fail
;
12552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12553 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
12555 wxPyEndAllowThreads(__tstate
);
12556 if (PyErr_Occurred()) SWIG_fail
;
12558 Py_INCREF(Py_None
); resultobj
= Py_None
;
12565 static PyObject
*_wrap_PyControlPoint_base_OnRightClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12566 PyObject
*resultobj
;
12567 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12570 int arg4
= (int) 0 ;
12571 int arg5
= (int) 0 ;
12572 PyObject
* obj0
= 0 ;
12573 PyObject
* obj1
= 0 ;
12574 PyObject
* obj2
= 0 ;
12575 PyObject
* obj3
= 0 ;
12576 PyObject
* obj4
= 0 ;
12577 char *kwnames
[] = {
12578 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyControlPoint_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12584 arg2
= (double)SWIG_As_double(obj1
);
12585 if (PyErr_Occurred()) SWIG_fail
;
12586 arg3
= (double)SWIG_As_double(obj2
);
12587 if (PyErr_Occurred()) SWIG_fail
;
12589 arg4
= (int)SWIG_As_int(obj3
);
12590 if (PyErr_Occurred()) SWIG_fail
;
12593 arg5
= (int)SWIG_As_int(obj4
);
12594 if (PyErr_Occurred()) SWIG_fail
;
12597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12598 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
12600 wxPyEndAllowThreads(__tstate
);
12601 if (PyErr_Occurred()) SWIG_fail
;
12603 Py_INCREF(Py_None
); resultobj
= Py_None
;
12610 static PyObject
*_wrap_PyControlPoint_base_OnSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12611 PyObject
*resultobj
;
12612 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12615 PyObject
* obj0
= 0 ;
12616 PyObject
* obj1
= 0 ;
12617 PyObject
* obj2
= 0 ;
12618 char *kwnames
[] = {
12619 (char *) "self",(char *) "x",(char *) "y", NULL
12622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControlPoint_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12625 arg2
= (double)SWIG_As_double(obj1
);
12626 if (PyErr_Occurred()) SWIG_fail
;
12627 arg3
= (double)SWIG_As_double(obj2
);
12628 if (PyErr_Occurred()) SWIG_fail
;
12630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12631 (arg1
)->base_OnSize(arg2
,arg3
);
12633 wxPyEndAllowThreads(__tstate
);
12634 if (PyErr_Occurred()) SWIG_fail
;
12636 Py_INCREF(Py_None
); resultobj
= Py_None
;
12643 static PyObject
*_wrap_PyControlPoint_base_OnMovePre(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12644 PyObject
*resultobj
;
12645 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12651 bool arg7
= (bool) True
;
12653 PyObject
* obj0
= 0 ;
12654 PyObject
* obj1
= 0 ;
12655 PyObject
* obj2
= 0 ;
12656 PyObject
* obj3
= 0 ;
12657 PyObject
* obj4
= 0 ;
12658 PyObject
* obj5
= 0 ;
12659 PyObject
* obj6
= 0 ;
12660 char *kwnames
[] = {
12661 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
12664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyControlPoint_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
12665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12667 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
12668 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12670 if (arg2
== NULL
) {
12671 PyErr_SetString(PyExc_TypeError
,"null reference");
12674 arg3
= (double)SWIG_As_double(obj2
);
12675 if (PyErr_Occurred()) SWIG_fail
;
12676 arg4
= (double)SWIG_As_double(obj3
);
12677 if (PyErr_Occurred()) SWIG_fail
;
12678 arg5
= (double)SWIG_As_double(obj4
);
12679 if (PyErr_Occurred()) SWIG_fail
;
12680 arg6
= (double)SWIG_As_double(obj5
);
12681 if (PyErr_Occurred()) SWIG_fail
;
12683 arg7
= (bool)SWIG_As_bool(obj6
);
12684 if (PyErr_Occurred()) SWIG_fail
;
12687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12688 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
12690 wxPyEndAllowThreads(__tstate
);
12691 if (PyErr_Occurred()) SWIG_fail
;
12694 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12702 static PyObject
*_wrap_PyControlPoint_base_OnMovePost(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12703 PyObject
*resultobj
;
12704 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12710 bool arg7
= (bool) True
;
12711 PyObject
* obj0
= 0 ;
12712 PyObject
* obj1
= 0 ;
12713 PyObject
* obj2
= 0 ;
12714 PyObject
* obj3
= 0 ;
12715 PyObject
* obj4
= 0 ;
12716 PyObject
* obj5
= 0 ;
12717 PyObject
* obj6
= 0 ;
12718 char *kwnames
[] = {
12719 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
12722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyControlPoint_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
12723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12725 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
12726 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12728 if (arg2
== NULL
) {
12729 PyErr_SetString(PyExc_TypeError
,"null reference");
12732 arg3
= (double)SWIG_As_double(obj2
);
12733 if (PyErr_Occurred()) SWIG_fail
;
12734 arg4
= (double)SWIG_As_double(obj3
);
12735 if (PyErr_Occurred()) SWIG_fail
;
12736 arg5
= (double)SWIG_As_double(obj4
);
12737 if (PyErr_Occurred()) SWIG_fail
;
12738 arg6
= (double)SWIG_As_double(obj5
);
12739 if (PyErr_Occurred()) SWIG_fail
;
12741 arg7
= (bool)SWIG_As_bool(obj6
);
12742 if (PyErr_Occurred()) SWIG_fail
;
12745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12746 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
12748 wxPyEndAllowThreads(__tstate
);
12749 if (PyErr_Occurred()) SWIG_fail
;
12751 Py_INCREF(Py_None
); resultobj
= Py_None
;
12758 static PyObject
*_wrap_PyControlPoint_base_OnDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12759 PyObject
*resultobj
;
12760 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12764 int arg5
= (int) 0 ;
12765 int arg6
= (int) 0 ;
12766 PyObject
* obj0
= 0 ;
12767 PyObject
* obj1
= 0 ;
12768 PyObject
* obj2
= 0 ;
12769 PyObject
* obj3
= 0 ;
12770 PyObject
* obj4
= 0 ;
12771 PyObject
* obj5
= 0 ;
12772 char *kwnames
[] = {
12773 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyControlPoint_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12779 arg2
= (bool)SWIG_As_bool(obj1
);
12780 if (PyErr_Occurred()) SWIG_fail
;
12781 arg3
= (double)SWIG_As_double(obj2
);
12782 if (PyErr_Occurred()) SWIG_fail
;
12783 arg4
= (double)SWIG_As_double(obj3
);
12784 if (PyErr_Occurred()) SWIG_fail
;
12786 arg5
= (int)SWIG_As_int(obj4
);
12787 if (PyErr_Occurred()) SWIG_fail
;
12790 arg6
= (int)SWIG_As_int(obj5
);
12791 if (PyErr_Occurred()) SWIG_fail
;
12794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12795 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
12797 wxPyEndAllowThreads(__tstate
);
12798 if (PyErr_Occurred()) SWIG_fail
;
12800 Py_INCREF(Py_None
); resultobj
= Py_None
;
12807 static PyObject
*_wrap_PyControlPoint_base_OnBeginDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12808 PyObject
*resultobj
;
12809 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12812 int arg4
= (int) 0 ;
12813 int arg5
= (int) 0 ;
12814 PyObject
* obj0
= 0 ;
12815 PyObject
* obj1
= 0 ;
12816 PyObject
* obj2
= 0 ;
12817 PyObject
* obj3
= 0 ;
12818 PyObject
* obj4
= 0 ;
12819 char *kwnames
[] = {
12820 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyControlPoint_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12826 arg2
= (double)SWIG_As_double(obj1
);
12827 if (PyErr_Occurred()) SWIG_fail
;
12828 arg3
= (double)SWIG_As_double(obj2
);
12829 if (PyErr_Occurred()) SWIG_fail
;
12831 arg4
= (int)SWIG_As_int(obj3
);
12832 if (PyErr_Occurred()) SWIG_fail
;
12835 arg5
= (int)SWIG_As_int(obj4
);
12836 if (PyErr_Occurred()) SWIG_fail
;
12839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12840 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
12842 wxPyEndAllowThreads(__tstate
);
12843 if (PyErr_Occurred()) SWIG_fail
;
12845 Py_INCREF(Py_None
); resultobj
= Py_None
;
12852 static PyObject
*_wrap_PyControlPoint_base_OnEndDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12853 PyObject
*resultobj
;
12854 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12857 int arg4
= (int) 0 ;
12858 int arg5
= (int) 0 ;
12859 PyObject
* obj0
= 0 ;
12860 PyObject
* obj1
= 0 ;
12861 PyObject
* obj2
= 0 ;
12862 PyObject
* obj3
= 0 ;
12863 PyObject
* obj4
= 0 ;
12864 char *kwnames
[] = {
12865 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyControlPoint_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12871 arg2
= (double)SWIG_As_double(obj1
);
12872 if (PyErr_Occurred()) SWIG_fail
;
12873 arg3
= (double)SWIG_As_double(obj2
);
12874 if (PyErr_Occurred()) SWIG_fail
;
12876 arg4
= (int)SWIG_As_int(obj3
);
12877 if (PyErr_Occurred()) SWIG_fail
;
12880 arg5
= (int)SWIG_As_int(obj4
);
12881 if (PyErr_Occurred()) SWIG_fail
;
12884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12885 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
12887 wxPyEndAllowThreads(__tstate
);
12888 if (PyErr_Occurred()) SWIG_fail
;
12890 Py_INCREF(Py_None
); resultobj
= Py_None
;
12897 static PyObject
*_wrap_PyControlPoint_base_OnDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12898 PyObject
*resultobj
;
12899 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12903 int arg5
= (int) 0 ;
12904 int arg6
= (int) 0 ;
12905 PyObject
* obj0
= 0 ;
12906 PyObject
* obj1
= 0 ;
12907 PyObject
* obj2
= 0 ;
12908 PyObject
* obj3
= 0 ;
12909 PyObject
* obj4
= 0 ;
12910 PyObject
* obj5
= 0 ;
12911 char *kwnames
[] = {
12912 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyControlPoint_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12918 arg2
= (bool)SWIG_As_bool(obj1
);
12919 if (PyErr_Occurred()) SWIG_fail
;
12920 arg3
= (double)SWIG_As_double(obj2
);
12921 if (PyErr_Occurred()) SWIG_fail
;
12922 arg4
= (double)SWIG_As_double(obj3
);
12923 if (PyErr_Occurred()) SWIG_fail
;
12925 arg5
= (int)SWIG_As_int(obj4
);
12926 if (PyErr_Occurred()) SWIG_fail
;
12929 arg6
= (int)SWIG_As_int(obj5
);
12930 if (PyErr_Occurred()) SWIG_fail
;
12933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12934 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
12936 wxPyEndAllowThreads(__tstate
);
12937 if (PyErr_Occurred()) SWIG_fail
;
12939 Py_INCREF(Py_None
); resultobj
= Py_None
;
12946 static PyObject
*_wrap_PyControlPoint_base_OnBeginDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12947 PyObject
*resultobj
;
12948 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12951 int arg4
= (int) 0 ;
12952 int arg5
= (int) 0 ;
12953 PyObject
* obj0
= 0 ;
12954 PyObject
* obj1
= 0 ;
12955 PyObject
* obj2
= 0 ;
12956 PyObject
* obj3
= 0 ;
12957 PyObject
* obj4
= 0 ;
12958 char *kwnames
[] = {
12959 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyControlPoint_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
12964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12965 arg2
= (double)SWIG_As_double(obj1
);
12966 if (PyErr_Occurred()) SWIG_fail
;
12967 arg3
= (double)SWIG_As_double(obj2
);
12968 if (PyErr_Occurred()) SWIG_fail
;
12970 arg4
= (int)SWIG_As_int(obj3
);
12971 if (PyErr_Occurred()) SWIG_fail
;
12974 arg5
= (int)SWIG_As_int(obj4
);
12975 if (PyErr_Occurred()) SWIG_fail
;
12978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12979 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
12981 wxPyEndAllowThreads(__tstate
);
12982 if (PyErr_Occurred()) SWIG_fail
;
12984 Py_INCREF(Py_None
); resultobj
= Py_None
;
12991 static PyObject
*_wrap_PyControlPoint_base_OnEndDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12992 PyObject
*resultobj
;
12993 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
12996 int arg4
= (int) 0 ;
12997 int arg5
= (int) 0 ;
12998 PyObject
* obj0
= 0 ;
12999 PyObject
* obj1
= 0 ;
13000 PyObject
* obj2
= 0 ;
13001 PyObject
* obj3
= 0 ;
13002 PyObject
* obj4
= 0 ;
13003 char *kwnames
[] = {
13004 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyControlPoint_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
13009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13010 arg2
= (double)SWIG_As_double(obj1
);
13011 if (PyErr_Occurred()) SWIG_fail
;
13012 arg3
= (double)SWIG_As_double(obj2
);
13013 if (PyErr_Occurred()) SWIG_fail
;
13015 arg4
= (int)SWIG_As_int(obj3
);
13016 if (PyErr_Occurred()) SWIG_fail
;
13019 arg5
= (int)SWIG_As_int(obj4
);
13020 if (PyErr_Occurred()) SWIG_fail
;
13023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13024 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
13026 wxPyEndAllowThreads(__tstate
);
13027 if (PyErr_Occurred()) SWIG_fail
;
13029 Py_INCREF(Py_None
); resultobj
= Py_None
;
13036 static PyObject
*_wrap_PyControlPoint_base_OnDrawOutline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13037 PyObject
*resultobj
;
13038 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
13044 PyObject
* obj0
= 0 ;
13045 PyObject
* obj1
= 0 ;
13046 PyObject
* obj2
= 0 ;
13047 PyObject
* obj3
= 0 ;
13048 PyObject
* obj4
= 0 ;
13049 PyObject
* obj5
= 0 ;
13050 char *kwnames
[] = {
13051 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
13054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyControlPoint_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
13055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
13056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13057 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
13058 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13060 if (arg2
== NULL
) {
13061 PyErr_SetString(PyExc_TypeError
,"null reference");
13064 arg3
= (double)SWIG_As_double(obj2
);
13065 if (PyErr_Occurred()) SWIG_fail
;
13066 arg4
= (double)SWIG_As_double(obj3
);
13067 if (PyErr_Occurred()) SWIG_fail
;
13068 arg5
= (double)SWIG_As_double(obj4
);
13069 if (PyErr_Occurred()) SWIG_fail
;
13070 arg6
= (double)SWIG_As_double(obj5
);
13071 if (PyErr_Occurred()) SWIG_fail
;
13073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13074 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
13076 wxPyEndAllowThreads(__tstate
);
13077 if (PyErr_Occurred()) SWIG_fail
;
13079 Py_INCREF(Py_None
); resultobj
= Py_None
;
13086 static PyObject
*_wrap_PyControlPoint_base_OnDrawControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13087 PyObject
*resultobj
;
13088 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
13090 PyObject
* obj0
= 0 ;
13091 PyObject
* obj1
= 0 ;
13092 char *kwnames
[] = {
13093 (char *) "self",(char *) "dc", NULL
13096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControlPoint_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
13097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
13098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13099 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
13100 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13102 if (arg2
== NULL
) {
13103 PyErr_SetString(PyExc_TypeError
,"null reference");
13107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13108 (arg1
)->base_OnDrawControlPoints(*arg2
);
13110 wxPyEndAllowThreads(__tstate
);
13111 if (PyErr_Occurred()) SWIG_fail
;
13113 Py_INCREF(Py_None
); resultobj
= Py_None
;
13120 static PyObject
*_wrap_PyControlPoint_base_OnEraseControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13121 PyObject
*resultobj
;
13122 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
13124 PyObject
* obj0
= 0 ;
13125 PyObject
* obj1
= 0 ;
13126 char *kwnames
[] = {
13127 (char *) "self",(char *) "dc", NULL
13130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControlPoint_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
13131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
13132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13133 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
13134 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13136 if (arg2
== NULL
) {
13137 PyErr_SetString(PyExc_TypeError
,"null reference");
13141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13142 (arg1
)->base_OnEraseControlPoints(*arg2
);
13144 wxPyEndAllowThreads(__tstate
);
13145 if (PyErr_Occurred()) SWIG_fail
;
13147 Py_INCREF(Py_None
); resultobj
= Py_None
;
13154 static PyObject
*_wrap_PyControlPoint_base_OnMoveLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13155 PyObject
*resultobj
;
13156 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
13158 bool arg3
= (bool) True
;
13159 PyObject
* obj0
= 0 ;
13160 PyObject
* obj1
= 0 ;
13161 PyObject
* obj2
= 0 ;
13162 char *kwnames
[] = {
13163 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
13166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyControlPoint_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
13168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13169 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
13170 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13172 if (arg2
== NULL
) {
13173 PyErr_SetString(PyExc_TypeError
,"null reference");
13177 arg3
= (bool)SWIG_As_bool(obj2
);
13178 if (PyErr_Occurred()) SWIG_fail
;
13181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13182 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
13184 wxPyEndAllowThreads(__tstate
);
13185 if (PyErr_Occurred()) SWIG_fail
;
13187 Py_INCREF(Py_None
); resultobj
= Py_None
;
13194 static PyObject
*_wrap_PyControlPoint_base_OnSizingDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13195 PyObject
*resultobj
;
13196 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
13197 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
13201 int arg6
= (int) 0 ;
13202 int arg7
= (int) 0 ;
13203 PyObject
* obj0
= 0 ;
13204 PyObject
* obj1
= 0 ;
13205 PyObject
* obj2
= 0 ;
13206 PyObject
* obj3
= 0 ;
13207 PyObject
* obj4
= 0 ;
13208 PyObject
* obj5
= 0 ;
13209 PyObject
* obj6
= 0 ;
13210 char *kwnames
[] = {
13211 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyControlPoint_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
13215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
13216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13217 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
13218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13219 arg3
= (bool)SWIG_As_bool(obj2
);
13220 if (PyErr_Occurred()) SWIG_fail
;
13221 arg4
= (double)SWIG_As_double(obj3
);
13222 if (PyErr_Occurred()) SWIG_fail
;
13223 arg5
= (double)SWIG_As_double(obj4
);
13224 if (PyErr_Occurred()) SWIG_fail
;
13226 arg6
= (int)SWIG_As_int(obj5
);
13227 if (PyErr_Occurred()) SWIG_fail
;
13230 arg7
= (int)SWIG_As_int(obj6
);
13231 if (PyErr_Occurred()) SWIG_fail
;
13234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13235 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
13237 wxPyEndAllowThreads(__tstate
);
13238 if (PyErr_Occurred()) SWIG_fail
;
13240 Py_INCREF(Py_None
); resultobj
= Py_None
;
13247 static PyObject
*_wrap_PyControlPoint_base_OnSizingBeginDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13248 PyObject
*resultobj
;
13249 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
13250 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
13253 int arg5
= (int) 0 ;
13254 int arg6
= (int) 0 ;
13255 PyObject
* obj0
= 0 ;
13256 PyObject
* obj1
= 0 ;
13257 PyObject
* obj2
= 0 ;
13258 PyObject
* obj3
= 0 ;
13259 PyObject
* obj4
= 0 ;
13260 PyObject
* obj5
= 0 ;
13261 char *kwnames
[] = {
13262 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyControlPoint_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
13266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
13267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13268 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
13269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13270 arg3
= (double)SWIG_As_double(obj2
);
13271 if (PyErr_Occurred()) SWIG_fail
;
13272 arg4
= (double)SWIG_As_double(obj3
);
13273 if (PyErr_Occurred()) SWIG_fail
;
13275 arg5
= (int)SWIG_As_int(obj4
);
13276 if (PyErr_Occurred()) SWIG_fail
;
13279 arg6
= (int)SWIG_As_int(obj5
);
13280 if (PyErr_Occurred()) SWIG_fail
;
13283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13284 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
13286 wxPyEndAllowThreads(__tstate
);
13287 if (PyErr_Occurred()) SWIG_fail
;
13289 Py_INCREF(Py_None
); resultobj
= Py_None
;
13296 static PyObject
*_wrap_PyControlPoint_base_OnSizingEndDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13297 PyObject
*resultobj
;
13298 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
13299 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
13302 int arg5
= (int) 0 ;
13303 int arg6
= (int) 0 ;
13304 PyObject
* obj0
= 0 ;
13305 PyObject
* obj1
= 0 ;
13306 PyObject
* obj2
= 0 ;
13307 PyObject
* obj3
= 0 ;
13308 PyObject
* obj4
= 0 ;
13309 PyObject
* obj5
= 0 ;
13310 char *kwnames
[] = {
13311 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyControlPoint_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
13315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
13316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13317 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
13318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13319 arg3
= (double)SWIG_As_double(obj2
);
13320 if (PyErr_Occurred()) SWIG_fail
;
13321 arg4
= (double)SWIG_As_double(obj3
);
13322 if (PyErr_Occurred()) SWIG_fail
;
13324 arg5
= (int)SWIG_As_int(obj4
);
13325 if (PyErr_Occurred()) SWIG_fail
;
13328 arg6
= (int)SWIG_As_int(obj5
);
13329 if (PyErr_Occurred()) SWIG_fail
;
13332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13333 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
13335 wxPyEndAllowThreads(__tstate
);
13336 if (PyErr_Occurred()) SWIG_fail
;
13338 Py_INCREF(Py_None
); resultobj
= Py_None
;
13345 static PyObject
*_wrap_PyControlPoint_base_OnBeginSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13346 PyObject
*resultobj
;
13347 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
13350 PyObject
* obj0
= 0 ;
13351 PyObject
* obj1
= 0 ;
13352 PyObject
* obj2
= 0 ;
13353 char *kwnames
[] = {
13354 (char *) "self",(char *) "w",(char *) "h", NULL
13357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControlPoint_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
13359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13360 arg2
= (double)SWIG_As_double(obj1
);
13361 if (PyErr_Occurred()) SWIG_fail
;
13362 arg3
= (double)SWIG_As_double(obj2
);
13363 if (PyErr_Occurred()) SWIG_fail
;
13365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13366 (arg1
)->base_OnBeginSize(arg2
,arg3
);
13368 wxPyEndAllowThreads(__tstate
);
13369 if (PyErr_Occurred()) SWIG_fail
;
13371 Py_INCREF(Py_None
); resultobj
= Py_None
;
13378 static PyObject
*_wrap_PyControlPoint_base_OnEndSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13379 PyObject
*resultobj
;
13380 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
13383 PyObject
* obj0
= 0 ;
13384 PyObject
* obj1
= 0 ;
13385 PyObject
* obj2
= 0 ;
13386 char *kwnames
[] = {
13387 (char *) "self",(char *) "w",(char *) "h", NULL
13390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControlPoint_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControlPoint
,
13392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13393 arg2
= (double)SWIG_As_double(obj1
);
13394 if (PyErr_Occurred()) SWIG_fail
;
13395 arg3
= (double)SWIG_As_double(obj2
);
13396 if (PyErr_Occurred()) SWIG_fail
;
13398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13399 (arg1
)->base_OnEndSize(arg2
,arg3
);
13401 wxPyEndAllowThreads(__tstate
);
13402 if (PyErr_Occurred()) SWIG_fail
;
13404 Py_INCREF(Py_None
); resultobj
= Py_None
;
13411 static PyObject
* PyControlPoint_swigregister(PyObject
*, PyObject
*args
) {
13413 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13414 SWIG_TypeClientData(SWIGTYPE_p_wxPyControlPoint
, obj
);
13416 return Py_BuildValue((char *)"");
13418 static PyObject
*_wrap_new_PyBitmapShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13419 PyObject
*resultobj
;
13420 wxPyBitmapShape
*result
;
13421 char *kwnames
[] = {
13425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyBitmapShape",kwnames
)) goto fail
;
13427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13428 result
= (wxPyBitmapShape
*)new wxPyBitmapShape();
13430 wxPyEndAllowThreads(__tstate
);
13431 if (PyErr_Occurred()) SWIG_fail
;
13433 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyBitmapShape
, 1);
13440 static PyObject
*_wrap_PyBitmapShape__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13441 PyObject
*resultobj
;
13442 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13443 PyObject
*arg2
= (PyObject
*) 0 ;
13444 PyObject
*arg3
= (PyObject
*) 0 ;
13445 PyObject
* obj0
= 0 ;
13446 PyObject
* obj1
= 0 ;
13447 PyObject
* obj2
= 0 ;
13448 char *kwnames
[] = {
13449 (char *) "self",(char *) "self",(char *) "_class", NULL
13452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13459 (arg1
)->_setCallbackInfo(arg2
,arg3
);
13461 wxPyEndAllowThreads(__tstate
);
13462 if (PyErr_Occurred()) SWIG_fail
;
13464 Py_INCREF(Py_None
); resultobj
= Py_None
;
13471 static PyObject
*_wrap_PyBitmapShape_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13472 PyObject
*resultobj
;
13473 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13475 PyObject
* obj0
= 0 ;
13476 char *kwnames
[] = {
13477 (char *) "self", NULL
13480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyBitmapShape_GetBitmap",kwnames
,&obj0
)) goto fail
;
13481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13486 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
13487 result
= (wxBitmap
*) &_result_ref
;
13490 wxPyEndAllowThreads(__tstate
);
13491 if (PyErr_Occurred()) SWIG_fail
;
13494 wxBitmap
* resultptr
= new wxBitmap(*result
);
13495 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
13503 static PyObject
*_wrap_PyBitmapShape_GetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13504 PyObject
*resultobj
;
13505 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13507 PyObject
* obj0
= 0 ;
13508 char *kwnames
[] = {
13509 (char *) "self", NULL
13512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyBitmapShape_GetFilename",kwnames
,&obj0
)) goto fail
;
13513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13517 result
= (arg1
)->GetFilename();
13519 wxPyEndAllowThreads(__tstate
);
13520 if (PyErr_Occurred()) SWIG_fail
;
13524 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13526 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13535 static PyObject
*_wrap_PyBitmapShape_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13536 PyObject
*resultobj
;
13537 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13538 wxBitmap
*arg2
= 0 ;
13539 PyObject
* obj0
= 0 ;
13540 PyObject
* obj1
= 0 ;
13541 char *kwnames
[] = {
13542 (char *) "self",(char *) "bitmap", NULL
13545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
13546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13548 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
13549 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13551 if (arg2
== NULL
) {
13552 PyErr_SetString(PyExc_TypeError
,"null reference");
13556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13557 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
13559 wxPyEndAllowThreads(__tstate
);
13560 if (PyErr_Occurred()) SWIG_fail
;
13562 Py_INCREF(Py_None
); resultobj
= Py_None
;
13569 static PyObject
*_wrap_PyBitmapShape_SetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13570 PyObject
*resultobj
;
13571 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13572 wxString
*arg2
= 0 ;
13573 bool temp2
= False
;
13574 PyObject
* obj0
= 0 ;
13575 PyObject
* obj1
= 0 ;
13576 char *kwnames
[] = {
13577 (char *) "self",(char *) "filename", NULL
13580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
13581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13584 arg2
= wxString_in_helper(obj1
);
13585 if (arg2
== NULL
) SWIG_fail
;
13589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13590 (arg1
)->SetFilename((wxString
const &)*arg2
);
13592 wxPyEndAllowThreads(__tstate
);
13593 if (PyErr_Occurred()) SWIG_fail
;
13595 Py_INCREF(Py_None
); resultobj
= Py_None
;
13610 static PyObject
*_wrap_PyBitmapShape_base_OnDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13611 PyObject
*resultobj
;
13612 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13613 PyObject
* obj0
= 0 ;
13614 char *kwnames
[] = {
13615 (char *) "self", NULL
13618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyBitmapShape_base_OnDelete",kwnames
,&obj0
)) goto fail
;
13619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13623 (arg1
)->base_OnDelete();
13625 wxPyEndAllowThreads(__tstate
);
13626 if (PyErr_Occurred()) SWIG_fail
;
13628 Py_INCREF(Py_None
); resultobj
= Py_None
;
13635 static PyObject
*_wrap_PyBitmapShape_base_OnDraw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13636 PyObject
*resultobj
;
13637 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13639 PyObject
* obj0
= 0 ;
13640 PyObject
* obj1
= 0 ;
13641 char *kwnames
[] = {
13642 (char *) "self",(char *) "dc", NULL
13645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
13646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13648 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
13649 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13651 if (arg2
== NULL
) {
13652 PyErr_SetString(PyExc_TypeError
,"null reference");
13656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13657 (arg1
)->base_OnDraw(*arg2
);
13659 wxPyEndAllowThreads(__tstate
);
13660 if (PyErr_Occurred()) SWIG_fail
;
13662 Py_INCREF(Py_None
); resultobj
= Py_None
;
13669 static PyObject
*_wrap_PyBitmapShape_base_OnDrawContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13670 PyObject
*resultobj
;
13671 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13673 PyObject
* obj0
= 0 ;
13674 PyObject
* obj1
= 0 ;
13675 char *kwnames
[] = {
13676 (char *) "self",(char *) "dc", NULL
13679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
13680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13682 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
13683 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13685 if (arg2
== NULL
) {
13686 PyErr_SetString(PyExc_TypeError
,"null reference");
13690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13691 (arg1
)->base_OnDrawContents(*arg2
);
13693 wxPyEndAllowThreads(__tstate
);
13694 if (PyErr_Occurred()) SWIG_fail
;
13696 Py_INCREF(Py_None
); resultobj
= Py_None
;
13703 static PyObject
*_wrap_PyBitmapShape_base_OnDrawBranches(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13704 PyObject
*resultobj
;
13705 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13707 bool arg3
= (bool) FALSE
;
13708 PyObject
* obj0
= 0 ;
13709 PyObject
* obj1
= 0 ;
13710 PyObject
* obj2
= 0 ;
13711 char *kwnames
[] = {
13712 (char *) "self",(char *) "dc",(char *) "erase", NULL
13715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyBitmapShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13718 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
13719 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13721 if (arg2
== NULL
) {
13722 PyErr_SetString(PyExc_TypeError
,"null reference");
13726 arg3
= (bool)SWIG_As_bool(obj2
);
13727 if (PyErr_Occurred()) SWIG_fail
;
13730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13731 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
13733 wxPyEndAllowThreads(__tstate
);
13734 if (PyErr_Occurred()) SWIG_fail
;
13736 Py_INCREF(Py_None
); resultobj
= Py_None
;
13743 static PyObject
*_wrap_PyBitmapShape_base_OnMoveLinks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13744 PyObject
*resultobj
;
13745 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13747 PyObject
* obj0
= 0 ;
13748 PyObject
* obj1
= 0 ;
13749 char *kwnames
[] = {
13750 (char *) "self",(char *) "dc", NULL
13753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
13754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13756 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
13757 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13759 if (arg2
== NULL
) {
13760 PyErr_SetString(PyExc_TypeError
,"null reference");
13764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13765 (arg1
)->base_OnMoveLinks(*arg2
);
13767 wxPyEndAllowThreads(__tstate
);
13768 if (PyErr_Occurred()) SWIG_fail
;
13770 Py_INCREF(Py_None
); resultobj
= Py_None
;
13777 static PyObject
*_wrap_PyBitmapShape_base_OnErase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13778 PyObject
*resultobj
;
13779 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13781 PyObject
* obj0
= 0 ;
13782 PyObject
* obj1
= 0 ;
13783 char *kwnames
[] = {
13784 (char *) "self",(char *) "dc", NULL
13787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
13788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13790 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
13791 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13793 if (arg2
== NULL
) {
13794 PyErr_SetString(PyExc_TypeError
,"null reference");
13798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13799 (arg1
)->base_OnErase(*arg2
);
13801 wxPyEndAllowThreads(__tstate
);
13802 if (PyErr_Occurred()) SWIG_fail
;
13804 Py_INCREF(Py_None
); resultobj
= Py_None
;
13811 static PyObject
*_wrap_PyBitmapShape_base_OnEraseContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13812 PyObject
*resultobj
;
13813 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13815 PyObject
* obj0
= 0 ;
13816 PyObject
* obj1
= 0 ;
13817 char *kwnames
[] = {
13818 (char *) "self",(char *) "dc", NULL
13821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
13822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13824 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
13825 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13827 if (arg2
== NULL
) {
13828 PyErr_SetString(PyExc_TypeError
,"null reference");
13832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13833 (arg1
)->base_OnEraseContents(*arg2
);
13835 wxPyEndAllowThreads(__tstate
);
13836 if (PyErr_Occurred()) SWIG_fail
;
13838 Py_INCREF(Py_None
); resultobj
= Py_None
;
13845 static PyObject
*_wrap_PyBitmapShape_base_OnHighlight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13846 PyObject
*resultobj
;
13847 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13849 PyObject
* obj0
= 0 ;
13850 PyObject
* obj1
= 0 ;
13851 char *kwnames
[] = {
13852 (char *) "self",(char *) "dc", NULL
13855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
13856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13858 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
13859 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13861 if (arg2
== NULL
) {
13862 PyErr_SetString(PyExc_TypeError
,"null reference");
13866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13867 (arg1
)->base_OnHighlight(*arg2
);
13869 wxPyEndAllowThreads(__tstate
);
13870 if (PyErr_Occurred()) SWIG_fail
;
13872 Py_INCREF(Py_None
); resultobj
= Py_None
;
13879 static PyObject
*_wrap_PyBitmapShape_base_OnLeftClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13880 PyObject
*resultobj
;
13881 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13884 int arg4
= (int) 0 ;
13885 int arg5
= (int) 0 ;
13886 PyObject
* obj0
= 0 ;
13887 PyObject
* obj1
= 0 ;
13888 PyObject
* obj2
= 0 ;
13889 PyObject
* obj3
= 0 ;
13890 PyObject
* obj4
= 0 ;
13891 char *kwnames
[] = {
13892 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyBitmapShape_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13898 arg2
= (double)SWIG_As_double(obj1
);
13899 if (PyErr_Occurred()) SWIG_fail
;
13900 arg3
= (double)SWIG_As_double(obj2
);
13901 if (PyErr_Occurred()) SWIG_fail
;
13903 arg4
= (int)SWIG_As_int(obj3
);
13904 if (PyErr_Occurred()) SWIG_fail
;
13907 arg5
= (int)SWIG_As_int(obj4
);
13908 if (PyErr_Occurred()) SWIG_fail
;
13911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13912 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
13914 wxPyEndAllowThreads(__tstate
);
13915 if (PyErr_Occurred()) SWIG_fail
;
13917 Py_INCREF(Py_None
); resultobj
= Py_None
;
13924 static PyObject
*_wrap_PyBitmapShape_base_OnLeftDoubleClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13925 PyObject
*resultobj
;
13926 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13929 int arg4
= (int) 0 ;
13930 int arg5
= (int) 0 ;
13931 PyObject
* obj0
= 0 ;
13932 PyObject
* obj1
= 0 ;
13933 PyObject
* obj2
= 0 ;
13934 PyObject
* obj3
= 0 ;
13935 PyObject
* obj4
= 0 ;
13936 char *kwnames
[] = {
13937 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyBitmapShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13943 arg2
= (double)SWIG_As_double(obj1
);
13944 if (PyErr_Occurred()) SWIG_fail
;
13945 arg3
= (double)SWIG_As_double(obj2
);
13946 if (PyErr_Occurred()) SWIG_fail
;
13948 arg4
= (int)SWIG_As_int(obj3
);
13949 if (PyErr_Occurred()) SWIG_fail
;
13952 arg5
= (int)SWIG_As_int(obj4
);
13953 if (PyErr_Occurred()) SWIG_fail
;
13956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13957 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
13959 wxPyEndAllowThreads(__tstate
);
13960 if (PyErr_Occurred()) SWIG_fail
;
13962 Py_INCREF(Py_None
); resultobj
= Py_None
;
13969 static PyObject
*_wrap_PyBitmapShape_base_OnRightClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13970 PyObject
*resultobj
;
13971 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
13974 int arg4
= (int) 0 ;
13975 int arg5
= (int) 0 ;
13976 PyObject
* obj0
= 0 ;
13977 PyObject
* obj1
= 0 ;
13978 PyObject
* obj2
= 0 ;
13979 PyObject
* obj3
= 0 ;
13980 PyObject
* obj4
= 0 ;
13981 char *kwnames
[] = {
13982 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyBitmapShape_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
13987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13988 arg2
= (double)SWIG_As_double(obj1
);
13989 if (PyErr_Occurred()) SWIG_fail
;
13990 arg3
= (double)SWIG_As_double(obj2
);
13991 if (PyErr_Occurred()) SWIG_fail
;
13993 arg4
= (int)SWIG_As_int(obj3
);
13994 if (PyErr_Occurred()) SWIG_fail
;
13997 arg5
= (int)SWIG_As_int(obj4
);
13998 if (PyErr_Occurred()) SWIG_fail
;
14001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14002 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
14004 wxPyEndAllowThreads(__tstate
);
14005 if (PyErr_Occurred()) SWIG_fail
;
14007 Py_INCREF(Py_None
); resultobj
= Py_None
;
14014 static PyObject
*_wrap_PyBitmapShape_base_OnSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14015 PyObject
*resultobj
;
14016 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14019 PyObject
* obj0
= 0 ;
14020 PyObject
* obj1
= 0 ;
14021 PyObject
* obj2
= 0 ;
14022 char *kwnames
[] = {
14023 (char *) "self",(char *) "x",(char *) "y", NULL
14026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapShape_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
14028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14029 arg2
= (double)SWIG_As_double(obj1
);
14030 if (PyErr_Occurred()) SWIG_fail
;
14031 arg3
= (double)SWIG_As_double(obj2
);
14032 if (PyErr_Occurred()) SWIG_fail
;
14034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14035 (arg1
)->base_OnSize(arg2
,arg3
);
14037 wxPyEndAllowThreads(__tstate
);
14038 if (PyErr_Occurred()) SWIG_fail
;
14040 Py_INCREF(Py_None
); resultobj
= Py_None
;
14047 static PyObject
*_wrap_PyBitmapShape_base_OnMovePre(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14048 PyObject
*resultobj
;
14049 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14055 bool arg7
= (bool) True
;
14057 PyObject
* obj0
= 0 ;
14058 PyObject
* obj1
= 0 ;
14059 PyObject
* obj2
= 0 ;
14060 PyObject
* obj3
= 0 ;
14061 PyObject
* obj4
= 0 ;
14062 PyObject
* obj5
= 0 ;
14063 PyObject
* obj6
= 0 ;
14064 char *kwnames
[] = {
14065 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
14068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyBitmapShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
14070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14071 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
14072 SWIG_POINTER_EXCEPTION
| 0)) == -1)
14074 if (arg2
== NULL
) {
14075 PyErr_SetString(PyExc_TypeError
,"null reference");
14078 arg3
= (double)SWIG_As_double(obj2
);
14079 if (PyErr_Occurred()) SWIG_fail
;
14080 arg4
= (double)SWIG_As_double(obj3
);
14081 if (PyErr_Occurred()) SWIG_fail
;
14082 arg5
= (double)SWIG_As_double(obj4
);
14083 if (PyErr_Occurred()) SWIG_fail
;
14084 arg6
= (double)SWIG_As_double(obj5
);
14085 if (PyErr_Occurred()) SWIG_fail
;
14087 arg7
= (bool)SWIG_As_bool(obj6
);
14088 if (PyErr_Occurred()) SWIG_fail
;
14091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14092 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
14094 wxPyEndAllowThreads(__tstate
);
14095 if (PyErr_Occurred()) SWIG_fail
;
14098 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14106 static PyObject
*_wrap_PyBitmapShape_base_OnMovePost(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14107 PyObject
*resultobj
;
14108 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14114 bool arg7
= (bool) True
;
14115 PyObject
* obj0
= 0 ;
14116 PyObject
* obj1
= 0 ;
14117 PyObject
* obj2
= 0 ;
14118 PyObject
* obj3
= 0 ;
14119 PyObject
* obj4
= 0 ;
14120 PyObject
* obj5
= 0 ;
14121 PyObject
* obj6
= 0 ;
14122 char *kwnames
[] = {
14123 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
14126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyBitmapShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
14128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14129 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
14130 SWIG_POINTER_EXCEPTION
| 0)) == -1)
14132 if (arg2
== NULL
) {
14133 PyErr_SetString(PyExc_TypeError
,"null reference");
14136 arg3
= (double)SWIG_As_double(obj2
);
14137 if (PyErr_Occurred()) SWIG_fail
;
14138 arg4
= (double)SWIG_As_double(obj3
);
14139 if (PyErr_Occurred()) SWIG_fail
;
14140 arg5
= (double)SWIG_As_double(obj4
);
14141 if (PyErr_Occurred()) SWIG_fail
;
14142 arg6
= (double)SWIG_As_double(obj5
);
14143 if (PyErr_Occurred()) SWIG_fail
;
14145 arg7
= (bool)SWIG_As_bool(obj6
);
14146 if (PyErr_Occurred()) SWIG_fail
;
14149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14150 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
14152 wxPyEndAllowThreads(__tstate
);
14153 if (PyErr_Occurred()) SWIG_fail
;
14155 Py_INCREF(Py_None
); resultobj
= Py_None
;
14162 static PyObject
*_wrap_PyBitmapShape_base_OnDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14163 PyObject
*resultobj
;
14164 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14168 int arg5
= (int) 0 ;
14169 int arg6
= (int) 0 ;
14170 PyObject
* obj0
= 0 ;
14171 PyObject
* obj1
= 0 ;
14172 PyObject
* obj2
= 0 ;
14173 PyObject
* obj3
= 0 ;
14174 PyObject
* obj4
= 0 ;
14175 PyObject
* obj5
= 0 ;
14176 char *kwnames
[] = {
14177 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyBitmapShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
14182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14183 arg2
= (bool)SWIG_As_bool(obj1
);
14184 if (PyErr_Occurred()) SWIG_fail
;
14185 arg3
= (double)SWIG_As_double(obj2
);
14186 if (PyErr_Occurred()) SWIG_fail
;
14187 arg4
= (double)SWIG_As_double(obj3
);
14188 if (PyErr_Occurred()) SWIG_fail
;
14190 arg5
= (int)SWIG_As_int(obj4
);
14191 if (PyErr_Occurred()) SWIG_fail
;
14194 arg6
= (int)SWIG_As_int(obj5
);
14195 if (PyErr_Occurred()) SWIG_fail
;
14198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14199 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
14201 wxPyEndAllowThreads(__tstate
);
14202 if (PyErr_Occurred()) SWIG_fail
;
14204 Py_INCREF(Py_None
); resultobj
= Py_None
;
14211 static PyObject
*_wrap_PyBitmapShape_base_OnBeginDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14212 PyObject
*resultobj
;
14213 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14216 int arg4
= (int) 0 ;
14217 int arg5
= (int) 0 ;
14218 PyObject
* obj0
= 0 ;
14219 PyObject
* obj1
= 0 ;
14220 PyObject
* obj2
= 0 ;
14221 PyObject
* obj3
= 0 ;
14222 PyObject
* obj4
= 0 ;
14223 char *kwnames
[] = {
14224 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyBitmapShape_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
14229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14230 arg2
= (double)SWIG_As_double(obj1
);
14231 if (PyErr_Occurred()) SWIG_fail
;
14232 arg3
= (double)SWIG_As_double(obj2
);
14233 if (PyErr_Occurred()) SWIG_fail
;
14235 arg4
= (int)SWIG_As_int(obj3
);
14236 if (PyErr_Occurred()) SWIG_fail
;
14239 arg5
= (int)SWIG_As_int(obj4
);
14240 if (PyErr_Occurred()) SWIG_fail
;
14243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14244 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
14246 wxPyEndAllowThreads(__tstate
);
14247 if (PyErr_Occurred()) SWIG_fail
;
14249 Py_INCREF(Py_None
); resultobj
= Py_None
;
14256 static PyObject
*_wrap_PyBitmapShape_base_OnEndDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14257 PyObject
*resultobj
;
14258 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14261 int arg4
= (int) 0 ;
14262 int arg5
= (int) 0 ;
14263 PyObject
* obj0
= 0 ;
14264 PyObject
* obj1
= 0 ;
14265 PyObject
* obj2
= 0 ;
14266 PyObject
* obj3
= 0 ;
14267 PyObject
* obj4
= 0 ;
14268 char *kwnames
[] = {
14269 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyBitmapShape_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
14274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14275 arg2
= (double)SWIG_As_double(obj1
);
14276 if (PyErr_Occurred()) SWIG_fail
;
14277 arg3
= (double)SWIG_As_double(obj2
);
14278 if (PyErr_Occurred()) SWIG_fail
;
14280 arg4
= (int)SWIG_As_int(obj3
);
14281 if (PyErr_Occurred()) SWIG_fail
;
14284 arg5
= (int)SWIG_As_int(obj4
);
14285 if (PyErr_Occurred()) SWIG_fail
;
14288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14289 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
14291 wxPyEndAllowThreads(__tstate
);
14292 if (PyErr_Occurred()) SWIG_fail
;
14294 Py_INCREF(Py_None
); resultobj
= Py_None
;
14301 static PyObject
*_wrap_PyBitmapShape_base_OnDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14302 PyObject
*resultobj
;
14303 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14307 int arg5
= (int) 0 ;
14308 int arg6
= (int) 0 ;
14309 PyObject
* obj0
= 0 ;
14310 PyObject
* obj1
= 0 ;
14311 PyObject
* obj2
= 0 ;
14312 PyObject
* obj3
= 0 ;
14313 PyObject
* obj4
= 0 ;
14314 PyObject
* obj5
= 0 ;
14315 char *kwnames
[] = {
14316 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyBitmapShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
14321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14322 arg2
= (bool)SWIG_As_bool(obj1
);
14323 if (PyErr_Occurred()) SWIG_fail
;
14324 arg3
= (double)SWIG_As_double(obj2
);
14325 if (PyErr_Occurred()) SWIG_fail
;
14326 arg4
= (double)SWIG_As_double(obj3
);
14327 if (PyErr_Occurred()) SWIG_fail
;
14329 arg5
= (int)SWIG_As_int(obj4
);
14330 if (PyErr_Occurred()) SWIG_fail
;
14333 arg6
= (int)SWIG_As_int(obj5
);
14334 if (PyErr_Occurred()) SWIG_fail
;
14337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14338 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
14340 wxPyEndAllowThreads(__tstate
);
14341 if (PyErr_Occurred()) SWIG_fail
;
14343 Py_INCREF(Py_None
); resultobj
= Py_None
;
14350 static PyObject
*_wrap_PyBitmapShape_base_OnBeginDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14351 PyObject
*resultobj
;
14352 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14355 int arg4
= (int) 0 ;
14356 int arg5
= (int) 0 ;
14357 PyObject
* obj0
= 0 ;
14358 PyObject
* obj1
= 0 ;
14359 PyObject
* obj2
= 0 ;
14360 PyObject
* obj3
= 0 ;
14361 PyObject
* obj4
= 0 ;
14362 char *kwnames
[] = {
14363 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyBitmapShape_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
14368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14369 arg2
= (double)SWIG_As_double(obj1
);
14370 if (PyErr_Occurred()) SWIG_fail
;
14371 arg3
= (double)SWIG_As_double(obj2
);
14372 if (PyErr_Occurred()) SWIG_fail
;
14374 arg4
= (int)SWIG_As_int(obj3
);
14375 if (PyErr_Occurred()) SWIG_fail
;
14378 arg5
= (int)SWIG_As_int(obj4
);
14379 if (PyErr_Occurred()) SWIG_fail
;
14382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14383 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
14385 wxPyEndAllowThreads(__tstate
);
14386 if (PyErr_Occurred()) SWIG_fail
;
14388 Py_INCREF(Py_None
); resultobj
= Py_None
;
14395 static PyObject
*_wrap_PyBitmapShape_base_OnEndDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14396 PyObject
*resultobj
;
14397 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14400 int arg4
= (int) 0 ;
14401 int arg5
= (int) 0 ;
14402 PyObject
* obj0
= 0 ;
14403 PyObject
* obj1
= 0 ;
14404 PyObject
* obj2
= 0 ;
14405 PyObject
* obj3
= 0 ;
14406 PyObject
* obj4
= 0 ;
14407 char *kwnames
[] = {
14408 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyBitmapShape_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
14413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14414 arg2
= (double)SWIG_As_double(obj1
);
14415 if (PyErr_Occurred()) SWIG_fail
;
14416 arg3
= (double)SWIG_As_double(obj2
);
14417 if (PyErr_Occurred()) SWIG_fail
;
14419 arg4
= (int)SWIG_As_int(obj3
);
14420 if (PyErr_Occurred()) SWIG_fail
;
14423 arg5
= (int)SWIG_As_int(obj4
);
14424 if (PyErr_Occurred()) SWIG_fail
;
14427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14428 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
14430 wxPyEndAllowThreads(__tstate
);
14431 if (PyErr_Occurred()) SWIG_fail
;
14433 Py_INCREF(Py_None
); resultobj
= Py_None
;
14440 static PyObject
*_wrap_PyBitmapShape_base_OnDrawOutline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14441 PyObject
*resultobj
;
14442 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14448 PyObject
* obj0
= 0 ;
14449 PyObject
* obj1
= 0 ;
14450 PyObject
* obj2
= 0 ;
14451 PyObject
* obj3
= 0 ;
14452 PyObject
* obj4
= 0 ;
14453 PyObject
* obj5
= 0 ;
14454 char *kwnames
[] = {
14455 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
14458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyBitmapShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
14460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14461 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
14462 SWIG_POINTER_EXCEPTION
| 0)) == -1)
14464 if (arg2
== NULL
) {
14465 PyErr_SetString(PyExc_TypeError
,"null reference");
14468 arg3
= (double)SWIG_As_double(obj2
);
14469 if (PyErr_Occurred()) SWIG_fail
;
14470 arg4
= (double)SWIG_As_double(obj3
);
14471 if (PyErr_Occurred()) SWIG_fail
;
14472 arg5
= (double)SWIG_As_double(obj4
);
14473 if (PyErr_Occurred()) SWIG_fail
;
14474 arg6
= (double)SWIG_As_double(obj5
);
14475 if (PyErr_Occurred()) SWIG_fail
;
14477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14478 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
14480 wxPyEndAllowThreads(__tstate
);
14481 if (PyErr_Occurred()) SWIG_fail
;
14483 Py_INCREF(Py_None
); resultobj
= Py_None
;
14490 static PyObject
*_wrap_PyBitmapShape_base_OnDrawControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14491 PyObject
*resultobj
;
14492 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14494 PyObject
* obj0
= 0 ;
14495 PyObject
* obj1
= 0 ;
14496 char *kwnames
[] = {
14497 (char *) "self",(char *) "dc", NULL
14500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
14501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
14502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14503 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
14504 SWIG_POINTER_EXCEPTION
| 0)) == -1)
14506 if (arg2
== NULL
) {
14507 PyErr_SetString(PyExc_TypeError
,"null reference");
14511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14512 (arg1
)->base_OnDrawControlPoints(*arg2
);
14514 wxPyEndAllowThreads(__tstate
);
14515 if (PyErr_Occurred()) SWIG_fail
;
14517 Py_INCREF(Py_None
); resultobj
= Py_None
;
14524 static PyObject
*_wrap_PyBitmapShape_base_OnEraseControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14525 PyObject
*resultobj
;
14526 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14528 PyObject
* obj0
= 0 ;
14529 PyObject
* obj1
= 0 ;
14530 char *kwnames
[] = {
14531 (char *) "self",(char *) "dc", NULL
14534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
14535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
14536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14537 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
14538 SWIG_POINTER_EXCEPTION
| 0)) == -1)
14540 if (arg2
== NULL
) {
14541 PyErr_SetString(PyExc_TypeError
,"null reference");
14545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14546 (arg1
)->base_OnEraseControlPoints(*arg2
);
14548 wxPyEndAllowThreads(__tstate
);
14549 if (PyErr_Occurred()) SWIG_fail
;
14551 Py_INCREF(Py_None
); resultobj
= Py_None
;
14558 static PyObject
*_wrap_PyBitmapShape_base_OnMoveLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14559 PyObject
*resultobj
;
14560 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14562 bool arg3
= (bool) True
;
14563 PyObject
* obj0
= 0 ;
14564 PyObject
* obj1
= 0 ;
14565 PyObject
* obj2
= 0 ;
14566 char *kwnames
[] = {
14567 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
14570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyBitmapShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
14572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14573 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
14574 SWIG_POINTER_EXCEPTION
| 0)) == -1)
14576 if (arg2
== NULL
) {
14577 PyErr_SetString(PyExc_TypeError
,"null reference");
14581 arg3
= (bool)SWIG_As_bool(obj2
);
14582 if (PyErr_Occurred()) SWIG_fail
;
14585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14586 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
14588 wxPyEndAllowThreads(__tstate
);
14589 if (PyErr_Occurred()) SWIG_fail
;
14591 Py_INCREF(Py_None
); resultobj
= Py_None
;
14598 static PyObject
*_wrap_PyBitmapShape_base_OnSizingDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14599 PyObject
*resultobj
;
14600 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14601 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
14605 int arg6
= (int) 0 ;
14606 int arg7
= (int) 0 ;
14607 PyObject
* obj0
= 0 ;
14608 PyObject
* obj1
= 0 ;
14609 PyObject
* obj2
= 0 ;
14610 PyObject
* obj3
= 0 ;
14611 PyObject
* obj4
= 0 ;
14612 PyObject
* obj5
= 0 ;
14613 PyObject
* obj6
= 0 ;
14614 char *kwnames
[] = {
14615 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyBitmapShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
14620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14621 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
14622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14623 arg3
= (bool)SWIG_As_bool(obj2
);
14624 if (PyErr_Occurred()) SWIG_fail
;
14625 arg4
= (double)SWIG_As_double(obj3
);
14626 if (PyErr_Occurred()) SWIG_fail
;
14627 arg5
= (double)SWIG_As_double(obj4
);
14628 if (PyErr_Occurred()) SWIG_fail
;
14630 arg6
= (int)SWIG_As_int(obj5
);
14631 if (PyErr_Occurred()) SWIG_fail
;
14634 arg7
= (int)SWIG_As_int(obj6
);
14635 if (PyErr_Occurred()) SWIG_fail
;
14638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14639 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
14641 wxPyEndAllowThreads(__tstate
);
14642 if (PyErr_Occurred()) SWIG_fail
;
14644 Py_INCREF(Py_None
); resultobj
= Py_None
;
14651 static PyObject
*_wrap_PyBitmapShape_base_OnSizingBeginDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14652 PyObject
*resultobj
;
14653 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14654 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
14657 int arg5
= (int) 0 ;
14658 int arg6
= (int) 0 ;
14659 PyObject
* obj0
= 0 ;
14660 PyObject
* obj1
= 0 ;
14661 PyObject
* obj2
= 0 ;
14662 PyObject
* obj3
= 0 ;
14663 PyObject
* obj4
= 0 ;
14664 PyObject
* obj5
= 0 ;
14665 char *kwnames
[] = {
14666 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyBitmapShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
14671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14672 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
14673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14674 arg3
= (double)SWIG_As_double(obj2
);
14675 if (PyErr_Occurred()) SWIG_fail
;
14676 arg4
= (double)SWIG_As_double(obj3
);
14677 if (PyErr_Occurred()) SWIG_fail
;
14679 arg5
= (int)SWIG_As_int(obj4
);
14680 if (PyErr_Occurred()) SWIG_fail
;
14683 arg6
= (int)SWIG_As_int(obj5
);
14684 if (PyErr_Occurred()) SWIG_fail
;
14687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14688 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
14690 wxPyEndAllowThreads(__tstate
);
14691 if (PyErr_Occurred()) SWIG_fail
;
14693 Py_INCREF(Py_None
); resultobj
= Py_None
;
14700 static PyObject
*_wrap_PyBitmapShape_base_OnSizingEndDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14701 PyObject
*resultobj
;
14702 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14703 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
14706 int arg5
= (int) 0 ;
14707 int arg6
= (int) 0 ;
14708 PyObject
* obj0
= 0 ;
14709 PyObject
* obj1
= 0 ;
14710 PyObject
* obj2
= 0 ;
14711 PyObject
* obj3
= 0 ;
14712 PyObject
* obj4
= 0 ;
14713 PyObject
* obj5
= 0 ;
14714 char *kwnames
[] = {
14715 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyBitmapShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
14720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14721 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
14722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14723 arg3
= (double)SWIG_As_double(obj2
);
14724 if (PyErr_Occurred()) SWIG_fail
;
14725 arg4
= (double)SWIG_As_double(obj3
);
14726 if (PyErr_Occurred()) SWIG_fail
;
14728 arg5
= (int)SWIG_As_int(obj4
);
14729 if (PyErr_Occurred()) SWIG_fail
;
14732 arg6
= (int)SWIG_As_int(obj5
);
14733 if (PyErr_Occurred()) SWIG_fail
;
14736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14737 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
14739 wxPyEndAllowThreads(__tstate
);
14740 if (PyErr_Occurred()) SWIG_fail
;
14742 Py_INCREF(Py_None
); resultobj
= Py_None
;
14749 static PyObject
*_wrap_PyBitmapShape_base_OnBeginSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14750 PyObject
*resultobj
;
14751 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14754 PyObject
* obj0
= 0 ;
14755 PyObject
* obj1
= 0 ;
14756 PyObject
* obj2
= 0 ;
14757 char *kwnames
[] = {
14758 (char *) "self",(char *) "w",(char *) "h", NULL
14761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapShape_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
14763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14764 arg2
= (double)SWIG_As_double(obj1
);
14765 if (PyErr_Occurred()) SWIG_fail
;
14766 arg3
= (double)SWIG_As_double(obj2
);
14767 if (PyErr_Occurred()) SWIG_fail
;
14769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14770 (arg1
)->base_OnBeginSize(arg2
,arg3
);
14772 wxPyEndAllowThreads(__tstate
);
14773 if (PyErr_Occurred()) SWIG_fail
;
14775 Py_INCREF(Py_None
); resultobj
= Py_None
;
14782 static PyObject
*_wrap_PyBitmapShape_base_OnEndSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14783 PyObject
*resultobj
;
14784 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
14787 PyObject
* obj0
= 0 ;
14788 PyObject
* obj1
= 0 ;
14789 PyObject
* obj2
= 0 ;
14790 char *kwnames
[] = {
14791 (char *) "self",(char *) "w",(char *) "h", NULL
14794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapShape_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapShape
,
14796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14797 arg2
= (double)SWIG_As_double(obj1
);
14798 if (PyErr_Occurred()) SWIG_fail
;
14799 arg3
= (double)SWIG_As_double(obj2
);
14800 if (PyErr_Occurred()) SWIG_fail
;
14802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14803 (arg1
)->base_OnEndSize(arg2
,arg3
);
14805 wxPyEndAllowThreads(__tstate
);
14806 if (PyErr_Occurred()) SWIG_fail
;
14808 Py_INCREF(Py_None
); resultobj
= Py_None
;
14815 static PyObject
* PyBitmapShape_swigregister(PyObject
*, PyObject
*args
) {
14817 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14818 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapShape
, obj
);
14820 return Py_BuildValue((char *)"");
14822 static PyObject
*_wrap_new_PyDrawnShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14823 PyObject
*resultobj
;
14824 wxPyDrawnShape
*result
;
14825 char *kwnames
[] = {
14829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyDrawnShape",kwnames
)) goto fail
;
14831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14832 result
= (wxPyDrawnShape
*)new wxPyDrawnShape();
14834 wxPyEndAllowThreads(__tstate
);
14835 if (PyErr_Occurred()) SWIG_fail
;
14837 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDrawnShape
, 1);
14844 static PyObject
*_wrap_PyDrawnShape__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14845 PyObject
*resultobj
;
14846 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
14847 PyObject
*arg2
= (PyObject
*) 0 ;
14848 PyObject
*arg3
= (PyObject
*) 0 ;
14849 PyObject
* obj0
= 0 ;
14850 PyObject
* obj1
= 0 ;
14851 PyObject
* obj2
= 0 ;
14852 char *kwnames
[] = {
14853 (char *) "self",(char *) "self",(char *) "_class", NULL
14856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDrawnShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
14858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14863 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14865 wxPyEndAllowThreads(__tstate
);
14866 if (PyErr_Occurred()) SWIG_fail
;
14868 Py_INCREF(Py_None
); resultobj
= Py_None
;
14875 static PyObject
*_wrap_PyDrawnShape_CalculateSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14876 PyObject
*resultobj
;
14877 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
14878 PyObject
* obj0
= 0 ;
14879 char *kwnames
[] = {
14880 (char *) "self", NULL
14883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDrawnShape_CalculateSize",kwnames
,&obj0
)) goto fail
;
14884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
14885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14888 (arg1
)->CalculateSize();
14890 wxPyEndAllowThreads(__tstate
);
14891 if (PyErr_Occurred()) SWIG_fail
;
14893 Py_INCREF(Py_None
); resultobj
= Py_None
;
14900 static PyObject
*_wrap_PyDrawnShape_DestroyClippingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14901 PyObject
*resultobj
;
14902 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
14903 PyObject
* obj0
= 0 ;
14904 char *kwnames
[] = {
14905 (char *) "self", NULL
14908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDrawnShape_DestroyClippingRect",kwnames
,&obj0
)) goto fail
;
14909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
14910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14913 (arg1
)->DestroyClippingRect();
14915 wxPyEndAllowThreads(__tstate
);
14916 if (PyErr_Occurred()) SWIG_fail
;
14918 Py_INCREF(Py_None
); resultobj
= Py_None
;
14925 static PyObject
*_wrap_PyDrawnShape_DrawArc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14926 PyObject
*resultobj
;
14927 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
14928 wxPoint
*arg2
= 0 ;
14929 wxPoint
*arg3
= 0 ;
14930 wxPoint
*arg4
= 0 ;
14934 PyObject
* obj0
= 0 ;
14935 PyObject
* obj1
= 0 ;
14936 PyObject
* obj2
= 0 ;
14937 PyObject
* obj3
= 0 ;
14938 char *kwnames
[] = {
14939 (char *) "self",(char *) "centrePoint",(char *) "startPoint",(char *) "endPoint", NULL
14942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyDrawnShape_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
14944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14947 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14951 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14955 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14959 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
14961 wxPyEndAllowThreads(__tstate
);
14962 if (PyErr_Occurred()) SWIG_fail
;
14964 Py_INCREF(Py_None
); resultobj
= Py_None
;
14971 static PyObject
*_wrap_PyDrawnShape_DrawAtAngle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14972 PyObject
*resultobj
;
14973 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
14975 PyObject
* obj0
= 0 ;
14976 PyObject
* obj1
= 0 ;
14977 char *kwnames
[] = {
14978 (char *) "self",(char *) "angle", NULL
14981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_DrawAtAngle",kwnames
,&obj0
,&obj1
)) goto fail
;
14982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
14983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14984 arg2
= (int)SWIG_As_int(obj1
);
14985 if (PyErr_Occurred()) SWIG_fail
;
14987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14988 (arg1
)->DrawAtAngle(arg2
);
14990 wxPyEndAllowThreads(__tstate
);
14991 if (PyErr_Occurred()) SWIG_fail
;
14993 Py_INCREF(Py_None
); resultobj
= Py_None
;
15000 static PyObject
*_wrap_PyDrawnShape_DrawEllipticArc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15001 PyObject
*resultobj
;
15002 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15007 PyObject
* obj0
= 0 ;
15008 PyObject
* obj1
= 0 ;
15009 PyObject
* obj2
= 0 ;
15010 PyObject
* obj3
= 0 ;
15011 char *kwnames
[] = {
15012 (char *) "self",(char *) "rect",(char *) "startAngle",(char *) "endAngle", NULL
15015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyDrawnShape_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15020 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
15022 arg3
= (double)SWIG_As_double(obj2
);
15023 if (PyErr_Occurred()) SWIG_fail
;
15024 arg4
= (double)SWIG_As_double(obj3
);
15025 if (PyErr_Occurred()) SWIG_fail
;
15027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15028 (arg1
)->DrawEllipticArc((wxRect
const &)*arg2
,arg3
,arg4
);
15030 wxPyEndAllowThreads(__tstate
);
15031 if (PyErr_Occurred()) SWIG_fail
;
15033 Py_INCREF(Py_None
); resultobj
= Py_None
;
15040 static PyObject
*_wrap_PyDrawnShape_DrawLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15041 PyObject
*resultobj
;
15042 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15043 wxPoint
*arg2
= 0 ;
15044 wxPoint
*arg3
= 0 ;
15047 PyObject
* obj0
= 0 ;
15048 PyObject
* obj1
= 0 ;
15049 PyObject
* obj2
= 0 ;
15050 char *kwnames
[] = {
15051 (char *) "self",(char *) "point1",(char *) "point2", NULL
15054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDrawnShape_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15059 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15063 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15067 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
15069 wxPyEndAllowThreads(__tstate
);
15070 if (PyErr_Occurred()) SWIG_fail
;
15072 Py_INCREF(Py_None
); resultobj
= Py_None
;
15079 static PyObject
*_wrap_PyDrawnShape_DrawLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15080 PyObject
*resultobj
;
15081 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15083 wxPoint
*arg3
= (wxPoint
*) 0 ;
15084 PyObject
* obj0
= 0 ;
15085 PyObject
* obj1
= 0 ;
15086 char *kwnames
[] = {
15087 (char *) "self",(char *) "points", NULL
15090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_DrawLines",kwnames
,&obj0
,&obj1
)) goto fail
;
15091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15094 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
15095 if (arg3
== NULL
) SWIG_fail
;
15098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15099 (arg1
)->DrawLines(arg2
,arg3
);
15101 wxPyEndAllowThreads(__tstate
);
15102 if (PyErr_Occurred()) SWIG_fail
;
15104 Py_INCREF(Py_None
); resultobj
= Py_None
;
15106 if (arg3
) delete [] arg3
;
15111 if (arg3
) delete [] arg3
;
15117 static PyObject
*_wrap_PyDrawnShape_DrawPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15118 PyObject
*resultobj
;
15119 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15120 wxPoint
*arg2
= 0 ;
15122 PyObject
* obj0
= 0 ;
15123 PyObject
* obj1
= 0 ;
15124 char *kwnames
[] = {
15125 (char *) "self",(char *) "point", NULL
15128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_DrawPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
15129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15133 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15137 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
15139 wxPyEndAllowThreads(__tstate
);
15140 if (PyErr_Occurred()) SWIG_fail
;
15142 Py_INCREF(Py_None
); resultobj
= Py_None
;
15149 static PyObject
*_wrap_PyDrawnShape_DrawPolygon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15150 PyObject
*resultobj
;
15151 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15153 wxPoint
*arg3
= (wxPoint
*) 0 ;
15154 int arg4
= (int) 0 ;
15155 PyObject
* obj0
= 0 ;
15156 PyObject
* obj1
= 0 ;
15157 PyObject
* obj2
= 0 ;
15158 char *kwnames
[] = {
15159 (char *) "self",(char *) "points",(char *) "flags", NULL
15162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyDrawnShape_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15166 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
15167 if (arg3
== NULL
) SWIG_fail
;
15170 arg4
= (int)SWIG_As_int(obj2
);
15171 if (PyErr_Occurred()) SWIG_fail
;
15174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15175 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
);
15177 wxPyEndAllowThreads(__tstate
);
15178 if (PyErr_Occurred()) SWIG_fail
;
15180 Py_INCREF(Py_None
); resultobj
= Py_None
;
15182 if (arg3
) delete [] arg3
;
15187 if (arg3
) delete [] arg3
;
15193 static PyObject
*_wrap_PyDrawnShape_DrawRectangle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15194 PyObject
*resultobj
;
15195 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15198 PyObject
* obj0
= 0 ;
15199 PyObject
* obj1
= 0 ;
15200 char *kwnames
[] = {
15201 (char *) "self",(char *) "rect", NULL
15204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_DrawRectangle",kwnames
,&obj0
,&obj1
)) goto fail
;
15205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15209 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
15212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15213 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
15215 wxPyEndAllowThreads(__tstate
);
15216 if (PyErr_Occurred()) SWIG_fail
;
15218 Py_INCREF(Py_None
); resultobj
= Py_None
;
15225 static PyObject
*_wrap_PyDrawnShape_DrawRoundedRectangle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15226 PyObject
*resultobj
;
15227 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15231 PyObject
* obj0
= 0 ;
15232 PyObject
* obj1
= 0 ;
15233 PyObject
* obj2
= 0 ;
15234 char *kwnames
[] = {
15235 (char *) "self",(char *) "rect",(char *) "radius", NULL
15238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDrawnShape_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15243 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
15245 arg3
= (double)SWIG_As_double(obj2
);
15246 if (PyErr_Occurred()) SWIG_fail
;
15248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15249 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
15251 wxPyEndAllowThreads(__tstate
);
15252 if (PyErr_Occurred()) SWIG_fail
;
15254 Py_INCREF(Py_None
); resultobj
= Py_None
;
15261 static PyObject
*_wrap_PyDrawnShape_DrawSpline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15262 PyObject
*resultobj
;
15263 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15265 wxPoint
*arg3
= (wxPoint
*) 0 ;
15266 PyObject
* obj0
= 0 ;
15267 PyObject
* obj1
= 0 ;
15268 char *kwnames
[] = {
15269 (char *) "self",(char *) "points", NULL
15272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_DrawSpline",kwnames
,&obj0
,&obj1
)) goto fail
;
15273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15276 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
15277 if (arg3
== NULL
) SWIG_fail
;
15280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15281 (arg1
)->DrawSpline(arg2
,arg3
);
15283 wxPyEndAllowThreads(__tstate
);
15284 if (PyErr_Occurred()) SWIG_fail
;
15286 Py_INCREF(Py_None
); resultobj
= Py_None
;
15288 if (arg3
) delete [] arg3
;
15293 if (arg3
) delete [] arg3
;
15299 static PyObject
*_wrap_PyDrawnShape_DrawText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15300 PyObject
*resultobj
;
15301 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15302 wxString
*arg2
= 0 ;
15303 wxPoint
*arg3
= 0 ;
15304 bool temp2
= False
;
15306 PyObject
* obj0
= 0 ;
15307 PyObject
* obj1
= 0 ;
15308 PyObject
* obj2
= 0 ;
15309 char *kwnames
[] = {
15310 (char *) "self",(char *) "text",(char *) "point", NULL
15313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDrawnShape_DrawText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15317 arg2
= wxString_in_helper(obj1
);
15318 if (arg2
== NULL
) SWIG_fail
;
15323 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15327 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
15329 wxPyEndAllowThreads(__tstate
);
15330 if (PyErr_Occurred()) SWIG_fail
;
15332 Py_INCREF(Py_None
); resultobj
= Py_None
;
15347 static PyObject
*_wrap_PyDrawnShape_GetAngle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15348 PyObject
*resultobj
;
15349 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15351 PyObject
* obj0
= 0 ;
15352 char *kwnames
[] = {
15353 (char *) "self", NULL
15356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDrawnShape_GetAngle",kwnames
,&obj0
)) goto fail
;
15357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15361 result
= (int)(arg1
)->GetAngle();
15363 wxPyEndAllowThreads(__tstate
);
15364 if (PyErr_Occurred()) SWIG_fail
;
15366 resultobj
= SWIG_From_int((int)result
);
15373 static PyObject
*_wrap_PyDrawnShape_GetMetaFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15374 PyObject
*resultobj
;
15375 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15376 wxPseudoMetaFile
*result
;
15377 PyObject
* obj0
= 0 ;
15378 char *kwnames
[] = {
15379 (char *) "self", NULL
15382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDrawnShape_GetMetaFile",kwnames
,&obj0
)) goto fail
;
15383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15388 wxPseudoMetaFile
&_result_ref
= (arg1
)->GetMetaFile();
15389 result
= (wxPseudoMetaFile
*) &_result_ref
;
15392 wxPyEndAllowThreads(__tstate
);
15393 if (PyErr_Occurred()) SWIG_fail
;
15395 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPseudoMetaFile
, 0);
15402 static PyObject
*_wrap_PyDrawnShape_GetRotation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15403 PyObject
*resultobj
;
15404 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15406 PyObject
* obj0
= 0 ;
15407 char *kwnames
[] = {
15408 (char *) "self", NULL
15411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDrawnShape_GetRotation",kwnames
,&obj0
)) goto fail
;
15412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15416 result
= (double)(arg1
)->GetRotation();
15418 wxPyEndAllowThreads(__tstate
);
15419 if (PyErr_Occurred()) SWIG_fail
;
15421 resultobj
= SWIG_From_double((double)result
);
15428 static PyObject
*_wrap_PyDrawnShape_LoadFromMetaFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15429 PyObject
*resultobj
;
15430 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15431 wxString
*arg2
= 0 ;
15433 bool temp2
= False
;
15434 PyObject
* obj0
= 0 ;
15435 PyObject
* obj1
= 0 ;
15436 char *kwnames
[] = {
15437 (char *) "self",(char *) "filename", NULL
15440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_LoadFromMetaFile",kwnames
,&obj0
,&obj1
)) goto fail
;
15441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15444 arg2
= wxString_in_helper(obj1
);
15445 if (arg2
== NULL
) SWIG_fail
;
15449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15450 result
= (bool)(arg1
)->LoadFromMetaFile((wxString
const &)*arg2
);
15452 wxPyEndAllowThreads(__tstate
);
15453 if (PyErr_Occurred()) SWIG_fail
;
15456 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15472 static PyObject
*_wrap_PyDrawnShape_Rotate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15473 PyObject
*resultobj
;
15474 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15478 PyObject
* obj0
= 0 ;
15479 PyObject
* obj1
= 0 ;
15480 PyObject
* obj2
= 0 ;
15481 PyObject
* obj3
= 0 ;
15482 char *kwnames
[] = {
15483 (char *) "self",(char *) "x",(char *) "y",(char *) "theta", NULL
15486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyDrawnShape_Rotate",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15489 arg2
= (double)SWIG_As_double(obj1
);
15490 if (PyErr_Occurred()) SWIG_fail
;
15491 arg3
= (double)SWIG_As_double(obj2
);
15492 if (PyErr_Occurred()) SWIG_fail
;
15493 arg4
= (double)SWIG_As_double(obj3
);
15494 if (PyErr_Occurred()) SWIG_fail
;
15496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15497 (arg1
)->Rotate(arg2
,arg3
,arg4
);
15499 wxPyEndAllowThreads(__tstate
);
15500 if (PyErr_Occurred()) SWIG_fail
;
15502 Py_INCREF(Py_None
); resultobj
= Py_None
;
15509 static PyObject
*_wrap_PyDrawnShape_SetClippingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15510 PyObject
*resultobj
;
15511 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15514 PyObject
* obj0
= 0 ;
15515 PyObject
* obj1
= 0 ;
15516 char *kwnames
[] = {
15517 (char *) "self",(char *) "rect", NULL
15520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_SetClippingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
15521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15525 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
15528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15529 (arg1
)->SetClippingRect((wxRect
const &)*arg2
);
15531 wxPyEndAllowThreads(__tstate
);
15532 if (PyErr_Occurred()) SWIG_fail
;
15534 Py_INCREF(Py_None
); resultobj
= Py_None
;
15541 static PyObject
*_wrap_PyDrawnShape_SetDrawnBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15542 PyObject
*resultobj
;
15543 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15544 wxColour
*arg2
= 0 ;
15546 PyObject
* obj0
= 0 ;
15547 PyObject
* obj1
= 0 ;
15548 char *kwnames
[] = {
15549 (char *) "self",(char *) "colour", NULL
15552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_SetDrawnBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
15553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15557 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15561 (arg1
)->SetDrawnBackgroundColour((wxColour
const &)*arg2
);
15563 wxPyEndAllowThreads(__tstate
);
15564 if (PyErr_Occurred()) SWIG_fail
;
15566 Py_INCREF(Py_None
); resultobj
= Py_None
;
15573 static PyObject
*_wrap_PyDrawnShape_SetDrawnBackgroundMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15574 PyObject
*resultobj
;
15575 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15577 PyObject
* obj0
= 0 ;
15578 PyObject
* obj1
= 0 ;
15579 char *kwnames
[] = {
15580 (char *) "self",(char *) "mode", NULL
15583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_SetDrawnBackgroundMode",kwnames
,&obj0
,&obj1
)) goto fail
;
15584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15586 arg2
= (int)SWIG_As_int(obj1
);
15587 if (PyErr_Occurred()) SWIG_fail
;
15589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15590 (arg1
)->SetDrawnBackgroundMode(arg2
);
15592 wxPyEndAllowThreads(__tstate
);
15593 if (PyErr_Occurred()) SWIG_fail
;
15595 Py_INCREF(Py_None
); resultobj
= Py_None
;
15602 static PyObject
*_wrap_PyDrawnShape_SetDrawnBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15603 PyObject
*resultobj
;
15604 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15605 wxBrush
*arg2
= (wxBrush
*) 0 ;
15606 bool arg3
= (bool) FALSE
;
15607 PyObject
* obj0
= 0 ;
15608 PyObject
* obj1
= 0 ;
15609 PyObject
* obj2
= 0 ;
15610 char *kwnames
[] = {
15611 (char *) "self",(char *) "pen",(char *) "isOutline", NULL
15614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyDrawnShape_SetDrawnBrush",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15620 if (obj1
== Py_None
) {
15623 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxBrush"))) {
15624 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxBrush.");
15629 arg2
= wxTheBrushList
->FindOrCreateBrush(temp
->GetColour(), temp
->GetStyle());
15634 arg3
= (bool)SWIG_As_bool(obj2
);
15635 if (PyErr_Occurred()) SWIG_fail
;
15638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15639 (arg1
)->SetDrawnBrush(arg2
,arg3
);
15641 wxPyEndAllowThreads(__tstate
);
15642 if (PyErr_Occurred()) SWIG_fail
;
15644 Py_INCREF(Py_None
); resultobj
= Py_None
;
15651 static PyObject
*_wrap_PyDrawnShape_SetDrawnFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15652 PyObject
*resultobj
;
15653 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15654 wxFont
*arg2
= (wxFont
*) 0 ;
15655 PyObject
* obj0
= 0 ;
15656 PyObject
* obj1
= 0 ;
15657 char *kwnames
[] = {
15658 (char *) "self",(char *) "font", NULL
15661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_SetDrawnFont",kwnames
,&obj0
,&obj1
)) goto fail
;
15662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15667 if (obj1
== Py_None
) {
15670 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxFont"))) {
15671 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxFont.");
15676 arg2
= wxTheFontList
->FindOrCreateFont(temp
->GetPointSize(),
15680 temp
->GetUnderlined(),
15681 temp
->GetFaceName(),
15682 temp
->GetEncoding());
15687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15688 (arg1
)->SetDrawnFont(arg2
);
15690 wxPyEndAllowThreads(__tstate
);
15691 if (PyErr_Occurred()) SWIG_fail
;
15693 Py_INCREF(Py_None
); resultobj
= Py_None
;
15700 static PyObject
*_wrap_PyDrawnShape_SetDrawnPen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15701 PyObject
*resultobj
;
15702 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15703 wxPen
*arg2
= (wxPen
*) 0 ;
15704 bool arg3
= (bool) FALSE
;
15705 PyObject
* obj0
= 0 ;
15706 PyObject
* obj1
= 0 ;
15707 PyObject
* obj2
= 0 ;
15708 char *kwnames
[] = {
15709 (char *) "self",(char *) "pen",(char *) "isOutline", NULL
15712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyDrawnShape_SetDrawnPen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15718 if (obj1
== Py_None
) {
15721 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxPen"))) {
15722 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxPen.");
15727 arg2
= wxThePenList
->FindOrCreatePen(temp
->GetColour(),
15734 arg3
= (bool)SWIG_As_bool(obj2
);
15735 if (PyErr_Occurred()) SWIG_fail
;
15738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15739 (arg1
)->SetDrawnPen(arg2
,arg3
);
15741 wxPyEndAllowThreads(__tstate
);
15742 if (PyErr_Occurred()) SWIG_fail
;
15744 Py_INCREF(Py_None
); resultobj
= Py_None
;
15751 static PyObject
*_wrap_PyDrawnShape_SetDrawnTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15752 PyObject
*resultobj
;
15753 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15754 wxColour
*arg2
= 0 ;
15756 PyObject
* obj0
= 0 ;
15757 PyObject
* obj1
= 0 ;
15758 char *kwnames
[] = {
15759 (char *) "self",(char *) "colour", NULL
15762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_SetDrawnTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
15763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15767 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15771 (arg1
)->SetDrawnTextColour((wxColour
const &)*arg2
);
15773 wxPyEndAllowThreads(__tstate
);
15774 if (PyErr_Occurred()) SWIG_fail
;
15776 Py_INCREF(Py_None
); resultobj
= Py_None
;
15783 static PyObject
*_wrap_PyDrawnShape_Scale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15784 PyObject
*resultobj
;
15785 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15788 PyObject
* obj0
= 0 ;
15789 PyObject
* obj1
= 0 ;
15790 PyObject
* obj2
= 0 ;
15791 char *kwnames
[] = {
15792 (char *) "self",(char *) "sx",(char *) "sy", NULL
15795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDrawnShape_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15798 arg2
= (double)SWIG_As_double(obj1
);
15799 if (PyErr_Occurred()) SWIG_fail
;
15800 arg3
= (double)SWIG_As_double(obj2
);
15801 if (PyErr_Occurred()) SWIG_fail
;
15803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15804 (arg1
)->Scale(arg2
,arg3
);
15806 wxPyEndAllowThreads(__tstate
);
15807 if (PyErr_Occurred()) SWIG_fail
;
15809 Py_INCREF(Py_None
); resultobj
= Py_None
;
15816 static PyObject
*_wrap_PyDrawnShape_SetSaveToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15817 PyObject
*resultobj
;
15818 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15820 PyObject
* obj0
= 0 ;
15821 PyObject
* obj1
= 0 ;
15822 char *kwnames
[] = {
15823 (char *) "self",(char *) "save", NULL
15826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_SetSaveToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
15827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15829 arg2
= (bool)SWIG_As_bool(obj1
);
15830 if (PyErr_Occurred()) SWIG_fail
;
15832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15833 (arg1
)->SetSaveToFile(arg2
);
15835 wxPyEndAllowThreads(__tstate
);
15836 if (PyErr_Occurred()) SWIG_fail
;
15838 Py_INCREF(Py_None
); resultobj
= Py_None
;
15845 static PyObject
*_wrap_PyDrawnShape_Translate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15846 PyObject
*resultobj
;
15847 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15850 PyObject
* obj0
= 0 ;
15851 PyObject
* obj1
= 0 ;
15852 PyObject
* obj2
= 0 ;
15853 char *kwnames
[] = {
15854 (char *) "self",(char *) "x",(char *) "y", NULL
15857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDrawnShape_Translate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15860 arg2
= (double)SWIG_As_double(obj1
);
15861 if (PyErr_Occurred()) SWIG_fail
;
15862 arg3
= (double)SWIG_As_double(obj2
);
15863 if (PyErr_Occurred()) SWIG_fail
;
15865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15866 (arg1
)->Translate(arg2
,arg3
);
15868 wxPyEndAllowThreads(__tstate
);
15869 if (PyErr_Occurred()) SWIG_fail
;
15871 Py_INCREF(Py_None
); resultobj
= Py_None
;
15878 static PyObject
*_wrap_PyDrawnShape_base_OnDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15879 PyObject
*resultobj
;
15880 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15881 PyObject
* obj0
= 0 ;
15882 char *kwnames
[] = {
15883 (char *) "self", NULL
15886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDrawnShape_base_OnDelete",kwnames
,&obj0
)) goto fail
;
15887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15891 (arg1
)->base_OnDelete();
15893 wxPyEndAllowThreads(__tstate
);
15894 if (PyErr_Occurred()) SWIG_fail
;
15896 Py_INCREF(Py_None
); resultobj
= Py_None
;
15903 static PyObject
*_wrap_PyDrawnShape_base_OnDraw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15904 PyObject
*resultobj
;
15905 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15907 PyObject
* obj0
= 0 ;
15908 PyObject
* obj1
= 0 ;
15909 char *kwnames
[] = {
15910 (char *) "self",(char *) "dc", NULL
15913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
15914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15916 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
15917 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15919 if (arg2
== NULL
) {
15920 PyErr_SetString(PyExc_TypeError
,"null reference");
15924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15925 (arg1
)->base_OnDraw(*arg2
);
15927 wxPyEndAllowThreads(__tstate
);
15928 if (PyErr_Occurred()) SWIG_fail
;
15930 Py_INCREF(Py_None
); resultobj
= Py_None
;
15937 static PyObject
*_wrap_PyDrawnShape_base_OnDrawContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15938 PyObject
*resultobj
;
15939 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15941 PyObject
* obj0
= 0 ;
15942 PyObject
* obj1
= 0 ;
15943 char *kwnames
[] = {
15944 (char *) "self",(char *) "dc", NULL
15947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
15948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15950 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
15951 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15953 if (arg2
== NULL
) {
15954 PyErr_SetString(PyExc_TypeError
,"null reference");
15958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15959 (arg1
)->base_OnDrawContents(*arg2
);
15961 wxPyEndAllowThreads(__tstate
);
15962 if (PyErr_Occurred()) SWIG_fail
;
15964 Py_INCREF(Py_None
); resultobj
= Py_None
;
15971 static PyObject
*_wrap_PyDrawnShape_base_OnDrawBranches(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15972 PyObject
*resultobj
;
15973 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
15975 bool arg3
= (bool) FALSE
;
15976 PyObject
* obj0
= 0 ;
15977 PyObject
* obj1
= 0 ;
15978 PyObject
* obj2
= 0 ;
15979 char *kwnames
[] = {
15980 (char *) "self",(char *) "dc",(char *) "erase", NULL
15983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyDrawnShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
15985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15986 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
15987 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15989 if (arg2
== NULL
) {
15990 PyErr_SetString(PyExc_TypeError
,"null reference");
15994 arg3
= (bool)SWIG_As_bool(obj2
);
15995 if (PyErr_Occurred()) SWIG_fail
;
15998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15999 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
16001 wxPyEndAllowThreads(__tstate
);
16002 if (PyErr_Occurred()) SWIG_fail
;
16004 Py_INCREF(Py_None
); resultobj
= Py_None
;
16011 static PyObject
*_wrap_PyDrawnShape_base_OnMoveLinks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16012 PyObject
*resultobj
;
16013 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16015 PyObject
* obj0
= 0 ;
16016 PyObject
* obj1
= 0 ;
16017 char *kwnames
[] = {
16018 (char *) "self",(char *) "dc", NULL
16021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
16022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16024 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
16025 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16027 if (arg2
== NULL
) {
16028 PyErr_SetString(PyExc_TypeError
,"null reference");
16032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16033 (arg1
)->base_OnMoveLinks(*arg2
);
16035 wxPyEndAllowThreads(__tstate
);
16036 if (PyErr_Occurred()) SWIG_fail
;
16038 Py_INCREF(Py_None
); resultobj
= Py_None
;
16045 static PyObject
*_wrap_PyDrawnShape_base_OnErase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16046 PyObject
*resultobj
;
16047 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16049 PyObject
* obj0
= 0 ;
16050 PyObject
* obj1
= 0 ;
16051 char *kwnames
[] = {
16052 (char *) "self",(char *) "dc", NULL
16055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
16056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16058 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
16059 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16061 if (arg2
== NULL
) {
16062 PyErr_SetString(PyExc_TypeError
,"null reference");
16066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16067 (arg1
)->base_OnErase(*arg2
);
16069 wxPyEndAllowThreads(__tstate
);
16070 if (PyErr_Occurred()) SWIG_fail
;
16072 Py_INCREF(Py_None
); resultobj
= Py_None
;
16079 static PyObject
*_wrap_PyDrawnShape_base_OnEraseContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16080 PyObject
*resultobj
;
16081 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16083 PyObject
* obj0
= 0 ;
16084 PyObject
* obj1
= 0 ;
16085 char *kwnames
[] = {
16086 (char *) "self",(char *) "dc", NULL
16089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
16090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16092 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
16093 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16095 if (arg2
== NULL
) {
16096 PyErr_SetString(PyExc_TypeError
,"null reference");
16100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16101 (arg1
)->base_OnEraseContents(*arg2
);
16103 wxPyEndAllowThreads(__tstate
);
16104 if (PyErr_Occurred()) SWIG_fail
;
16106 Py_INCREF(Py_None
); resultobj
= Py_None
;
16113 static PyObject
*_wrap_PyDrawnShape_base_OnHighlight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16114 PyObject
*resultobj
;
16115 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16117 PyObject
* obj0
= 0 ;
16118 PyObject
* obj1
= 0 ;
16119 char *kwnames
[] = {
16120 (char *) "self",(char *) "dc", NULL
16123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
16124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16126 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
16127 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16129 if (arg2
== NULL
) {
16130 PyErr_SetString(PyExc_TypeError
,"null reference");
16134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16135 (arg1
)->base_OnHighlight(*arg2
);
16137 wxPyEndAllowThreads(__tstate
);
16138 if (PyErr_Occurred()) SWIG_fail
;
16140 Py_INCREF(Py_None
); resultobj
= Py_None
;
16147 static PyObject
*_wrap_PyDrawnShape_base_OnLeftClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16148 PyObject
*resultobj
;
16149 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16152 int arg4
= (int) 0 ;
16153 int arg5
= (int) 0 ;
16154 PyObject
* obj0
= 0 ;
16155 PyObject
* obj1
= 0 ;
16156 PyObject
* obj2
= 0 ;
16157 PyObject
* obj3
= 0 ;
16158 PyObject
* obj4
= 0 ;
16159 char *kwnames
[] = {
16160 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDrawnShape_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16166 arg2
= (double)SWIG_As_double(obj1
);
16167 if (PyErr_Occurred()) SWIG_fail
;
16168 arg3
= (double)SWIG_As_double(obj2
);
16169 if (PyErr_Occurred()) SWIG_fail
;
16171 arg4
= (int)SWIG_As_int(obj3
);
16172 if (PyErr_Occurred()) SWIG_fail
;
16175 arg5
= (int)SWIG_As_int(obj4
);
16176 if (PyErr_Occurred()) SWIG_fail
;
16179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16180 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
16182 wxPyEndAllowThreads(__tstate
);
16183 if (PyErr_Occurred()) SWIG_fail
;
16185 Py_INCREF(Py_None
); resultobj
= Py_None
;
16192 static PyObject
*_wrap_PyDrawnShape_base_OnLeftDoubleClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16193 PyObject
*resultobj
;
16194 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16197 int arg4
= (int) 0 ;
16198 int arg5
= (int) 0 ;
16199 PyObject
* obj0
= 0 ;
16200 PyObject
* obj1
= 0 ;
16201 PyObject
* obj2
= 0 ;
16202 PyObject
* obj3
= 0 ;
16203 PyObject
* obj4
= 0 ;
16204 char *kwnames
[] = {
16205 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDrawnShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16211 arg2
= (double)SWIG_As_double(obj1
);
16212 if (PyErr_Occurred()) SWIG_fail
;
16213 arg3
= (double)SWIG_As_double(obj2
);
16214 if (PyErr_Occurred()) SWIG_fail
;
16216 arg4
= (int)SWIG_As_int(obj3
);
16217 if (PyErr_Occurred()) SWIG_fail
;
16220 arg5
= (int)SWIG_As_int(obj4
);
16221 if (PyErr_Occurred()) SWIG_fail
;
16224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16225 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
16227 wxPyEndAllowThreads(__tstate
);
16228 if (PyErr_Occurred()) SWIG_fail
;
16230 Py_INCREF(Py_None
); resultobj
= Py_None
;
16237 static PyObject
*_wrap_PyDrawnShape_base_OnRightClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16238 PyObject
*resultobj
;
16239 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16242 int arg4
= (int) 0 ;
16243 int arg5
= (int) 0 ;
16244 PyObject
* obj0
= 0 ;
16245 PyObject
* obj1
= 0 ;
16246 PyObject
* obj2
= 0 ;
16247 PyObject
* obj3
= 0 ;
16248 PyObject
* obj4
= 0 ;
16249 char *kwnames
[] = {
16250 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDrawnShape_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16256 arg2
= (double)SWIG_As_double(obj1
);
16257 if (PyErr_Occurred()) SWIG_fail
;
16258 arg3
= (double)SWIG_As_double(obj2
);
16259 if (PyErr_Occurred()) SWIG_fail
;
16261 arg4
= (int)SWIG_As_int(obj3
);
16262 if (PyErr_Occurred()) SWIG_fail
;
16265 arg5
= (int)SWIG_As_int(obj4
);
16266 if (PyErr_Occurred()) SWIG_fail
;
16269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16270 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
16272 wxPyEndAllowThreads(__tstate
);
16273 if (PyErr_Occurred()) SWIG_fail
;
16275 Py_INCREF(Py_None
); resultobj
= Py_None
;
16282 static PyObject
*_wrap_PyDrawnShape_base_OnSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16283 PyObject
*resultobj
;
16284 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16287 PyObject
* obj0
= 0 ;
16288 PyObject
* obj1
= 0 ;
16289 PyObject
* obj2
= 0 ;
16290 char *kwnames
[] = {
16291 (char *) "self",(char *) "x",(char *) "y", NULL
16294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDrawnShape_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16297 arg2
= (double)SWIG_As_double(obj1
);
16298 if (PyErr_Occurred()) SWIG_fail
;
16299 arg3
= (double)SWIG_As_double(obj2
);
16300 if (PyErr_Occurred()) SWIG_fail
;
16302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16303 (arg1
)->base_OnSize(arg2
,arg3
);
16305 wxPyEndAllowThreads(__tstate
);
16306 if (PyErr_Occurred()) SWIG_fail
;
16308 Py_INCREF(Py_None
); resultobj
= Py_None
;
16315 static PyObject
*_wrap_PyDrawnShape_base_OnMovePre(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16316 PyObject
*resultobj
;
16317 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16323 bool arg7
= (bool) True
;
16325 PyObject
* obj0
= 0 ;
16326 PyObject
* obj1
= 0 ;
16327 PyObject
* obj2
= 0 ;
16328 PyObject
* obj3
= 0 ;
16329 PyObject
* obj4
= 0 ;
16330 PyObject
* obj5
= 0 ;
16331 PyObject
* obj6
= 0 ;
16332 char *kwnames
[] = {
16333 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
16336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyDrawnShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
16337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16339 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
16340 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16342 if (arg2
== NULL
) {
16343 PyErr_SetString(PyExc_TypeError
,"null reference");
16346 arg3
= (double)SWIG_As_double(obj2
);
16347 if (PyErr_Occurred()) SWIG_fail
;
16348 arg4
= (double)SWIG_As_double(obj3
);
16349 if (PyErr_Occurred()) SWIG_fail
;
16350 arg5
= (double)SWIG_As_double(obj4
);
16351 if (PyErr_Occurred()) SWIG_fail
;
16352 arg6
= (double)SWIG_As_double(obj5
);
16353 if (PyErr_Occurred()) SWIG_fail
;
16355 arg7
= (bool)SWIG_As_bool(obj6
);
16356 if (PyErr_Occurred()) SWIG_fail
;
16359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16360 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
16362 wxPyEndAllowThreads(__tstate
);
16363 if (PyErr_Occurred()) SWIG_fail
;
16366 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16374 static PyObject
*_wrap_PyDrawnShape_base_OnMovePost(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16375 PyObject
*resultobj
;
16376 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16382 bool arg7
= (bool) True
;
16383 PyObject
* obj0
= 0 ;
16384 PyObject
* obj1
= 0 ;
16385 PyObject
* obj2
= 0 ;
16386 PyObject
* obj3
= 0 ;
16387 PyObject
* obj4
= 0 ;
16388 PyObject
* obj5
= 0 ;
16389 PyObject
* obj6
= 0 ;
16390 char *kwnames
[] = {
16391 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
16394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyDrawnShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
16395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16397 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
16398 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16400 if (arg2
== NULL
) {
16401 PyErr_SetString(PyExc_TypeError
,"null reference");
16404 arg3
= (double)SWIG_As_double(obj2
);
16405 if (PyErr_Occurred()) SWIG_fail
;
16406 arg4
= (double)SWIG_As_double(obj3
);
16407 if (PyErr_Occurred()) SWIG_fail
;
16408 arg5
= (double)SWIG_As_double(obj4
);
16409 if (PyErr_Occurred()) SWIG_fail
;
16410 arg6
= (double)SWIG_As_double(obj5
);
16411 if (PyErr_Occurred()) SWIG_fail
;
16413 arg7
= (bool)SWIG_As_bool(obj6
);
16414 if (PyErr_Occurred()) SWIG_fail
;
16417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16418 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
16420 wxPyEndAllowThreads(__tstate
);
16421 if (PyErr_Occurred()) SWIG_fail
;
16423 Py_INCREF(Py_None
); resultobj
= Py_None
;
16430 static PyObject
*_wrap_PyDrawnShape_base_OnDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16431 PyObject
*resultobj
;
16432 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16436 int arg5
= (int) 0 ;
16437 int arg6
= (int) 0 ;
16438 PyObject
* obj0
= 0 ;
16439 PyObject
* obj1
= 0 ;
16440 PyObject
* obj2
= 0 ;
16441 PyObject
* obj3
= 0 ;
16442 PyObject
* obj4
= 0 ;
16443 PyObject
* obj5
= 0 ;
16444 char *kwnames
[] = {
16445 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyDrawnShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16451 arg2
= (bool)SWIG_As_bool(obj1
);
16452 if (PyErr_Occurred()) SWIG_fail
;
16453 arg3
= (double)SWIG_As_double(obj2
);
16454 if (PyErr_Occurred()) SWIG_fail
;
16455 arg4
= (double)SWIG_As_double(obj3
);
16456 if (PyErr_Occurred()) SWIG_fail
;
16458 arg5
= (int)SWIG_As_int(obj4
);
16459 if (PyErr_Occurred()) SWIG_fail
;
16462 arg6
= (int)SWIG_As_int(obj5
);
16463 if (PyErr_Occurred()) SWIG_fail
;
16466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16467 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
16469 wxPyEndAllowThreads(__tstate
);
16470 if (PyErr_Occurred()) SWIG_fail
;
16472 Py_INCREF(Py_None
); resultobj
= Py_None
;
16479 static PyObject
*_wrap_PyDrawnShape_base_OnBeginDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16480 PyObject
*resultobj
;
16481 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16484 int arg4
= (int) 0 ;
16485 int arg5
= (int) 0 ;
16486 PyObject
* obj0
= 0 ;
16487 PyObject
* obj1
= 0 ;
16488 PyObject
* obj2
= 0 ;
16489 PyObject
* obj3
= 0 ;
16490 PyObject
* obj4
= 0 ;
16491 char *kwnames
[] = {
16492 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDrawnShape_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16498 arg2
= (double)SWIG_As_double(obj1
);
16499 if (PyErr_Occurred()) SWIG_fail
;
16500 arg3
= (double)SWIG_As_double(obj2
);
16501 if (PyErr_Occurred()) SWIG_fail
;
16503 arg4
= (int)SWIG_As_int(obj3
);
16504 if (PyErr_Occurred()) SWIG_fail
;
16507 arg5
= (int)SWIG_As_int(obj4
);
16508 if (PyErr_Occurred()) SWIG_fail
;
16511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16512 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
16514 wxPyEndAllowThreads(__tstate
);
16515 if (PyErr_Occurred()) SWIG_fail
;
16517 Py_INCREF(Py_None
); resultobj
= Py_None
;
16524 static PyObject
*_wrap_PyDrawnShape_base_OnEndDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16525 PyObject
*resultobj
;
16526 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16529 int arg4
= (int) 0 ;
16530 int arg5
= (int) 0 ;
16531 PyObject
* obj0
= 0 ;
16532 PyObject
* obj1
= 0 ;
16533 PyObject
* obj2
= 0 ;
16534 PyObject
* obj3
= 0 ;
16535 PyObject
* obj4
= 0 ;
16536 char *kwnames
[] = {
16537 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDrawnShape_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16543 arg2
= (double)SWIG_As_double(obj1
);
16544 if (PyErr_Occurred()) SWIG_fail
;
16545 arg3
= (double)SWIG_As_double(obj2
);
16546 if (PyErr_Occurred()) SWIG_fail
;
16548 arg4
= (int)SWIG_As_int(obj3
);
16549 if (PyErr_Occurred()) SWIG_fail
;
16552 arg5
= (int)SWIG_As_int(obj4
);
16553 if (PyErr_Occurred()) SWIG_fail
;
16556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16557 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
16559 wxPyEndAllowThreads(__tstate
);
16560 if (PyErr_Occurred()) SWIG_fail
;
16562 Py_INCREF(Py_None
); resultobj
= Py_None
;
16569 static PyObject
*_wrap_PyDrawnShape_base_OnDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16570 PyObject
*resultobj
;
16571 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16575 int arg5
= (int) 0 ;
16576 int arg6
= (int) 0 ;
16577 PyObject
* obj0
= 0 ;
16578 PyObject
* obj1
= 0 ;
16579 PyObject
* obj2
= 0 ;
16580 PyObject
* obj3
= 0 ;
16581 PyObject
* obj4
= 0 ;
16582 PyObject
* obj5
= 0 ;
16583 char *kwnames
[] = {
16584 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyDrawnShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16590 arg2
= (bool)SWIG_As_bool(obj1
);
16591 if (PyErr_Occurred()) SWIG_fail
;
16592 arg3
= (double)SWIG_As_double(obj2
);
16593 if (PyErr_Occurred()) SWIG_fail
;
16594 arg4
= (double)SWIG_As_double(obj3
);
16595 if (PyErr_Occurred()) SWIG_fail
;
16597 arg5
= (int)SWIG_As_int(obj4
);
16598 if (PyErr_Occurred()) SWIG_fail
;
16601 arg6
= (int)SWIG_As_int(obj5
);
16602 if (PyErr_Occurred()) SWIG_fail
;
16605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16606 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
16608 wxPyEndAllowThreads(__tstate
);
16609 if (PyErr_Occurred()) SWIG_fail
;
16611 Py_INCREF(Py_None
); resultobj
= Py_None
;
16618 static PyObject
*_wrap_PyDrawnShape_base_OnBeginDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16619 PyObject
*resultobj
;
16620 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16623 int arg4
= (int) 0 ;
16624 int arg5
= (int) 0 ;
16625 PyObject
* obj0
= 0 ;
16626 PyObject
* obj1
= 0 ;
16627 PyObject
* obj2
= 0 ;
16628 PyObject
* obj3
= 0 ;
16629 PyObject
* obj4
= 0 ;
16630 char *kwnames
[] = {
16631 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDrawnShape_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16637 arg2
= (double)SWIG_As_double(obj1
);
16638 if (PyErr_Occurred()) SWIG_fail
;
16639 arg3
= (double)SWIG_As_double(obj2
);
16640 if (PyErr_Occurred()) SWIG_fail
;
16642 arg4
= (int)SWIG_As_int(obj3
);
16643 if (PyErr_Occurred()) SWIG_fail
;
16646 arg5
= (int)SWIG_As_int(obj4
);
16647 if (PyErr_Occurred()) SWIG_fail
;
16650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16651 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
16653 wxPyEndAllowThreads(__tstate
);
16654 if (PyErr_Occurred()) SWIG_fail
;
16656 Py_INCREF(Py_None
); resultobj
= Py_None
;
16663 static PyObject
*_wrap_PyDrawnShape_base_OnEndDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16664 PyObject
*resultobj
;
16665 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16668 int arg4
= (int) 0 ;
16669 int arg5
= (int) 0 ;
16670 PyObject
* obj0
= 0 ;
16671 PyObject
* obj1
= 0 ;
16672 PyObject
* obj2
= 0 ;
16673 PyObject
* obj3
= 0 ;
16674 PyObject
* obj4
= 0 ;
16675 char *kwnames
[] = {
16676 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDrawnShape_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16682 arg2
= (double)SWIG_As_double(obj1
);
16683 if (PyErr_Occurred()) SWIG_fail
;
16684 arg3
= (double)SWIG_As_double(obj2
);
16685 if (PyErr_Occurred()) SWIG_fail
;
16687 arg4
= (int)SWIG_As_int(obj3
);
16688 if (PyErr_Occurred()) SWIG_fail
;
16691 arg5
= (int)SWIG_As_int(obj4
);
16692 if (PyErr_Occurred()) SWIG_fail
;
16695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16696 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
16698 wxPyEndAllowThreads(__tstate
);
16699 if (PyErr_Occurred()) SWIG_fail
;
16701 Py_INCREF(Py_None
); resultobj
= Py_None
;
16708 static PyObject
*_wrap_PyDrawnShape_base_OnDrawOutline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16709 PyObject
*resultobj
;
16710 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16716 PyObject
* obj0
= 0 ;
16717 PyObject
* obj1
= 0 ;
16718 PyObject
* obj2
= 0 ;
16719 PyObject
* obj3
= 0 ;
16720 PyObject
* obj4
= 0 ;
16721 PyObject
* obj5
= 0 ;
16722 char *kwnames
[] = {
16723 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
16726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyDrawnShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16729 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
16730 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16732 if (arg2
== NULL
) {
16733 PyErr_SetString(PyExc_TypeError
,"null reference");
16736 arg3
= (double)SWIG_As_double(obj2
);
16737 if (PyErr_Occurred()) SWIG_fail
;
16738 arg4
= (double)SWIG_As_double(obj3
);
16739 if (PyErr_Occurred()) SWIG_fail
;
16740 arg5
= (double)SWIG_As_double(obj4
);
16741 if (PyErr_Occurred()) SWIG_fail
;
16742 arg6
= (double)SWIG_As_double(obj5
);
16743 if (PyErr_Occurred()) SWIG_fail
;
16745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16746 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
16748 wxPyEndAllowThreads(__tstate
);
16749 if (PyErr_Occurred()) SWIG_fail
;
16751 Py_INCREF(Py_None
); resultobj
= Py_None
;
16758 static PyObject
*_wrap_PyDrawnShape_base_OnDrawControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16759 PyObject
*resultobj
;
16760 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16762 PyObject
* obj0
= 0 ;
16763 PyObject
* obj1
= 0 ;
16764 char *kwnames
[] = {
16765 (char *) "self",(char *) "dc", NULL
16768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
16769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16771 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
16772 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16774 if (arg2
== NULL
) {
16775 PyErr_SetString(PyExc_TypeError
,"null reference");
16779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16780 (arg1
)->base_OnDrawControlPoints(*arg2
);
16782 wxPyEndAllowThreads(__tstate
);
16783 if (PyErr_Occurred()) SWIG_fail
;
16785 Py_INCREF(Py_None
); resultobj
= Py_None
;
16792 static PyObject
*_wrap_PyDrawnShape_base_OnEraseControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16793 PyObject
*resultobj
;
16794 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16796 PyObject
* obj0
= 0 ;
16797 PyObject
* obj1
= 0 ;
16798 char *kwnames
[] = {
16799 (char *) "self",(char *) "dc", NULL
16802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
16803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16805 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
16806 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16808 if (arg2
== NULL
) {
16809 PyErr_SetString(PyExc_TypeError
,"null reference");
16813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16814 (arg1
)->base_OnEraseControlPoints(*arg2
);
16816 wxPyEndAllowThreads(__tstate
);
16817 if (PyErr_Occurred()) SWIG_fail
;
16819 Py_INCREF(Py_None
); resultobj
= Py_None
;
16826 static PyObject
*_wrap_PyDrawnShape_base_OnMoveLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16827 PyObject
*resultobj
;
16828 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16830 bool arg3
= (bool) True
;
16831 PyObject
* obj0
= 0 ;
16832 PyObject
* obj1
= 0 ;
16833 PyObject
* obj2
= 0 ;
16834 char *kwnames
[] = {
16835 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
16838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyDrawnShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16841 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
16842 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16844 if (arg2
== NULL
) {
16845 PyErr_SetString(PyExc_TypeError
,"null reference");
16849 arg3
= (bool)SWIG_As_bool(obj2
);
16850 if (PyErr_Occurred()) SWIG_fail
;
16853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16854 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
16856 wxPyEndAllowThreads(__tstate
);
16857 if (PyErr_Occurred()) SWIG_fail
;
16859 Py_INCREF(Py_None
); resultobj
= Py_None
;
16866 static PyObject
*_wrap_PyDrawnShape_base_OnSizingDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16867 PyObject
*resultobj
;
16868 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16869 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
16873 int arg6
= (int) 0 ;
16874 int arg7
= (int) 0 ;
16875 PyObject
* obj0
= 0 ;
16876 PyObject
* obj1
= 0 ;
16877 PyObject
* obj2
= 0 ;
16878 PyObject
* obj3
= 0 ;
16879 PyObject
* obj4
= 0 ;
16880 PyObject
* obj5
= 0 ;
16881 PyObject
* obj6
= 0 ;
16882 char *kwnames
[] = {
16883 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyDrawnShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
16887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16889 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
16890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16891 arg3
= (bool)SWIG_As_bool(obj2
);
16892 if (PyErr_Occurred()) SWIG_fail
;
16893 arg4
= (double)SWIG_As_double(obj3
);
16894 if (PyErr_Occurred()) SWIG_fail
;
16895 arg5
= (double)SWIG_As_double(obj4
);
16896 if (PyErr_Occurred()) SWIG_fail
;
16898 arg6
= (int)SWIG_As_int(obj5
);
16899 if (PyErr_Occurred()) SWIG_fail
;
16902 arg7
= (int)SWIG_As_int(obj6
);
16903 if (PyErr_Occurred()) SWIG_fail
;
16906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16907 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
16909 wxPyEndAllowThreads(__tstate
);
16910 if (PyErr_Occurred()) SWIG_fail
;
16912 Py_INCREF(Py_None
); resultobj
= Py_None
;
16919 static PyObject
*_wrap_PyDrawnShape_base_OnSizingBeginDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16920 PyObject
*resultobj
;
16921 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16922 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
16925 int arg5
= (int) 0 ;
16926 int arg6
= (int) 0 ;
16927 PyObject
* obj0
= 0 ;
16928 PyObject
* obj1
= 0 ;
16929 PyObject
* obj2
= 0 ;
16930 PyObject
* obj3
= 0 ;
16931 PyObject
* obj4
= 0 ;
16932 PyObject
* obj5
= 0 ;
16933 char *kwnames
[] = {
16934 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyDrawnShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16940 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
16941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16942 arg3
= (double)SWIG_As_double(obj2
);
16943 if (PyErr_Occurred()) SWIG_fail
;
16944 arg4
= (double)SWIG_As_double(obj3
);
16945 if (PyErr_Occurred()) SWIG_fail
;
16947 arg5
= (int)SWIG_As_int(obj4
);
16948 if (PyErr_Occurred()) SWIG_fail
;
16951 arg6
= (int)SWIG_As_int(obj5
);
16952 if (PyErr_Occurred()) SWIG_fail
;
16955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16956 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
16958 wxPyEndAllowThreads(__tstate
);
16959 if (PyErr_Occurred()) SWIG_fail
;
16961 Py_INCREF(Py_None
); resultobj
= Py_None
;
16968 static PyObject
*_wrap_PyDrawnShape_base_OnSizingEndDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16969 PyObject
*resultobj
;
16970 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
16971 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
16974 int arg5
= (int) 0 ;
16975 int arg6
= (int) 0 ;
16976 PyObject
* obj0
= 0 ;
16977 PyObject
* obj1
= 0 ;
16978 PyObject
* obj2
= 0 ;
16979 PyObject
* obj3
= 0 ;
16980 PyObject
* obj4
= 0 ;
16981 PyObject
* obj5
= 0 ;
16982 char *kwnames
[] = {
16983 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyDrawnShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
16988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16989 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
16990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16991 arg3
= (double)SWIG_As_double(obj2
);
16992 if (PyErr_Occurred()) SWIG_fail
;
16993 arg4
= (double)SWIG_As_double(obj3
);
16994 if (PyErr_Occurred()) SWIG_fail
;
16996 arg5
= (int)SWIG_As_int(obj4
);
16997 if (PyErr_Occurred()) SWIG_fail
;
17000 arg6
= (int)SWIG_As_int(obj5
);
17001 if (PyErr_Occurred()) SWIG_fail
;
17004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17005 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
17007 wxPyEndAllowThreads(__tstate
);
17008 if (PyErr_Occurred()) SWIG_fail
;
17010 Py_INCREF(Py_None
); resultobj
= Py_None
;
17017 static PyObject
*_wrap_PyDrawnShape_base_OnBeginSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17018 PyObject
*resultobj
;
17019 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
17022 PyObject
* obj0
= 0 ;
17023 PyObject
* obj1
= 0 ;
17024 PyObject
* obj2
= 0 ;
17025 char *kwnames
[] = {
17026 (char *) "self",(char *) "w",(char *) "h", NULL
17029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDrawnShape_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
17031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17032 arg2
= (double)SWIG_As_double(obj1
);
17033 if (PyErr_Occurred()) SWIG_fail
;
17034 arg3
= (double)SWIG_As_double(obj2
);
17035 if (PyErr_Occurred()) SWIG_fail
;
17037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17038 (arg1
)->base_OnBeginSize(arg2
,arg3
);
17040 wxPyEndAllowThreads(__tstate
);
17041 if (PyErr_Occurred()) SWIG_fail
;
17043 Py_INCREF(Py_None
); resultobj
= Py_None
;
17050 static PyObject
*_wrap_PyDrawnShape_base_OnEndSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17051 PyObject
*resultobj
;
17052 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
17055 PyObject
* obj0
= 0 ;
17056 PyObject
* obj1
= 0 ;
17057 PyObject
* obj2
= 0 ;
17058 char *kwnames
[] = {
17059 (char *) "self",(char *) "w",(char *) "h", NULL
17062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDrawnShape_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDrawnShape
,
17064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17065 arg2
= (double)SWIG_As_double(obj1
);
17066 if (PyErr_Occurred()) SWIG_fail
;
17067 arg3
= (double)SWIG_As_double(obj2
);
17068 if (PyErr_Occurred()) SWIG_fail
;
17070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17071 (arg1
)->base_OnEndSize(arg2
,arg3
);
17073 wxPyEndAllowThreads(__tstate
);
17074 if (PyErr_Occurred()) SWIG_fail
;
17076 Py_INCREF(Py_None
); resultobj
= Py_None
;
17083 static PyObject
* PyDrawnShape_swigregister(PyObject
*, PyObject
*args
) {
17085 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17086 SWIG_TypeClientData(SWIGTYPE_p_wxPyDrawnShape
, obj
);
17088 return Py_BuildValue((char *)"");
17090 static PyObject
*_wrap_new_OGLConstraint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17091 PyObject
*resultobj
;
17093 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
17094 PyObject
*arg3
= (PyObject
*) 0 ;
17095 wxOGLConstraint
*result
;
17096 PyObject
* obj0
= 0 ;
17097 PyObject
* obj1
= 0 ;
17098 PyObject
* obj2
= 0 ;
17099 char *kwnames
[] = {
17100 (char *) "type",(char *) "constraining",(char *) "constrained", NULL
17103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_OGLConstraint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17104 arg1
= (int)SWIG_As_int(obj0
);
17105 if (PyErr_Occurred()) SWIG_fail
;
17106 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
17107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17111 result
= (wxOGLConstraint
*)new_wxOGLConstraint(arg1
,arg2
,arg3
);
17113 wxPyEndAllowThreads(__tstate
);
17114 if (PyErr_Occurred()) SWIG_fail
;
17117 resultobj
= wxPyMake_wxObject(result
, 1);
17125 static PyObject
*_wrap_OGLConstraint_Evaluate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17126 PyObject
*resultobj
;
17127 wxOGLConstraint
*arg1
= (wxOGLConstraint
*) 0 ;
17129 PyObject
* obj0
= 0 ;
17130 char *kwnames
[] = {
17131 (char *) "self", NULL
17134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:OGLConstraint_Evaluate",kwnames
,&obj0
)) goto fail
;
17135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxOGLConstraint
,
17136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17139 result
= (bool)(arg1
)->Evaluate();
17141 wxPyEndAllowThreads(__tstate
);
17142 if (PyErr_Occurred()) SWIG_fail
;
17145 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17153 static PyObject
*_wrap_OGLConstraint_SetSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17154 PyObject
*resultobj
;
17155 wxOGLConstraint
*arg1
= (wxOGLConstraint
*) 0 ;
17158 PyObject
* obj0
= 0 ;
17159 PyObject
* obj1
= 0 ;
17160 PyObject
* obj2
= 0 ;
17161 char *kwnames
[] = {
17162 (char *) "self",(char *) "x",(char *) "y", NULL
17165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:OGLConstraint_SetSpacing",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxOGLConstraint
,
17167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17168 arg2
= (double)SWIG_As_double(obj1
);
17169 if (PyErr_Occurred()) SWIG_fail
;
17170 arg3
= (double)SWIG_As_double(obj2
);
17171 if (PyErr_Occurred()) SWIG_fail
;
17173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17174 (arg1
)->SetSpacing(arg2
,arg3
);
17176 wxPyEndAllowThreads(__tstate
);
17177 if (PyErr_Occurred()) SWIG_fail
;
17179 Py_INCREF(Py_None
); resultobj
= Py_None
;
17186 static PyObject
*_wrap_OGLConstraint_Equals(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17187 PyObject
*resultobj
;
17188 wxOGLConstraint
*arg1
= (wxOGLConstraint
*) 0 ;
17192 PyObject
* obj0
= 0 ;
17193 PyObject
* obj1
= 0 ;
17194 PyObject
* obj2
= 0 ;
17195 char *kwnames
[] = {
17196 (char *) "self",(char *) "a",(char *) "b", NULL
17199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:OGLConstraint_Equals",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxOGLConstraint
,
17201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17202 arg2
= (double)SWIG_As_double(obj1
);
17203 if (PyErr_Occurred()) SWIG_fail
;
17204 arg3
= (double)SWIG_As_double(obj2
);
17205 if (PyErr_Occurred()) SWIG_fail
;
17207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17208 result
= (bool)(arg1
)->Equals(arg2
,arg3
);
17210 wxPyEndAllowThreads(__tstate
);
17211 if (PyErr_Occurred()) SWIG_fail
;
17214 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17222 static PyObject
* OGLConstraint_swigregister(PyObject
*, PyObject
*args
) {
17224 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17225 SWIG_TypeClientData(SWIGTYPE_p_wxOGLConstraint
, obj
);
17227 return Py_BuildValue((char *)"");
17229 static PyObject
*_wrap_new_PyCompositeShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17230 PyObject
*resultobj
;
17231 wxPyCompositeShape
*result
;
17232 char *kwnames
[] = {
17236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyCompositeShape",kwnames
)) goto fail
;
17238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17239 result
= (wxPyCompositeShape
*)new wxPyCompositeShape();
17241 wxPyEndAllowThreads(__tstate
);
17242 if (PyErr_Occurred()) SWIG_fail
;
17244 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyCompositeShape
, 1);
17251 static PyObject
*_wrap_PyCompositeShape__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17252 PyObject
*resultobj
;
17253 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17254 PyObject
*arg2
= (PyObject
*) 0 ;
17255 PyObject
*arg3
= (PyObject
*) 0 ;
17256 PyObject
* obj0
= 0 ;
17257 PyObject
* obj1
= 0 ;
17258 PyObject
* obj2
= 0 ;
17259 char *kwnames
[] = {
17260 (char *) "self",(char *) "self",(char *) "_class", NULL
17263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyCompositeShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17270 (arg1
)->_setCallbackInfo(arg2
,arg3
);
17272 wxPyEndAllowThreads(__tstate
);
17273 if (PyErr_Occurred()) SWIG_fail
;
17275 Py_INCREF(Py_None
); resultobj
= Py_None
;
17282 static PyObject
*_wrap_PyCompositeShape_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17283 PyObject
*resultobj
;
17284 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17285 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
17286 wxPyShape
*arg3
= (wxPyShape
*) NULL
;
17287 PyObject
* obj0
= 0 ;
17288 PyObject
* obj1
= 0 ;
17289 PyObject
* obj2
= 0 ;
17290 char *kwnames
[] = {
17291 (char *) "self",(char *) "child",(char *) "addAfter", NULL
17294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyCompositeShape_AddChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17297 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
17298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17300 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyShape
,
17301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17305 (arg1
)->AddChild(arg2
,arg3
);
17307 wxPyEndAllowThreads(__tstate
);
17308 if (PyErr_Occurred()) SWIG_fail
;
17310 Py_INCREF(Py_None
); resultobj
= Py_None
;
17317 static PyObject
*_wrap_PyCompositeShape_AddConstraint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17318 PyObject
*resultobj
;
17319 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17320 wxOGLConstraint
*arg2
= (wxOGLConstraint
*) 0 ;
17321 wxOGLConstraint
*result
;
17322 PyObject
* obj0
= 0 ;
17323 PyObject
* obj1
= 0 ;
17324 char *kwnames
[] = {
17325 (char *) "self",(char *) "constraint", NULL
17328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_AddConstraint",kwnames
,&obj0
,&obj1
)) goto fail
;
17329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17331 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxOGLConstraint
,
17332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17335 result
= (wxOGLConstraint
*)(arg1
)->AddConstraint(arg2
);
17337 wxPyEndAllowThreads(__tstate
);
17338 if (PyErr_Occurred()) SWIG_fail
;
17341 resultobj
= wxPyMake_wxObject(result
, 0);
17349 static PyObject
*_wrap_PyCompositeShape_AddConstrainedShapes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17350 PyObject
*resultobj
;
17351 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17353 wxPyShape
*arg3
= (wxPyShape
*) 0 ;
17354 PyObject
*arg4
= (PyObject
*) 0 ;
17355 wxOGLConstraint
*result
;
17356 PyObject
* obj0
= 0 ;
17357 PyObject
* obj1
= 0 ;
17358 PyObject
* obj2
= 0 ;
17359 PyObject
* obj3
= 0 ;
17360 char *kwnames
[] = {
17361 (char *) "self",(char *) "type",(char *) "constraining",(char *) "constrained", NULL
17364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyCompositeShape_AddConstrainedShapes",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17367 arg2
= (int)SWIG_As_int(obj1
);
17368 if (PyErr_Occurred()) SWIG_fail
;
17369 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyShape
,
17370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17374 result
= (wxOGLConstraint
*)wxPyCompositeShape_AddConstrainedShapes(arg1
,arg2
,arg3
,arg4
);
17376 wxPyEndAllowThreads(__tstate
);
17377 if (PyErr_Occurred()) SWIG_fail
;
17380 resultobj
= wxPyMake_wxObject(result
, 0);
17388 static PyObject
*_wrap_PyCompositeShape_AddSimpleConstraint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17389 PyObject
*resultobj
;
17390 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17392 wxPyShape
*arg3
= (wxPyShape
*) 0 ;
17393 wxPyShape
*arg4
= (wxPyShape
*) 0 ;
17394 wxOGLConstraint
*result
;
17395 PyObject
* obj0
= 0 ;
17396 PyObject
* obj1
= 0 ;
17397 PyObject
* obj2
= 0 ;
17398 PyObject
* obj3
= 0 ;
17399 char *kwnames
[] = {
17400 (char *) "self",(char *) "type",(char *) "constraining",(char *) "constrained", NULL
17403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyCompositeShape_AddSimpleConstraint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17406 arg2
= (int)SWIG_As_int(obj1
);
17407 if (PyErr_Occurred()) SWIG_fail
;
17408 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyShape
,
17409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17410 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxPyShape
,
17411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17414 result
= (wxOGLConstraint
*)(arg1
)->AddConstraint(arg2
,arg3
,arg4
);
17416 wxPyEndAllowThreads(__tstate
);
17417 if (PyErr_Occurred()) SWIG_fail
;
17420 resultobj
= wxPyMake_wxObject(result
, 0);
17428 static PyObject
*_wrap_PyCompositeShape_CalculateSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17429 PyObject
*resultobj
;
17430 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17431 PyObject
* obj0
= 0 ;
17432 char *kwnames
[] = {
17433 (char *) "self", NULL
17436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCompositeShape_CalculateSize",kwnames
,&obj0
)) goto fail
;
17437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17441 (arg1
)->CalculateSize();
17443 wxPyEndAllowThreads(__tstate
);
17444 if (PyErr_Occurred()) SWIG_fail
;
17446 Py_INCREF(Py_None
); resultobj
= Py_None
;
17453 static PyObject
*_wrap_PyCompositeShape_ContainsDivision(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17454 PyObject
*resultobj
;
17455 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17456 wxPyDivisionShape
*arg2
= (wxPyDivisionShape
*) 0 ;
17458 PyObject
* obj0
= 0 ;
17459 PyObject
* obj1
= 0 ;
17460 char *kwnames
[] = {
17461 (char *) "self",(char *) "division", NULL
17464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_ContainsDivision",kwnames
,&obj0
,&obj1
)) goto fail
;
17465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17467 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyDivisionShape
,
17468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17471 result
= (bool)(arg1
)->ContainsDivision(arg2
);
17473 wxPyEndAllowThreads(__tstate
);
17474 if (PyErr_Occurred()) SWIG_fail
;
17477 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17485 static PyObject
*_wrap_PyCompositeShape_DeleteConstraint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17486 PyObject
*resultobj
;
17487 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17488 wxOGLConstraint
*arg2
= (wxOGLConstraint
*) 0 ;
17489 PyObject
* obj0
= 0 ;
17490 PyObject
* obj1
= 0 ;
17491 char *kwnames
[] = {
17492 (char *) "self",(char *) "constraint", NULL
17495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_DeleteConstraint",kwnames
,&obj0
,&obj1
)) goto fail
;
17496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17498 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxOGLConstraint
,
17499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17502 (arg1
)->DeleteConstraint(arg2
);
17504 wxPyEndAllowThreads(__tstate
);
17505 if (PyErr_Occurred()) SWIG_fail
;
17507 Py_INCREF(Py_None
); resultobj
= Py_None
;
17514 static PyObject
*_wrap_PyCompositeShape_DeleteConstraintsInvolvingChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17515 PyObject
*resultobj
;
17516 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17517 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
17518 PyObject
* obj0
= 0 ;
17519 PyObject
* obj1
= 0 ;
17520 char *kwnames
[] = {
17521 (char *) "self",(char *) "child", NULL
17524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_DeleteConstraintsInvolvingChild",kwnames
,&obj0
,&obj1
)) goto fail
;
17525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17527 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
17528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17531 (arg1
)->DeleteConstraintsInvolvingChild(arg2
);
17533 wxPyEndAllowThreads(__tstate
);
17534 if (PyErr_Occurred()) SWIG_fail
;
17536 Py_INCREF(Py_None
); resultobj
= Py_None
;
17543 static PyObject
*_wrap_PyCompositeShape_FindContainerImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17544 PyObject
*resultobj
;
17545 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17547 PyObject
* obj0
= 0 ;
17548 char *kwnames
[] = {
17549 (char *) "self", NULL
17552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCompositeShape_FindContainerImage",kwnames
,&obj0
)) goto fail
;
17553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17557 result
= (wxPyShape
*)(arg1
)->FindContainerImage();
17559 wxPyEndAllowThreads(__tstate
);
17560 if (PyErr_Occurred()) SWIG_fail
;
17563 resultobj
= wxPyMake_wxShapeEvtHandler(result
, 0);
17571 static PyObject
*_wrap_PyCompositeShape_GetConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17572 PyObject
*resultobj
;
17573 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17575 PyObject
* obj0
= 0 ;
17576 char *kwnames
[] = {
17577 (char *) "self", NULL
17580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCompositeShape_GetConstraints",kwnames
,&obj0
)) goto fail
;
17581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17585 result
= (PyObject
*)wxPyCompositeShape_GetConstraints(arg1
);
17587 wxPyEndAllowThreads(__tstate
);
17588 if (PyErr_Occurred()) SWIG_fail
;
17590 resultobj
= result
;
17597 static PyObject
*_wrap_PyCompositeShape_GetDivisions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17598 PyObject
*resultobj
;
17599 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17601 PyObject
* obj0
= 0 ;
17602 char *kwnames
[] = {
17603 (char *) "self", NULL
17606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCompositeShape_GetDivisions",kwnames
,&obj0
)) goto fail
;
17607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17611 result
= (PyObject
*)wxPyCompositeShape_GetDivisions(arg1
);
17613 wxPyEndAllowThreads(__tstate
);
17614 if (PyErr_Occurred()) SWIG_fail
;
17616 resultobj
= result
;
17623 static PyObject
*_wrap_PyCompositeShape_MakeContainer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17624 PyObject
*resultobj
;
17625 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17626 PyObject
* obj0
= 0 ;
17627 char *kwnames
[] = {
17628 (char *) "self", NULL
17631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCompositeShape_MakeContainer",kwnames
,&obj0
)) goto fail
;
17632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17636 (arg1
)->MakeContainer();
17638 wxPyEndAllowThreads(__tstate
);
17639 if (PyErr_Occurred()) SWIG_fail
;
17641 Py_INCREF(Py_None
); resultobj
= Py_None
;
17648 static PyObject
*_wrap_PyCompositeShape_Recompute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17649 PyObject
*resultobj
;
17650 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17652 PyObject
* obj0
= 0 ;
17653 char *kwnames
[] = {
17654 (char *) "self", NULL
17657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCompositeShape_Recompute",kwnames
,&obj0
)) goto fail
;
17658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17662 result
= (bool)(arg1
)->Recompute();
17664 wxPyEndAllowThreads(__tstate
);
17665 if (PyErr_Occurred()) SWIG_fail
;
17668 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17676 static PyObject
*_wrap_PyCompositeShape_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17677 PyObject
*resultobj
;
17678 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17679 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
17680 PyObject
* obj0
= 0 ;
17681 PyObject
* obj1
= 0 ;
17682 char *kwnames
[] = {
17683 (char *) "self",(char *) "child", NULL
17686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
17687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17689 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
17690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17693 (arg1
)->RemoveChild(arg2
);
17695 wxPyEndAllowThreads(__tstate
);
17696 if (PyErr_Occurred()) SWIG_fail
;
17698 Py_INCREF(Py_None
); resultobj
= Py_None
;
17705 static PyObject
*_wrap_PyCompositeShape_base_OnDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17706 PyObject
*resultobj
;
17707 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17708 PyObject
* obj0
= 0 ;
17709 char *kwnames
[] = {
17710 (char *) "self", NULL
17713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCompositeShape_base_OnDelete",kwnames
,&obj0
)) goto fail
;
17714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17718 (arg1
)->base_OnDelete();
17720 wxPyEndAllowThreads(__tstate
);
17721 if (PyErr_Occurred()) SWIG_fail
;
17723 Py_INCREF(Py_None
); resultobj
= Py_None
;
17730 static PyObject
*_wrap_PyCompositeShape_base_OnDraw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17731 PyObject
*resultobj
;
17732 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17734 PyObject
* obj0
= 0 ;
17735 PyObject
* obj1
= 0 ;
17736 char *kwnames
[] = {
17737 (char *) "self",(char *) "dc", NULL
17740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
17741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17743 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
17744 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17746 if (arg2
== NULL
) {
17747 PyErr_SetString(PyExc_TypeError
,"null reference");
17751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17752 (arg1
)->base_OnDraw(*arg2
);
17754 wxPyEndAllowThreads(__tstate
);
17755 if (PyErr_Occurred()) SWIG_fail
;
17757 Py_INCREF(Py_None
); resultobj
= Py_None
;
17764 static PyObject
*_wrap_PyCompositeShape_base_OnDrawContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17765 PyObject
*resultobj
;
17766 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17768 PyObject
* obj0
= 0 ;
17769 PyObject
* obj1
= 0 ;
17770 char *kwnames
[] = {
17771 (char *) "self",(char *) "dc", NULL
17774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
17775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17777 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
17778 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17780 if (arg2
== NULL
) {
17781 PyErr_SetString(PyExc_TypeError
,"null reference");
17785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17786 (arg1
)->base_OnDrawContents(*arg2
);
17788 wxPyEndAllowThreads(__tstate
);
17789 if (PyErr_Occurred()) SWIG_fail
;
17791 Py_INCREF(Py_None
); resultobj
= Py_None
;
17798 static PyObject
*_wrap_PyCompositeShape_base_OnDrawBranches(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17799 PyObject
*resultobj
;
17800 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17802 bool arg3
= (bool) FALSE
;
17803 PyObject
* obj0
= 0 ;
17804 PyObject
* obj1
= 0 ;
17805 PyObject
* obj2
= 0 ;
17806 char *kwnames
[] = {
17807 (char *) "self",(char *) "dc",(char *) "erase", NULL
17810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyCompositeShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17813 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
17814 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17816 if (arg2
== NULL
) {
17817 PyErr_SetString(PyExc_TypeError
,"null reference");
17821 arg3
= (bool)SWIG_As_bool(obj2
);
17822 if (PyErr_Occurred()) SWIG_fail
;
17825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17826 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
17828 wxPyEndAllowThreads(__tstate
);
17829 if (PyErr_Occurred()) SWIG_fail
;
17831 Py_INCREF(Py_None
); resultobj
= Py_None
;
17838 static PyObject
*_wrap_PyCompositeShape_base_OnMoveLinks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17839 PyObject
*resultobj
;
17840 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17842 PyObject
* obj0
= 0 ;
17843 PyObject
* obj1
= 0 ;
17844 char *kwnames
[] = {
17845 (char *) "self",(char *) "dc", NULL
17848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
17849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17851 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
17852 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17854 if (arg2
== NULL
) {
17855 PyErr_SetString(PyExc_TypeError
,"null reference");
17859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17860 (arg1
)->base_OnMoveLinks(*arg2
);
17862 wxPyEndAllowThreads(__tstate
);
17863 if (PyErr_Occurred()) SWIG_fail
;
17865 Py_INCREF(Py_None
); resultobj
= Py_None
;
17872 static PyObject
*_wrap_PyCompositeShape_base_OnErase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17873 PyObject
*resultobj
;
17874 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17876 PyObject
* obj0
= 0 ;
17877 PyObject
* obj1
= 0 ;
17878 char *kwnames
[] = {
17879 (char *) "self",(char *) "dc", NULL
17882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
17883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17885 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
17886 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17888 if (arg2
== NULL
) {
17889 PyErr_SetString(PyExc_TypeError
,"null reference");
17893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17894 (arg1
)->base_OnErase(*arg2
);
17896 wxPyEndAllowThreads(__tstate
);
17897 if (PyErr_Occurred()) SWIG_fail
;
17899 Py_INCREF(Py_None
); resultobj
= Py_None
;
17906 static PyObject
*_wrap_PyCompositeShape_base_OnEraseContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17907 PyObject
*resultobj
;
17908 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17910 PyObject
* obj0
= 0 ;
17911 PyObject
* obj1
= 0 ;
17912 char *kwnames
[] = {
17913 (char *) "self",(char *) "dc", NULL
17916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
17917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17919 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
17920 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17922 if (arg2
== NULL
) {
17923 PyErr_SetString(PyExc_TypeError
,"null reference");
17927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17928 (arg1
)->base_OnEraseContents(*arg2
);
17930 wxPyEndAllowThreads(__tstate
);
17931 if (PyErr_Occurred()) SWIG_fail
;
17933 Py_INCREF(Py_None
); resultobj
= Py_None
;
17940 static PyObject
*_wrap_PyCompositeShape_base_OnHighlight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17941 PyObject
*resultobj
;
17942 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17944 PyObject
* obj0
= 0 ;
17945 PyObject
* obj1
= 0 ;
17946 char *kwnames
[] = {
17947 (char *) "self",(char *) "dc", NULL
17950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
17951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17953 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
17954 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17956 if (arg2
== NULL
) {
17957 PyErr_SetString(PyExc_TypeError
,"null reference");
17961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17962 (arg1
)->base_OnHighlight(*arg2
);
17964 wxPyEndAllowThreads(__tstate
);
17965 if (PyErr_Occurred()) SWIG_fail
;
17967 Py_INCREF(Py_None
); resultobj
= Py_None
;
17974 static PyObject
*_wrap_PyCompositeShape_base_OnLeftClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17975 PyObject
*resultobj
;
17976 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
17979 int arg4
= (int) 0 ;
17980 int arg5
= (int) 0 ;
17981 PyObject
* obj0
= 0 ;
17982 PyObject
* obj1
= 0 ;
17983 PyObject
* obj2
= 0 ;
17984 PyObject
* obj3
= 0 ;
17985 PyObject
* obj4
= 0 ;
17986 char *kwnames
[] = {
17987 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
17990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCompositeShape_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
17992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17993 arg2
= (double)SWIG_As_double(obj1
);
17994 if (PyErr_Occurred()) SWIG_fail
;
17995 arg3
= (double)SWIG_As_double(obj2
);
17996 if (PyErr_Occurred()) SWIG_fail
;
17998 arg4
= (int)SWIG_As_int(obj3
);
17999 if (PyErr_Occurred()) SWIG_fail
;
18002 arg5
= (int)SWIG_As_int(obj4
);
18003 if (PyErr_Occurred()) SWIG_fail
;
18006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18007 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
18009 wxPyEndAllowThreads(__tstate
);
18010 if (PyErr_Occurred()) SWIG_fail
;
18012 Py_INCREF(Py_None
); resultobj
= Py_None
;
18019 static PyObject
*_wrap_PyCompositeShape_base_OnLeftDoubleClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18020 PyObject
*resultobj
;
18021 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18024 int arg4
= (int) 0 ;
18025 int arg5
= (int) 0 ;
18026 PyObject
* obj0
= 0 ;
18027 PyObject
* obj1
= 0 ;
18028 PyObject
* obj2
= 0 ;
18029 PyObject
* obj3
= 0 ;
18030 PyObject
* obj4
= 0 ;
18031 char *kwnames
[] = {
18032 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCompositeShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18038 arg2
= (double)SWIG_As_double(obj1
);
18039 if (PyErr_Occurred()) SWIG_fail
;
18040 arg3
= (double)SWIG_As_double(obj2
);
18041 if (PyErr_Occurred()) SWIG_fail
;
18043 arg4
= (int)SWIG_As_int(obj3
);
18044 if (PyErr_Occurred()) SWIG_fail
;
18047 arg5
= (int)SWIG_As_int(obj4
);
18048 if (PyErr_Occurred()) SWIG_fail
;
18051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18052 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
18054 wxPyEndAllowThreads(__tstate
);
18055 if (PyErr_Occurred()) SWIG_fail
;
18057 Py_INCREF(Py_None
); resultobj
= Py_None
;
18064 static PyObject
*_wrap_PyCompositeShape_base_OnRightClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18065 PyObject
*resultobj
;
18066 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18069 int arg4
= (int) 0 ;
18070 int arg5
= (int) 0 ;
18071 PyObject
* obj0
= 0 ;
18072 PyObject
* obj1
= 0 ;
18073 PyObject
* obj2
= 0 ;
18074 PyObject
* obj3
= 0 ;
18075 PyObject
* obj4
= 0 ;
18076 char *kwnames
[] = {
18077 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCompositeShape_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18083 arg2
= (double)SWIG_As_double(obj1
);
18084 if (PyErr_Occurred()) SWIG_fail
;
18085 arg3
= (double)SWIG_As_double(obj2
);
18086 if (PyErr_Occurred()) SWIG_fail
;
18088 arg4
= (int)SWIG_As_int(obj3
);
18089 if (PyErr_Occurred()) SWIG_fail
;
18092 arg5
= (int)SWIG_As_int(obj4
);
18093 if (PyErr_Occurred()) SWIG_fail
;
18096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18097 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
18099 wxPyEndAllowThreads(__tstate
);
18100 if (PyErr_Occurred()) SWIG_fail
;
18102 Py_INCREF(Py_None
); resultobj
= Py_None
;
18109 static PyObject
*_wrap_PyCompositeShape_base_OnSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18110 PyObject
*resultobj
;
18111 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18114 PyObject
* obj0
= 0 ;
18115 PyObject
* obj1
= 0 ;
18116 PyObject
* obj2
= 0 ;
18117 char *kwnames
[] = {
18118 (char *) "self",(char *) "x",(char *) "y", NULL
18121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyCompositeShape_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18124 arg2
= (double)SWIG_As_double(obj1
);
18125 if (PyErr_Occurred()) SWIG_fail
;
18126 arg3
= (double)SWIG_As_double(obj2
);
18127 if (PyErr_Occurred()) SWIG_fail
;
18129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18130 (arg1
)->base_OnSize(arg2
,arg3
);
18132 wxPyEndAllowThreads(__tstate
);
18133 if (PyErr_Occurred()) SWIG_fail
;
18135 Py_INCREF(Py_None
); resultobj
= Py_None
;
18142 static PyObject
*_wrap_PyCompositeShape_base_OnMovePre(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18143 PyObject
*resultobj
;
18144 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18150 bool arg7
= (bool) True
;
18152 PyObject
* obj0
= 0 ;
18153 PyObject
* obj1
= 0 ;
18154 PyObject
* obj2
= 0 ;
18155 PyObject
* obj3
= 0 ;
18156 PyObject
* obj4
= 0 ;
18157 PyObject
* obj5
= 0 ;
18158 PyObject
* obj6
= 0 ;
18159 char *kwnames
[] = {
18160 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
18163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyCompositeShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
18164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18166 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
18167 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18169 if (arg2
== NULL
) {
18170 PyErr_SetString(PyExc_TypeError
,"null reference");
18173 arg3
= (double)SWIG_As_double(obj2
);
18174 if (PyErr_Occurred()) SWIG_fail
;
18175 arg4
= (double)SWIG_As_double(obj3
);
18176 if (PyErr_Occurred()) SWIG_fail
;
18177 arg5
= (double)SWIG_As_double(obj4
);
18178 if (PyErr_Occurred()) SWIG_fail
;
18179 arg6
= (double)SWIG_As_double(obj5
);
18180 if (PyErr_Occurred()) SWIG_fail
;
18182 arg7
= (bool)SWIG_As_bool(obj6
);
18183 if (PyErr_Occurred()) SWIG_fail
;
18186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18187 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18189 wxPyEndAllowThreads(__tstate
);
18190 if (PyErr_Occurred()) SWIG_fail
;
18193 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18201 static PyObject
*_wrap_PyCompositeShape_base_OnMovePost(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18202 PyObject
*resultobj
;
18203 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18209 bool arg7
= (bool) True
;
18210 PyObject
* obj0
= 0 ;
18211 PyObject
* obj1
= 0 ;
18212 PyObject
* obj2
= 0 ;
18213 PyObject
* obj3
= 0 ;
18214 PyObject
* obj4
= 0 ;
18215 PyObject
* obj5
= 0 ;
18216 PyObject
* obj6
= 0 ;
18217 char *kwnames
[] = {
18218 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
18221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyCompositeShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
18222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18224 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
18225 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18227 if (arg2
== NULL
) {
18228 PyErr_SetString(PyExc_TypeError
,"null reference");
18231 arg3
= (double)SWIG_As_double(obj2
);
18232 if (PyErr_Occurred()) SWIG_fail
;
18233 arg4
= (double)SWIG_As_double(obj3
);
18234 if (PyErr_Occurred()) SWIG_fail
;
18235 arg5
= (double)SWIG_As_double(obj4
);
18236 if (PyErr_Occurred()) SWIG_fail
;
18237 arg6
= (double)SWIG_As_double(obj5
);
18238 if (PyErr_Occurred()) SWIG_fail
;
18240 arg7
= (bool)SWIG_As_bool(obj6
);
18241 if (PyErr_Occurred()) SWIG_fail
;
18244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18245 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18247 wxPyEndAllowThreads(__tstate
);
18248 if (PyErr_Occurred()) SWIG_fail
;
18250 Py_INCREF(Py_None
); resultobj
= Py_None
;
18257 static PyObject
*_wrap_PyCompositeShape_base_OnDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18258 PyObject
*resultobj
;
18259 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18263 int arg5
= (int) 0 ;
18264 int arg6
= (int) 0 ;
18265 PyObject
* obj0
= 0 ;
18266 PyObject
* obj1
= 0 ;
18267 PyObject
* obj2
= 0 ;
18268 PyObject
* obj3
= 0 ;
18269 PyObject
* obj4
= 0 ;
18270 PyObject
* obj5
= 0 ;
18271 char *kwnames
[] = {
18272 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyCompositeShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18278 arg2
= (bool)SWIG_As_bool(obj1
);
18279 if (PyErr_Occurred()) SWIG_fail
;
18280 arg3
= (double)SWIG_As_double(obj2
);
18281 if (PyErr_Occurred()) SWIG_fail
;
18282 arg4
= (double)SWIG_As_double(obj3
);
18283 if (PyErr_Occurred()) SWIG_fail
;
18285 arg5
= (int)SWIG_As_int(obj4
);
18286 if (PyErr_Occurred()) SWIG_fail
;
18289 arg6
= (int)SWIG_As_int(obj5
);
18290 if (PyErr_Occurred()) SWIG_fail
;
18293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18294 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
18296 wxPyEndAllowThreads(__tstate
);
18297 if (PyErr_Occurred()) SWIG_fail
;
18299 Py_INCREF(Py_None
); resultobj
= Py_None
;
18306 static PyObject
*_wrap_PyCompositeShape_base_OnBeginDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18307 PyObject
*resultobj
;
18308 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18311 int arg4
= (int) 0 ;
18312 int arg5
= (int) 0 ;
18313 PyObject
* obj0
= 0 ;
18314 PyObject
* obj1
= 0 ;
18315 PyObject
* obj2
= 0 ;
18316 PyObject
* obj3
= 0 ;
18317 PyObject
* obj4
= 0 ;
18318 char *kwnames
[] = {
18319 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCompositeShape_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18325 arg2
= (double)SWIG_As_double(obj1
);
18326 if (PyErr_Occurred()) SWIG_fail
;
18327 arg3
= (double)SWIG_As_double(obj2
);
18328 if (PyErr_Occurred()) SWIG_fail
;
18330 arg4
= (int)SWIG_As_int(obj3
);
18331 if (PyErr_Occurred()) SWIG_fail
;
18334 arg5
= (int)SWIG_As_int(obj4
);
18335 if (PyErr_Occurred()) SWIG_fail
;
18338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18339 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
18341 wxPyEndAllowThreads(__tstate
);
18342 if (PyErr_Occurred()) SWIG_fail
;
18344 Py_INCREF(Py_None
); resultobj
= Py_None
;
18351 static PyObject
*_wrap_PyCompositeShape_base_OnEndDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18352 PyObject
*resultobj
;
18353 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18356 int arg4
= (int) 0 ;
18357 int arg5
= (int) 0 ;
18358 PyObject
* obj0
= 0 ;
18359 PyObject
* obj1
= 0 ;
18360 PyObject
* obj2
= 0 ;
18361 PyObject
* obj3
= 0 ;
18362 PyObject
* obj4
= 0 ;
18363 char *kwnames
[] = {
18364 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCompositeShape_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18370 arg2
= (double)SWIG_As_double(obj1
);
18371 if (PyErr_Occurred()) SWIG_fail
;
18372 arg3
= (double)SWIG_As_double(obj2
);
18373 if (PyErr_Occurred()) SWIG_fail
;
18375 arg4
= (int)SWIG_As_int(obj3
);
18376 if (PyErr_Occurred()) SWIG_fail
;
18379 arg5
= (int)SWIG_As_int(obj4
);
18380 if (PyErr_Occurred()) SWIG_fail
;
18383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18384 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
18386 wxPyEndAllowThreads(__tstate
);
18387 if (PyErr_Occurred()) SWIG_fail
;
18389 Py_INCREF(Py_None
); resultobj
= Py_None
;
18396 static PyObject
*_wrap_PyCompositeShape_base_OnDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18397 PyObject
*resultobj
;
18398 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18402 int arg5
= (int) 0 ;
18403 int arg6
= (int) 0 ;
18404 PyObject
* obj0
= 0 ;
18405 PyObject
* obj1
= 0 ;
18406 PyObject
* obj2
= 0 ;
18407 PyObject
* obj3
= 0 ;
18408 PyObject
* obj4
= 0 ;
18409 PyObject
* obj5
= 0 ;
18410 char *kwnames
[] = {
18411 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyCompositeShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18417 arg2
= (bool)SWIG_As_bool(obj1
);
18418 if (PyErr_Occurred()) SWIG_fail
;
18419 arg3
= (double)SWIG_As_double(obj2
);
18420 if (PyErr_Occurred()) SWIG_fail
;
18421 arg4
= (double)SWIG_As_double(obj3
);
18422 if (PyErr_Occurred()) SWIG_fail
;
18424 arg5
= (int)SWIG_As_int(obj4
);
18425 if (PyErr_Occurred()) SWIG_fail
;
18428 arg6
= (int)SWIG_As_int(obj5
);
18429 if (PyErr_Occurred()) SWIG_fail
;
18432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18433 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
18435 wxPyEndAllowThreads(__tstate
);
18436 if (PyErr_Occurred()) SWIG_fail
;
18438 Py_INCREF(Py_None
); resultobj
= Py_None
;
18445 static PyObject
*_wrap_PyCompositeShape_base_OnBeginDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18446 PyObject
*resultobj
;
18447 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18450 int arg4
= (int) 0 ;
18451 int arg5
= (int) 0 ;
18452 PyObject
* obj0
= 0 ;
18453 PyObject
* obj1
= 0 ;
18454 PyObject
* obj2
= 0 ;
18455 PyObject
* obj3
= 0 ;
18456 PyObject
* obj4
= 0 ;
18457 char *kwnames
[] = {
18458 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCompositeShape_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18464 arg2
= (double)SWIG_As_double(obj1
);
18465 if (PyErr_Occurred()) SWIG_fail
;
18466 arg3
= (double)SWIG_As_double(obj2
);
18467 if (PyErr_Occurred()) SWIG_fail
;
18469 arg4
= (int)SWIG_As_int(obj3
);
18470 if (PyErr_Occurred()) SWIG_fail
;
18473 arg5
= (int)SWIG_As_int(obj4
);
18474 if (PyErr_Occurred()) SWIG_fail
;
18477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18478 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
18480 wxPyEndAllowThreads(__tstate
);
18481 if (PyErr_Occurred()) SWIG_fail
;
18483 Py_INCREF(Py_None
); resultobj
= Py_None
;
18490 static PyObject
*_wrap_PyCompositeShape_base_OnEndDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18491 PyObject
*resultobj
;
18492 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18495 int arg4
= (int) 0 ;
18496 int arg5
= (int) 0 ;
18497 PyObject
* obj0
= 0 ;
18498 PyObject
* obj1
= 0 ;
18499 PyObject
* obj2
= 0 ;
18500 PyObject
* obj3
= 0 ;
18501 PyObject
* obj4
= 0 ;
18502 char *kwnames
[] = {
18503 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCompositeShape_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18509 arg2
= (double)SWIG_As_double(obj1
);
18510 if (PyErr_Occurred()) SWIG_fail
;
18511 arg3
= (double)SWIG_As_double(obj2
);
18512 if (PyErr_Occurred()) SWIG_fail
;
18514 arg4
= (int)SWIG_As_int(obj3
);
18515 if (PyErr_Occurred()) SWIG_fail
;
18518 arg5
= (int)SWIG_As_int(obj4
);
18519 if (PyErr_Occurred()) SWIG_fail
;
18522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18523 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
18525 wxPyEndAllowThreads(__tstate
);
18526 if (PyErr_Occurred()) SWIG_fail
;
18528 Py_INCREF(Py_None
); resultobj
= Py_None
;
18535 static PyObject
*_wrap_PyCompositeShape_base_OnDrawOutline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18536 PyObject
*resultobj
;
18537 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18543 PyObject
* obj0
= 0 ;
18544 PyObject
* obj1
= 0 ;
18545 PyObject
* obj2
= 0 ;
18546 PyObject
* obj3
= 0 ;
18547 PyObject
* obj4
= 0 ;
18548 PyObject
* obj5
= 0 ;
18549 char *kwnames
[] = {
18550 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
18553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyCompositeShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18556 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
18557 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18559 if (arg2
== NULL
) {
18560 PyErr_SetString(PyExc_TypeError
,"null reference");
18563 arg3
= (double)SWIG_As_double(obj2
);
18564 if (PyErr_Occurred()) SWIG_fail
;
18565 arg4
= (double)SWIG_As_double(obj3
);
18566 if (PyErr_Occurred()) SWIG_fail
;
18567 arg5
= (double)SWIG_As_double(obj4
);
18568 if (PyErr_Occurred()) SWIG_fail
;
18569 arg6
= (double)SWIG_As_double(obj5
);
18570 if (PyErr_Occurred()) SWIG_fail
;
18572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18573 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
18575 wxPyEndAllowThreads(__tstate
);
18576 if (PyErr_Occurred()) SWIG_fail
;
18578 Py_INCREF(Py_None
); resultobj
= Py_None
;
18585 static PyObject
*_wrap_PyCompositeShape_base_OnDrawControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18586 PyObject
*resultobj
;
18587 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18589 PyObject
* obj0
= 0 ;
18590 PyObject
* obj1
= 0 ;
18591 char *kwnames
[] = {
18592 (char *) "self",(char *) "dc", NULL
18595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
18596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18598 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
18599 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18601 if (arg2
== NULL
) {
18602 PyErr_SetString(PyExc_TypeError
,"null reference");
18606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18607 (arg1
)->base_OnDrawControlPoints(*arg2
);
18609 wxPyEndAllowThreads(__tstate
);
18610 if (PyErr_Occurred()) SWIG_fail
;
18612 Py_INCREF(Py_None
); resultobj
= Py_None
;
18619 static PyObject
*_wrap_PyCompositeShape_base_OnEraseControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18620 PyObject
*resultobj
;
18621 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18623 PyObject
* obj0
= 0 ;
18624 PyObject
* obj1
= 0 ;
18625 char *kwnames
[] = {
18626 (char *) "self",(char *) "dc", NULL
18629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
18630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18632 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
18633 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18635 if (arg2
== NULL
) {
18636 PyErr_SetString(PyExc_TypeError
,"null reference");
18640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18641 (arg1
)->base_OnEraseControlPoints(*arg2
);
18643 wxPyEndAllowThreads(__tstate
);
18644 if (PyErr_Occurred()) SWIG_fail
;
18646 Py_INCREF(Py_None
); resultobj
= Py_None
;
18653 static PyObject
*_wrap_PyCompositeShape_base_OnMoveLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18654 PyObject
*resultobj
;
18655 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18657 bool arg3
= (bool) True
;
18658 PyObject
* obj0
= 0 ;
18659 PyObject
* obj1
= 0 ;
18660 PyObject
* obj2
= 0 ;
18661 char *kwnames
[] = {
18662 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
18665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyCompositeShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18668 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
18669 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18671 if (arg2
== NULL
) {
18672 PyErr_SetString(PyExc_TypeError
,"null reference");
18676 arg3
= (bool)SWIG_As_bool(obj2
);
18677 if (PyErr_Occurred()) SWIG_fail
;
18680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18681 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
18683 wxPyEndAllowThreads(__tstate
);
18684 if (PyErr_Occurred()) SWIG_fail
;
18686 Py_INCREF(Py_None
); resultobj
= Py_None
;
18693 static PyObject
*_wrap_PyCompositeShape_base_OnSizingDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18694 PyObject
*resultobj
;
18695 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18696 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
18700 int arg6
= (int) 0 ;
18701 int arg7
= (int) 0 ;
18702 PyObject
* obj0
= 0 ;
18703 PyObject
* obj1
= 0 ;
18704 PyObject
* obj2
= 0 ;
18705 PyObject
* obj3
= 0 ;
18706 PyObject
* obj4
= 0 ;
18707 PyObject
* obj5
= 0 ;
18708 PyObject
* obj6
= 0 ;
18709 char *kwnames
[] = {
18710 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyCompositeShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
18714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18716 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
18717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18718 arg3
= (bool)SWIG_As_bool(obj2
);
18719 if (PyErr_Occurred()) SWIG_fail
;
18720 arg4
= (double)SWIG_As_double(obj3
);
18721 if (PyErr_Occurred()) SWIG_fail
;
18722 arg5
= (double)SWIG_As_double(obj4
);
18723 if (PyErr_Occurred()) SWIG_fail
;
18725 arg6
= (int)SWIG_As_int(obj5
);
18726 if (PyErr_Occurred()) SWIG_fail
;
18729 arg7
= (int)SWIG_As_int(obj6
);
18730 if (PyErr_Occurred()) SWIG_fail
;
18733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18734 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18736 wxPyEndAllowThreads(__tstate
);
18737 if (PyErr_Occurred()) SWIG_fail
;
18739 Py_INCREF(Py_None
); resultobj
= Py_None
;
18746 static PyObject
*_wrap_PyCompositeShape_base_OnSizingBeginDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18747 PyObject
*resultobj
;
18748 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18749 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
18752 int arg5
= (int) 0 ;
18753 int arg6
= (int) 0 ;
18754 PyObject
* obj0
= 0 ;
18755 PyObject
* obj1
= 0 ;
18756 PyObject
* obj2
= 0 ;
18757 PyObject
* obj3
= 0 ;
18758 PyObject
* obj4
= 0 ;
18759 PyObject
* obj5
= 0 ;
18760 char *kwnames
[] = {
18761 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyCompositeShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18767 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
18768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18769 arg3
= (double)SWIG_As_double(obj2
);
18770 if (PyErr_Occurred()) SWIG_fail
;
18771 arg4
= (double)SWIG_As_double(obj3
);
18772 if (PyErr_Occurred()) SWIG_fail
;
18774 arg5
= (int)SWIG_As_int(obj4
);
18775 if (PyErr_Occurred()) SWIG_fail
;
18778 arg6
= (int)SWIG_As_int(obj5
);
18779 if (PyErr_Occurred()) SWIG_fail
;
18782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18783 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
18785 wxPyEndAllowThreads(__tstate
);
18786 if (PyErr_Occurred()) SWIG_fail
;
18788 Py_INCREF(Py_None
); resultobj
= Py_None
;
18795 static PyObject
*_wrap_PyCompositeShape_base_OnSizingEndDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18796 PyObject
*resultobj
;
18797 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18798 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
18801 int arg5
= (int) 0 ;
18802 int arg6
= (int) 0 ;
18803 PyObject
* obj0
= 0 ;
18804 PyObject
* obj1
= 0 ;
18805 PyObject
* obj2
= 0 ;
18806 PyObject
* obj3
= 0 ;
18807 PyObject
* obj4
= 0 ;
18808 PyObject
* obj5
= 0 ;
18809 char *kwnames
[] = {
18810 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyCompositeShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18816 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
18817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18818 arg3
= (double)SWIG_As_double(obj2
);
18819 if (PyErr_Occurred()) SWIG_fail
;
18820 arg4
= (double)SWIG_As_double(obj3
);
18821 if (PyErr_Occurred()) SWIG_fail
;
18823 arg5
= (int)SWIG_As_int(obj4
);
18824 if (PyErr_Occurred()) SWIG_fail
;
18827 arg6
= (int)SWIG_As_int(obj5
);
18828 if (PyErr_Occurred()) SWIG_fail
;
18831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18832 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
18834 wxPyEndAllowThreads(__tstate
);
18835 if (PyErr_Occurred()) SWIG_fail
;
18837 Py_INCREF(Py_None
); resultobj
= Py_None
;
18844 static PyObject
*_wrap_PyCompositeShape_base_OnBeginSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18845 PyObject
*resultobj
;
18846 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18849 PyObject
* obj0
= 0 ;
18850 PyObject
* obj1
= 0 ;
18851 PyObject
* obj2
= 0 ;
18852 char *kwnames
[] = {
18853 (char *) "self",(char *) "w",(char *) "h", NULL
18856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyCompositeShape_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18859 arg2
= (double)SWIG_As_double(obj1
);
18860 if (PyErr_Occurred()) SWIG_fail
;
18861 arg3
= (double)SWIG_As_double(obj2
);
18862 if (PyErr_Occurred()) SWIG_fail
;
18864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18865 (arg1
)->base_OnBeginSize(arg2
,arg3
);
18867 wxPyEndAllowThreads(__tstate
);
18868 if (PyErr_Occurred()) SWIG_fail
;
18870 Py_INCREF(Py_None
); resultobj
= Py_None
;
18877 static PyObject
*_wrap_PyCompositeShape_base_OnEndSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18878 PyObject
*resultobj
;
18879 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
18882 PyObject
* obj0
= 0 ;
18883 PyObject
* obj1
= 0 ;
18884 PyObject
* obj2
= 0 ;
18885 char *kwnames
[] = {
18886 (char *) "self",(char *) "w",(char *) "h", NULL
18889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyCompositeShape_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCompositeShape
,
18891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18892 arg2
= (double)SWIG_As_double(obj1
);
18893 if (PyErr_Occurred()) SWIG_fail
;
18894 arg3
= (double)SWIG_As_double(obj2
);
18895 if (PyErr_Occurred()) SWIG_fail
;
18897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18898 (arg1
)->base_OnEndSize(arg2
,arg3
);
18900 wxPyEndAllowThreads(__tstate
);
18901 if (PyErr_Occurred()) SWIG_fail
;
18903 Py_INCREF(Py_None
); resultobj
= Py_None
;
18910 static PyObject
* PyCompositeShape_swigregister(PyObject
*, PyObject
*args
) {
18912 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18913 SWIG_TypeClientData(SWIGTYPE_p_wxPyCompositeShape
, obj
);
18915 return Py_BuildValue((char *)"");
18917 static PyObject
*_wrap_new_PyDividedShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18918 PyObject
*resultobj
;
18919 double arg1
= (double) 0.0 ;
18920 double arg2
= (double) 0.0 ;
18921 wxPyDividedShape
*result
;
18922 PyObject
* obj0
= 0 ;
18923 PyObject
* obj1
= 0 ;
18924 char *kwnames
[] = {
18925 (char *) "width",(char *) "height", NULL
18928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyDividedShape",kwnames
,&obj0
,&obj1
)) goto fail
;
18930 arg1
= (double)SWIG_As_double(obj0
);
18931 if (PyErr_Occurred()) SWIG_fail
;
18934 arg2
= (double)SWIG_As_double(obj1
);
18935 if (PyErr_Occurred()) SWIG_fail
;
18938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18939 result
= (wxPyDividedShape
*)new wxPyDividedShape(arg1
,arg2
);
18941 wxPyEndAllowThreads(__tstate
);
18942 if (PyErr_Occurred()) SWIG_fail
;
18944 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDividedShape
, 1);
18951 static PyObject
*_wrap_PyDividedShape__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18952 PyObject
*resultobj
;
18953 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
18954 PyObject
*arg2
= (PyObject
*) 0 ;
18955 PyObject
*arg3
= (PyObject
*) 0 ;
18956 PyObject
* obj0
= 0 ;
18957 PyObject
* obj1
= 0 ;
18958 PyObject
* obj2
= 0 ;
18959 char *kwnames
[] = {
18960 (char *) "self",(char *) "self",(char *) "_class", NULL
18963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDividedShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
18965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18970 (arg1
)->_setCallbackInfo(arg2
,arg3
);
18972 wxPyEndAllowThreads(__tstate
);
18973 if (PyErr_Occurred()) SWIG_fail
;
18975 Py_INCREF(Py_None
); resultobj
= Py_None
;
18982 static PyObject
*_wrap_PyDividedShape_EditRegions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18983 PyObject
*resultobj
;
18984 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
18985 PyObject
* obj0
= 0 ;
18986 char *kwnames
[] = {
18987 (char *) "self", NULL
18990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDividedShape_EditRegions",kwnames
,&obj0
)) goto fail
;
18991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
18992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18995 (arg1
)->EditRegions();
18997 wxPyEndAllowThreads(__tstate
);
18998 if (PyErr_Occurred()) SWIG_fail
;
19000 Py_INCREF(Py_None
); resultobj
= Py_None
;
19007 static PyObject
*_wrap_PyDividedShape_SetRegionSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19008 PyObject
*resultobj
;
19009 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19010 PyObject
* obj0
= 0 ;
19011 char *kwnames
[] = {
19012 (char *) "self", NULL
19015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDividedShape_SetRegionSizes",kwnames
,&obj0
)) goto fail
;
19016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19020 (arg1
)->SetRegionSizes();
19022 wxPyEndAllowThreads(__tstate
);
19023 if (PyErr_Occurred()) SWIG_fail
;
19025 Py_INCREF(Py_None
); resultobj
= Py_None
;
19032 static PyObject
*_wrap_PyDividedShape_base_OnDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19033 PyObject
*resultobj
;
19034 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19035 PyObject
* obj0
= 0 ;
19036 char *kwnames
[] = {
19037 (char *) "self", NULL
19040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDividedShape_base_OnDelete",kwnames
,&obj0
)) goto fail
;
19041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19045 (arg1
)->base_OnDelete();
19047 wxPyEndAllowThreads(__tstate
);
19048 if (PyErr_Occurred()) SWIG_fail
;
19050 Py_INCREF(Py_None
); resultobj
= Py_None
;
19057 static PyObject
*_wrap_PyDividedShape_base_OnDraw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19058 PyObject
*resultobj
;
19059 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19061 PyObject
* obj0
= 0 ;
19062 PyObject
* obj1
= 0 ;
19063 char *kwnames
[] = {
19064 (char *) "self",(char *) "dc", NULL
19067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDividedShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
19068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19070 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
19071 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19073 if (arg2
== NULL
) {
19074 PyErr_SetString(PyExc_TypeError
,"null reference");
19078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19079 (arg1
)->base_OnDraw(*arg2
);
19081 wxPyEndAllowThreads(__tstate
);
19082 if (PyErr_Occurred()) SWIG_fail
;
19084 Py_INCREF(Py_None
); resultobj
= Py_None
;
19091 static PyObject
*_wrap_PyDividedShape_base_OnDrawContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19092 PyObject
*resultobj
;
19093 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19095 PyObject
* obj0
= 0 ;
19096 PyObject
* obj1
= 0 ;
19097 char *kwnames
[] = {
19098 (char *) "self",(char *) "dc", NULL
19101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDividedShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
19102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19104 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
19105 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19107 if (arg2
== NULL
) {
19108 PyErr_SetString(PyExc_TypeError
,"null reference");
19112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19113 (arg1
)->base_OnDrawContents(*arg2
);
19115 wxPyEndAllowThreads(__tstate
);
19116 if (PyErr_Occurred()) SWIG_fail
;
19118 Py_INCREF(Py_None
); resultobj
= Py_None
;
19125 static PyObject
*_wrap_PyDividedShape_base_OnDrawBranches(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19126 PyObject
*resultobj
;
19127 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19129 bool arg3
= (bool) FALSE
;
19130 PyObject
* obj0
= 0 ;
19131 PyObject
* obj1
= 0 ;
19132 PyObject
* obj2
= 0 ;
19133 char *kwnames
[] = {
19134 (char *) "self",(char *) "dc",(char *) "erase", NULL
19137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyDividedShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19140 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
19141 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19143 if (arg2
== NULL
) {
19144 PyErr_SetString(PyExc_TypeError
,"null reference");
19148 arg3
= (bool)SWIG_As_bool(obj2
);
19149 if (PyErr_Occurred()) SWIG_fail
;
19152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19153 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
19155 wxPyEndAllowThreads(__tstate
);
19156 if (PyErr_Occurred()) SWIG_fail
;
19158 Py_INCREF(Py_None
); resultobj
= Py_None
;
19165 static PyObject
*_wrap_PyDividedShape_base_OnMoveLinks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19166 PyObject
*resultobj
;
19167 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19169 PyObject
* obj0
= 0 ;
19170 PyObject
* obj1
= 0 ;
19171 char *kwnames
[] = {
19172 (char *) "self",(char *) "dc", NULL
19175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDividedShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
19176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19178 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
19179 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19181 if (arg2
== NULL
) {
19182 PyErr_SetString(PyExc_TypeError
,"null reference");
19186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19187 (arg1
)->base_OnMoveLinks(*arg2
);
19189 wxPyEndAllowThreads(__tstate
);
19190 if (PyErr_Occurred()) SWIG_fail
;
19192 Py_INCREF(Py_None
); resultobj
= Py_None
;
19199 static PyObject
*_wrap_PyDividedShape_base_OnErase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19200 PyObject
*resultobj
;
19201 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19203 PyObject
* obj0
= 0 ;
19204 PyObject
* obj1
= 0 ;
19205 char *kwnames
[] = {
19206 (char *) "self",(char *) "dc", NULL
19209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDividedShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
19210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19212 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
19213 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19215 if (arg2
== NULL
) {
19216 PyErr_SetString(PyExc_TypeError
,"null reference");
19220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19221 (arg1
)->base_OnErase(*arg2
);
19223 wxPyEndAllowThreads(__tstate
);
19224 if (PyErr_Occurred()) SWIG_fail
;
19226 Py_INCREF(Py_None
); resultobj
= Py_None
;
19233 static PyObject
*_wrap_PyDividedShape_base_OnEraseContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19234 PyObject
*resultobj
;
19235 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19237 PyObject
* obj0
= 0 ;
19238 PyObject
* obj1
= 0 ;
19239 char *kwnames
[] = {
19240 (char *) "self",(char *) "dc", NULL
19243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDividedShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
19244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19246 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
19247 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19249 if (arg2
== NULL
) {
19250 PyErr_SetString(PyExc_TypeError
,"null reference");
19254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19255 (arg1
)->base_OnEraseContents(*arg2
);
19257 wxPyEndAllowThreads(__tstate
);
19258 if (PyErr_Occurred()) SWIG_fail
;
19260 Py_INCREF(Py_None
); resultobj
= Py_None
;
19267 static PyObject
*_wrap_PyDividedShape_base_OnHighlight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19268 PyObject
*resultobj
;
19269 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19271 PyObject
* obj0
= 0 ;
19272 PyObject
* obj1
= 0 ;
19273 char *kwnames
[] = {
19274 (char *) "self",(char *) "dc", NULL
19277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDividedShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
19278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19280 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
19281 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19283 if (arg2
== NULL
) {
19284 PyErr_SetString(PyExc_TypeError
,"null reference");
19288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19289 (arg1
)->base_OnHighlight(*arg2
);
19291 wxPyEndAllowThreads(__tstate
);
19292 if (PyErr_Occurred()) SWIG_fail
;
19294 Py_INCREF(Py_None
); resultobj
= Py_None
;
19301 static PyObject
*_wrap_PyDividedShape_base_OnLeftClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19302 PyObject
*resultobj
;
19303 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19306 int arg4
= (int) 0 ;
19307 int arg5
= (int) 0 ;
19308 PyObject
* obj0
= 0 ;
19309 PyObject
* obj1
= 0 ;
19310 PyObject
* obj2
= 0 ;
19311 PyObject
* obj3
= 0 ;
19312 PyObject
* obj4
= 0 ;
19313 char *kwnames
[] = {
19314 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDividedShape_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
19318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19320 arg2
= (double)SWIG_As_double(obj1
);
19321 if (PyErr_Occurred()) SWIG_fail
;
19322 arg3
= (double)SWIG_As_double(obj2
);
19323 if (PyErr_Occurred()) SWIG_fail
;
19325 arg4
= (int)SWIG_As_int(obj3
);
19326 if (PyErr_Occurred()) SWIG_fail
;
19329 arg5
= (int)SWIG_As_int(obj4
);
19330 if (PyErr_Occurred()) SWIG_fail
;
19333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19334 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
19336 wxPyEndAllowThreads(__tstate
);
19337 if (PyErr_Occurred()) SWIG_fail
;
19339 Py_INCREF(Py_None
); resultobj
= Py_None
;
19346 static PyObject
*_wrap_PyDividedShape_base_OnLeftDoubleClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19347 PyObject
*resultobj
;
19348 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19351 int arg4
= (int) 0 ;
19352 int arg5
= (int) 0 ;
19353 PyObject
* obj0
= 0 ;
19354 PyObject
* obj1
= 0 ;
19355 PyObject
* obj2
= 0 ;
19356 PyObject
* obj3
= 0 ;
19357 PyObject
* obj4
= 0 ;
19358 char *kwnames
[] = {
19359 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDividedShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
19363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19365 arg2
= (double)SWIG_As_double(obj1
);
19366 if (PyErr_Occurred()) SWIG_fail
;
19367 arg3
= (double)SWIG_As_double(obj2
);
19368 if (PyErr_Occurred()) SWIG_fail
;
19370 arg4
= (int)SWIG_As_int(obj3
);
19371 if (PyErr_Occurred()) SWIG_fail
;
19374 arg5
= (int)SWIG_As_int(obj4
);
19375 if (PyErr_Occurred()) SWIG_fail
;
19378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19379 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
19381 wxPyEndAllowThreads(__tstate
);
19382 if (PyErr_Occurred()) SWIG_fail
;
19384 Py_INCREF(Py_None
); resultobj
= Py_None
;
19391 static PyObject
*_wrap_PyDividedShape_base_OnRightClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19392 PyObject
*resultobj
;
19393 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19396 int arg4
= (int) 0 ;
19397 int arg5
= (int) 0 ;
19398 PyObject
* obj0
= 0 ;
19399 PyObject
* obj1
= 0 ;
19400 PyObject
* obj2
= 0 ;
19401 PyObject
* obj3
= 0 ;
19402 PyObject
* obj4
= 0 ;
19403 char *kwnames
[] = {
19404 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDividedShape_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
19408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19410 arg2
= (double)SWIG_As_double(obj1
);
19411 if (PyErr_Occurred()) SWIG_fail
;
19412 arg3
= (double)SWIG_As_double(obj2
);
19413 if (PyErr_Occurred()) SWIG_fail
;
19415 arg4
= (int)SWIG_As_int(obj3
);
19416 if (PyErr_Occurred()) SWIG_fail
;
19419 arg5
= (int)SWIG_As_int(obj4
);
19420 if (PyErr_Occurred()) SWIG_fail
;
19423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19424 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
19426 wxPyEndAllowThreads(__tstate
);
19427 if (PyErr_Occurred()) SWIG_fail
;
19429 Py_INCREF(Py_None
); resultobj
= Py_None
;
19436 static PyObject
*_wrap_PyDividedShape_base_OnSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19437 PyObject
*resultobj
;
19438 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19441 PyObject
* obj0
= 0 ;
19442 PyObject
* obj1
= 0 ;
19443 PyObject
* obj2
= 0 ;
19444 char *kwnames
[] = {
19445 (char *) "self",(char *) "x",(char *) "y", NULL
19448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDividedShape_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19451 arg2
= (double)SWIG_As_double(obj1
);
19452 if (PyErr_Occurred()) SWIG_fail
;
19453 arg3
= (double)SWIG_As_double(obj2
);
19454 if (PyErr_Occurred()) SWIG_fail
;
19456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19457 (arg1
)->base_OnSize(arg2
,arg3
);
19459 wxPyEndAllowThreads(__tstate
);
19460 if (PyErr_Occurred()) SWIG_fail
;
19462 Py_INCREF(Py_None
); resultobj
= Py_None
;
19469 static PyObject
*_wrap_PyDividedShape_base_OnMovePre(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19470 PyObject
*resultobj
;
19471 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19477 bool arg7
= (bool) True
;
19479 PyObject
* obj0
= 0 ;
19480 PyObject
* obj1
= 0 ;
19481 PyObject
* obj2
= 0 ;
19482 PyObject
* obj3
= 0 ;
19483 PyObject
* obj4
= 0 ;
19484 PyObject
* obj5
= 0 ;
19485 PyObject
* obj6
= 0 ;
19486 char *kwnames
[] = {
19487 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
19490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyDividedShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
19491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19493 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
19494 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19496 if (arg2
== NULL
) {
19497 PyErr_SetString(PyExc_TypeError
,"null reference");
19500 arg3
= (double)SWIG_As_double(obj2
);
19501 if (PyErr_Occurred()) SWIG_fail
;
19502 arg4
= (double)SWIG_As_double(obj3
);
19503 if (PyErr_Occurred()) SWIG_fail
;
19504 arg5
= (double)SWIG_As_double(obj4
);
19505 if (PyErr_Occurred()) SWIG_fail
;
19506 arg6
= (double)SWIG_As_double(obj5
);
19507 if (PyErr_Occurred()) SWIG_fail
;
19509 arg7
= (bool)SWIG_As_bool(obj6
);
19510 if (PyErr_Occurred()) SWIG_fail
;
19513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19514 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
19516 wxPyEndAllowThreads(__tstate
);
19517 if (PyErr_Occurred()) SWIG_fail
;
19520 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19528 static PyObject
*_wrap_PyDividedShape_base_OnMovePost(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19529 PyObject
*resultobj
;
19530 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19536 bool arg7
= (bool) True
;
19537 PyObject
* obj0
= 0 ;
19538 PyObject
* obj1
= 0 ;
19539 PyObject
* obj2
= 0 ;
19540 PyObject
* obj3
= 0 ;
19541 PyObject
* obj4
= 0 ;
19542 PyObject
* obj5
= 0 ;
19543 PyObject
* obj6
= 0 ;
19544 char *kwnames
[] = {
19545 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
19548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyDividedShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
19549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19551 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
19552 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19554 if (arg2
== NULL
) {
19555 PyErr_SetString(PyExc_TypeError
,"null reference");
19558 arg3
= (double)SWIG_As_double(obj2
);
19559 if (PyErr_Occurred()) SWIG_fail
;
19560 arg4
= (double)SWIG_As_double(obj3
);
19561 if (PyErr_Occurred()) SWIG_fail
;
19562 arg5
= (double)SWIG_As_double(obj4
);
19563 if (PyErr_Occurred()) SWIG_fail
;
19564 arg6
= (double)SWIG_As_double(obj5
);
19565 if (PyErr_Occurred()) SWIG_fail
;
19567 arg7
= (bool)SWIG_As_bool(obj6
);
19568 if (PyErr_Occurred()) SWIG_fail
;
19571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19572 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
19574 wxPyEndAllowThreads(__tstate
);
19575 if (PyErr_Occurred()) SWIG_fail
;
19577 Py_INCREF(Py_None
); resultobj
= Py_None
;
19584 static PyObject
*_wrap_PyDividedShape_base_OnDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19585 PyObject
*resultobj
;
19586 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19590 int arg5
= (int) 0 ;
19591 int arg6
= (int) 0 ;
19592 PyObject
* obj0
= 0 ;
19593 PyObject
* obj1
= 0 ;
19594 PyObject
* obj2
= 0 ;
19595 PyObject
* obj3
= 0 ;
19596 PyObject
* obj4
= 0 ;
19597 PyObject
* obj5
= 0 ;
19598 char *kwnames
[] = {
19599 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyDividedShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
19603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19605 arg2
= (bool)SWIG_As_bool(obj1
);
19606 if (PyErr_Occurred()) SWIG_fail
;
19607 arg3
= (double)SWIG_As_double(obj2
);
19608 if (PyErr_Occurred()) SWIG_fail
;
19609 arg4
= (double)SWIG_As_double(obj3
);
19610 if (PyErr_Occurred()) SWIG_fail
;
19612 arg5
= (int)SWIG_As_int(obj4
);
19613 if (PyErr_Occurred()) SWIG_fail
;
19616 arg6
= (int)SWIG_As_int(obj5
);
19617 if (PyErr_Occurred()) SWIG_fail
;
19620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19621 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
19623 wxPyEndAllowThreads(__tstate
);
19624 if (PyErr_Occurred()) SWIG_fail
;
19626 Py_INCREF(Py_None
); resultobj
= Py_None
;
19633 static PyObject
*_wrap_PyDividedShape_base_OnBeginDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19634 PyObject
*resultobj
;
19635 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19638 int arg4
= (int) 0 ;
19639 int arg5
= (int) 0 ;
19640 PyObject
* obj0
= 0 ;
19641 PyObject
* obj1
= 0 ;
19642 PyObject
* obj2
= 0 ;
19643 PyObject
* obj3
= 0 ;
19644 PyObject
* obj4
= 0 ;
19645 char *kwnames
[] = {
19646 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDividedShape_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
19650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19652 arg2
= (double)SWIG_As_double(obj1
);
19653 if (PyErr_Occurred()) SWIG_fail
;
19654 arg3
= (double)SWIG_As_double(obj2
);
19655 if (PyErr_Occurred()) SWIG_fail
;
19657 arg4
= (int)SWIG_As_int(obj3
);
19658 if (PyErr_Occurred()) SWIG_fail
;
19661 arg5
= (int)SWIG_As_int(obj4
);
19662 if (PyErr_Occurred()) SWIG_fail
;
19665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19666 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
19668 wxPyEndAllowThreads(__tstate
);
19669 if (PyErr_Occurred()) SWIG_fail
;
19671 Py_INCREF(Py_None
); resultobj
= Py_None
;
19678 static PyObject
*_wrap_PyDividedShape_base_OnEndDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19679 PyObject
*resultobj
;
19680 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19683 int arg4
= (int) 0 ;
19684 int arg5
= (int) 0 ;
19685 PyObject
* obj0
= 0 ;
19686 PyObject
* obj1
= 0 ;
19687 PyObject
* obj2
= 0 ;
19688 PyObject
* obj3
= 0 ;
19689 PyObject
* obj4
= 0 ;
19690 char *kwnames
[] = {
19691 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDividedShape_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
19695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19697 arg2
= (double)SWIG_As_double(obj1
);
19698 if (PyErr_Occurred()) SWIG_fail
;
19699 arg3
= (double)SWIG_As_double(obj2
);
19700 if (PyErr_Occurred()) SWIG_fail
;
19702 arg4
= (int)SWIG_As_int(obj3
);
19703 if (PyErr_Occurred()) SWIG_fail
;
19706 arg5
= (int)SWIG_As_int(obj4
);
19707 if (PyErr_Occurred()) SWIG_fail
;
19710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19711 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
19713 wxPyEndAllowThreads(__tstate
);
19714 if (PyErr_Occurred()) SWIG_fail
;
19716 Py_INCREF(Py_None
); resultobj
= Py_None
;
19723 static PyObject
*_wrap_PyDividedShape_base_OnDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19724 PyObject
*resultobj
;
19725 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19729 int arg5
= (int) 0 ;
19730 int arg6
= (int) 0 ;
19731 PyObject
* obj0
= 0 ;
19732 PyObject
* obj1
= 0 ;
19733 PyObject
* obj2
= 0 ;
19734 PyObject
* obj3
= 0 ;
19735 PyObject
* obj4
= 0 ;
19736 PyObject
* obj5
= 0 ;
19737 char *kwnames
[] = {
19738 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyDividedShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
19742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19744 arg2
= (bool)SWIG_As_bool(obj1
);
19745 if (PyErr_Occurred()) SWIG_fail
;
19746 arg3
= (double)SWIG_As_double(obj2
);
19747 if (PyErr_Occurred()) SWIG_fail
;
19748 arg4
= (double)SWIG_As_double(obj3
);
19749 if (PyErr_Occurred()) SWIG_fail
;
19751 arg5
= (int)SWIG_As_int(obj4
);
19752 if (PyErr_Occurred()) SWIG_fail
;
19755 arg6
= (int)SWIG_As_int(obj5
);
19756 if (PyErr_Occurred()) SWIG_fail
;
19759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19760 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
19762 wxPyEndAllowThreads(__tstate
);
19763 if (PyErr_Occurred()) SWIG_fail
;
19765 Py_INCREF(Py_None
); resultobj
= Py_None
;
19772 static PyObject
*_wrap_PyDividedShape_base_OnBeginDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19773 PyObject
*resultobj
;
19774 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19777 int arg4
= (int) 0 ;
19778 int arg5
= (int) 0 ;
19779 PyObject
* obj0
= 0 ;
19780 PyObject
* obj1
= 0 ;
19781 PyObject
* obj2
= 0 ;
19782 PyObject
* obj3
= 0 ;
19783 PyObject
* obj4
= 0 ;
19784 char *kwnames
[] = {
19785 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDividedShape_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
19789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19791 arg2
= (double)SWIG_As_double(obj1
);
19792 if (PyErr_Occurred()) SWIG_fail
;
19793 arg3
= (double)SWIG_As_double(obj2
);
19794 if (PyErr_Occurred()) SWIG_fail
;
19796 arg4
= (int)SWIG_As_int(obj3
);
19797 if (PyErr_Occurred()) SWIG_fail
;
19800 arg5
= (int)SWIG_As_int(obj4
);
19801 if (PyErr_Occurred()) SWIG_fail
;
19804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19805 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
19807 wxPyEndAllowThreads(__tstate
);
19808 if (PyErr_Occurred()) SWIG_fail
;
19810 Py_INCREF(Py_None
); resultobj
= Py_None
;
19817 static PyObject
*_wrap_PyDividedShape_base_OnEndDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19818 PyObject
*resultobj
;
19819 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19822 int arg4
= (int) 0 ;
19823 int arg5
= (int) 0 ;
19824 PyObject
* obj0
= 0 ;
19825 PyObject
* obj1
= 0 ;
19826 PyObject
* obj2
= 0 ;
19827 PyObject
* obj3
= 0 ;
19828 PyObject
* obj4
= 0 ;
19829 char *kwnames
[] = {
19830 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDividedShape_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
19834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19836 arg2
= (double)SWIG_As_double(obj1
);
19837 if (PyErr_Occurred()) SWIG_fail
;
19838 arg3
= (double)SWIG_As_double(obj2
);
19839 if (PyErr_Occurred()) SWIG_fail
;
19841 arg4
= (int)SWIG_As_int(obj3
);
19842 if (PyErr_Occurred()) SWIG_fail
;
19845 arg5
= (int)SWIG_As_int(obj4
);
19846 if (PyErr_Occurred()) SWIG_fail
;
19849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19850 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
19852 wxPyEndAllowThreads(__tstate
);
19853 if (PyErr_Occurred()) SWIG_fail
;
19855 Py_INCREF(Py_None
); resultobj
= Py_None
;
19862 static PyObject
*_wrap_PyDividedShape_base_OnDrawOutline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19863 PyObject
*resultobj
;
19864 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19870 PyObject
* obj0
= 0 ;
19871 PyObject
* obj1
= 0 ;
19872 PyObject
* obj2
= 0 ;
19873 PyObject
* obj3
= 0 ;
19874 PyObject
* obj4
= 0 ;
19875 PyObject
* obj5
= 0 ;
19876 char *kwnames
[] = {
19877 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
19880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyDividedShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
19881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19883 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
19884 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19886 if (arg2
== NULL
) {
19887 PyErr_SetString(PyExc_TypeError
,"null reference");
19890 arg3
= (double)SWIG_As_double(obj2
);
19891 if (PyErr_Occurred()) SWIG_fail
;
19892 arg4
= (double)SWIG_As_double(obj3
);
19893 if (PyErr_Occurred()) SWIG_fail
;
19894 arg5
= (double)SWIG_As_double(obj4
);
19895 if (PyErr_Occurred()) SWIG_fail
;
19896 arg6
= (double)SWIG_As_double(obj5
);
19897 if (PyErr_Occurred()) SWIG_fail
;
19899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19900 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
19902 wxPyEndAllowThreads(__tstate
);
19903 if (PyErr_Occurred()) SWIG_fail
;
19905 Py_INCREF(Py_None
); resultobj
= Py_None
;
19912 static PyObject
*_wrap_PyDividedShape_base_OnDrawControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19913 PyObject
*resultobj
;
19914 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19916 PyObject
* obj0
= 0 ;
19917 PyObject
* obj1
= 0 ;
19918 char *kwnames
[] = {
19919 (char *) "self",(char *) "dc", NULL
19922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDividedShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
19923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19925 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
19926 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19928 if (arg2
== NULL
) {
19929 PyErr_SetString(PyExc_TypeError
,"null reference");
19933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19934 (arg1
)->base_OnDrawControlPoints(*arg2
);
19936 wxPyEndAllowThreads(__tstate
);
19937 if (PyErr_Occurred()) SWIG_fail
;
19939 Py_INCREF(Py_None
); resultobj
= Py_None
;
19946 static PyObject
*_wrap_PyDividedShape_base_OnEraseControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19947 PyObject
*resultobj
;
19948 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19950 PyObject
* obj0
= 0 ;
19951 PyObject
* obj1
= 0 ;
19952 char *kwnames
[] = {
19953 (char *) "self",(char *) "dc", NULL
19956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDividedShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
19957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19959 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
19960 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19962 if (arg2
== NULL
) {
19963 PyErr_SetString(PyExc_TypeError
,"null reference");
19967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19968 (arg1
)->base_OnEraseControlPoints(*arg2
);
19970 wxPyEndAllowThreads(__tstate
);
19971 if (PyErr_Occurred()) SWIG_fail
;
19973 Py_INCREF(Py_None
); resultobj
= Py_None
;
19980 static PyObject
*_wrap_PyDividedShape_base_OnMoveLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19981 PyObject
*resultobj
;
19982 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
19984 bool arg3
= (bool) True
;
19985 PyObject
* obj0
= 0 ;
19986 PyObject
* obj1
= 0 ;
19987 PyObject
* obj2
= 0 ;
19988 char *kwnames
[] = {
19989 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
19992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyDividedShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
19994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19995 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
19996 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19998 if (arg2
== NULL
) {
19999 PyErr_SetString(PyExc_TypeError
,"null reference");
20003 arg3
= (bool)SWIG_As_bool(obj2
);
20004 if (PyErr_Occurred()) SWIG_fail
;
20007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20008 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
20010 wxPyEndAllowThreads(__tstate
);
20011 if (PyErr_Occurred()) SWIG_fail
;
20013 Py_INCREF(Py_None
); resultobj
= Py_None
;
20020 static PyObject
*_wrap_PyDividedShape_base_OnSizingDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20021 PyObject
*resultobj
;
20022 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
20023 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
20027 int arg6
= (int) 0 ;
20028 int arg7
= (int) 0 ;
20029 PyObject
* obj0
= 0 ;
20030 PyObject
* obj1
= 0 ;
20031 PyObject
* obj2
= 0 ;
20032 PyObject
* obj3
= 0 ;
20033 PyObject
* obj4
= 0 ;
20034 PyObject
* obj5
= 0 ;
20035 PyObject
* obj6
= 0 ;
20036 char *kwnames
[] = {
20037 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
20040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyDividedShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
20041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
20042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20043 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
20044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20045 arg3
= (bool)SWIG_As_bool(obj2
);
20046 if (PyErr_Occurred()) SWIG_fail
;
20047 arg4
= (double)SWIG_As_double(obj3
);
20048 if (PyErr_Occurred()) SWIG_fail
;
20049 arg5
= (double)SWIG_As_double(obj4
);
20050 if (PyErr_Occurred()) SWIG_fail
;
20052 arg6
= (int)SWIG_As_int(obj5
);
20053 if (PyErr_Occurred()) SWIG_fail
;
20056 arg7
= (int)SWIG_As_int(obj6
);
20057 if (PyErr_Occurred()) SWIG_fail
;
20060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20061 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
20063 wxPyEndAllowThreads(__tstate
);
20064 if (PyErr_Occurred()) SWIG_fail
;
20066 Py_INCREF(Py_None
); resultobj
= Py_None
;
20073 static PyObject
*_wrap_PyDividedShape_base_OnSizingBeginDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20074 PyObject
*resultobj
;
20075 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
20076 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
20079 int arg5
= (int) 0 ;
20080 int arg6
= (int) 0 ;
20081 PyObject
* obj0
= 0 ;
20082 PyObject
* obj1
= 0 ;
20083 PyObject
* obj2
= 0 ;
20084 PyObject
* obj3
= 0 ;
20085 PyObject
* obj4
= 0 ;
20086 PyObject
* obj5
= 0 ;
20087 char *kwnames
[] = {
20088 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
20091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyDividedShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
20092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
20093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20094 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
20095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20096 arg3
= (double)SWIG_As_double(obj2
);
20097 if (PyErr_Occurred()) SWIG_fail
;
20098 arg4
= (double)SWIG_As_double(obj3
);
20099 if (PyErr_Occurred()) SWIG_fail
;
20101 arg5
= (int)SWIG_As_int(obj4
);
20102 if (PyErr_Occurred()) SWIG_fail
;
20105 arg6
= (int)SWIG_As_int(obj5
);
20106 if (PyErr_Occurred()) SWIG_fail
;
20109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20110 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
20112 wxPyEndAllowThreads(__tstate
);
20113 if (PyErr_Occurred()) SWIG_fail
;
20115 Py_INCREF(Py_None
); resultobj
= Py_None
;
20122 static PyObject
*_wrap_PyDividedShape_base_OnSizingEndDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20123 PyObject
*resultobj
;
20124 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
20125 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
20128 int arg5
= (int) 0 ;
20129 int arg6
= (int) 0 ;
20130 PyObject
* obj0
= 0 ;
20131 PyObject
* obj1
= 0 ;
20132 PyObject
* obj2
= 0 ;
20133 PyObject
* obj3
= 0 ;
20134 PyObject
* obj4
= 0 ;
20135 PyObject
* obj5
= 0 ;
20136 char *kwnames
[] = {
20137 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
20140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyDividedShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
20141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
20142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20143 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
20144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20145 arg3
= (double)SWIG_As_double(obj2
);
20146 if (PyErr_Occurred()) SWIG_fail
;
20147 arg4
= (double)SWIG_As_double(obj3
);
20148 if (PyErr_Occurred()) SWIG_fail
;
20150 arg5
= (int)SWIG_As_int(obj4
);
20151 if (PyErr_Occurred()) SWIG_fail
;
20154 arg6
= (int)SWIG_As_int(obj5
);
20155 if (PyErr_Occurred()) SWIG_fail
;
20158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20159 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
20161 wxPyEndAllowThreads(__tstate
);
20162 if (PyErr_Occurred()) SWIG_fail
;
20164 Py_INCREF(Py_None
); resultobj
= Py_None
;
20171 static PyObject
*_wrap_PyDividedShape_base_OnBeginSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20172 PyObject
*resultobj
;
20173 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
20176 PyObject
* obj0
= 0 ;
20177 PyObject
* obj1
= 0 ;
20178 PyObject
* obj2
= 0 ;
20179 char *kwnames
[] = {
20180 (char *) "self",(char *) "w",(char *) "h", NULL
20183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDividedShape_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
20185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20186 arg2
= (double)SWIG_As_double(obj1
);
20187 if (PyErr_Occurred()) SWIG_fail
;
20188 arg3
= (double)SWIG_As_double(obj2
);
20189 if (PyErr_Occurred()) SWIG_fail
;
20191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20192 (arg1
)->base_OnBeginSize(arg2
,arg3
);
20194 wxPyEndAllowThreads(__tstate
);
20195 if (PyErr_Occurred()) SWIG_fail
;
20197 Py_INCREF(Py_None
); resultobj
= Py_None
;
20204 static PyObject
*_wrap_PyDividedShape_base_OnEndSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20205 PyObject
*resultobj
;
20206 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
20209 PyObject
* obj0
= 0 ;
20210 PyObject
* obj1
= 0 ;
20211 PyObject
* obj2
= 0 ;
20212 char *kwnames
[] = {
20213 (char *) "self",(char *) "w",(char *) "h", NULL
20216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDividedShape_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDividedShape
,
20218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20219 arg2
= (double)SWIG_As_double(obj1
);
20220 if (PyErr_Occurred()) SWIG_fail
;
20221 arg3
= (double)SWIG_As_double(obj2
);
20222 if (PyErr_Occurred()) SWIG_fail
;
20224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20225 (arg1
)->base_OnEndSize(arg2
,arg3
);
20227 wxPyEndAllowThreads(__tstate
);
20228 if (PyErr_Occurred()) SWIG_fail
;
20230 Py_INCREF(Py_None
); resultobj
= Py_None
;
20237 static PyObject
* PyDividedShape_swigregister(PyObject
*, PyObject
*args
) {
20239 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20240 SWIG_TypeClientData(SWIGTYPE_p_wxPyDividedShape
, obj
);
20242 return Py_BuildValue((char *)"");
20244 static PyObject
*_wrap_new_PyDivisionShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20245 PyObject
*resultobj
;
20246 wxPyDivisionShape
*result
;
20247 char *kwnames
[] = {
20251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyDivisionShape",kwnames
)) goto fail
;
20253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20254 result
= (wxPyDivisionShape
*)new wxPyDivisionShape();
20256 wxPyEndAllowThreads(__tstate
);
20257 if (PyErr_Occurred()) SWIG_fail
;
20259 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDivisionShape
, 1);
20266 static PyObject
*_wrap_PyDivisionShape__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20267 PyObject
*resultobj
;
20268 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20269 PyObject
*arg2
= (PyObject
*) 0 ;
20270 PyObject
*arg3
= (PyObject
*) 0 ;
20271 PyObject
* obj0
= 0 ;
20272 PyObject
* obj1
= 0 ;
20273 PyObject
* obj2
= 0 ;
20274 char *kwnames
[] = {
20275 (char *) "self",(char *) "self",(char *) "_class", NULL
20278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDivisionShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20285 (arg1
)->_setCallbackInfo(arg2
,arg3
);
20287 wxPyEndAllowThreads(__tstate
);
20288 if (PyErr_Occurred()) SWIG_fail
;
20290 Py_INCREF(Py_None
); resultobj
= Py_None
;
20297 static PyObject
*_wrap_PyDivisionShape_AdjustBottom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20298 PyObject
*resultobj
;
20299 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20302 PyObject
* obj0
= 0 ;
20303 PyObject
* obj1
= 0 ;
20304 PyObject
* obj2
= 0 ;
20305 char *kwnames
[] = {
20306 (char *) "self",(char *) "bottom",(char *) "test", NULL
20309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDivisionShape_AdjustBottom",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20312 arg2
= (double)SWIG_As_double(obj1
);
20313 if (PyErr_Occurred()) SWIG_fail
;
20314 arg3
= (bool)SWIG_As_bool(obj2
);
20315 if (PyErr_Occurred()) SWIG_fail
;
20317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20318 (arg1
)->AdjustBottom(arg2
,arg3
);
20320 wxPyEndAllowThreads(__tstate
);
20321 if (PyErr_Occurred()) SWIG_fail
;
20323 Py_INCREF(Py_None
); resultobj
= Py_None
;
20330 static PyObject
*_wrap_PyDivisionShape_AdjustLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20331 PyObject
*resultobj
;
20332 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20335 PyObject
* obj0
= 0 ;
20336 PyObject
* obj1
= 0 ;
20337 PyObject
* obj2
= 0 ;
20338 char *kwnames
[] = {
20339 (char *) "self",(char *) "left",(char *) "test", NULL
20342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDivisionShape_AdjustLeft",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20345 arg2
= (double)SWIG_As_double(obj1
);
20346 if (PyErr_Occurred()) SWIG_fail
;
20347 arg3
= (bool)SWIG_As_bool(obj2
);
20348 if (PyErr_Occurred()) SWIG_fail
;
20350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20351 (arg1
)->AdjustLeft(arg2
,arg3
);
20353 wxPyEndAllowThreads(__tstate
);
20354 if (PyErr_Occurred()) SWIG_fail
;
20356 Py_INCREF(Py_None
); resultobj
= Py_None
;
20363 static PyObject
*_wrap_PyDivisionShape_AdjustRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20364 PyObject
*resultobj
;
20365 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20368 PyObject
* obj0
= 0 ;
20369 PyObject
* obj1
= 0 ;
20370 PyObject
* obj2
= 0 ;
20371 char *kwnames
[] = {
20372 (char *) "self",(char *) "right",(char *) "test", NULL
20375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDivisionShape_AdjustRight",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20378 arg2
= (double)SWIG_As_double(obj1
);
20379 if (PyErr_Occurred()) SWIG_fail
;
20380 arg3
= (bool)SWIG_As_bool(obj2
);
20381 if (PyErr_Occurred()) SWIG_fail
;
20383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20384 (arg1
)->AdjustRight(arg2
,arg3
);
20386 wxPyEndAllowThreads(__tstate
);
20387 if (PyErr_Occurred()) SWIG_fail
;
20389 Py_INCREF(Py_None
); resultobj
= Py_None
;
20396 static PyObject
*_wrap_PyDivisionShape_AdjustTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20397 PyObject
*resultobj
;
20398 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20401 PyObject
* obj0
= 0 ;
20402 PyObject
* obj1
= 0 ;
20403 PyObject
* obj2
= 0 ;
20404 char *kwnames
[] = {
20405 (char *) "self",(char *) "top",(char *) "test", NULL
20408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDivisionShape_AdjustTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20411 arg2
= (double)SWIG_As_double(obj1
);
20412 if (PyErr_Occurred()) SWIG_fail
;
20413 arg3
= (bool)SWIG_As_bool(obj2
);
20414 if (PyErr_Occurred()) SWIG_fail
;
20416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20417 (arg1
)->AdjustTop(arg2
,arg3
);
20419 wxPyEndAllowThreads(__tstate
);
20420 if (PyErr_Occurred()) SWIG_fail
;
20422 Py_INCREF(Py_None
); resultobj
= Py_None
;
20429 static PyObject
*_wrap_PyDivisionShape_Divide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20430 PyObject
*resultobj
;
20431 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20433 PyObject
* obj0
= 0 ;
20434 PyObject
* obj1
= 0 ;
20435 char *kwnames
[] = {
20436 (char *) "self",(char *) "direction", NULL
20439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_Divide",kwnames
,&obj0
,&obj1
)) goto fail
;
20440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20442 arg2
= (int)SWIG_As_int(obj1
);
20443 if (PyErr_Occurred()) SWIG_fail
;
20445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20446 (arg1
)->Divide(arg2
);
20448 wxPyEndAllowThreads(__tstate
);
20449 if (PyErr_Occurred()) SWIG_fail
;
20451 Py_INCREF(Py_None
); resultobj
= Py_None
;
20458 static PyObject
*_wrap_PyDivisionShape_EditEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20459 PyObject
*resultobj
;
20460 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20462 PyObject
* obj0
= 0 ;
20463 PyObject
* obj1
= 0 ;
20464 char *kwnames
[] = {
20465 (char *) "self",(char *) "side", NULL
20468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_EditEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
20469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20471 arg2
= (int)SWIG_As_int(obj1
);
20472 if (PyErr_Occurred()) SWIG_fail
;
20474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20475 (arg1
)->EditEdge(arg2
);
20477 wxPyEndAllowThreads(__tstate
);
20478 if (PyErr_Occurred()) SWIG_fail
;
20480 Py_INCREF(Py_None
); resultobj
= Py_None
;
20487 static PyObject
*_wrap_PyDivisionShape_GetBottomSide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20488 PyObject
*resultobj
;
20489 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20490 wxPyDivisionShape
*result
;
20491 PyObject
* obj0
= 0 ;
20492 char *kwnames
[] = {
20493 (char *) "self", NULL
20496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDivisionShape_GetBottomSide",kwnames
,&obj0
)) goto fail
;
20497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20501 result
= (wxPyDivisionShape
*)(arg1
)->GetBottomSide();
20503 wxPyEndAllowThreads(__tstate
);
20504 if (PyErr_Occurred()) SWIG_fail
;
20507 resultobj
= wxPyMake_wxShapeEvtHandler(result
, 0);
20515 static PyObject
*_wrap_PyDivisionShape_GetHandleSide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20516 PyObject
*resultobj
;
20517 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20519 PyObject
* obj0
= 0 ;
20520 char *kwnames
[] = {
20521 (char *) "self", NULL
20524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDivisionShape_GetHandleSide",kwnames
,&obj0
)) goto fail
;
20525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20529 result
= (int)(arg1
)->GetHandleSide();
20531 wxPyEndAllowThreads(__tstate
);
20532 if (PyErr_Occurred()) SWIG_fail
;
20534 resultobj
= SWIG_From_int((int)result
);
20541 static PyObject
*_wrap_PyDivisionShape_GetLeftSide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20542 PyObject
*resultobj
;
20543 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20544 wxPyDivisionShape
*result
;
20545 PyObject
* obj0
= 0 ;
20546 char *kwnames
[] = {
20547 (char *) "self", NULL
20550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDivisionShape_GetLeftSide",kwnames
,&obj0
)) goto fail
;
20551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20555 result
= (wxPyDivisionShape
*)(arg1
)->GetLeftSide();
20557 wxPyEndAllowThreads(__tstate
);
20558 if (PyErr_Occurred()) SWIG_fail
;
20561 resultobj
= wxPyMake_wxShapeEvtHandler(result
, 0);
20569 static PyObject
*_wrap_PyDivisionShape_GetLeftSideColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20570 PyObject
*resultobj
;
20571 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20573 PyObject
* obj0
= 0 ;
20574 char *kwnames
[] = {
20575 (char *) "self", NULL
20578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDivisionShape_GetLeftSideColour",kwnames
,&obj0
)) goto fail
;
20579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20583 result
= (arg1
)->GetLeftSideColour();
20585 wxPyEndAllowThreads(__tstate
);
20586 if (PyErr_Occurred()) SWIG_fail
;
20590 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20592 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20601 static PyObject
*_wrap_PyDivisionShape_GetLeftSidePen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20602 PyObject
*resultobj
;
20603 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20605 PyObject
* obj0
= 0 ;
20606 char *kwnames
[] = {
20607 (char *) "self", NULL
20610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDivisionShape_GetLeftSidePen",kwnames
,&obj0
)) goto fail
;
20611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20615 result
= (wxPen
*)(arg1
)->GetLeftSidePen();
20617 wxPyEndAllowThreads(__tstate
);
20618 if (PyErr_Occurred()) SWIG_fail
;
20620 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 0);
20627 static PyObject
*_wrap_PyDivisionShape_GetRightSide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20628 PyObject
*resultobj
;
20629 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20630 wxPyDivisionShape
*result
;
20631 PyObject
* obj0
= 0 ;
20632 char *kwnames
[] = {
20633 (char *) "self", NULL
20636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDivisionShape_GetRightSide",kwnames
,&obj0
)) goto fail
;
20637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20641 result
= (wxPyDivisionShape
*)(arg1
)->GetRightSide();
20643 wxPyEndAllowThreads(__tstate
);
20644 if (PyErr_Occurred()) SWIG_fail
;
20647 resultobj
= wxPyMake_wxShapeEvtHandler(result
, 0);
20655 static PyObject
*_wrap_PyDivisionShape_GetTopSide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20656 PyObject
*resultobj
;
20657 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20658 wxPyDivisionShape
*result
;
20659 PyObject
* obj0
= 0 ;
20660 char *kwnames
[] = {
20661 (char *) "self", NULL
20664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDivisionShape_GetTopSide",kwnames
,&obj0
)) goto fail
;
20665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20669 result
= (wxPyDivisionShape
*)(arg1
)->GetTopSide();
20671 wxPyEndAllowThreads(__tstate
);
20672 if (PyErr_Occurred()) SWIG_fail
;
20675 resultobj
= wxPyMake_wxShapeEvtHandler(result
, 0);
20683 static PyObject
*_wrap_PyDivisionShape_GetTopSidePen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20684 PyObject
*resultobj
;
20685 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20687 PyObject
* obj0
= 0 ;
20688 char *kwnames
[] = {
20689 (char *) "self", NULL
20692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDivisionShape_GetTopSidePen",kwnames
,&obj0
)) goto fail
;
20693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20697 result
= (wxPen
*)(arg1
)->GetTopSidePen();
20699 wxPyEndAllowThreads(__tstate
);
20700 if (PyErr_Occurred()) SWIG_fail
;
20702 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 0);
20709 static PyObject
*_wrap_PyDivisionShape_ResizeAdjoining(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20710 PyObject
*resultobj
;
20711 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20715 PyObject
* obj0
= 0 ;
20716 PyObject
* obj1
= 0 ;
20717 PyObject
* obj2
= 0 ;
20718 PyObject
* obj3
= 0 ;
20719 char *kwnames
[] = {
20720 (char *) "self",(char *) "side",(char *) "newPos",(char *) "test", NULL
20723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyDivisionShape_ResizeAdjoining",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20726 arg2
= (int)SWIG_As_int(obj1
);
20727 if (PyErr_Occurred()) SWIG_fail
;
20728 arg3
= (double)SWIG_As_double(obj2
);
20729 if (PyErr_Occurred()) SWIG_fail
;
20730 arg4
= (bool)SWIG_As_bool(obj3
);
20731 if (PyErr_Occurred()) SWIG_fail
;
20733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20734 (arg1
)->ResizeAdjoining(arg2
,arg3
,arg4
);
20736 wxPyEndAllowThreads(__tstate
);
20737 if (PyErr_Occurred()) SWIG_fail
;
20739 Py_INCREF(Py_None
); resultobj
= Py_None
;
20746 static PyObject
*_wrap_PyDivisionShape_PopupMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20747 PyObject
*resultobj
;
20748 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20751 PyObject
* obj0
= 0 ;
20752 PyObject
* obj1
= 0 ;
20753 PyObject
* obj2
= 0 ;
20754 char *kwnames
[] = {
20755 (char *) "self",(char *) "x",(char *) "y", NULL
20758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDivisionShape_PopupMenu",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20761 arg2
= (double)SWIG_As_double(obj1
);
20762 if (PyErr_Occurred()) SWIG_fail
;
20763 arg3
= (double)SWIG_As_double(obj2
);
20764 if (PyErr_Occurred()) SWIG_fail
;
20766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20767 (arg1
)->PopupMenu(arg2
,arg3
);
20769 wxPyEndAllowThreads(__tstate
);
20770 if (PyErr_Occurred()) SWIG_fail
;
20772 Py_INCREF(Py_None
); resultobj
= Py_None
;
20779 static PyObject
*_wrap_PyDivisionShape_SetBottomSide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20780 PyObject
*resultobj
;
20781 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20782 wxPyDivisionShape
*arg2
= (wxPyDivisionShape
*) 0 ;
20783 PyObject
* obj0
= 0 ;
20784 PyObject
* obj1
= 0 ;
20785 char *kwnames
[] = {
20786 (char *) "self",(char *) "shape", NULL
20789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_SetBottomSide",kwnames
,&obj0
,&obj1
)) goto fail
;
20790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20792 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyDivisionShape
,
20793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20796 (arg1
)->SetBottomSide(arg2
);
20798 wxPyEndAllowThreads(__tstate
);
20799 if (PyErr_Occurred()) SWIG_fail
;
20801 Py_INCREF(Py_None
); resultobj
= Py_None
;
20808 static PyObject
*_wrap_PyDivisionShape_SetHandleSide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20809 PyObject
*resultobj
;
20810 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20812 PyObject
* obj0
= 0 ;
20813 PyObject
* obj1
= 0 ;
20814 char *kwnames
[] = {
20815 (char *) "self",(char *) "side", NULL
20818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_SetHandleSide",kwnames
,&obj0
,&obj1
)) goto fail
;
20819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20821 arg2
= (int)SWIG_As_int(obj1
);
20822 if (PyErr_Occurred()) SWIG_fail
;
20824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20825 (arg1
)->SetHandleSide(arg2
);
20827 wxPyEndAllowThreads(__tstate
);
20828 if (PyErr_Occurred()) SWIG_fail
;
20830 Py_INCREF(Py_None
); resultobj
= Py_None
;
20837 static PyObject
*_wrap_PyDivisionShape_SetLeftSide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20838 PyObject
*resultobj
;
20839 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20840 wxPyDivisionShape
*arg2
= (wxPyDivisionShape
*) 0 ;
20841 PyObject
* obj0
= 0 ;
20842 PyObject
* obj1
= 0 ;
20843 char *kwnames
[] = {
20844 (char *) "self",(char *) "shape", NULL
20847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_SetLeftSide",kwnames
,&obj0
,&obj1
)) goto fail
;
20848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20850 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyDivisionShape
,
20851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20854 (arg1
)->SetLeftSide(arg2
);
20856 wxPyEndAllowThreads(__tstate
);
20857 if (PyErr_Occurred()) SWIG_fail
;
20859 Py_INCREF(Py_None
); resultobj
= Py_None
;
20866 static PyObject
*_wrap_PyDivisionShape_SetLeftSideColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20867 PyObject
*resultobj
;
20868 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20869 wxString
*arg2
= 0 ;
20870 bool temp2
= False
;
20871 PyObject
* obj0
= 0 ;
20872 PyObject
* obj1
= 0 ;
20873 char *kwnames
[] = {
20874 (char *) "self",(char *) "colour", NULL
20877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_SetLeftSideColour",kwnames
,&obj0
,&obj1
)) goto fail
;
20878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20881 arg2
= wxString_in_helper(obj1
);
20882 if (arg2
== NULL
) SWIG_fail
;
20886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20887 (arg1
)->SetLeftSideColour((wxString
const &)*arg2
);
20889 wxPyEndAllowThreads(__tstate
);
20890 if (PyErr_Occurred()) SWIG_fail
;
20892 Py_INCREF(Py_None
); resultobj
= Py_None
;
20907 static PyObject
*_wrap_PyDivisionShape_SetLeftSidePen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20908 PyObject
*resultobj
;
20909 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20910 wxPen
*arg2
= (wxPen
*) 0 ;
20911 PyObject
* obj0
= 0 ;
20912 PyObject
* obj1
= 0 ;
20913 char *kwnames
[] = {
20914 (char *) "self",(char *) "pen", NULL
20917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_SetLeftSidePen",kwnames
,&obj0
,&obj1
)) goto fail
;
20918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20923 if (obj1
== Py_None
) {
20926 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxPen"))) {
20927 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxPen.");
20932 arg2
= wxThePenList
->FindOrCreatePen(temp
->GetColour(),
20939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20940 (arg1
)->SetLeftSidePen(arg2
);
20942 wxPyEndAllowThreads(__tstate
);
20943 if (PyErr_Occurred()) SWIG_fail
;
20945 Py_INCREF(Py_None
); resultobj
= Py_None
;
20952 static PyObject
*_wrap_PyDivisionShape_SetRightSide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20953 PyObject
*resultobj
;
20954 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20955 wxPyDivisionShape
*arg2
= (wxPyDivisionShape
*) 0 ;
20956 PyObject
* obj0
= 0 ;
20957 PyObject
* obj1
= 0 ;
20958 char *kwnames
[] = {
20959 (char *) "self",(char *) "shape", NULL
20962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_SetRightSide",kwnames
,&obj0
,&obj1
)) goto fail
;
20963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20965 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyDivisionShape
,
20966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20969 (arg1
)->SetRightSide(arg2
);
20971 wxPyEndAllowThreads(__tstate
);
20972 if (PyErr_Occurred()) SWIG_fail
;
20974 Py_INCREF(Py_None
); resultobj
= Py_None
;
20981 static PyObject
*_wrap_PyDivisionShape_SetTopSide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20982 PyObject
*resultobj
;
20983 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
20984 wxPyDivisionShape
*arg2
= (wxPyDivisionShape
*) 0 ;
20985 PyObject
* obj0
= 0 ;
20986 PyObject
* obj1
= 0 ;
20987 char *kwnames
[] = {
20988 (char *) "self",(char *) "shape", NULL
20991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_SetTopSide",kwnames
,&obj0
,&obj1
)) goto fail
;
20992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
20993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20994 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyDivisionShape
,
20995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20998 (arg1
)->SetTopSide(arg2
);
21000 wxPyEndAllowThreads(__tstate
);
21001 if (PyErr_Occurred()) SWIG_fail
;
21003 Py_INCREF(Py_None
); resultobj
= Py_None
;
21010 static PyObject
*_wrap_PyDivisionShape_SetTopSideColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21011 PyObject
*resultobj
;
21012 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21013 wxString
*arg2
= 0 ;
21014 bool temp2
= False
;
21015 PyObject
* obj0
= 0 ;
21016 PyObject
* obj1
= 0 ;
21017 char *kwnames
[] = {
21018 (char *) "self",(char *) "colour", NULL
21021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_SetTopSideColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21025 arg2
= wxString_in_helper(obj1
);
21026 if (arg2
== NULL
) SWIG_fail
;
21030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21031 (arg1
)->SetTopSideColour((wxString
const &)*arg2
);
21033 wxPyEndAllowThreads(__tstate
);
21034 if (PyErr_Occurred()) SWIG_fail
;
21036 Py_INCREF(Py_None
); resultobj
= Py_None
;
21051 static PyObject
*_wrap_PyDivisionShape_SetTopSidePen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21052 PyObject
*resultobj
;
21053 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21054 wxPen
*arg2
= (wxPen
*) 0 ;
21055 PyObject
* obj0
= 0 ;
21056 PyObject
* obj1
= 0 ;
21057 char *kwnames
[] = {
21058 (char *) "self",(char *) "pen", NULL
21061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_SetTopSidePen",kwnames
,&obj0
,&obj1
)) goto fail
;
21062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21067 if (obj1
== Py_None
) {
21070 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxPen"))) {
21071 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxPen.");
21076 arg2
= wxThePenList
->FindOrCreatePen(temp
->GetColour(),
21083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21084 (arg1
)->SetTopSidePen(arg2
);
21086 wxPyEndAllowThreads(__tstate
);
21087 if (PyErr_Occurred()) SWIG_fail
;
21089 Py_INCREF(Py_None
); resultobj
= Py_None
;
21096 static PyObject
*_wrap_PyDivisionShape_base_OnDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21097 PyObject
*resultobj
;
21098 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21099 PyObject
* obj0
= 0 ;
21100 char *kwnames
[] = {
21101 (char *) "self", NULL
21104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDivisionShape_base_OnDelete",kwnames
,&obj0
)) goto fail
;
21105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21109 (arg1
)->base_OnDelete();
21111 wxPyEndAllowThreads(__tstate
);
21112 if (PyErr_Occurred()) SWIG_fail
;
21114 Py_INCREF(Py_None
); resultobj
= Py_None
;
21121 static PyObject
*_wrap_PyDivisionShape_base_OnDraw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21122 PyObject
*resultobj
;
21123 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21125 PyObject
* obj0
= 0 ;
21126 PyObject
* obj1
= 0 ;
21127 char *kwnames
[] = {
21128 (char *) "self",(char *) "dc", NULL
21131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
21132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21134 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
21135 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21137 if (arg2
== NULL
) {
21138 PyErr_SetString(PyExc_TypeError
,"null reference");
21142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21143 (arg1
)->base_OnDraw(*arg2
);
21145 wxPyEndAllowThreads(__tstate
);
21146 if (PyErr_Occurred()) SWIG_fail
;
21148 Py_INCREF(Py_None
); resultobj
= Py_None
;
21155 static PyObject
*_wrap_PyDivisionShape_base_OnDrawContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21156 PyObject
*resultobj
;
21157 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21159 PyObject
* obj0
= 0 ;
21160 PyObject
* obj1
= 0 ;
21161 char *kwnames
[] = {
21162 (char *) "self",(char *) "dc", NULL
21165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
21166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21168 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
21169 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21171 if (arg2
== NULL
) {
21172 PyErr_SetString(PyExc_TypeError
,"null reference");
21176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21177 (arg1
)->base_OnDrawContents(*arg2
);
21179 wxPyEndAllowThreads(__tstate
);
21180 if (PyErr_Occurred()) SWIG_fail
;
21182 Py_INCREF(Py_None
); resultobj
= Py_None
;
21189 static PyObject
*_wrap_PyDivisionShape_base_OnDrawBranches(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21190 PyObject
*resultobj
;
21191 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21193 bool arg3
= (bool) FALSE
;
21194 PyObject
* obj0
= 0 ;
21195 PyObject
* obj1
= 0 ;
21196 PyObject
* obj2
= 0 ;
21197 char *kwnames
[] = {
21198 (char *) "self",(char *) "dc",(char *) "erase", NULL
21201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyDivisionShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21204 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
21205 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21207 if (arg2
== NULL
) {
21208 PyErr_SetString(PyExc_TypeError
,"null reference");
21212 arg3
= (bool)SWIG_As_bool(obj2
);
21213 if (PyErr_Occurred()) SWIG_fail
;
21216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21217 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
21219 wxPyEndAllowThreads(__tstate
);
21220 if (PyErr_Occurred()) SWIG_fail
;
21222 Py_INCREF(Py_None
); resultobj
= Py_None
;
21229 static PyObject
*_wrap_PyDivisionShape_base_OnMoveLinks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21230 PyObject
*resultobj
;
21231 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21233 PyObject
* obj0
= 0 ;
21234 PyObject
* obj1
= 0 ;
21235 char *kwnames
[] = {
21236 (char *) "self",(char *) "dc", NULL
21239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
21240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21242 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
21243 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21245 if (arg2
== NULL
) {
21246 PyErr_SetString(PyExc_TypeError
,"null reference");
21250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21251 (arg1
)->base_OnMoveLinks(*arg2
);
21253 wxPyEndAllowThreads(__tstate
);
21254 if (PyErr_Occurred()) SWIG_fail
;
21256 Py_INCREF(Py_None
); resultobj
= Py_None
;
21263 static PyObject
*_wrap_PyDivisionShape_base_OnErase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21264 PyObject
*resultobj
;
21265 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21267 PyObject
* obj0
= 0 ;
21268 PyObject
* obj1
= 0 ;
21269 char *kwnames
[] = {
21270 (char *) "self",(char *) "dc", NULL
21273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
21274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21276 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
21277 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21279 if (arg2
== NULL
) {
21280 PyErr_SetString(PyExc_TypeError
,"null reference");
21284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21285 (arg1
)->base_OnErase(*arg2
);
21287 wxPyEndAllowThreads(__tstate
);
21288 if (PyErr_Occurred()) SWIG_fail
;
21290 Py_INCREF(Py_None
); resultobj
= Py_None
;
21297 static PyObject
*_wrap_PyDivisionShape_base_OnEraseContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21298 PyObject
*resultobj
;
21299 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21301 PyObject
* obj0
= 0 ;
21302 PyObject
* obj1
= 0 ;
21303 char *kwnames
[] = {
21304 (char *) "self",(char *) "dc", NULL
21307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
21308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21310 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
21311 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21313 if (arg2
== NULL
) {
21314 PyErr_SetString(PyExc_TypeError
,"null reference");
21318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21319 (arg1
)->base_OnEraseContents(*arg2
);
21321 wxPyEndAllowThreads(__tstate
);
21322 if (PyErr_Occurred()) SWIG_fail
;
21324 Py_INCREF(Py_None
); resultobj
= Py_None
;
21331 static PyObject
*_wrap_PyDivisionShape_base_OnHighlight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21332 PyObject
*resultobj
;
21333 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21335 PyObject
* obj0
= 0 ;
21336 PyObject
* obj1
= 0 ;
21337 char *kwnames
[] = {
21338 (char *) "self",(char *) "dc", NULL
21341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
21342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21344 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
21345 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21347 if (arg2
== NULL
) {
21348 PyErr_SetString(PyExc_TypeError
,"null reference");
21352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21353 (arg1
)->base_OnHighlight(*arg2
);
21355 wxPyEndAllowThreads(__tstate
);
21356 if (PyErr_Occurred()) SWIG_fail
;
21358 Py_INCREF(Py_None
); resultobj
= Py_None
;
21365 static PyObject
*_wrap_PyDivisionShape_base_OnLeftClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21366 PyObject
*resultobj
;
21367 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21370 int arg4
= (int) 0 ;
21371 int arg5
= (int) 0 ;
21372 PyObject
* obj0
= 0 ;
21373 PyObject
* obj1
= 0 ;
21374 PyObject
* obj2
= 0 ;
21375 PyObject
* obj3
= 0 ;
21376 PyObject
* obj4
= 0 ;
21377 char *kwnames
[] = {
21378 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDivisionShape_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21384 arg2
= (double)SWIG_As_double(obj1
);
21385 if (PyErr_Occurred()) SWIG_fail
;
21386 arg3
= (double)SWIG_As_double(obj2
);
21387 if (PyErr_Occurred()) SWIG_fail
;
21389 arg4
= (int)SWIG_As_int(obj3
);
21390 if (PyErr_Occurred()) SWIG_fail
;
21393 arg5
= (int)SWIG_As_int(obj4
);
21394 if (PyErr_Occurred()) SWIG_fail
;
21397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21398 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
21400 wxPyEndAllowThreads(__tstate
);
21401 if (PyErr_Occurred()) SWIG_fail
;
21403 Py_INCREF(Py_None
); resultobj
= Py_None
;
21410 static PyObject
*_wrap_PyDivisionShape_base_OnLeftDoubleClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21411 PyObject
*resultobj
;
21412 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21415 int arg4
= (int) 0 ;
21416 int arg5
= (int) 0 ;
21417 PyObject
* obj0
= 0 ;
21418 PyObject
* obj1
= 0 ;
21419 PyObject
* obj2
= 0 ;
21420 PyObject
* obj3
= 0 ;
21421 PyObject
* obj4
= 0 ;
21422 char *kwnames
[] = {
21423 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDivisionShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21429 arg2
= (double)SWIG_As_double(obj1
);
21430 if (PyErr_Occurred()) SWIG_fail
;
21431 arg3
= (double)SWIG_As_double(obj2
);
21432 if (PyErr_Occurred()) SWIG_fail
;
21434 arg4
= (int)SWIG_As_int(obj3
);
21435 if (PyErr_Occurred()) SWIG_fail
;
21438 arg5
= (int)SWIG_As_int(obj4
);
21439 if (PyErr_Occurred()) SWIG_fail
;
21442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21443 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
21445 wxPyEndAllowThreads(__tstate
);
21446 if (PyErr_Occurred()) SWIG_fail
;
21448 Py_INCREF(Py_None
); resultobj
= Py_None
;
21455 static PyObject
*_wrap_PyDivisionShape_base_OnRightClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21456 PyObject
*resultobj
;
21457 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21460 int arg4
= (int) 0 ;
21461 int arg5
= (int) 0 ;
21462 PyObject
* obj0
= 0 ;
21463 PyObject
* obj1
= 0 ;
21464 PyObject
* obj2
= 0 ;
21465 PyObject
* obj3
= 0 ;
21466 PyObject
* obj4
= 0 ;
21467 char *kwnames
[] = {
21468 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDivisionShape_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21474 arg2
= (double)SWIG_As_double(obj1
);
21475 if (PyErr_Occurred()) SWIG_fail
;
21476 arg3
= (double)SWIG_As_double(obj2
);
21477 if (PyErr_Occurred()) SWIG_fail
;
21479 arg4
= (int)SWIG_As_int(obj3
);
21480 if (PyErr_Occurred()) SWIG_fail
;
21483 arg5
= (int)SWIG_As_int(obj4
);
21484 if (PyErr_Occurred()) SWIG_fail
;
21487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21488 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
21490 wxPyEndAllowThreads(__tstate
);
21491 if (PyErr_Occurred()) SWIG_fail
;
21493 Py_INCREF(Py_None
); resultobj
= Py_None
;
21500 static PyObject
*_wrap_PyDivisionShape_base_OnSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21501 PyObject
*resultobj
;
21502 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21505 PyObject
* obj0
= 0 ;
21506 PyObject
* obj1
= 0 ;
21507 PyObject
* obj2
= 0 ;
21508 char *kwnames
[] = {
21509 (char *) "self",(char *) "x",(char *) "y", NULL
21512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDivisionShape_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21515 arg2
= (double)SWIG_As_double(obj1
);
21516 if (PyErr_Occurred()) SWIG_fail
;
21517 arg3
= (double)SWIG_As_double(obj2
);
21518 if (PyErr_Occurred()) SWIG_fail
;
21520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21521 (arg1
)->base_OnSize(arg2
,arg3
);
21523 wxPyEndAllowThreads(__tstate
);
21524 if (PyErr_Occurred()) SWIG_fail
;
21526 Py_INCREF(Py_None
); resultobj
= Py_None
;
21533 static PyObject
*_wrap_PyDivisionShape_base_OnMovePre(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21534 PyObject
*resultobj
;
21535 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21541 bool arg7
= (bool) True
;
21543 PyObject
* obj0
= 0 ;
21544 PyObject
* obj1
= 0 ;
21545 PyObject
* obj2
= 0 ;
21546 PyObject
* obj3
= 0 ;
21547 PyObject
* obj4
= 0 ;
21548 PyObject
* obj5
= 0 ;
21549 PyObject
* obj6
= 0 ;
21550 char *kwnames
[] = {
21551 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
21554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyDivisionShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
21555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21557 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
21558 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21560 if (arg2
== NULL
) {
21561 PyErr_SetString(PyExc_TypeError
,"null reference");
21564 arg3
= (double)SWIG_As_double(obj2
);
21565 if (PyErr_Occurred()) SWIG_fail
;
21566 arg4
= (double)SWIG_As_double(obj3
);
21567 if (PyErr_Occurred()) SWIG_fail
;
21568 arg5
= (double)SWIG_As_double(obj4
);
21569 if (PyErr_Occurred()) SWIG_fail
;
21570 arg6
= (double)SWIG_As_double(obj5
);
21571 if (PyErr_Occurred()) SWIG_fail
;
21573 arg7
= (bool)SWIG_As_bool(obj6
);
21574 if (PyErr_Occurred()) SWIG_fail
;
21577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21578 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
21580 wxPyEndAllowThreads(__tstate
);
21581 if (PyErr_Occurred()) SWIG_fail
;
21584 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21592 static PyObject
*_wrap_PyDivisionShape_base_OnMovePost(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21593 PyObject
*resultobj
;
21594 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21600 bool arg7
= (bool) True
;
21601 PyObject
* obj0
= 0 ;
21602 PyObject
* obj1
= 0 ;
21603 PyObject
* obj2
= 0 ;
21604 PyObject
* obj3
= 0 ;
21605 PyObject
* obj4
= 0 ;
21606 PyObject
* obj5
= 0 ;
21607 PyObject
* obj6
= 0 ;
21608 char *kwnames
[] = {
21609 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
21612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyDivisionShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
21613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21615 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
21616 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21618 if (arg2
== NULL
) {
21619 PyErr_SetString(PyExc_TypeError
,"null reference");
21622 arg3
= (double)SWIG_As_double(obj2
);
21623 if (PyErr_Occurred()) SWIG_fail
;
21624 arg4
= (double)SWIG_As_double(obj3
);
21625 if (PyErr_Occurred()) SWIG_fail
;
21626 arg5
= (double)SWIG_As_double(obj4
);
21627 if (PyErr_Occurred()) SWIG_fail
;
21628 arg6
= (double)SWIG_As_double(obj5
);
21629 if (PyErr_Occurred()) SWIG_fail
;
21631 arg7
= (bool)SWIG_As_bool(obj6
);
21632 if (PyErr_Occurred()) SWIG_fail
;
21635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21636 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
21638 wxPyEndAllowThreads(__tstate
);
21639 if (PyErr_Occurred()) SWIG_fail
;
21641 Py_INCREF(Py_None
); resultobj
= Py_None
;
21648 static PyObject
*_wrap_PyDivisionShape_base_OnDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21649 PyObject
*resultobj
;
21650 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21654 int arg5
= (int) 0 ;
21655 int arg6
= (int) 0 ;
21656 PyObject
* obj0
= 0 ;
21657 PyObject
* obj1
= 0 ;
21658 PyObject
* obj2
= 0 ;
21659 PyObject
* obj3
= 0 ;
21660 PyObject
* obj4
= 0 ;
21661 PyObject
* obj5
= 0 ;
21662 char *kwnames
[] = {
21663 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyDivisionShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
21667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21669 arg2
= (bool)SWIG_As_bool(obj1
);
21670 if (PyErr_Occurred()) SWIG_fail
;
21671 arg3
= (double)SWIG_As_double(obj2
);
21672 if (PyErr_Occurred()) SWIG_fail
;
21673 arg4
= (double)SWIG_As_double(obj3
);
21674 if (PyErr_Occurred()) SWIG_fail
;
21676 arg5
= (int)SWIG_As_int(obj4
);
21677 if (PyErr_Occurred()) SWIG_fail
;
21680 arg6
= (int)SWIG_As_int(obj5
);
21681 if (PyErr_Occurred()) SWIG_fail
;
21684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21685 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
21687 wxPyEndAllowThreads(__tstate
);
21688 if (PyErr_Occurred()) SWIG_fail
;
21690 Py_INCREF(Py_None
); resultobj
= Py_None
;
21697 static PyObject
*_wrap_PyDivisionShape_base_OnBeginDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21698 PyObject
*resultobj
;
21699 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21702 int arg4
= (int) 0 ;
21703 int arg5
= (int) 0 ;
21704 PyObject
* obj0
= 0 ;
21705 PyObject
* obj1
= 0 ;
21706 PyObject
* obj2
= 0 ;
21707 PyObject
* obj3
= 0 ;
21708 PyObject
* obj4
= 0 ;
21709 char *kwnames
[] = {
21710 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDivisionShape_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21716 arg2
= (double)SWIG_As_double(obj1
);
21717 if (PyErr_Occurred()) SWIG_fail
;
21718 arg3
= (double)SWIG_As_double(obj2
);
21719 if (PyErr_Occurred()) SWIG_fail
;
21721 arg4
= (int)SWIG_As_int(obj3
);
21722 if (PyErr_Occurred()) SWIG_fail
;
21725 arg5
= (int)SWIG_As_int(obj4
);
21726 if (PyErr_Occurred()) SWIG_fail
;
21729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21730 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
21732 wxPyEndAllowThreads(__tstate
);
21733 if (PyErr_Occurred()) SWIG_fail
;
21735 Py_INCREF(Py_None
); resultobj
= Py_None
;
21742 static PyObject
*_wrap_PyDivisionShape_base_OnEndDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21743 PyObject
*resultobj
;
21744 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21747 int arg4
= (int) 0 ;
21748 int arg5
= (int) 0 ;
21749 PyObject
* obj0
= 0 ;
21750 PyObject
* obj1
= 0 ;
21751 PyObject
* obj2
= 0 ;
21752 PyObject
* obj3
= 0 ;
21753 PyObject
* obj4
= 0 ;
21754 char *kwnames
[] = {
21755 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDivisionShape_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21761 arg2
= (double)SWIG_As_double(obj1
);
21762 if (PyErr_Occurred()) SWIG_fail
;
21763 arg3
= (double)SWIG_As_double(obj2
);
21764 if (PyErr_Occurred()) SWIG_fail
;
21766 arg4
= (int)SWIG_As_int(obj3
);
21767 if (PyErr_Occurred()) SWIG_fail
;
21770 arg5
= (int)SWIG_As_int(obj4
);
21771 if (PyErr_Occurred()) SWIG_fail
;
21774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21775 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
21777 wxPyEndAllowThreads(__tstate
);
21778 if (PyErr_Occurred()) SWIG_fail
;
21780 Py_INCREF(Py_None
); resultobj
= Py_None
;
21787 static PyObject
*_wrap_PyDivisionShape_base_OnDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21788 PyObject
*resultobj
;
21789 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21793 int arg5
= (int) 0 ;
21794 int arg6
= (int) 0 ;
21795 PyObject
* obj0
= 0 ;
21796 PyObject
* obj1
= 0 ;
21797 PyObject
* obj2
= 0 ;
21798 PyObject
* obj3
= 0 ;
21799 PyObject
* obj4
= 0 ;
21800 PyObject
* obj5
= 0 ;
21801 char *kwnames
[] = {
21802 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyDivisionShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
21806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21808 arg2
= (bool)SWIG_As_bool(obj1
);
21809 if (PyErr_Occurred()) SWIG_fail
;
21810 arg3
= (double)SWIG_As_double(obj2
);
21811 if (PyErr_Occurred()) SWIG_fail
;
21812 arg4
= (double)SWIG_As_double(obj3
);
21813 if (PyErr_Occurred()) SWIG_fail
;
21815 arg5
= (int)SWIG_As_int(obj4
);
21816 if (PyErr_Occurred()) SWIG_fail
;
21819 arg6
= (int)SWIG_As_int(obj5
);
21820 if (PyErr_Occurred()) SWIG_fail
;
21823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21824 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
21826 wxPyEndAllowThreads(__tstate
);
21827 if (PyErr_Occurred()) SWIG_fail
;
21829 Py_INCREF(Py_None
); resultobj
= Py_None
;
21836 static PyObject
*_wrap_PyDivisionShape_base_OnBeginDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21837 PyObject
*resultobj
;
21838 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21841 int arg4
= (int) 0 ;
21842 int arg5
= (int) 0 ;
21843 PyObject
* obj0
= 0 ;
21844 PyObject
* obj1
= 0 ;
21845 PyObject
* obj2
= 0 ;
21846 PyObject
* obj3
= 0 ;
21847 PyObject
* obj4
= 0 ;
21848 char *kwnames
[] = {
21849 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDivisionShape_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21855 arg2
= (double)SWIG_As_double(obj1
);
21856 if (PyErr_Occurred()) SWIG_fail
;
21857 arg3
= (double)SWIG_As_double(obj2
);
21858 if (PyErr_Occurred()) SWIG_fail
;
21860 arg4
= (int)SWIG_As_int(obj3
);
21861 if (PyErr_Occurred()) SWIG_fail
;
21864 arg5
= (int)SWIG_As_int(obj4
);
21865 if (PyErr_Occurred()) SWIG_fail
;
21868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21869 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
21871 wxPyEndAllowThreads(__tstate
);
21872 if (PyErr_Occurred()) SWIG_fail
;
21874 Py_INCREF(Py_None
); resultobj
= Py_None
;
21881 static PyObject
*_wrap_PyDivisionShape_base_OnEndDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21882 PyObject
*resultobj
;
21883 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21886 int arg4
= (int) 0 ;
21887 int arg5
= (int) 0 ;
21888 PyObject
* obj0
= 0 ;
21889 PyObject
* obj1
= 0 ;
21890 PyObject
* obj2
= 0 ;
21891 PyObject
* obj3
= 0 ;
21892 PyObject
* obj4
= 0 ;
21893 char *kwnames
[] = {
21894 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDivisionShape_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21900 arg2
= (double)SWIG_As_double(obj1
);
21901 if (PyErr_Occurred()) SWIG_fail
;
21902 arg3
= (double)SWIG_As_double(obj2
);
21903 if (PyErr_Occurred()) SWIG_fail
;
21905 arg4
= (int)SWIG_As_int(obj3
);
21906 if (PyErr_Occurred()) SWIG_fail
;
21909 arg5
= (int)SWIG_As_int(obj4
);
21910 if (PyErr_Occurred()) SWIG_fail
;
21913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21914 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
21916 wxPyEndAllowThreads(__tstate
);
21917 if (PyErr_Occurred()) SWIG_fail
;
21919 Py_INCREF(Py_None
); resultobj
= Py_None
;
21926 static PyObject
*_wrap_PyDivisionShape_base_OnDrawOutline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21927 PyObject
*resultobj
;
21928 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21934 PyObject
* obj0
= 0 ;
21935 PyObject
* obj1
= 0 ;
21936 PyObject
* obj2
= 0 ;
21937 PyObject
* obj3
= 0 ;
21938 PyObject
* obj4
= 0 ;
21939 PyObject
* obj5
= 0 ;
21940 char *kwnames
[] = {
21941 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
21944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyDivisionShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
21945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21947 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
21948 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21950 if (arg2
== NULL
) {
21951 PyErr_SetString(PyExc_TypeError
,"null reference");
21954 arg3
= (double)SWIG_As_double(obj2
);
21955 if (PyErr_Occurred()) SWIG_fail
;
21956 arg4
= (double)SWIG_As_double(obj3
);
21957 if (PyErr_Occurred()) SWIG_fail
;
21958 arg5
= (double)SWIG_As_double(obj4
);
21959 if (PyErr_Occurred()) SWIG_fail
;
21960 arg6
= (double)SWIG_As_double(obj5
);
21961 if (PyErr_Occurred()) SWIG_fail
;
21963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21964 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
21966 wxPyEndAllowThreads(__tstate
);
21967 if (PyErr_Occurred()) SWIG_fail
;
21969 Py_INCREF(Py_None
); resultobj
= Py_None
;
21976 static PyObject
*_wrap_PyDivisionShape_base_OnDrawControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21977 PyObject
*resultobj
;
21978 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
21980 PyObject
* obj0
= 0 ;
21981 PyObject
* obj1
= 0 ;
21982 char *kwnames
[] = {
21983 (char *) "self",(char *) "dc", NULL
21986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
21987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
21988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21989 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
21990 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21992 if (arg2
== NULL
) {
21993 PyErr_SetString(PyExc_TypeError
,"null reference");
21997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21998 (arg1
)->base_OnDrawControlPoints(*arg2
);
22000 wxPyEndAllowThreads(__tstate
);
22001 if (PyErr_Occurred()) SWIG_fail
;
22003 Py_INCREF(Py_None
); resultobj
= Py_None
;
22010 static PyObject
*_wrap_PyDivisionShape_base_OnEraseControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22011 PyObject
*resultobj
;
22012 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
22014 PyObject
* obj0
= 0 ;
22015 PyObject
* obj1
= 0 ;
22016 char *kwnames
[] = {
22017 (char *) "self",(char *) "dc", NULL
22020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
22021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
22022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22023 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
22024 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22026 if (arg2
== NULL
) {
22027 PyErr_SetString(PyExc_TypeError
,"null reference");
22031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22032 (arg1
)->base_OnEraseControlPoints(*arg2
);
22034 wxPyEndAllowThreads(__tstate
);
22035 if (PyErr_Occurred()) SWIG_fail
;
22037 Py_INCREF(Py_None
); resultobj
= Py_None
;
22044 static PyObject
*_wrap_PyDivisionShape_base_OnMoveLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22045 PyObject
*resultobj
;
22046 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
22048 bool arg3
= (bool) True
;
22049 PyObject
* obj0
= 0 ;
22050 PyObject
* obj1
= 0 ;
22051 PyObject
* obj2
= 0 ;
22052 char *kwnames
[] = {
22053 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
22056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyDivisionShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
22058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22059 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
22060 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22062 if (arg2
== NULL
) {
22063 PyErr_SetString(PyExc_TypeError
,"null reference");
22067 arg3
= (bool)SWIG_As_bool(obj2
);
22068 if (PyErr_Occurred()) SWIG_fail
;
22071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22072 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
22074 wxPyEndAllowThreads(__tstate
);
22075 if (PyErr_Occurred()) SWIG_fail
;
22077 Py_INCREF(Py_None
); resultobj
= Py_None
;
22084 static PyObject
*_wrap_PyDivisionShape_base_OnSizingDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22085 PyObject
*resultobj
;
22086 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
22087 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
22091 int arg6
= (int) 0 ;
22092 int arg7
= (int) 0 ;
22093 PyObject
* obj0
= 0 ;
22094 PyObject
* obj1
= 0 ;
22095 PyObject
* obj2
= 0 ;
22096 PyObject
* obj3
= 0 ;
22097 PyObject
* obj4
= 0 ;
22098 PyObject
* obj5
= 0 ;
22099 PyObject
* obj6
= 0 ;
22100 char *kwnames
[] = {
22101 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyDivisionShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
22106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22107 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
22108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22109 arg3
= (bool)SWIG_As_bool(obj2
);
22110 if (PyErr_Occurred()) SWIG_fail
;
22111 arg4
= (double)SWIG_As_double(obj3
);
22112 if (PyErr_Occurred()) SWIG_fail
;
22113 arg5
= (double)SWIG_As_double(obj4
);
22114 if (PyErr_Occurred()) SWIG_fail
;
22116 arg6
= (int)SWIG_As_int(obj5
);
22117 if (PyErr_Occurred()) SWIG_fail
;
22120 arg7
= (int)SWIG_As_int(obj6
);
22121 if (PyErr_Occurred()) SWIG_fail
;
22124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22125 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
22127 wxPyEndAllowThreads(__tstate
);
22128 if (PyErr_Occurred()) SWIG_fail
;
22130 Py_INCREF(Py_None
); resultobj
= Py_None
;
22137 static PyObject
*_wrap_PyDivisionShape_base_OnSizingBeginDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22138 PyObject
*resultobj
;
22139 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
22140 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
22143 int arg5
= (int) 0 ;
22144 int arg6
= (int) 0 ;
22145 PyObject
* obj0
= 0 ;
22146 PyObject
* obj1
= 0 ;
22147 PyObject
* obj2
= 0 ;
22148 PyObject
* obj3
= 0 ;
22149 PyObject
* obj4
= 0 ;
22150 PyObject
* obj5
= 0 ;
22151 char *kwnames
[] = {
22152 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyDivisionShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
22156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
22157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22158 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
22159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22160 arg3
= (double)SWIG_As_double(obj2
);
22161 if (PyErr_Occurred()) SWIG_fail
;
22162 arg4
= (double)SWIG_As_double(obj3
);
22163 if (PyErr_Occurred()) SWIG_fail
;
22165 arg5
= (int)SWIG_As_int(obj4
);
22166 if (PyErr_Occurred()) SWIG_fail
;
22169 arg6
= (int)SWIG_As_int(obj5
);
22170 if (PyErr_Occurred()) SWIG_fail
;
22173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22174 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
22176 wxPyEndAllowThreads(__tstate
);
22177 if (PyErr_Occurred()) SWIG_fail
;
22179 Py_INCREF(Py_None
); resultobj
= Py_None
;
22186 static PyObject
*_wrap_PyDivisionShape_base_OnSizingEndDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22187 PyObject
*resultobj
;
22188 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
22189 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
22192 int arg5
= (int) 0 ;
22193 int arg6
= (int) 0 ;
22194 PyObject
* obj0
= 0 ;
22195 PyObject
* obj1
= 0 ;
22196 PyObject
* obj2
= 0 ;
22197 PyObject
* obj3
= 0 ;
22198 PyObject
* obj4
= 0 ;
22199 PyObject
* obj5
= 0 ;
22200 char *kwnames
[] = {
22201 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyDivisionShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
22205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
22206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22207 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
22208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22209 arg3
= (double)SWIG_As_double(obj2
);
22210 if (PyErr_Occurred()) SWIG_fail
;
22211 arg4
= (double)SWIG_As_double(obj3
);
22212 if (PyErr_Occurred()) SWIG_fail
;
22214 arg5
= (int)SWIG_As_int(obj4
);
22215 if (PyErr_Occurred()) SWIG_fail
;
22218 arg6
= (int)SWIG_As_int(obj5
);
22219 if (PyErr_Occurred()) SWIG_fail
;
22222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22223 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
22225 wxPyEndAllowThreads(__tstate
);
22226 if (PyErr_Occurred()) SWIG_fail
;
22228 Py_INCREF(Py_None
); resultobj
= Py_None
;
22235 static PyObject
*_wrap_PyDivisionShape_base_OnBeginSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22236 PyObject
*resultobj
;
22237 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
22240 PyObject
* obj0
= 0 ;
22241 PyObject
* obj1
= 0 ;
22242 PyObject
* obj2
= 0 ;
22243 char *kwnames
[] = {
22244 (char *) "self",(char *) "w",(char *) "h", NULL
22247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDivisionShape_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
22249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22250 arg2
= (double)SWIG_As_double(obj1
);
22251 if (PyErr_Occurred()) SWIG_fail
;
22252 arg3
= (double)SWIG_As_double(obj2
);
22253 if (PyErr_Occurred()) SWIG_fail
;
22255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22256 (arg1
)->base_OnBeginSize(arg2
,arg3
);
22258 wxPyEndAllowThreads(__tstate
);
22259 if (PyErr_Occurred()) SWIG_fail
;
22261 Py_INCREF(Py_None
); resultobj
= Py_None
;
22268 static PyObject
*_wrap_PyDivisionShape_base_OnEndSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22269 PyObject
*resultobj
;
22270 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
22273 PyObject
* obj0
= 0 ;
22274 PyObject
* obj1
= 0 ;
22275 PyObject
* obj2
= 0 ;
22276 char *kwnames
[] = {
22277 (char *) "self",(char *) "w",(char *) "h", NULL
22280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDivisionShape_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDivisionShape
,
22282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22283 arg2
= (double)SWIG_As_double(obj1
);
22284 if (PyErr_Occurred()) SWIG_fail
;
22285 arg3
= (double)SWIG_As_double(obj2
);
22286 if (PyErr_Occurred()) SWIG_fail
;
22288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22289 (arg1
)->base_OnEndSize(arg2
,arg3
);
22291 wxPyEndAllowThreads(__tstate
);
22292 if (PyErr_Occurred()) SWIG_fail
;
22294 Py_INCREF(Py_None
); resultobj
= Py_None
;
22301 static PyObject
* PyDivisionShape_swigregister(PyObject
*, PyObject
*args
) {
22303 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22304 SWIG_TypeClientData(SWIGTYPE_p_wxPyDivisionShape
, obj
);
22306 return Py_BuildValue((char *)"");
22308 static PyObject
*_wrap_new_PyEllipseShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22309 PyObject
*resultobj
;
22310 double arg1
= (double) 0.0 ;
22311 double arg2
= (double) 0.0 ;
22312 wxPyEllipseShape
*result
;
22313 PyObject
* obj0
= 0 ;
22314 PyObject
* obj1
= 0 ;
22315 char *kwnames
[] = {
22316 (char *) "width",(char *) "height", NULL
22319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyEllipseShape",kwnames
,&obj0
,&obj1
)) goto fail
;
22321 arg1
= (double)SWIG_As_double(obj0
);
22322 if (PyErr_Occurred()) SWIG_fail
;
22325 arg2
= (double)SWIG_As_double(obj1
);
22326 if (PyErr_Occurred()) SWIG_fail
;
22329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22330 result
= (wxPyEllipseShape
*)new wxPyEllipseShape(arg1
,arg2
);
22332 wxPyEndAllowThreads(__tstate
);
22333 if (PyErr_Occurred()) SWIG_fail
;
22335 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyEllipseShape
, 1);
22342 static PyObject
*_wrap_PyEllipseShape__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22343 PyObject
*resultobj
;
22344 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22345 PyObject
*arg2
= (PyObject
*) 0 ;
22346 PyObject
*arg3
= (PyObject
*) 0 ;
22347 PyObject
* obj0
= 0 ;
22348 PyObject
* obj1
= 0 ;
22349 PyObject
* obj2
= 0 ;
22350 char *kwnames
[] = {
22351 (char *) "self",(char *) "self",(char *) "_class", NULL
22354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyEllipseShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22361 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22363 wxPyEndAllowThreads(__tstate
);
22364 if (PyErr_Occurred()) SWIG_fail
;
22366 Py_INCREF(Py_None
); resultobj
= Py_None
;
22373 static PyObject
*_wrap_PyEllipseShape_base_OnDraw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22374 PyObject
*resultobj
;
22375 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22377 PyObject
* obj0
= 0 ;
22378 PyObject
* obj1
= 0 ;
22379 char *kwnames
[] = {
22380 (char *) "self",(char *) "dc", NULL
22383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEllipseShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
22384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22386 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
22387 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22389 if (arg2
== NULL
) {
22390 PyErr_SetString(PyExc_TypeError
,"null reference");
22394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22395 (arg1
)->base_OnDraw(*arg2
);
22397 wxPyEndAllowThreads(__tstate
);
22398 if (PyErr_Occurred()) SWIG_fail
;
22400 Py_INCREF(Py_None
); resultobj
= Py_None
;
22407 static PyObject
*_wrap_PyEllipseShape_base_OnDrawContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22408 PyObject
*resultobj
;
22409 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22411 PyObject
* obj0
= 0 ;
22412 PyObject
* obj1
= 0 ;
22413 char *kwnames
[] = {
22414 (char *) "self",(char *) "dc", NULL
22417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEllipseShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
22418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22420 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
22421 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22423 if (arg2
== NULL
) {
22424 PyErr_SetString(PyExc_TypeError
,"null reference");
22428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22429 (arg1
)->base_OnDrawContents(*arg2
);
22431 wxPyEndAllowThreads(__tstate
);
22432 if (PyErr_Occurred()) SWIG_fail
;
22434 Py_INCREF(Py_None
); resultobj
= Py_None
;
22441 static PyObject
*_wrap_PyEllipseShape_base_OnDrawBranches(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22442 PyObject
*resultobj
;
22443 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22445 bool arg3
= (bool) FALSE
;
22446 PyObject
* obj0
= 0 ;
22447 PyObject
* obj1
= 0 ;
22448 PyObject
* obj2
= 0 ;
22449 char *kwnames
[] = {
22450 (char *) "self",(char *) "dc",(char *) "erase", NULL
22453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyEllipseShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22456 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
22457 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22459 if (arg2
== NULL
) {
22460 PyErr_SetString(PyExc_TypeError
,"null reference");
22464 arg3
= (bool)SWIG_As_bool(obj2
);
22465 if (PyErr_Occurred()) SWIG_fail
;
22468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22469 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
22471 wxPyEndAllowThreads(__tstate
);
22472 if (PyErr_Occurred()) SWIG_fail
;
22474 Py_INCREF(Py_None
); resultobj
= Py_None
;
22481 static PyObject
*_wrap_PyEllipseShape_base_OnMoveLinks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22482 PyObject
*resultobj
;
22483 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22485 PyObject
* obj0
= 0 ;
22486 PyObject
* obj1
= 0 ;
22487 char *kwnames
[] = {
22488 (char *) "self",(char *) "dc", NULL
22491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEllipseShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
22492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22494 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
22495 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22497 if (arg2
== NULL
) {
22498 PyErr_SetString(PyExc_TypeError
,"null reference");
22502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22503 (arg1
)->base_OnMoveLinks(*arg2
);
22505 wxPyEndAllowThreads(__tstate
);
22506 if (PyErr_Occurred()) SWIG_fail
;
22508 Py_INCREF(Py_None
); resultobj
= Py_None
;
22515 static PyObject
*_wrap_PyEllipseShape_base_OnErase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22516 PyObject
*resultobj
;
22517 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22519 PyObject
* obj0
= 0 ;
22520 PyObject
* obj1
= 0 ;
22521 char *kwnames
[] = {
22522 (char *) "self",(char *) "dc", NULL
22525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEllipseShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
22526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22528 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
22529 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22531 if (arg2
== NULL
) {
22532 PyErr_SetString(PyExc_TypeError
,"null reference");
22536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22537 (arg1
)->base_OnErase(*arg2
);
22539 wxPyEndAllowThreads(__tstate
);
22540 if (PyErr_Occurred()) SWIG_fail
;
22542 Py_INCREF(Py_None
); resultobj
= Py_None
;
22549 static PyObject
*_wrap_PyEllipseShape_base_OnEraseContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22550 PyObject
*resultobj
;
22551 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22553 PyObject
* obj0
= 0 ;
22554 PyObject
* obj1
= 0 ;
22555 char *kwnames
[] = {
22556 (char *) "self",(char *) "dc", NULL
22559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEllipseShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
22560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22562 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
22563 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22565 if (arg2
== NULL
) {
22566 PyErr_SetString(PyExc_TypeError
,"null reference");
22570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22571 (arg1
)->base_OnEraseContents(*arg2
);
22573 wxPyEndAllowThreads(__tstate
);
22574 if (PyErr_Occurred()) SWIG_fail
;
22576 Py_INCREF(Py_None
); resultobj
= Py_None
;
22583 static PyObject
*_wrap_PyEllipseShape_base_OnHighlight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22584 PyObject
*resultobj
;
22585 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22587 PyObject
* obj0
= 0 ;
22588 PyObject
* obj1
= 0 ;
22589 char *kwnames
[] = {
22590 (char *) "self",(char *) "dc", NULL
22593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEllipseShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
22594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22596 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
22597 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22599 if (arg2
== NULL
) {
22600 PyErr_SetString(PyExc_TypeError
,"null reference");
22604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22605 (arg1
)->base_OnHighlight(*arg2
);
22607 wxPyEndAllowThreads(__tstate
);
22608 if (PyErr_Occurred()) SWIG_fail
;
22610 Py_INCREF(Py_None
); resultobj
= Py_None
;
22617 static PyObject
*_wrap_PyEllipseShape_base_OnLeftClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22618 PyObject
*resultobj
;
22619 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22622 int arg4
= (int) 0 ;
22623 int arg5
= (int) 0 ;
22624 PyObject
* obj0
= 0 ;
22625 PyObject
* obj1
= 0 ;
22626 PyObject
* obj2
= 0 ;
22627 PyObject
* obj3
= 0 ;
22628 PyObject
* obj4
= 0 ;
22629 char *kwnames
[] = {
22630 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyEllipseShape_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
22634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22636 arg2
= (double)SWIG_As_double(obj1
);
22637 if (PyErr_Occurred()) SWIG_fail
;
22638 arg3
= (double)SWIG_As_double(obj2
);
22639 if (PyErr_Occurred()) SWIG_fail
;
22641 arg4
= (int)SWIG_As_int(obj3
);
22642 if (PyErr_Occurred()) SWIG_fail
;
22645 arg5
= (int)SWIG_As_int(obj4
);
22646 if (PyErr_Occurred()) SWIG_fail
;
22649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22650 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
22652 wxPyEndAllowThreads(__tstate
);
22653 if (PyErr_Occurred()) SWIG_fail
;
22655 Py_INCREF(Py_None
); resultobj
= Py_None
;
22662 static PyObject
*_wrap_PyEllipseShape_base_OnLeftDoubleClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22663 PyObject
*resultobj
;
22664 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22667 int arg4
= (int) 0 ;
22668 int arg5
= (int) 0 ;
22669 PyObject
* obj0
= 0 ;
22670 PyObject
* obj1
= 0 ;
22671 PyObject
* obj2
= 0 ;
22672 PyObject
* obj3
= 0 ;
22673 PyObject
* obj4
= 0 ;
22674 char *kwnames
[] = {
22675 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyEllipseShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
22679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22681 arg2
= (double)SWIG_As_double(obj1
);
22682 if (PyErr_Occurred()) SWIG_fail
;
22683 arg3
= (double)SWIG_As_double(obj2
);
22684 if (PyErr_Occurred()) SWIG_fail
;
22686 arg4
= (int)SWIG_As_int(obj3
);
22687 if (PyErr_Occurred()) SWIG_fail
;
22690 arg5
= (int)SWIG_As_int(obj4
);
22691 if (PyErr_Occurred()) SWIG_fail
;
22694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22695 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
22697 wxPyEndAllowThreads(__tstate
);
22698 if (PyErr_Occurred()) SWIG_fail
;
22700 Py_INCREF(Py_None
); resultobj
= Py_None
;
22707 static PyObject
*_wrap_PyEllipseShape_base_OnRightClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22708 PyObject
*resultobj
;
22709 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22712 int arg4
= (int) 0 ;
22713 int arg5
= (int) 0 ;
22714 PyObject
* obj0
= 0 ;
22715 PyObject
* obj1
= 0 ;
22716 PyObject
* obj2
= 0 ;
22717 PyObject
* obj3
= 0 ;
22718 PyObject
* obj4
= 0 ;
22719 char *kwnames
[] = {
22720 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyEllipseShape_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
22724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22726 arg2
= (double)SWIG_As_double(obj1
);
22727 if (PyErr_Occurred()) SWIG_fail
;
22728 arg3
= (double)SWIG_As_double(obj2
);
22729 if (PyErr_Occurred()) SWIG_fail
;
22731 arg4
= (int)SWIG_As_int(obj3
);
22732 if (PyErr_Occurred()) SWIG_fail
;
22735 arg5
= (int)SWIG_As_int(obj4
);
22736 if (PyErr_Occurred()) SWIG_fail
;
22739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22740 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
22742 wxPyEndAllowThreads(__tstate
);
22743 if (PyErr_Occurred()) SWIG_fail
;
22745 Py_INCREF(Py_None
); resultobj
= Py_None
;
22752 static PyObject
*_wrap_PyEllipseShape_base_OnSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22753 PyObject
*resultobj
;
22754 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22757 PyObject
* obj0
= 0 ;
22758 PyObject
* obj1
= 0 ;
22759 PyObject
* obj2
= 0 ;
22760 char *kwnames
[] = {
22761 (char *) "self",(char *) "x",(char *) "y", NULL
22764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyEllipseShape_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22767 arg2
= (double)SWIG_As_double(obj1
);
22768 if (PyErr_Occurred()) SWIG_fail
;
22769 arg3
= (double)SWIG_As_double(obj2
);
22770 if (PyErr_Occurred()) SWIG_fail
;
22772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22773 (arg1
)->base_OnSize(arg2
,arg3
);
22775 wxPyEndAllowThreads(__tstate
);
22776 if (PyErr_Occurred()) SWIG_fail
;
22778 Py_INCREF(Py_None
); resultobj
= Py_None
;
22785 static PyObject
*_wrap_PyEllipseShape_base_OnMovePre(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22786 PyObject
*resultobj
;
22787 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22793 bool arg7
= (bool) True
;
22795 PyObject
* obj0
= 0 ;
22796 PyObject
* obj1
= 0 ;
22797 PyObject
* obj2
= 0 ;
22798 PyObject
* obj3
= 0 ;
22799 PyObject
* obj4
= 0 ;
22800 PyObject
* obj5
= 0 ;
22801 PyObject
* obj6
= 0 ;
22802 char *kwnames
[] = {
22803 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
22806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyEllipseShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22809 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
22810 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22812 if (arg2
== NULL
) {
22813 PyErr_SetString(PyExc_TypeError
,"null reference");
22816 arg3
= (double)SWIG_As_double(obj2
);
22817 if (PyErr_Occurred()) SWIG_fail
;
22818 arg4
= (double)SWIG_As_double(obj3
);
22819 if (PyErr_Occurred()) SWIG_fail
;
22820 arg5
= (double)SWIG_As_double(obj4
);
22821 if (PyErr_Occurred()) SWIG_fail
;
22822 arg6
= (double)SWIG_As_double(obj5
);
22823 if (PyErr_Occurred()) SWIG_fail
;
22825 arg7
= (bool)SWIG_As_bool(obj6
);
22826 if (PyErr_Occurred()) SWIG_fail
;
22829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22830 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
22832 wxPyEndAllowThreads(__tstate
);
22833 if (PyErr_Occurred()) SWIG_fail
;
22836 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22844 static PyObject
*_wrap_PyEllipseShape_base_OnMovePost(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22845 PyObject
*resultobj
;
22846 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22852 bool arg7
= (bool) True
;
22853 PyObject
* obj0
= 0 ;
22854 PyObject
* obj1
= 0 ;
22855 PyObject
* obj2
= 0 ;
22856 PyObject
* obj3
= 0 ;
22857 PyObject
* obj4
= 0 ;
22858 PyObject
* obj5
= 0 ;
22859 PyObject
* obj6
= 0 ;
22860 char *kwnames
[] = {
22861 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
22864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyEllipseShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22867 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
22868 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22870 if (arg2
== NULL
) {
22871 PyErr_SetString(PyExc_TypeError
,"null reference");
22874 arg3
= (double)SWIG_As_double(obj2
);
22875 if (PyErr_Occurred()) SWIG_fail
;
22876 arg4
= (double)SWIG_As_double(obj3
);
22877 if (PyErr_Occurred()) SWIG_fail
;
22878 arg5
= (double)SWIG_As_double(obj4
);
22879 if (PyErr_Occurred()) SWIG_fail
;
22880 arg6
= (double)SWIG_As_double(obj5
);
22881 if (PyErr_Occurred()) SWIG_fail
;
22883 arg7
= (bool)SWIG_As_bool(obj6
);
22884 if (PyErr_Occurred()) SWIG_fail
;
22887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22888 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
22890 wxPyEndAllowThreads(__tstate
);
22891 if (PyErr_Occurred()) SWIG_fail
;
22893 Py_INCREF(Py_None
); resultobj
= Py_None
;
22900 static PyObject
*_wrap_PyEllipseShape_base_OnDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22901 PyObject
*resultobj
;
22902 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22906 int arg5
= (int) 0 ;
22907 int arg6
= (int) 0 ;
22908 PyObject
* obj0
= 0 ;
22909 PyObject
* obj1
= 0 ;
22910 PyObject
* obj2
= 0 ;
22911 PyObject
* obj3
= 0 ;
22912 PyObject
* obj4
= 0 ;
22913 PyObject
* obj5
= 0 ;
22914 char *kwnames
[] = {
22915 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyEllipseShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
22919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22921 arg2
= (bool)SWIG_As_bool(obj1
);
22922 if (PyErr_Occurred()) SWIG_fail
;
22923 arg3
= (double)SWIG_As_double(obj2
);
22924 if (PyErr_Occurred()) SWIG_fail
;
22925 arg4
= (double)SWIG_As_double(obj3
);
22926 if (PyErr_Occurred()) SWIG_fail
;
22928 arg5
= (int)SWIG_As_int(obj4
);
22929 if (PyErr_Occurred()) SWIG_fail
;
22932 arg6
= (int)SWIG_As_int(obj5
);
22933 if (PyErr_Occurred()) SWIG_fail
;
22936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22937 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
22939 wxPyEndAllowThreads(__tstate
);
22940 if (PyErr_Occurred()) SWIG_fail
;
22942 Py_INCREF(Py_None
); resultobj
= Py_None
;
22949 static PyObject
*_wrap_PyEllipseShape_base_OnBeginDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22950 PyObject
*resultobj
;
22951 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22954 int arg4
= (int) 0 ;
22955 int arg5
= (int) 0 ;
22956 PyObject
* obj0
= 0 ;
22957 PyObject
* obj1
= 0 ;
22958 PyObject
* obj2
= 0 ;
22959 PyObject
* obj3
= 0 ;
22960 PyObject
* obj4
= 0 ;
22961 char *kwnames
[] = {
22962 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyEllipseShape_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
22966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
22967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22968 arg2
= (double)SWIG_As_double(obj1
);
22969 if (PyErr_Occurred()) SWIG_fail
;
22970 arg3
= (double)SWIG_As_double(obj2
);
22971 if (PyErr_Occurred()) SWIG_fail
;
22973 arg4
= (int)SWIG_As_int(obj3
);
22974 if (PyErr_Occurred()) SWIG_fail
;
22977 arg5
= (int)SWIG_As_int(obj4
);
22978 if (PyErr_Occurred()) SWIG_fail
;
22981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22982 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
22984 wxPyEndAllowThreads(__tstate
);
22985 if (PyErr_Occurred()) SWIG_fail
;
22987 Py_INCREF(Py_None
); resultobj
= Py_None
;
22994 static PyObject
*_wrap_PyEllipseShape_base_OnEndDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22995 PyObject
*resultobj
;
22996 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
22999 int arg4
= (int) 0 ;
23000 int arg5
= (int) 0 ;
23001 PyObject
* obj0
= 0 ;
23002 PyObject
* obj1
= 0 ;
23003 PyObject
* obj2
= 0 ;
23004 PyObject
* obj3
= 0 ;
23005 PyObject
* obj4
= 0 ;
23006 char *kwnames
[] = {
23007 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyEllipseShape_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
23011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
23012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23013 arg2
= (double)SWIG_As_double(obj1
);
23014 if (PyErr_Occurred()) SWIG_fail
;
23015 arg3
= (double)SWIG_As_double(obj2
);
23016 if (PyErr_Occurred()) SWIG_fail
;
23018 arg4
= (int)SWIG_As_int(obj3
);
23019 if (PyErr_Occurred()) SWIG_fail
;
23022 arg5
= (int)SWIG_As_int(obj4
);
23023 if (PyErr_Occurred()) SWIG_fail
;
23026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23027 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
23029 wxPyEndAllowThreads(__tstate
);
23030 if (PyErr_Occurred()) SWIG_fail
;
23032 Py_INCREF(Py_None
); resultobj
= Py_None
;
23039 static PyObject
*_wrap_PyEllipseShape_base_OnDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23040 PyObject
*resultobj
;
23041 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
23045 int arg5
= (int) 0 ;
23046 int arg6
= (int) 0 ;
23047 PyObject
* obj0
= 0 ;
23048 PyObject
* obj1
= 0 ;
23049 PyObject
* obj2
= 0 ;
23050 PyObject
* obj3
= 0 ;
23051 PyObject
* obj4
= 0 ;
23052 PyObject
* obj5
= 0 ;
23053 char *kwnames
[] = {
23054 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyEllipseShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
23058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
23059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23060 arg2
= (bool)SWIG_As_bool(obj1
);
23061 if (PyErr_Occurred()) SWIG_fail
;
23062 arg3
= (double)SWIG_As_double(obj2
);
23063 if (PyErr_Occurred()) SWIG_fail
;
23064 arg4
= (double)SWIG_As_double(obj3
);
23065 if (PyErr_Occurred()) SWIG_fail
;
23067 arg5
= (int)SWIG_As_int(obj4
);
23068 if (PyErr_Occurred()) SWIG_fail
;
23071 arg6
= (int)SWIG_As_int(obj5
);
23072 if (PyErr_Occurred()) SWIG_fail
;
23075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23076 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
23078 wxPyEndAllowThreads(__tstate
);
23079 if (PyErr_Occurred()) SWIG_fail
;
23081 Py_INCREF(Py_None
); resultobj
= Py_None
;
23088 static PyObject
*_wrap_PyEllipseShape_base_OnBeginDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23089 PyObject
*resultobj
;
23090 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
23093 int arg4
= (int) 0 ;
23094 int arg5
= (int) 0 ;
23095 PyObject
* obj0
= 0 ;
23096 PyObject
* obj1
= 0 ;
23097 PyObject
* obj2
= 0 ;
23098 PyObject
* obj3
= 0 ;
23099 PyObject
* obj4
= 0 ;
23100 char *kwnames
[] = {
23101 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyEllipseShape_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
23105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
23106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23107 arg2
= (double)SWIG_As_double(obj1
);
23108 if (PyErr_Occurred()) SWIG_fail
;
23109 arg3
= (double)SWIG_As_double(obj2
);
23110 if (PyErr_Occurred()) SWIG_fail
;
23112 arg4
= (int)SWIG_As_int(obj3
);
23113 if (PyErr_Occurred()) SWIG_fail
;
23116 arg5
= (int)SWIG_As_int(obj4
);
23117 if (PyErr_Occurred()) SWIG_fail
;
23120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23121 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
23123 wxPyEndAllowThreads(__tstate
);
23124 if (PyErr_Occurred()) SWIG_fail
;
23126 Py_INCREF(Py_None
); resultobj
= Py_None
;
23133 static PyObject
*_wrap_PyEllipseShape_base_OnEndDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23134 PyObject
*resultobj
;
23135 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
23138 int arg4
= (int) 0 ;
23139 int arg5
= (int) 0 ;
23140 PyObject
* obj0
= 0 ;
23141 PyObject
* obj1
= 0 ;
23142 PyObject
* obj2
= 0 ;
23143 PyObject
* obj3
= 0 ;
23144 PyObject
* obj4
= 0 ;
23145 char *kwnames
[] = {
23146 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyEllipseShape_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
23150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
23151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23152 arg2
= (double)SWIG_As_double(obj1
);
23153 if (PyErr_Occurred()) SWIG_fail
;
23154 arg3
= (double)SWIG_As_double(obj2
);
23155 if (PyErr_Occurred()) SWIG_fail
;
23157 arg4
= (int)SWIG_As_int(obj3
);
23158 if (PyErr_Occurred()) SWIG_fail
;
23161 arg5
= (int)SWIG_As_int(obj4
);
23162 if (PyErr_Occurred()) SWIG_fail
;
23165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23166 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
23168 wxPyEndAllowThreads(__tstate
);
23169 if (PyErr_Occurred()) SWIG_fail
;
23171 Py_INCREF(Py_None
); resultobj
= Py_None
;
23178 static PyObject
*_wrap_PyEllipseShape_base_OnDrawOutline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23179 PyObject
*resultobj
;
23180 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
23186 PyObject
* obj0
= 0 ;
23187 PyObject
* obj1
= 0 ;
23188 PyObject
* obj2
= 0 ;
23189 PyObject
* obj3
= 0 ;
23190 PyObject
* obj4
= 0 ;
23191 PyObject
* obj5
= 0 ;
23192 char *kwnames
[] = {
23193 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
23196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyEllipseShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
23197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
23198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23199 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
23200 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23202 if (arg2
== NULL
) {
23203 PyErr_SetString(PyExc_TypeError
,"null reference");
23206 arg3
= (double)SWIG_As_double(obj2
);
23207 if (PyErr_Occurred()) SWIG_fail
;
23208 arg4
= (double)SWIG_As_double(obj3
);
23209 if (PyErr_Occurred()) SWIG_fail
;
23210 arg5
= (double)SWIG_As_double(obj4
);
23211 if (PyErr_Occurred()) SWIG_fail
;
23212 arg6
= (double)SWIG_As_double(obj5
);
23213 if (PyErr_Occurred()) SWIG_fail
;
23215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23216 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
23218 wxPyEndAllowThreads(__tstate
);
23219 if (PyErr_Occurred()) SWIG_fail
;
23221 Py_INCREF(Py_None
); resultobj
= Py_None
;
23228 static PyObject
*_wrap_PyEllipseShape_base_OnDrawControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23229 PyObject
*resultobj
;
23230 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
23232 PyObject
* obj0
= 0 ;
23233 PyObject
* obj1
= 0 ;
23234 char *kwnames
[] = {
23235 (char *) "self",(char *) "dc", NULL
23238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEllipseShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
23239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
23240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23241 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
23242 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23244 if (arg2
== NULL
) {
23245 PyErr_SetString(PyExc_TypeError
,"null reference");
23249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23250 (arg1
)->base_OnDrawControlPoints(*arg2
);
23252 wxPyEndAllowThreads(__tstate
);
23253 if (PyErr_Occurred()) SWIG_fail
;
23255 Py_INCREF(Py_None
); resultobj
= Py_None
;
23262 static PyObject
*_wrap_PyEllipseShape_base_OnEraseControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23263 PyObject
*resultobj
;
23264 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
23266 PyObject
* obj0
= 0 ;
23267 PyObject
* obj1
= 0 ;
23268 char *kwnames
[] = {
23269 (char *) "self",(char *) "dc", NULL
23272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEllipseShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
23273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
23274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23275 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
23276 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23278 if (arg2
== NULL
) {
23279 PyErr_SetString(PyExc_TypeError
,"null reference");
23283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23284 (arg1
)->base_OnEraseControlPoints(*arg2
);
23286 wxPyEndAllowThreads(__tstate
);
23287 if (PyErr_Occurred()) SWIG_fail
;
23289 Py_INCREF(Py_None
); resultobj
= Py_None
;
23296 static PyObject
*_wrap_PyEllipseShape_base_OnMoveLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23297 PyObject
*resultobj
;
23298 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
23300 bool arg3
= (bool) True
;
23301 PyObject
* obj0
= 0 ;
23302 PyObject
* obj1
= 0 ;
23303 PyObject
* obj2
= 0 ;
23304 char *kwnames
[] = {
23305 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
23308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyEllipseShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
23310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23311 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
23312 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23314 if (arg2
== NULL
) {
23315 PyErr_SetString(PyExc_TypeError
,"null reference");
23319 arg3
= (bool)SWIG_As_bool(obj2
);
23320 if (PyErr_Occurred()) SWIG_fail
;
23323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23324 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
23326 wxPyEndAllowThreads(__tstate
);
23327 if (PyErr_Occurred()) SWIG_fail
;
23329 Py_INCREF(Py_None
); resultobj
= Py_None
;
23336 static PyObject
*_wrap_PyEllipseShape_base_OnSizingDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23337 PyObject
*resultobj
;
23338 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
23339 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
23343 int arg6
= (int) 0 ;
23344 int arg7
= (int) 0 ;
23345 PyObject
* obj0
= 0 ;
23346 PyObject
* obj1
= 0 ;
23347 PyObject
* obj2
= 0 ;
23348 PyObject
* obj3
= 0 ;
23349 PyObject
* obj4
= 0 ;
23350 PyObject
* obj5
= 0 ;
23351 PyObject
* obj6
= 0 ;
23352 char *kwnames
[] = {
23353 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyEllipseShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
23358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23359 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
23360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23361 arg3
= (bool)SWIG_As_bool(obj2
);
23362 if (PyErr_Occurred()) SWIG_fail
;
23363 arg4
= (double)SWIG_As_double(obj3
);
23364 if (PyErr_Occurred()) SWIG_fail
;
23365 arg5
= (double)SWIG_As_double(obj4
);
23366 if (PyErr_Occurred()) SWIG_fail
;
23368 arg6
= (int)SWIG_As_int(obj5
);
23369 if (PyErr_Occurred()) SWIG_fail
;
23372 arg7
= (int)SWIG_As_int(obj6
);
23373 if (PyErr_Occurred()) SWIG_fail
;
23376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23377 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
23379 wxPyEndAllowThreads(__tstate
);
23380 if (PyErr_Occurred()) SWIG_fail
;
23382 Py_INCREF(Py_None
); resultobj
= Py_None
;
23389 static PyObject
*_wrap_PyEllipseShape_base_OnSizingBeginDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23390 PyObject
*resultobj
;
23391 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
23392 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
23395 int arg5
= (int) 0 ;
23396 int arg6
= (int) 0 ;
23397 PyObject
* obj0
= 0 ;
23398 PyObject
* obj1
= 0 ;
23399 PyObject
* obj2
= 0 ;
23400 PyObject
* obj3
= 0 ;
23401 PyObject
* obj4
= 0 ;
23402 PyObject
* obj5
= 0 ;
23403 char *kwnames
[] = {
23404 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyEllipseShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
23408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
23409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23410 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
23411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23412 arg3
= (double)SWIG_As_double(obj2
);
23413 if (PyErr_Occurred()) SWIG_fail
;
23414 arg4
= (double)SWIG_As_double(obj3
);
23415 if (PyErr_Occurred()) SWIG_fail
;
23417 arg5
= (int)SWIG_As_int(obj4
);
23418 if (PyErr_Occurred()) SWIG_fail
;
23421 arg6
= (int)SWIG_As_int(obj5
);
23422 if (PyErr_Occurred()) SWIG_fail
;
23425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23426 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
23428 wxPyEndAllowThreads(__tstate
);
23429 if (PyErr_Occurred()) SWIG_fail
;
23431 Py_INCREF(Py_None
); resultobj
= Py_None
;
23438 static PyObject
*_wrap_PyEllipseShape_base_OnSizingEndDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23439 PyObject
*resultobj
;
23440 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
23441 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
23444 int arg5
= (int) 0 ;
23445 int arg6
= (int) 0 ;
23446 PyObject
* obj0
= 0 ;
23447 PyObject
* obj1
= 0 ;
23448 PyObject
* obj2
= 0 ;
23449 PyObject
* obj3
= 0 ;
23450 PyObject
* obj4
= 0 ;
23451 PyObject
* obj5
= 0 ;
23452 char *kwnames
[] = {
23453 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyEllipseShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
23457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
23458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23459 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
23460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23461 arg3
= (double)SWIG_As_double(obj2
);
23462 if (PyErr_Occurred()) SWIG_fail
;
23463 arg4
= (double)SWIG_As_double(obj3
);
23464 if (PyErr_Occurred()) SWIG_fail
;
23466 arg5
= (int)SWIG_As_int(obj4
);
23467 if (PyErr_Occurred()) SWIG_fail
;
23470 arg6
= (int)SWIG_As_int(obj5
);
23471 if (PyErr_Occurred()) SWIG_fail
;
23474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23475 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
23477 wxPyEndAllowThreads(__tstate
);
23478 if (PyErr_Occurred()) SWIG_fail
;
23480 Py_INCREF(Py_None
); resultobj
= Py_None
;
23487 static PyObject
*_wrap_PyEllipseShape_base_OnBeginSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23488 PyObject
*resultobj
;
23489 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
23492 PyObject
* obj0
= 0 ;
23493 PyObject
* obj1
= 0 ;
23494 PyObject
* obj2
= 0 ;
23495 char *kwnames
[] = {
23496 (char *) "self",(char *) "w",(char *) "h", NULL
23499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyEllipseShape_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
23501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23502 arg2
= (double)SWIG_As_double(obj1
);
23503 if (PyErr_Occurred()) SWIG_fail
;
23504 arg3
= (double)SWIG_As_double(obj2
);
23505 if (PyErr_Occurred()) SWIG_fail
;
23507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23508 (arg1
)->base_OnBeginSize(arg2
,arg3
);
23510 wxPyEndAllowThreads(__tstate
);
23511 if (PyErr_Occurred()) SWIG_fail
;
23513 Py_INCREF(Py_None
); resultobj
= Py_None
;
23520 static PyObject
*_wrap_PyEllipseShape_base_OnEndSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23521 PyObject
*resultobj
;
23522 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
23525 PyObject
* obj0
= 0 ;
23526 PyObject
* obj1
= 0 ;
23527 PyObject
* obj2
= 0 ;
23528 char *kwnames
[] = {
23529 (char *) "self",(char *) "w",(char *) "h", NULL
23532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyEllipseShape_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEllipseShape
,
23534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23535 arg2
= (double)SWIG_As_double(obj1
);
23536 if (PyErr_Occurred()) SWIG_fail
;
23537 arg3
= (double)SWIG_As_double(obj2
);
23538 if (PyErr_Occurred()) SWIG_fail
;
23540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23541 (arg1
)->base_OnEndSize(arg2
,arg3
);
23543 wxPyEndAllowThreads(__tstate
);
23544 if (PyErr_Occurred()) SWIG_fail
;
23546 Py_INCREF(Py_None
); resultobj
= Py_None
;
23553 static PyObject
* PyEllipseShape_swigregister(PyObject
*, PyObject
*args
) {
23555 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23556 SWIG_TypeClientData(SWIGTYPE_p_wxPyEllipseShape
, obj
);
23558 return Py_BuildValue((char *)"");
23560 static PyObject
*_wrap_new_PyCircleShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23561 PyObject
*resultobj
;
23562 double arg1
= (double) 0.0 ;
23563 wxPyCircleShape
*result
;
23564 PyObject
* obj0
= 0 ;
23565 char *kwnames
[] = {
23566 (char *) "width", NULL
23569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyCircleShape",kwnames
,&obj0
)) goto fail
;
23571 arg1
= (double)SWIG_As_double(obj0
);
23572 if (PyErr_Occurred()) SWIG_fail
;
23575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23576 result
= (wxPyCircleShape
*)new wxPyCircleShape(arg1
);
23578 wxPyEndAllowThreads(__tstate
);
23579 if (PyErr_Occurred()) SWIG_fail
;
23581 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyCircleShape
, 1);
23588 static PyObject
*_wrap_PyCircleShape__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23589 PyObject
*resultobj
;
23590 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
23591 PyObject
*arg2
= (PyObject
*) 0 ;
23592 PyObject
*arg3
= (PyObject
*) 0 ;
23593 PyObject
* obj0
= 0 ;
23594 PyObject
* obj1
= 0 ;
23595 PyObject
* obj2
= 0 ;
23596 char *kwnames
[] = {
23597 (char *) "self",(char *) "self",(char *) "_class", NULL
23600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyCircleShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
23602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23607 (arg1
)->_setCallbackInfo(arg2
,arg3
);
23609 wxPyEndAllowThreads(__tstate
);
23610 if (PyErr_Occurred()) SWIG_fail
;
23612 Py_INCREF(Py_None
); resultobj
= Py_None
;
23619 static PyObject
*_wrap_PyCircleShape_base_OnDraw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23620 PyObject
*resultobj
;
23621 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
23623 PyObject
* obj0
= 0 ;
23624 PyObject
* obj1
= 0 ;
23625 char *kwnames
[] = {
23626 (char *) "self",(char *) "dc", NULL
23629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCircleShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
23630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
23631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23632 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
23633 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23635 if (arg2
== NULL
) {
23636 PyErr_SetString(PyExc_TypeError
,"null reference");
23640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23641 (arg1
)->base_OnDraw(*arg2
);
23643 wxPyEndAllowThreads(__tstate
);
23644 if (PyErr_Occurred()) SWIG_fail
;
23646 Py_INCREF(Py_None
); resultobj
= Py_None
;
23653 static PyObject
*_wrap_PyCircleShape_base_OnDrawContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23654 PyObject
*resultobj
;
23655 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
23657 PyObject
* obj0
= 0 ;
23658 PyObject
* obj1
= 0 ;
23659 char *kwnames
[] = {
23660 (char *) "self",(char *) "dc", NULL
23663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCircleShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
23664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
23665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23666 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
23667 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23669 if (arg2
== NULL
) {
23670 PyErr_SetString(PyExc_TypeError
,"null reference");
23674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23675 (arg1
)->base_OnDrawContents(*arg2
);
23677 wxPyEndAllowThreads(__tstate
);
23678 if (PyErr_Occurred()) SWIG_fail
;
23680 Py_INCREF(Py_None
); resultobj
= Py_None
;
23687 static PyObject
*_wrap_PyCircleShape_base_OnDrawBranches(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23688 PyObject
*resultobj
;
23689 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
23691 bool arg3
= (bool) FALSE
;
23692 PyObject
* obj0
= 0 ;
23693 PyObject
* obj1
= 0 ;
23694 PyObject
* obj2
= 0 ;
23695 char *kwnames
[] = {
23696 (char *) "self",(char *) "dc",(char *) "erase", NULL
23699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyCircleShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
23701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23702 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
23703 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23705 if (arg2
== NULL
) {
23706 PyErr_SetString(PyExc_TypeError
,"null reference");
23710 arg3
= (bool)SWIG_As_bool(obj2
);
23711 if (PyErr_Occurred()) SWIG_fail
;
23714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23715 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
23717 wxPyEndAllowThreads(__tstate
);
23718 if (PyErr_Occurred()) SWIG_fail
;
23720 Py_INCREF(Py_None
); resultobj
= Py_None
;
23727 static PyObject
*_wrap_PyCircleShape_base_OnMoveLinks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23728 PyObject
*resultobj
;
23729 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
23731 PyObject
* obj0
= 0 ;
23732 PyObject
* obj1
= 0 ;
23733 char *kwnames
[] = {
23734 (char *) "self",(char *) "dc", NULL
23737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCircleShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
23738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
23739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23740 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
23741 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23743 if (arg2
== NULL
) {
23744 PyErr_SetString(PyExc_TypeError
,"null reference");
23748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23749 (arg1
)->base_OnMoveLinks(*arg2
);
23751 wxPyEndAllowThreads(__tstate
);
23752 if (PyErr_Occurred()) SWIG_fail
;
23754 Py_INCREF(Py_None
); resultobj
= Py_None
;
23761 static PyObject
*_wrap_PyCircleShape_base_OnErase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23762 PyObject
*resultobj
;
23763 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
23765 PyObject
* obj0
= 0 ;
23766 PyObject
* obj1
= 0 ;
23767 char *kwnames
[] = {
23768 (char *) "self",(char *) "dc", NULL
23771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCircleShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
23772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
23773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23774 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
23775 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23777 if (arg2
== NULL
) {
23778 PyErr_SetString(PyExc_TypeError
,"null reference");
23782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23783 (arg1
)->base_OnErase(*arg2
);
23785 wxPyEndAllowThreads(__tstate
);
23786 if (PyErr_Occurred()) SWIG_fail
;
23788 Py_INCREF(Py_None
); resultobj
= Py_None
;
23795 static PyObject
*_wrap_PyCircleShape_base_OnEraseContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23796 PyObject
*resultobj
;
23797 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
23799 PyObject
* obj0
= 0 ;
23800 PyObject
* obj1
= 0 ;
23801 char *kwnames
[] = {
23802 (char *) "self",(char *) "dc", NULL
23805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCircleShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
23806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
23807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23808 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
23809 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23811 if (arg2
== NULL
) {
23812 PyErr_SetString(PyExc_TypeError
,"null reference");
23816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23817 (arg1
)->base_OnEraseContents(*arg2
);
23819 wxPyEndAllowThreads(__tstate
);
23820 if (PyErr_Occurred()) SWIG_fail
;
23822 Py_INCREF(Py_None
); resultobj
= Py_None
;
23829 static PyObject
*_wrap_PyCircleShape_base_OnHighlight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23830 PyObject
*resultobj
;
23831 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
23833 PyObject
* obj0
= 0 ;
23834 PyObject
* obj1
= 0 ;
23835 char *kwnames
[] = {
23836 (char *) "self",(char *) "dc", NULL
23839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCircleShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
23840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
23841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23842 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
23843 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23845 if (arg2
== NULL
) {
23846 PyErr_SetString(PyExc_TypeError
,"null reference");
23850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23851 (arg1
)->base_OnHighlight(*arg2
);
23853 wxPyEndAllowThreads(__tstate
);
23854 if (PyErr_Occurred()) SWIG_fail
;
23856 Py_INCREF(Py_None
); resultobj
= Py_None
;
23863 static PyObject
*_wrap_PyCircleShape_base_OnLeftClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23864 PyObject
*resultobj
;
23865 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
23868 int arg4
= (int) 0 ;
23869 int arg5
= (int) 0 ;
23870 PyObject
* obj0
= 0 ;
23871 PyObject
* obj1
= 0 ;
23872 PyObject
* obj2
= 0 ;
23873 PyObject
* obj3
= 0 ;
23874 PyObject
* obj4
= 0 ;
23875 char *kwnames
[] = {
23876 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCircleShape_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
23880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
23881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23882 arg2
= (double)SWIG_As_double(obj1
);
23883 if (PyErr_Occurred()) SWIG_fail
;
23884 arg3
= (double)SWIG_As_double(obj2
);
23885 if (PyErr_Occurred()) SWIG_fail
;
23887 arg4
= (int)SWIG_As_int(obj3
);
23888 if (PyErr_Occurred()) SWIG_fail
;
23891 arg5
= (int)SWIG_As_int(obj4
);
23892 if (PyErr_Occurred()) SWIG_fail
;
23895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23896 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
23898 wxPyEndAllowThreads(__tstate
);
23899 if (PyErr_Occurred()) SWIG_fail
;
23901 Py_INCREF(Py_None
); resultobj
= Py_None
;
23908 static PyObject
*_wrap_PyCircleShape_base_OnLeftDoubleClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23909 PyObject
*resultobj
;
23910 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
23913 int arg4
= (int) 0 ;
23914 int arg5
= (int) 0 ;
23915 PyObject
* obj0
= 0 ;
23916 PyObject
* obj1
= 0 ;
23917 PyObject
* obj2
= 0 ;
23918 PyObject
* obj3
= 0 ;
23919 PyObject
* obj4
= 0 ;
23920 char *kwnames
[] = {
23921 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCircleShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
23925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
23926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23927 arg2
= (double)SWIG_As_double(obj1
);
23928 if (PyErr_Occurred()) SWIG_fail
;
23929 arg3
= (double)SWIG_As_double(obj2
);
23930 if (PyErr_Occurred()) SWIG_fail
;
23932 arg4
= (int)SWIG_As_int(obj3
);
23933 if (PyErr_Occurred()) SWIG_fail
;
23936 arg5
= (int)SWIG_As_int(obj4
);
23937 if (PyErr_Occurred()) SWIG_fail
;
23940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23941 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
23943 wxPyEndAllowThreads(__tstate
);
23944 if (PyErr_Occurred()) SWIG_fail
;
23946 Py_INCREF(Py_None
); resultobj
= Py_None
;
23953 static PyObject
*_wrap_PyCircleShape_base_OnRightClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23954 PyObject
*resultobj
;
23955 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
23958 int arg4
= (int) 0 ;
23959 int arg5
= (int) 0 ;
23960 PyObject
* obj0
= 0 ;
23961 PyObject
* obj1
= 0 ;
23962 PyObject
* obj2
= 0 ;
23963 PyObject
* obj3
= 0 ;
23964 PyObject
* obj4
= 0 ;
23965 char *kwnames
[] = {
23966 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
23969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCircleShape_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
23970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
23971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23972 arg2
= (double)SWIG_As_double(obj1
);
23973 if (PyErr_Occurred()) SWIG_fail
;
23974 arg3
= (double)SWIG_As_double(obj2
);
23975 if (PyErr_Occurred()) SWIG_fail
;
23977 arg4
= (int)SWIG_As_int(obj3
);
23978 if (PyErr_Occurred()) SWIG_fail
;
23981 arg5
= (int)SWIG_As_int(obj4
);
23982 if (PyErr_Occurred()) SWIG_fail
;
23985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23986 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
23988 wxPyEndAllowThreads(__tstate
);
23989 if (PyErr_Occurred()) SWIG_fail
;
23991 Py_INCREF(Py_None
); resultobj
= Py_None
;
23998 static PyObject
*_wrap_PyCircleShape_base_OnSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23999 PyObject
*resultobj
;
24000 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24003 PyObject
* obj0
= 0 ;
24004 PyObject
* obj1
= 0 ;
24005 PyObject
* obj2
= 0 ;
24006 char *kwnames
[] = {
24007 (char *) "self",(char *) "x",(char *) "y", NULL
24010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyCircleShape_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
24012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24013 arg2
= (double)SWIG_As_double(obj1
);
24014 if (PyErr_Occurred()) SWIG_fail
;
24015 arg3
= (double)SWIG_As_double(obj2
);
24016 if (PyErr_Occurred()) SWIG_fail
;
24018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24019 (arg1
)->base_OnSize(arg2
,arg3
);
24021 wxPyEndAllowThreads(__tstate
);
24022 if (PyErr_Occurred()) SWIG_fail
;
24024 Py_INCREF(Py_None
); resultobj
= Py_None
;
24031 static PyObject
*_wrap_PyCircleShape_base_OnMovePre(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24032 PyObject
*resultobj
;
24033 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24039 bool arg7
= (bool) True
;
24041 PyObject
* obj0
= 0 ;
24042 PyObject
* obj1
= 0 ;
24043 PyObject
* obj2
= 0 ;
24044 PyObject
* obj3
= 0 ;
24045 PyObject
* obj4
= 0 ;
24046 PyObject
* obj5
= 0 ;
24047 PyObject
* obj6
= 0 ;
24048 char *kwnames
[] = {
24049 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
24052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyCircleShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
24054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24055 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
24056 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24058 if (arg2
== NULL
) {
24059 PyErr_SetString(PyExc_TypeError
,"null reference");
24062 arg3
= (double)SWIG_As_double(obj2
);
24063 if (PyErr_Occurred()) SWIG_fail
;
24064 arg4
= (double)SWIG_As_double(obj3
);
24065 if (PyErr_Occurred()) SWIG_fail
;
24066 arg5
= (double)SWIG_As_double(obj4
);
24067 if (PyErr_Occurred()) SWIG_fail
;
24068 arg6
= (double)SWIG_As_double(obj5
);
24069 if (PyErr_Occurred()) SWIG_fail
;
24071 arg7
= (bool)SWIG_As_bool(obj6
);
24072 if (PyErr_Occurred()) SWIG_fail
;
24075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24076 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
24078 wxPyEndAllowThreads(__tstate
);
24079 if (PyErr_Occurred()) SWIG_fail
;
24082 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24090 static PyObject
*_wrap_PyCircleShape_base_OnMovePost(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24091 PyObject
*resultobj
;
24092 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24098 bool arg7
= (bool) True
;
24099 PyObject
* obj0
= 0 ;
24100 PyObject
* obj1
= 0 ;
24101 PyObject
* obj2
= 0 ;
24102 PyObject
* obj3
= 0 ;
24103 PyObject
* obj4
= 0 ;
24104 PyObject
* obj5
= 0 ;
24105 PyObject
* obj6
= 0 ;
24106 char *kwnames
[] = {
24107 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
24110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyCircleShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
24112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24113 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
24114 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24116 if (arg2
== NULL
) {
24117 PyErr_SetString(PyExc_TypeError
,"null reference");
24120 arg3
= (double)SWIG_As_double(obj2
);
24121 if (PyErr_Occurred()) SWIG_fail
;
24122 arg4
= (double)SWIG_As_double(obj3
);
24123 if (PyErr_Occurred()) SWIG_fail
;
24124 arg5
= (double)SWIG_As_double(obj4
);
24125 if (PyErr_Occurred()) SWIG_fail
;
24126 arg6
= (double)SWIG_As_double(obj5
);
24127 if (PyErr_Occurred()) SWIG_fail
;
24129 arg7
= (bool)SWIG_As_bool(obj6
);
24130 if (PyErr_Occurred()) SWIG_fail
;
24133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24134 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
24136 wxPyEndAllowThreads(__tstate
);
24137 if (PyErr_Occurred()) SWIG_fail
;
24139 Py_INCREF(Py_None
); resultobj
= Py_None
;
24146 static PyObject
*_wrap_PyCircleShape_base_OnDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24147 PyObject
*resultobj
;
24148 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24152 int arg5
= (int) 0 ;
24153 int arg6
= (int) 0 ;
24154 PyObject
* obj0
= 0 ;
24155 PyObject
* obj1
= 0 ;
24156 PyObject
* obj2
= 0 ;
24157 PyObject
* obj3
= 0 ;
24158 PyObject
* obj4
= 0 ;
24159 PyObject
* obj5
= 0 ;
24160 char *kwnames
[] = {
24161 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyCircleShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
24165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
24166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24167 arg2
= (bool)SWIG_As_bool(obj1
);
24168 if (PyErr_Occurred()) SWIG_fail
;
24169 arg3
= (double)SWIG_As_double(obj2
);
24170 if (PyErr_Occurred()) SWIG_fail
;
24171 arg4
= (double)SWIG_As_double(obj3
);
24172 if (PyErr_Occurred()) SWIG_fail
;
24174 arg5
= (int)SWIG_As_int(obj4
);
24175 if (PyErr_Occurred()) SWIG_fail
;
24178 arg6
= (int)SWIG_As_int(obj5
);
24179 if (PyErr_Occurred()) SWIG_fail
;
24182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24183 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
24185 wxPyEndAllowThreads(__tstate
);
24186 if (PyErr_Occurred()) SWIG_fail
;
24188 Py_INCREF(Py_None
); resultobj
= Py_None
;
24195 static PyObject
*_wrap_PyCircleShape_base_OnBeginDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24196 PyObject
*resultobj
;
24197 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24200 int arg4
= (int) 0 ;
24201 int arg5
= (int) 0 ;
24202 PyObject
* obj0
= 0 ;
24203 PyObject
* obj1
= 0 ;
24204 PyObject
* obj2
= 0 ;
24205 PyObject
* obj3
= 0 ;
24206 PyObject
* obj4
= 0 ;
24207 char *kwnames
[] = {
24208 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCircleShape_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
24212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
24213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24214 arg2
= (double)SWIG_As_double(obj1
);
24215 if (PyErr_Occurred()) SWIG_fail
;
24216 arg3
= (double)SWIG_As_double(obj2
);
24217 if (PyErr_Occurred()) SWIG_fail
;
24219 arg4
= (int)SWIG_As_int(obj3
);
24220 if (PyErr_Occurred()) SWIG_fail
;
24223 arg5
= (int)SWIG_As_int(obj4
);
24224 if (PyErr_Occurred()) SWIG_fail
;
24227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24228 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
24230 wxPyEndAllowThreads(__tstate
);
24231 if (PyErr_Occurred()) SWIG_fail
;
24233 Py_INCREF(Py_None
); resultobj
= Py_None
;
24240 static PyObject
*_wrap_PyCircleShape_base_OnEndDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24241 PyObject
*resultobj
;
24242 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24245 int arg4
= (int) 0 ;
24246 int arg5
= (int) 0 ;
24247 PyObject
* obj0
= 0 ;
24248 PyObject
* obj1
= 0 ;
24249 PyObject
* obj2
= 0 ;
24250 PyObject
* obj3
= 0 ;
24251 PyObject
* obj4
= 0 ;
24252 char *kwnames
[] = {
24253 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCircleShape_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
24257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
24258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24259 arg2
= (double)SWIG_As_double(obj1
);
24260 if (PyErr_Occurred()) SWIG_fail
;
24261 arg3
= (double)SWIG_As_double(obj2
);
24262 if (PyErr_Occurred()) SWIG_fail
;
24264 arg4
= (int)SWIG_As_int(obj3
);
24265 if (PyErr_Occurred()) SWIG_fail
;
24268 arg5
= (int)SWIG_As_int(obj4
);
24269 if (PyErr_Occurred()) SWIG_fail
;
24272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24273 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
24275 wxPyEndAllowThreads(__tstate
);
24276 if (PyErr_Occurred()) SWIG_fail
;
24278 Py_INCREF(Py_None
); resultobj
= Py_None
;
24285 static PyObject
*_wrap_PyCircleShape_base_OnDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24286 PyObject
*resultobj
;
24287 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24291 int arg5
= (int) 0 ;
24292 int arg6
= (int) 0 ;
24293 PyObject
* obj0
= 0 ;
24294 PyObject
* obj1
= 0 ;
24295 PyObject
* obj2
= 0 ;
24296 PyObject
* obj3
= 0 ;
24297 PyObject
* obj4
= 0 ;
24298 PyObject
* obj5
= 0 ;
24299 char *kwnames
[] = {
24300 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyCircleShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
24304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
24305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24306 arg2
= (bool)SWIG_As_bool(obj1
);
24307 if (PyErr_Occurred()) SWIG_fail
;
24308 arg3
= (double)SWIG_As_double(obj2
);
24309 if (PyErr_Occurred()) SWIG_fail
;
24310 arg4
= (double)SWIG_As_double(obj3
);
24311 if (PyErr_Occurred()) SWIG_fail
;
24313 arg5
= (int)SWIG_As_int(obj4
);
24314 if (PyErr_Occurred()) SWIG_fail
;
24317 arg6
= (int)SWIG_As_int(obj5
);
24318 if (PyErr_Occurred()) SWIG_fail
;
24321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24322 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
24324 wxPyEndAllowThreads(__tstate
);
24325 if (PyErr_Occurred()) SWIG_fail
;
24327 Py_INCREF(Py_None
); resultobj
= Py_None
;
24334 static PyObject
*_wrap_PyCircleShape_base_OnBeginDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24335 PyObject
*resultobj
;
24336 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24339 int arg4
= (int) 0 ;
24340 int arg5
= (int) 0 ;
24341 PyObject
* obj0
= 0 ;
24342 PyObject
* obj1
= 0 ;
24343 PyObject
* obj2
= 0 ;
24344 PyObject
* obj3
= 0 ;
24345 PyObject
* obj4
= 0 ;
24346 char *kwnames
[] = {
24347 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCircleShape_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
24351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
24352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24353 arg2
= (double)SWIG_As_double(obj1
);
24354 if (PyErr_Occurred()) SWIG_fail
;
24355 arg3
= (double)SWIG_As_double(obj2
);
24356 if (PyErr_Occurred()) SWIG_fail
;
24358 arg4
= (int)SWIG_As_int(obj3
);
24359 if (PyErr_Occurred()) SWIG_fail
;
24362 arg5
= (int)SWIG_As_int(obj4
);
24363 if (PyErr_Occurred()) SWIG_fail
;
24366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24367 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
24369 wxPyEndAllowThreads(__tstate
);
24370 if (PyErr_Occurred()) SWIG_fail
;
24372 Py_INCREF(Py_None
); resultobj
= Py_None
;
24379 static PyObject
*_wrap_PyCircleShape_base_OnEndDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24380 PyObject
*resultobj
;
24381 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24384 int arg4
= (int) 0 ;
24385 int arg5
= (int) 0 ;
24386 PyObject
* obj0
= 0 ;
24387 PyObject
* obj1
= 0 ;
24388 PyObject
* obj2
= 0 ;
24389 PyObject
* obj3
= 0 ;
24390 PyObject
* obj4
= 0 ;
24391 char *kwnames
[] = {
24392 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCircleShape_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
24396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
24397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24398 arg2
= (double)SWIG_As_double(obj1
);
24399 if (PyErr_Occurred()) SWIG_fail
;
24400 arg3
= (double)SWIG_As_double(obj2
);
24401 if (PyErr_Occurred()) SWIG_fail
;
24403 arg4
= (int)SWIG_As_int(obj3
);
24404 if (PyErr_Occurred()) SWIG_fail
;
24407 arg5
= (int)SWIG_As_int(obj4
);
24408 if (PyErr_Occurred()) SWIG_fail
;
24411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24412 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
24414 wxPyEndAllowThreads(__tstate
);
24415 if (PyErr_Occurred()) SWIG_fail
;
24417 Py_INCREF(Py_None
); resultobj
= Py_None
;
24424 static PyObject
*_wrap_PyCircleShape_base_OnDrawOutline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24425 PyObject
*resultobj
;
24426 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24432 PyObject
* obj0
= 0 ;
24433 PyObject
* obj1
= 0 ;
24434 PyObject
* obj2
= 0 ;
24435 PyObject
* obj3
= 0 ;
24436 PyObject
* obj4
= 0 ;
24437 PyObject
* obj5
= 0 ;
24438 char *kwnames
[] = {
24439 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
24442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyCircleShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
24443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
24444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24445 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
24446 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24448 if (arg2
== NULL
) {
24449 PyErr_SetString(PyExc_TypeError
,"null reference");
24452 arg3
= (double)SWIG_As_double(obj2
);
24453 if (PyErr_Occurred()) SWIG_fail
;
24454 arg4
= (double)SWIG_As_double(obj3
);
24455 if (PyErr_Occurred()) SWIG_fail
;
24456 arg5
= (double)SWIG_As_double(obj4
);
24457 if (PyErr_Occurred()) SWIG_fail
;
24458 arg6
= (double)SWIG_As_double(obj5
);
24459 if (PyErr_Occurred()) SWIG_fail
;
24461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24462 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
24464 wxPyEndAllowThreads(__tstate
);
24465 if (PyErr_Occurred()) SWIG_fail
;
24467 Py_INCREF(Py_None
); resultobj
= Py_None
;
24474 static PyObject
*_wrap_PyCircleShape_base_OnDrawControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24475 PyObject
*resultobj
;
24476 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24478 PyObject
* obj0
= 0 ;
24479 PyObject
* obj1
= 0 ;
24480 char *kwnames
[] = {
24481 (char *) "self",(char *) "dc", NULL
24484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCircleShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
24485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
24486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24487 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
24488 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24490 if (arg2
== NULL
) {
24491 PyErr_SetString(PyExc_TypeError
,"null reference");
24495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24496 (arg1
)->base_OnDrawControlPoints(*arg2
);
24498 wxPyEndAllowThreads(__tstate
);
24499 if (PyErr_Occurred()) SWIG_fail
;
24501 Py_INCREF(Py_None
); resultobj
= Py_None
;
24508 static PyObject
*_wrap_PyCircleShape_base_OnEraseControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24509 PyObject
*resultobj
;
24510 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24512 PyObject
* obj0
= 0 ;
24513 PyObject
* obj1
= 0 ;
24514 char *kwnames
[] = {
24515 (char *) "self",(char *) "dc", NULL
24518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCircleShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
24519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
24520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24521 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
24522 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24524 if (arg2
== NULL
) {
24525 PyErr_SetString(PyExc_TypeError
,"null reference");
24529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24530 (arg1
)->base_OnEraseControlPoints(*arg2
);
24532 wxPyEndAllowThreads(__tstate
);
24533 if (PyErr_Occurred()) SWIG_fail
;
24535 Py_INCREF(Py_None
); resultobj
= Py_None
;
24542 static PyObject
*_wrap_PyCircleShape_base_OnMoveLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24543 PyObject
*resultobj
;
24544 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24546 bool arg3
= (bool) True
;
24547 PyObject
* obj0
= 0 ;
24548 PyObject
* obj1
= 0 ;
24549 PyObject
* obj2
= 0 ;
24550 char *kwnames
[] = {
24551 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
24554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyCircleShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
24556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24557 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
24558 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24560 if (arg2
== NULL
) {
24561 PyErr_SetString(PyExc_TypeError
,"null reference");
24565 arg3
= (bool)SWIG_As_bool(obj2
);
24566 if (PyErr_Occurred()) SWIG_fail
;
24569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24570 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
24572 wxPyEndAllowThreads(__tstate
);
24573 if (PyErr_Occurred()) SWIG_fail
;
24575 Py_INCREF(Py_None
); resultobj
= Py_None
;
24582 static PyObject
*_wrap_PyCircleShape_base_OnSizingDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24583 PyObject
*resultobj
;
24584 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24585 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
24589 int arg6
= (int) 0 ;
24590 int arg7
= (int) 0 ;
24591 PyObject
* obj0
= 0 ;
24592 PyObject
* obj1
= 0 ;
24593 PyObject
* obj2
= 0 ;
24594 PyObject
* obj3
= 0 ;
24595 PyObject
* obj4
= 0 ;
24596 PyObject
* obj5
= 0 ;
24597 PyObject
* obj6
= 0 ;
24598 char *kwnames
[] = {
24599 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyCircleShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
24604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24605 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
24606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24607 arg3
= (bool)SWIG_As_bool(obj2
);
24608 if (PyErr_Occurred()) SWIG_fail
;
24609 arg4
= (double)SWIG_As_double(obj3
);
24610 if (PyErr_Occurred()) SWIG_fail
;
24611 arg5
= (double)SWIG_As_double(obj4
);
24612 if (PyErr_Occurred()) SWIG_fail
;
24614 arg6
= (int)SWIG_As_int(obj5
);
24615 if (PyErr_Occurred()) SWIG_fail
;
24618 arg7
= (int)SWIG_As_int(obj6
);
24619 if (PyErr_Occurred()) SWIG_fail
;
24622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24623 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
24625 wxPyEndAllowThreads(__tstate
);
24626 if (PyErr_Occurred()) SWIG_fail
;
24628 Py_INCREF(Py_None
); resultobj
= Py_None
;
24635 static PyObject
*_wrap_PyCircleShape_base_OnSizingBeginDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24636 PyObject
*resultobj
;
24637 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24638 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
24641 int arg5
= (int) 0 ;
24642 int arg6
= (int) 0 ;
24643 PyObject
* obj0
= 0 ;
24644 PyObject
* obj1
= 0 ;
24645 PyObject
* obj2
= 0 ;
24646 PyObject
* obj3
= 0 ;
24647 PyObject
* obj4
= 0 ;
24648 PyObject
* obj5
= 0 ;
24649 char *kwnames
[] = {
24650 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyCircleShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
24654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
24655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24656 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
24657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24658 arg3
= (double)SWIG_As_double(obj2
);
24659 if (PyErr_Occurred()) SWIG_fail
;
24660 arg4
= (double)SWIG_As_double(obj3
);
24661 if (PyErr_Occurred()) SWIG_fail
;
24663 arg5
= (int)SWIG_As_int(obj4
);
24664 if (PyErr_Occurred()) SWIG_fail
;
24667 arg6
= (int)SWIG_As_int(obj5
);
24668 if (PyErr_Occurred()) SWIG_fail
;
24671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24672 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
24674 wxPyEndAllowThreads(__tstate
);
24675 if (PyErr_Occurred()) SWIG_fail
;
24677 Py_INCREF(Py_None
); resultobj
= Py_None
;
24684 static PyObject
*_wrap_PyCircleShape_base_OnSizingEndDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24685 PyObject
*resultobj
;
24686 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24687 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
24690 int arg5
= (int) 0 ;
24691 int arg6
= (int) 0 ;
24692 PyObject
* obj0
= 0 ;
24693 PyObject
* obj1
= 0 ;
24694 PyObject
* obj2
= 0 ;
24695 PyObject
* obj3
= 0 ;
24696 PyObject
* obj4
= 0 ;
24697 PyObject
* obj5
= 0 ;
24698 char *kwnames
[] = {
24699 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyCircleShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
24703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
24704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24705 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
24706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24707 arg3
= (double)SWIG_As_double(obj2
);
24708 if (PyErr_Occurred()) SWIG_fail
;
24709 arg4
= (double)SWIG_As_double(obj3
);
24710 if (PyErr_Occurred()) SWIG_fail
;
24712 arg5
= (int)SWIG_As_int(obj4
);
24713 if (PyErr_Occurred()) SWIG_fail
;
24716 arg6
= (int)SWIG_As_int(obj5
);
24717 if (PyErr_Occurred()) SWIG_fail
;
24720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24721 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
24723 wxPyEndAllowThreads(__tstate
);
24724 if (PyErr_Occurred()) SWIG_fail
;
24726 Py_INCREF(Py_None
); resultobj
= Py_None
;
24733 static PyObject
*_wrap_PyCircleShape_base_OnBeginSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24734 PyObject
*resultobj
;
24735 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24738 PyObject
* obj0
= 0 ;
24739 PyObject
* obj1
= 0 ;
24740 PyObject
* obj2
= 0 ;
24741 char *kwnames
[] = {
24742 (char *) "self",(char *) "w",(char *) "h", NULL
24745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyCircleShape_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
24747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24748 arg2
= (double)SWIG_As_double(obj1
);
24749 if (PyErr_Occurred()) SWIG_fail
;
24750 arg3
= (double)SWIG_As_double(obj2
);
24751 if (PyErr_Occurred()) SWIG_fail
;
24753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24754 (arg1
)->base_OnBeginSize(arg2
,arg3
);
24756 wxPyEndAllowThreads(__tstate
);
24757 if (PyErr_Occurred()) SWIG_fail
;
24759 Py_INCREF(Py_None
); resultobj
= Py_None
;
24766 static PyObject
*_wrap_PyCircleShape_base_OnEndSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24767 PyObject
*resultobj
;
24768 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
24771 PyObject
* obj0
= 0 ;
24772 PyObject
* obj1
= 0 ;
24773 PyObject
* obj2
= 0 ;
24774 char *kwnames
[] = {
24775 (char *) "self",(char *) "w",(char *) "h", NULL
24778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyCircleShape_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCircleShape
,
24780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24781 arg2
= (double)SWIG_As_double(obj1
);
24782 if (PyErr_Occurred()) SWIG_fail
;
24783 arg3
= (double)SWIG_As_double(obj2
);
24784 if (PyErr_Occurred()) SWIG_fail
;
24786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24787 (arg1
)->base_OnEndSize(arg2
,arg3
);
24789 wxPyEndAllowThreads(__tstate
);
24790 if (PyErr_Occurred()) SWIG_fail
;
24792 Py_INCREF(Py_None
); resultobj
= Py_None
;
24799 static PyObject
* PyCircleShape_swigregister(PyObject
*, PyObject
*args
) {
24801 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24802 SWIG_TypeClientData(SWIGTYPE_p_wxPyCircleShape
, obj
);
24804 return Py_BuildValue((char *)"");
24806 static PyObject
*_wrap_new_ArrowHead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24807 PyObject
*resultobj
;
24808 int arg1
= (int) 0 ;
24809 int arg2
= (int) 0 ;
24810 double arg3
= (double) 0.0 ;
24811 double arg4
= (double) 0.0 ;
24812 wxString
const &arg5_defvalue
= wxPyEmptyString
;
24813 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
24814 wxPseudoMetaFile
*arg6
= (wxPseudoMetaFile
*) NULL
;
24815 long arg7
= (long) -1 ;
24816 wxArrowHead
*result
;
24817 bool temp5
= False
;
24818 PyObject
* obj0
= 0 ;
24819 PyObject
* obj1
= 0 ;
24820 PyObject
* obj2
= 0 ;
24821 PyObject
* obj3
= 0 ;
24822 PyObject
* obj4
= 0 ;
24823 PyObject
* obj5
= 0 ;
24824 PyObject
* obj6
= 0 ;
24825 char *kwnames
[] = {
24826 (char *) "type",(char *) "end",(char *) "size",(char *) "dist",(char *) "name",(char *) "mf",(char *) "arrowId", NULL
24829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOOO:new_ArrowHead",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24831 arg1
= (int)SWIG_As_int(obj0
);
24832 if (PyErr_Occurred()) SWIG_fail
;
24835 arg2
= (int)SWIG_As_int(obj1
);
24836 if (PyErr_Occurred()) SWIG_fail
;
24839 arg3
= (double)SWIG_As_double(obj2
);
24840 if (PyErr_Occurred()) SWIG_fail
;
24843 arg4
= (double)SWIG_As_double(obj3
);
24844 if (PyErr_Occurred()) SWIG_fail
;
24848 arg5
= wxString_in_helper(obj4
);
24849 if (arg5
== NULL
) SWIG_fail
;
24854 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxPseudoMetaFile
,
24855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24858 arg7
= (long)SWIG_As_long(obj6
);
24859 if (PyErr_Occurred()) SWIG_fail
;
24862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24863 result
= (wxArrowHead
*)new wxArrowHead(arg1
,arg2
,arg3
,arg4
,(wxString
const &)*arg5
,arg6
,arg7
);
24865 wxPyEndAllowThreads(__tstate
);
24866 if (PyErr_Occurred()) SWIG_fail
;
24869 resultobj
= wxPyMake_wxObject(result
, 1);
24885 static PyObject
*_wrap_delete_ArrowHead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24886 PyObject
*resultobj
;
24887 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
24888 PyObject
* obj0
= 0 ;
24889 char *kwnames
[] = {
24890 (char *) "self", NULL
24893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ArrowHead",kwnames
,&obj0
)) goto fail
;
24894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxArrowHead
,
24895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24900 wxPyEndAllowThreads(__tstate
);
24901 if (PyErr_Occurred()) SWIG_fail
;
24903 Py_INCREF(Py_None
); resultobj
= Py_None
;
24910 static PyObject
*_wrap_ArrowHead__GetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24911 PyObject
*resultobj
;
24912 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
24914 PyObject
* obj0
= 0 ;
24915 char *kwnames
[] = {
24916 (char *) "self", NULL
24919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead__GetType",kwnames
,&obj0
)) goto fail
;
24920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxArrowHead
,
24921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24924 result
= (int)(arg1
)->_GetType();
24926 wxPyEndAllowThreads(__tstate
);
24927 if (PyErr_Occurred()) SWIG_fail
;
24929 resultobj
= SWIG_From_int((int)result
);
24936 static PyObject
*_wrap_ArrowHead_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24937 PyObject
*resultobj
;
24938 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
24940 PyObject
* obj0
= 0 ;
24941 char *kwnames
[] = {
24942 (char *) "self", NULL
24945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetPosition",kwnames
,&obj0
)) goto fail
;
24946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxArrowHead
,
24947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24950 result
= (int)(arg1
)->GetPosition();
24952 wxPyEndAllowThreads(__tstate
);
24953 if (PyErr_Occurred()) SWIG_fail
;
24955 resultobj
= SWIG_From_int((int)result
);
24962 static PyObject
*_wrap_ArrowHead_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24963 PyObject
*resultobj
;
24964 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
24966 PyObject
* obj0
= 0 ;
24967 PyObject
* obj1
= 0 ;
24968 char *kwnames
[] = {
24969 (char *) "self",(char *) "pos", NULL
24972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ArrowHead_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
24973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxArrowHead
,
24974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24975 arg2
= (int)SWIG_As_int(obj1
);
24976 if (PyErr_Occurred()) SWIG_fail
;
24978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24979 (arg1
)->SetPosition(arg2
);
24981 wxPyEndAllowThreads(__tstate
);
24982 if (PyErr_Occurred()) SWIG_fail
;
24984 Py_INCREF(Py_None
); resultobj
= Py_None
;
24991 static PyObject
*_wrap_ArrowHead_GetXOffset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24992 PyObject
*resultobj
;
24993 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
24995 PyObject
* obj0
= 0 ;
24996 char *kwnames
[] = {
24997 (char *) "self", NULL
25000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetXOffset",kwnames
,&obj0
)) goto fail
;
25001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxArrowHead
,
25002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25005 result
= (double)(arg1
)->GetXOffset();
25007 wxPyEndAllowThreads(__tstate
);
25008 if (PyErr_Occurred()) SWIG_fail
;
25010 resultobj
= SWIG_From_double((double)result
);
25017 static PyObject
*_wrap_ArrowHead_GetYOffset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25018 PyObject
*resultobj
;
25019 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
25021 PyObject
* obj0
= 0 ;
25022 char *kwnames
[] = {
25023 (char *) "self", NULL
25026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetYOffset",kwnames
,&obj0
)) goto fail
;
25027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxArrowHead
,
25028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25031 result
= (double)(arg1
)->GetYOffset();
25033 wxPyEndAllowThreads(__tstate
);
25034 if (PyErr_Occurred()) SWIG_fail
;
25036 resultobj
= SWIG_From_double((double)result
);
25043 static PyObject
*_wrap_ArrowHead_GetSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25044 PyObject
*resultobj
;
25045 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
25047 PyObject
* obj0
= 0 ;
25048 char *kwnames
[] = {
25049 (char *) "self", NULL
25052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetSpacing",kwnames
,&obj0
)) goto fail
;
25053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxArrowHead
,
25054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25057 result
= (double)(arg1
)->GetSpacing();
25059 wxPyEndAllowThreads(__tstate
);
25060 if (PyErr_Occurred()) SWIG_fail
;
25062 resultobj
= SWIG_From_double((double)result
);
25069 static PyObject
*_wrap_ArrowHead_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25070 PyObject
*resultobj
;
25071 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
25073 PyObject
* obj0
= 0 ;
25074 char *kwnames
[] = {
25075 (char *) "self", NULL
25078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetSize",kwnames
,&obj0
)) goto fail
;
25079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxArrowHead
,
25080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25083 result
= (double)(arg1
)->GetSize();
25085 wxPyEndAllowThreads(__tstate
);
25086 if (PyErr_Occurred()) SWIG_fail
;
25088 resultobj
= SWIG_From_double((double)result
);
25095 static PyObject
*_wrap_ArrowHead_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25096 PyObject
*resultobj
;
25097 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
25099 PyObject
* obj0
= 0 ;
25100 char *kwnames
[] = {
25101 (char *) "self", NULL
25104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetName",kwnames
,&obj0
)) goto fail
;
25105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxArrowHead
,
25106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25109 result
= (arg1
)->GetName();
25111 wxPyEndAllowThreads(__tstate
);
25112 if (PyErr_Occurred()) SWIG_fail
;
25116 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25118 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25127 static PyObject
*_wrap_ArrowHead_SetXOffset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25128 PyObject
*resultobj
;
25129 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
25131 PyObject
* obj0
= 0 ;
25132 PyObject
* obj1
= 0 ;
25133 char *kwnames
[] = {
25134 (char *) "self",(char *) "x", NULL
25137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ArrowHead_SetXOffset",kwnames
,&obj0
,&obj1
)) goto fail
;
25138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxArrowHead
,
25139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25140 arg2
= (double)SWIG_As_double(obj1
);
25141 if (PyErr_Occurred()) SWIG_fail
;
25143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25144 (arg1
)->SetXOffset(arg2
);
25146 wxPyEndAllowThreads(__tstate
);
25147 if (PyErr_Occurred()) SWIG_fail
;
25149 Py_INCREF(Py_None
); resultobj
= Py_None
;
25156 static PyObject
*_wrap_ArrowHead_SetYOffset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25157 PyObject
*resultobj
;
25158 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
25160 PyObject
* obj0
= 0 ;
25161 PyObject
* obj1
= 0 ;
25162 char *kwnames
[] = {
25163 (char *) "self",(char *) "y", NULL
25166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ArrowHead_SetYOffset",kwnames
,&obj0
,&obj1
)) goto fail
;
25167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxArrowHead
,
25168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25169 arg2
= (double)SWIG_As_double(obj1
);
25170 if (PyErr_Occurred()) SWIG_fail
;
25172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25173 (arg1
)->SetYOffset(arg2
);
25175 wxPyEndAllowThreads(__tstate
);
25176 if (PyErr_Occurred()) SWIG_fail
;
25178 Py_INCREF(Py_None
); resultobj
= Py_None
;
25185 static PyObject
*_wrap_ArrowHead_GetMetaFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25186 PyObject
*resultobj
;
25187 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
25188 wxPseudoMetaFile
*result
;
25189 PyObject
* obj0
= 0 ;
25190 char *kwnames
[] = {
25191 (char *) "self", NULL
25194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetMetaFile",kwnames
,&obj0
)) goto fail
;
25195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxArrowHead
,
25196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25199 result
= (wxPseudoMetaFile
*)(arg1
)->GetMetaFile();
25201 wxPyEndAllowThreads(__tstate
);
25202 if (PyErr_Occurred()) SWIG_fail
;
25205 resultobj
= wxPyMake_wxObject(result
, 0);
25213 static PyObject
*_wrap_ArrowHead_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25214 PyObject
*resultobj
;
25215 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
25217 PyObject
* obj0
= 0 ;
25218 char *kwnames
[] = {
25219 (char *) "self", NULL
25222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetId",kwnames
,&obj0
)) goto fail
;
25223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxArrowHead
,
25224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25227 result
= (long)(arg1
)->GetId();
25229 wxPyEndAllowThreads(__tstate
);
25230 if (PyErr_Occurred()) SWIG_fail
;
25232 resultobj
= SWIG_From_long((long)result
);
25239 static PyObject
*_wrap_ArrowHead_GetArrowEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25240 PyObject
*resultobj
;
25241 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
25243 PyObject
* obj0
= 0 ;
25244 char *kwnames
[] = {
25245 (char *) "self", NULL
25248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetArrowEnd",kwnames
,&obj0
)) goto fail
;
25249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxArrowHead
,
25250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25253 result
= (int)(arg1
)->GetArrowEnd();
25255 wxPyEndAllowThreads(__tstate
);
25256 if (PyErr_Occurred()) SWIG_fail
;
25258 resultobj
= SWIG_From_int((int)result
);
25265 static PyObject
*_wrap_ArrowHead_GetArrowSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25266 PyObject
*resultobj
;
25267 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
25269 PyObject
* obj0
= 0 ;
25270 char *kwnames
[] = {
25271 (char *) "self", NULL
25274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetArrowSize",kwnames
,&obj0
)) goto fail
;
25275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxArrowHead
,
25276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25279 result
= (double)(arg1
)->GetArrowSize();
25281 wxPyEndAllowThreads(__tstate
);
25282 if (PyErr_Occurred()) SWIG_fail
;
25284 resultobj
= SWIG_From_double((double)result
);
25291 static PyObject
*_wrap_ArrowHead_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25292 PyObject
*resultobj
;
25293 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
25295 PyObject
* obj0
= 0 ;
25296 PyObject
* obj1
= 0 ;
25297 char *kwnames
[] = {
25298 (char *) "self",(char *) "size", NULL
25301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ArrowHead_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
25302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxArrowHead
,
25303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25304 arg2
= (double)SWIG_As_double(obj1
);
25305 if (PyErr_Occurred()) SWIG_fail
;
25307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25308 (arg1
)->SetSize(arg2
);
25310 wxPyEndAllowThreads(__tstate
);
25311 if (PyErr_Occurred()) SWIG_fail
;
25313 Py_INCREF(Py_None
); resultobj
= Py_None
;
25320 static PyObject
*_wrap_ArrowHead_SetSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25321 PyObject
*resultobj
;
25322 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
25324 PyObject
* obj0
= 0 ;
25325 PyObject
* obj1
= 0 ;
25326 char *kwnames
[] = {
25327 (char *) "self",(char *) "sp", NULL
25330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ArrowHead_SetSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
25331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxArrowHead
,
25332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25333 arg2
= (double)SWIG_As_double(obj1
);
25334 if (PyErr_Occurred()) SWIG_fail
;
25336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25337 (arg1
)->SetSpacing(arg2
);
25339 wxPyEndAllowThreads(__tstate
);
25340 if (PyErr_Occurred()) SWIG_fail
;
25342 Py_INCREF(Py_None
); resultobj
= Py_None
;
25349 static PyObject
* ArrowHead_swigregister(PyObject
*, PyObject
*args
) {
25351 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25352 SWIG_TypeClientData(SWIGTYPE_p_wxArrowHead
, obj
);
25354 return Py_BuildValue((char *)"");
25356 static PyObject
*_wrap_new_PyLineShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25357 PyObject
*resultobj
;
25358 wxPyLineShape
*result
;
25359 char *kwnames
[] = {
25363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyLineShape",kwnames
)) goto fail
;
25365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25366 result
= (wxPyLineShape
*)new wxPyLineShape();
25368 wxPyEndAllowThreads(__tstate
);
25369 if (PyErr_Occurred()) SWIG_fail
;
25371 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyLineShape
, 1);
25378 static PyObject
*_wrap_PyLineShape__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25379 PyObject
*resultobj
;
25380 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25381 PyObject
*arg2
= (PyObject
*) 0 ;
25382 PyObject
*arg3
= (PyObject
*) 0 ;
25383 PyObject
* obj0
= 0 ;
25384 PyObject
* obj1
= 0 ;
25385 PyObject
* obj2
= 0 ;
25386 char *kwnames
[] = {
25387 (char *) "self",(char *) "self",(char *) "_class", NULL
25390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLineShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25397 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25399 wxPyEndAllowThreads(__tstate
);
25400 if (PyErr_Occurred()) SWIG_fail
;
25402 Py_INCREF(Py_None
); resultobj
= Py_None
;
25409 static PyObject
*_wrap_PyLineShape_AddArrow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25410 PyObject
*resultobj
;
25411 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25413 int arg3
= (int) ARROW_POSITION_END
;
25414 double arg4
= (double) 10.0 ;
25415 double arg5
= (double) 0.0 ;
25416 wxString
const &arg6_defvalue
= wxPyEmptyString
;
25417 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
25418 wxPseudoMetaFile
*arg7
= (wxPseudoMetaFile
*) NULL
;
25419 long arg8
= (long) -1 ;
25420 bool temp6
= False
;
25421 PyObject
* obj0
= 0 ;
25422 PyObject
* obj1
= 0 ;
25423 PyObject
* obj2
= 0 ;
25424 PyObject
* obj3
= 0 ;
25425 PyObject
* obj4
= 0 ;
25426 PyObject
* obj5
= 0 ;
25427 PyObject
* obj6
= 0 ;
25428 PyObject
* obj7
= 0 ;
25429 char *kwnames
[] = {
25430 (char *) "self",(char *) "type",(char *) "end",(char *) "arrowSize",(char *) "xOffset",(char *) "name",(char *) "mf",(char *) "arrowId", NULL
25433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:PyLineShape_AddArrow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
25434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25436 arg2
= (int)SWIG_As_int(obj1
);
25437 if (PyErr_Occurred()) SWIG_fail
;
25439 arg3
= (int)SWIG_As_int(obj2
);
25440 if (PyErr_Occurred()) SWIG_fail
;
25443 arg4
= (double)SWIG_As_double(obj3
);
25444 if (PyErr_Occurred()) SWIG_fail
;
25447 arg5
= (double)SWIG_As_double(obj4
);
25448 if (PyErr_Occurred()) SWIG_fail
;
25452 arg6
= wxString_in_helper(obj5
);
25453 if (arg6
== NULL
) SWIG_fail
;
25458 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxPseudoMetaFile
,
25459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25462 arg8
= (long)SWIG_As_long(obj7
);
25463 if (PyErr_Occurred()) SWIG_fail
;
25466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25467 (arg1
)->AddArrow(arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
,arg8
);
25469 wxPyEndAllowThreads(__tstate
);
25470 if (PyErr_Occurred()) SWIG_fail
;
25472 Py_INCREF(Py_None
); resultobj
= Py_None
;
25487 static PyObject
*_wrap_PyLineShape_AddArrowOrdered(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25488 PyObject
*resultobj
;
25489 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25490 wxArrowHead
*arg2
= (wxArrowHead
*) 0 ;
25491 PyObject
*arg3
= (PyObject
*) 0 ;
25493 PyObject
* obj0
= 0 ;
25494 PyObject
* obj1
= 0 ;
25495 PyObject
* obj2
= 0 ;
25496 PyObject
* obj3
= 0 ;
25497 char *kwnames
[] = {
25498 (char *) "self",(char *) "arrow",(char *) "referenceList",(char *) "end", NULL
25501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyLineShape_AddArrowOrdered",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25504 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxArrowHead
,
25505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25507 arg4
= (int)SWIG_As_int(obj3
);
25508 if (PyErr_Occurred()) SWIG_fail
;
25510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25511 wxPyLineShape_AddArrowOrdered(arg1
,arg2
,arg3
,arg4
);
25513 wxPyEndAllowThreads(__tstate
);
25514 if (PyErr_Occurred()) SWIG_fail
;
25516 Py_INCREF(Py_None
); resultobj
= Py_None
;
25523 static PyObject
*_wrap_PyLineShape_ClearArrow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25524 PyObject
*resultobj
;
25525 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25526 wxString
*arg2
= 0 ;
25528 bool temp2
= False
;
25529 PyObject
* obj0
= 0 ;
25530 PyObject
* obj1
= 0 ;
25531 char *kwnames
[] = {
25532 (char *) "self",(char *) "name", NULL
25535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_ClearArrow",kwnames
,&obj0
,&obj1
)) goto fail
;
25536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25539 arg2
= wxString_in_helper(obj1
);
25540 if (arg2
== NULL
) SWIG_fail
;
25544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25545 result
= (bool)(arg1
)->ClearArrow((wxString
const &)*arg2
);
25547 wxPyEndAllowThreads(__tstate
);
25548 if (PyErr_Occurred()) SWIG_fail
;
25551 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25567 static PyObject
*_wrap_PyLineShape_ClearArrowsAtPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25568 PyObject
*resultobj
;
25569 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25570 int arg2
= (int) -1 ;
25571 PyObject
* obj0
= 0 ;
25572 PyObject
* obj1
= 0 ;
25573 char *kwnames
[] = {
25574 (char *) "self",(char *) "position", NULL
25577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyLineShape_ClearArrowsAtPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
25578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25581 arg2
= (int)SWIG_As_int(obj1
);
25582 if (PyErr_Occurred()) SWIG_fail
;
25585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25586 (arg1
)->ClearArrowsAtPosition(arg2
);
25588 wxPyEndAllowThreads(__tstate
);
25589 if (PyErr_Occurred()) SWIG_fail
;
25591 Py_INCREF(Py_None
); resultobj
= Py_None
;
25598 static PyObject
*_wrap_PyLineShape_DrawArrow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25599 PyObject
*resultobj
;
25600 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25602 wxArrowHead
*arg3
= (wxArrowHead
*) 0 ;
25605 PyObject
* obj0
= 0 ;
25606 PyObject
* obj1
= 0 ;
25607 PyObject
* obj2
= 0 ;
25608 PyObject
* obj3
= 0 ;
25609 PyObject
* obj4
= 0 ;
25610 char *kwnames
[] = {
25611 (char *) "self",(char *) "dc",(char *) "arrow",(char *) "xOffset",(char *) "proportionalOffset", NULL
25614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyLineShape_DrawArrow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
25615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25617 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
25618 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25620 if (arg2
== NULL
) {
25621 PyErr_SetString(PyExc_TypeError
,"null reference");
25624 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxArrowHead
,
25625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25626 arg4
= (double)SWIG_As_double(obj3
);
25627 if (PyErr_Occurred()) SWIG_fail
;
25628 arg5
= (bool)SWIG_As_bool(obj4
);
25629 if (PyErr_Occurred()) SWIG_fail
;
25631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25632 (arg1
)->DrawArrow(*arg2
,arg3
,arg4
,arg5
);
25634 wxPyEndAllowThreads(__tstate
);
25635 if (PyErr_Occurred()) SWIG_fail
;
25637 Py_INCREF(Py_None
); resultobj
= Py_None
;
25644 static PyObject
*_wrap_PyLineShape_DeleteArrowHeadId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25645 PyObject
*resultobj
;
25646 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25649 PyObject
* obj0
= 0 ;
25650 PyObject
* obj1
= 0 ;
25651 char *kwnames
[] = {
25652 (char *) "self",(char *) "arrowId", NULL
25655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_DeleteArrowHeadId",kwnames
,&obj0
,&obj1
)) goto fail
;
25656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25658 arg2
= (long)SWIG_As_long(obj1
);
25659 if (PyErr_Occurred()) SWIG_fail
;
25661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25662 result
= (bool)(arg1
)->DeleteArrowHead(arg2
);
25664 wxPyEndAllowThreads(__tstate
);
25665 if (PyErr_Occurred()) SWIG_fail
;
25668 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25676 static PyObject
*_wrap_PyLineShape_DeleteArrowHead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25677 PyObject
*resultobj
;
25678 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25680 wxString
*arg3
= 0 ;
25682 bool temp3
= False
;
25683 PyObject
* obj0
= 0 ;
25684 PyObject
* obj1
= 0 ;
25685 PyObject
* obj2
= 0 ;
25686 char *kwnames
[] = {
25687 (char *) "self",(char *) "position",(char *) "name", NULL
25690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLineShape_DeleteArrowHead",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25693 arg2
= (int)SWIG_As_int(obj1
);
25694 if (PyErr_Occurred()) SWIG_fail
;
25696 arg3
= wxString_in_helper(obj2
);
25697 if (arg3
== NULL
) SWIG_fail
;
25701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25702 result
= (bool)(arg1
)->DeleteArrowHead(arg2
,(wxString
const &)*arg3
);
25704 wxPyEndAllowThreads(__tstate
);
25705 if (PyErr_Occurred()) SWIG_fail
;
25708 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25724 static PyObject
*_wrap_PyLineShape_DeleteLineControlPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25725 PyObject
*resultobj
;
25726 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25728 PyObject
* obj0
= 0 ;
25729 char *kwnames
[] = {
25730 (char *) "self", NULL
25733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_DeleteLineControlPoint",kwnames
,&obj0
)) goto fail
;
25734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25738 result
= (bool)(arg1
)->DeleteLineControlPoint();
25740 wxPyEndAllowThreads(__tstate
);
25741 if (PyErr_Occurred()) SWIG_fail
;
25744 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25752 static PyObject
*_wrap_PyLineShape_DrawArrows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25753 PyObject
*resultobj
;
25754 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25756 PyObject
* obj0
= 0 ;
25757 PyObject
* obj1
= 0 ;
25758 char *kwnames
[] = {
25759 (char *) "self",(char *) "dc", NULL
25762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_DrawArrows",kwnames
,&obj0
,&obj1
)) goto fail
;
25763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25765 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
25766 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25768 if (arg2
== NULL
) {
25769 PyErr_SetString(PyExc_TypeError
,"null reference");
25773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25774 (arg1
)->DrawArrows(*arg2
);
25776 wxPyEndAllowThreads(__tstate
);
25777 if (PyErr_Occurred()) SWIG_fail
;
25779 Py_INCREF(Py_None
); resultobj
= Py_None
;
25786 static PyObject
*_wrap_PyLineShape_DrawRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25787 PyObject
*resultobj
;
25788 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25790 wxShapeRegion
*arg3
= (wxShapeRegion
*) 0 ;
25793 PyObject
* obj0
= 0 ;
25794 PyObject
* obj1
= 0 ;
25795 PyObject
* obj2
= 0 ;
25796 PyObject
* obj3
= 0 ;
25797 PyObject
* obj4
= 0 ;
25798 char *kwnames
[] = {
25799 (char *) "self",(char *) "dc",(char *) "region",(char *) "x",(char *) "y", NULL
25802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyLineShape_DrawRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
25803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25805 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
25806 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25808 if (arg2
== NULL
) {
25809 PyErr_SetString(PyExc_TypeError
,"null reference");
25812 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxShapeRegion
,
25813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25814 arg4
= (double)SWIG_As_double(obj3
);
25815 if (PyErr_Occurred()) SWIG_fail
;
25816 arg5
= (double)SWIG_As_double(obj4
);
25817 if (PyErr_Occurred()) SWIG_fail
;
25819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25820 (arg1
)->DrawRegion(*arg2
,arg3
,arg4
,arg5
);
25822 wxPyEndAllowThreads(__tstate
);
25823 if (PyErr_Occurred()) SWIG_fail
;
25825 Py_INCREF(Py_None
); resultobj
= Py_None
;
25832 static PyObject
*_wrap_PyLineShape_EraseRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25833 PyObject
*resultobj
;
25834 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25836 wxShapeRegion
*arg3
= (wxShapeRegion
*) 0 ;
25839 PyObject
* obj0
= 0 ;
25840 PyObject
* obj1
= 0 ;
25841 PyObject
* obj2
= 0 ;
25842 PyObject
* obj3
= 0 ;
25843 PyObject
* obj4
= 0 ;
25844 char *kwnames
[] = {
25845 (char *) "self",(char *) "dc",(char *) "region",(char *) "x",(char *) "y", NULL
25848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyLineShape_EraseRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
25849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25851 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
25852 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25854 if (arg2
== NULL
) {
25855 PyErr_SetString(PyExc_TypeError
,"null reference");
25858 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxShapeRegion
,
25859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25860 arg4
= (double)SWIG_As_double(obj3
);
25861 if (PyErr_Occurred()) SWIG_fail
;
25862 arg5
= (double)SWIG_As_double(obj4
);
25863 if (PyErr_Occurred()) SWIG_fail
;
25865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25866 (arg1
)->EraseRegion(*arg2
,arg3
,arg4
,arg5
);
25868 wxPyEndAllowThreads(__tstate
);
25869 if (PyErr_Occurred()) SWIG_fail
;
25871 Py_INCREF(Py_None
); resultobj
= Py_None
;
25878 static PyObject
*_wrap_PyLineShape_FindArrowHeadId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25879 PyObject
*resultobj
;
25880 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25882 wxArrowHead
*result
;
25883 PyObject
* obj0
= 0 ;
25884 PyObject
* obj1
= 0 ;
25885 char *kwnames
[] = {
25886 (char *) "self",(char *) "arrowId", NULL
25889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_FindArrowHeadId",kwnames
,&obj0
,&obj1
)) goto fail
;
25890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25892 arg2
= (long)SWIG_As_long(obj1
);
25893 if (PyErr_Occurred()) SWIG_fail
;
25895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25896 result
= (wxArrowHead
*)(arg1
)->FindArrowHead(arg2
);
25898 wxPyEndAllowThreads(__tstate
);
25899 if (PyErr_Occurred()) SWIG_fail
;
25902 resultobj
= wxPyMake_wxObject(result
, 0);
25910 static PyObject
*_wrap_PyLineShape_FindArrowHead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25911 PyObject
*resultobj
;
25912 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25914 wxString
*arg3
= 0 ;
25915 wxArrowHead
*result
;
25916 bool temp3
= False
;
25917 PyObject
* obj0
= 0 ;
25918 PyObject
* obj1
= 0 ;
25919 PyObject
* obj2
= 0 ;
25920 char *kwnames
[] = {
25921 (char *) "self",(char *) "position",(char *) "name", NULL
25924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLineShape_FindArrowHead",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25927 arg2
= (int)SWIG_As_int(obj1
);
25928 if (PyErr_Occurred()) SWIG_fail
;
25930 arg3
= wxString_in_helper(obj2
);
25931 if (arg3
== NULL
) SWIG_fail
;
25935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25936 result
= (wxArrowHead
*)(arg1
)->FindArrowHead(arg2
,(wxString
const &)*arg3
);
25938 wxPyEndAllowThreads(__tstate
);
25939 if (PyErr_Occurred()) SWIG_fail
;
25942 resultobj
= wxPyMake_wxObject(result
, 0);
25958 static PyObject
*_wrap_PyLineShape_FindLineEndPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25959 PyObject
*resultobj
;
25960 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
25961 double *arg2
= (double *) 0 ;
25962 double *arg3
= (double *) 0 ;
25963 double *arg4
= (double *) 0 ;
25964 double *arg5
= (double *) 0 ;
25973 PyObject
* obj0
= 0 ;
25974 char *kwnames
[] = {
25975 (char *) "self", NULL
25978 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
25979 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
25980 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
25981 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
25982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_FindLineEndPoints",kwnames
,&obj0
)) goto fail
;
25983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
25984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25987 (arg1
)->FindLineEndPoints(arg2
,arg3
,arg4
,arg5
);
25989 wxPyEndAllowThreads(__tstate
);
25990 if (PyErr_Occurred()) SWIG_fail
;
25992 Py_INCREF(Py_None
); resultobj
= Py_None
;
25993 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
25994 SWIG_From_double((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, 0)));
25995 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
25996 SWIG_From_double((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, 0)));
25997 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
25998 SWIG_From_double((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_double
, 0)));
25999 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
26000 SWIG_From_double((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_double
, 0)));
26007 static PyObject
*_wrap_PyLineShape_FindLinePosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26008 PyObject
*resultobj
;
26009 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26013 PyObject
* obj0
= 0 ;
26014 PyObject
* obj1
= 0 ;
26015 PyObject
* obj2
= 0 ;
26016 char *kwnames
[] = {
26017 (char *) "self",(char *) "x",(char *) "y", NULL
26020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLineShape_FindLinePosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26023 arg2
= (double)SWIG_As_double(obj1
);
26024 if (PyErr_Occurred()) SWIG_fail
;
26025 arg3
= (double)SWIG_As_double(obj2
);
26026 if (PyErr_Occurred()) SWIG_fail
;
26028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26029 result
= (int)(arg1
)->FindLinePosition(arg2
,arg3
);
26031 wxPyEndAllowThreads(__tstate
);
26032 if (PyErr_Occurred()) SWIG_fail
;
26034 resultobj
= SWIG_From_int((int)result
);
26041 static PyObject
*_wrap_PyLineShape_FindMinimumWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26042 PyObject
*resultobj
;
26043 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26045 PyObject
* obj0
= 0 ;
26046 char *kwnames
[] = {
26047 (char *) "self", NULL
26050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_FindMinimumWidth",kwnames
,&obj0
)) goto fail
;
26051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26055 result
= (double)(arg1
)->FindMinimumWidth();
26057 wxPyEndAllowThreads(__tstate
);
26058 if (PyErr_Occurred()) SWIG_fail
;
26060 resultobj
= SWIG_From_double((double)result
);
26067 static PyObject
*_wrap_PyLineShape_FindNth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26068 PyObject
*resultobj
;
26069 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26070 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
26071 int *arg3
= (int *) 0 ;
26072 int *arg4
= (int *) 0 ;
26078 PyObject
* obj0
= 0 ;
26079 PyObject
* obj1
= 0 ;
26080 PyObject
* obj2
= 0 ;
26081 char *kwnames
[] = {
26082 (char *) "self",(char *) "image",(char *) "incoming", NULL
26085 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
26086 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
26087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLineShape_FindNth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26090 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
26091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26092 arg5
= (bool)SWIG_As_bool(obj2
);
26093 if (PyErr_Occurred()) SWIG_fail
;
26095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26096 (arg1
)->FindNth(arg2
,arg3
,arg4
,arg5
);
26098 wxPyEndAllowThreads(__tstate
);
26099 if (PyErr_Occurred()) SWIG_fail
;
26101 Py_INCREF(Py_None
); resultobj
= Py_None
;
26102 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
26103 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
26104 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
26105 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
26112 static PyObject
*_wrap_PyLineShape_GetAttachmentFrom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26113 PyObject
*resultobj
;
26114 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26116 PyObject
* obj0
= 0 ;
26117 char *kwnames
[] = {
26118 (char *) "self", NULL
26121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_GetAttachmentFrom",kwnames
,&obj0
)) goto fail
;
26122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26126 result
= (int)(arg1
)->GetAttachmentFrom();
26128 wxPyEndAllowThreads(__tstate
);
26129 if (PyErr_Occurred()) SWIG_fail
;
26131 resultobj
= SWIG_From_int((int)result
);
26138 static PyObject
*_wrap_PyLineShape_GetAttachmentTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26139 PyObject
*resultobj
;
26140 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26142 PyObject
* obj0
= 0 ;
26143 char *kwnames
[] = {
26144 (char *) "self", NULL
26147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_GetAttachmentTo",kwnames
,&obj0
)) goto fail
;
26148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26152 result
= (int)(arg1
)->GetAttachmentTo();
26154 wxPyEndAllowThreads(__tstate
);
26155 if (PyErr_Occurred()) SWIG_fail
;
26157 resultobj
= SWIG_From_int((int)result
);
26164 static PyObject
*_wrap_PyLineShape_GetEnds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26165 PyObject
*resultobj
;
26166 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26167 double *arg2
= (double *) 0 ;
26168 double *arg3
= (double *) 0 ;
26169 double *arg4
= (double *) 0 ;
26170 double *arg5
= (double *) 0 ;
26179 PyObject
* obj0
= 0 ;
26180 char *kwnames
[] = {
26181 (char *) "self", NULL
26184 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
26185 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
26186 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
26187 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
26188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_GetEnds",kwnames
,&obj0
)) goto fail
;
26189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26193 (arg1
)->GetEnds(arg2
,arg3
,arg4
,arg5
);
26195 wxPyEndAllowThreads(__tstate
);
26196 if (PyErr_Occurred()) SWIG_fail
;
26198 Py_INCREF(Py_None
); resultobj
= Py_None
;
26199 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
26200 SWIG_From_double((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, 0)));
26201 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
26202 SWIG_From_double((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, 0)));
26203 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
26204 SWIG_From_double((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_double
, 0)));
26205 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
26206 SWIG_From_double((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_double
, 0)));
26213 static PyObject
*_wrap_PyLineShape_GetFrom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26214 PyObject
*resultobj
;
26215 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26217 PyObject
* obj0
= 0 ;
26218 char *kwnames
[] = {
26219 (char *) "self", NULL
26222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_GetFrom",kwnames
,&obj0
)) goto fail
;
26223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26227 result
= (wxPyShape
*)(arg1
)->GetFrom();
26229 wxPyEndAllowThreads(__tstate
);
26230 if (PyErr_Occurred()) SWIG_fail
;
26233 resultobj
= wxPyMake_wxShapeEvtHandler(result
, 0);
26241 static PyObject
*_wrap_PyLineShape_GetLabelPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26242 PyObject
*resultobj
;
26243 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26245 double *arg3
= (double *) 0 ;
26246 double *arg4
= (double *) 0 ;
26251 PyObject
* obj0
= 0 ;
26252 PyObject
* obj1
= 0 ;
26253 char *kwnames
[] = {
26254 (char *) "self",(char *) "position", NULL
26257 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
26258 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
26259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_GetLabelPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
26260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26262 arg2
= (int)SWIG_As_int(obj1
);
26263 if (PyErr_Occurred()) SWIG_fail
;
26265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26266 (arg1
)->GetLabelPosition(arg2
,arg3
,arg4
);
26268 wxPyEndAllowThreads(__tstate
);
26269 if (PyErr_Occurred()) SWIG_fail
;
26271 Py_INCREF(Py_None
); resultobj
= Py_None
;
26272 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
26273 SWIG_From_double((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, 0)));
26274 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
26275 SWIG_From_double((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_double
, 0)));
26282 static PyObject
*_wrap_PyLineShape_GetNextControlPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26283 PyObject
*resultobj
;
26284 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26285 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
26286 wxRealPoint
*result
;
26287 PyObject
* obj0
= 0 ;
26288 PyObject
* obj1
= 0 ;
26289 char *kwnames
[] = {
26290 (char *) "self",(char *) "shape", NULL
26293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_GetNextControlPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
26294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26296 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
26297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26300 result
= (wxRealPoint
*)(arg1
)->GetNextControlPoint(arg2
);
26302 wxPyEndAllowThreads(__tstate
);
26303 if (PyErr_Occurred()) SWIG_fail
;
26305 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRealPoint
, 0);
26312 static PyObject
*_wrap_PyLineShape_GetTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26313 PyObject
*resultobj
;
26314 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26316 PyObject
* obj0
= 0 ;
26317 char *kwnames
[] = {
26318 (char *) "self", NULL
26321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_GetTo",kwnames
,&obj0
)) goto fail
;
26322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26326 result
= (wxPyShape
*)(arg1
)->GetTo();
26328 wxPyEndAllowThreads(__tstate
);
26329 if (PyErr_Occurred()) SWIG_fail
;
26332 resultobj
= wxPyMake_wxShapeEvtHandler(result
, 0);
26340 static PyObject
*_wrap_PyLineShape_Initialise(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26341 PyObject
*resultobj
;
26342 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26343 PyObject
* obj0
= 0 ;
26344 char *kwnames
[] = {
26345 (char *) "self", NULL
26348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_Initialise",kwnames
,&obj0
)) goto fail
;
26349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26353 (arg1
)->Initialise();
26355 wxPyEndAllowThreads(__tstate
);
26356 if (PyErr_Occurred()) SWIG_fail
;
26358 Py_INCREF(Py_None
); resultobj
= Py_None
;
26365 static PyObject
*_wrap_PyLineShape_InsertLineControlPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26366 PyObject
*resultobj
;
26367 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26368 wxDC
*arg2
= (wxDC
*) 0 ;
26369 PyObject
* obj0
= 0 ;
26370 PyObject
* obj1
= 0 ;
26371 char *kwnames
[] = {
26372 (char *) "self",(char *) "dc", NULL
26375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_InsertLineControlPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
26376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26378 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
26379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26382 (arg1
)->InsertLineControlPoint(arg2
);
26384 wxPyEndAllowThreads(__tstate
);
26385 if (PyErr_Occurred()) SWIG_fail
;
26387 Py_INCREF(Py_None
); resultobj
= Py_None
;
26394 static PyObject
*_wrap_PyLineShape_IsEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26395 PyObject
*resultobj
;
26396 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26397 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
26399 PyObject
* obj0
= 0 ;
26400 PyObject
* obj1
= 0 ;
26401 char *kwnames
[] = {
26402 (char *) "self",(char *) "shape", NULL
26405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_IsEnd",kwnames
,&obj0
,&obj1
)) goto fail
;
26406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26408 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
26409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26412 result
= (bool)(arg1
)->IsEnd(arg2
);
26414 wxPyEndAllowThreads(__tstate
);
26415 if (PyErr_Occurred()) SWIG_fail
;
26418 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26426 static PyObject
*_wrap_PyLineShape_IsSpline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26427 PyObject
*resultobj
;
26428 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26430 PyObject
* obj0
= 0 ;
26431 char *kwnames
[] = {
26432 (char *) "self", NULL
26435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_IsSpline",kwnames
,&obj0
)) goto fail
;
26436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26440 result
= (bool)(arg1
)->IsSpline();
26442 wxPyEndAllowThreads(__tstate
);
26443 if (PyErr_Occurred()) SWIG_fail
;
26446 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26454 static PyObject
*_wrap_PyLineShape_MakeLineControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26455 PyObject
*resultobj
;
26456 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26458 PyObject
* obj0
= 0 ;
26459 PyObject
* obj1
= 0 ;
26460 char *kwnames
[] = {
26461 (char *) "self",(char *) "n", NULL
26464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_MakeLineControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
26465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26467 arg2
= (int)SWIG_As_int(obj1
);
26468 if (PyErr_Occurred()) SWIG_fail
;
26470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26471 (arg1
)->MakeLineControlPoints(arg2
);
26473 wxPyEndAllowThreads(__tstate
);
26474 if (PyErr_Occurred()) SWIG_fail
;
26476 Py_INCREF(Py_None
); resultobj
= Py_None
;
26483 static PyObject
*_wrap_PyLineShape_GetLineControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26484 PyObject
*resultobj
;
26485 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26487 PyObject
* obj0
= 0 ;
26488 char *kwnames
[] = {
26489 (char *) "self", NULL
26492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_GetLineControlPoints",kwnames
,&obj0
)) goto fail
;
26493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26497 result
= (PyObject
*)wxPyLineShape_GetLineControlPoints(arg1
);
26499 wxPyEndAllowThreads(__tstate
);
26500 if (PyErr_Occurred()) SWIG_fail
;
26502 resultobj
= result
;
26509 static PyObject
*_wrap_PyLineShape_SetLineControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26510 PyObject
*resultobj
;
26511 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26512 PyObject
*arg2
= (PyObject
*) 0 ;
26513 PyObject
* obj0
= 0 ;
26514 PyObject
* obj1
= 0 ;
26515 char *kwnames
[] = {
26516 (char *) "self",(char *) "list", NULL
26519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_SetLineControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
26520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26525 wxPyLineShape_SetLineControlPoints(arg1
,arg2
);
26527 wxPyEndAllowThreads(__tstate
);
26528 if (PyErr_Occurred()) SWIG_fail
;
26530 Py_INCREF(Py_None
); resultobj
= Py_None
;
26537 static PyObject
*_wrap_PyLineShape_SetAttachmentFrom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26538 PyObject
*resultobj
;
26539 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26541 PyObject
* obj0
= 0 ;
26542 PyObject
* obj1
= 0 ;
26543 char *kwnames
[] = {
26544 (char *) "self",(char *) "fromAttach", NULL
26547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_SetAttachmentFrom",kwnames
,&obj0
,&obj1
)) goto fail
;
26548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26550 arg2
= (int)SWIG_As_int(obj1
);
26551 if (PyErr_Occurred()) SWIG_fail
;
26553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26554 (arg1
)->SetAttachmentFrom(arg2
);
26556 wxPyEndAllowThreads(__tstate
);
26557 if (PyErr_Occurred()) SWIG_fail
;
26559 Py_INCREF(Py_None
); resultobj
= Py_None
;
26566 static PyObject
*_wrap_PyLineShape_SetAttachments(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26567 PyObject
*resultobj
;
26568 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26571 PyObject
* obj0
= 0 ;
26572 PyObject
* obj1
= 0 ;
26573 PyObject
* obj2
= 0 ;
26574 char *kwnames
[] = {
26575 (char *) "self",(char *) "fromAttach",(char *) "toAttach", NULL
26578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLineShape_SetAttachments",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26581 arg2
= (int)SWIG_As_int(obj1
);
26582 if (PyErr_Occurred()) SWIG_fail
;
26583 arg3
= (int)SWIG_As_int(obj2
);
26584 if (PyErr_Occurred()) SWIG_fail
;
26586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26587 (arg1
)->SetAttachments(arg2
,arg3
);
26589 wxPyEndAllowThreads(__tstate
);
26590 if (PyErr_Occurred()) SWIG_fail
;
26592 Py_INCREF(Py_None
); resultobj
= Py_None
;
26599 static PyObject
*_wrap_PyLineShape_SetAttachmentTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26600 PyObject
*resultobj
;
26601 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26603 PyObject
* obj0
= 0 ;
26604 PyObject
* obj1
= 0 ;
26605 char *kwnames
[] = {
26606 (char *) "self",(char *) "toAttach", NULL
26609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_SetAttachmentTo",kwnames
,&obj0
,&obj1
)) goto fail
;
26610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26612 arg2
= (int)SWIG_As_int(obj1
);
26613 if (PyErr_Occurred()) SWIG_fail
;
26615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26616 (arg1
)->SetAttachmentTo(arg2
);
26618 wxPyEndAllowThreads(__tstate
);
26619 if (PyErr_Occurred()) SWIG_fail
;
26621 Py_INCREF(Py_None
); resultobj
= Py_None
;
26628 static PyObject
*_wrap_PyLineShape_SetEnds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26629 PyObject
*resultobj
;
26630 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26635 PyObject
* obj0
= 0 ;
26636 PyObject
* obj1
= 0 ;
26637 PyObject
* obj2
= 0 ;
26638 PyObject
* obj3
= 0 ;
26639 PyObject
* obj4
= 0 ;
26640 char *kwnames
[] = {
26641 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
26644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyLineShape_SetEnds",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26647 arg2
= (double)SWIG_As_double(obj1
);
26648 if (PyErr_Occurred()) SWIG_fail
;
26649 arg3
= (double)SWIG_As_double(obj2
);
26650 if (PyErr_Occurred()) SWIG_fail
;
26651 arg4
= (double)SWIG_As_double(obj3
);
26652 if (PyErr_Occurred()) SWIG_fail
;
26653 arg5
= (double)SWIG_As_double(obj4
);
26654 if (PyErr_Occurred()) SWIG_fail
;
26656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26657 (arg1
)->SetEnds(arg2
,arg3
,arg4
,arg5
);
26659 wxPyEndAllowThreads(__tstate
);
26660 if (PyErr_Occurred()) SWIG_fail
;
26662 Py_INCREF(Py_None
); resultobj
= Py_None
;
26669 static PyObject
*_wrap_PyLineShape_SetFrom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26670 PyObject
*resultobj
;
26671 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26672 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
26673 PyObject
* obj0
= 0 ;
26674 PyObject
* obj1
= 0 ;
26675 char *kwnames
[] = {
26676 (char *) "self",(char *) "object", NULL
26679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_SetFrom",kwnames
,&obj0
,&obj1
)) goto fail
;
26680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26682 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
26683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26686 (arg1
)->SetFrom(arg2
);
26688 wxPyEndAllowThreads(__tstate
);
26689 if (PyErr_Occurred()) SWIG_fail
;
26691 Py_INCREF(Py_None
); resultobj
= Py_None
;
26698 static PyObject
*_wrap_PyLineShape_SetIgnoreOffsets(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26699 PyObject
*resultobj
;
26700 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26702 PyObject
* obj0
= 0 ;
26703 PyObject
* obj1
= 0 ;
26704 char *kwnames
[] = {
26705 (char *) "self",(char *) "ignore", NULL
26708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_SetIgnoreOffsets",kwnames
,&obj0
,&obj1
)) goto fail
;
26709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26711 arg2
= (bool)SWIG_As_bool(obj1
);
26712 if (PyErr_Occurred()) SWIG_fail
;
26714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26715 (arg1
)->SetIgnoreOffsets(arg2
);
26717 wxPyEndAllowThreads(__tstate
);
26718 if (PyErr_Occurred()) SWIG_fail
;
26720 Py_INCREF(Py_None
); resultobj
= Py_None
;
26727 static PyObject
*_wrap_PyLineShape_SetSpline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26728 PyObject
*resultobj
;
26729 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26731 PyObject
* obj0
= 0 ;
26732 PyObject
* obj1
= 0 ;
26733 char *kwnames
[] = {
26734 (char *) "self",(char *) "spline", NULL
26737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_SetSpline",kwnames
,&obj0
,&obj1
)) goto fail
;
26738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26740 arg2
= (bool)SWIG_As_bool(obj1
);
26741 if (PyErr_Occurred()) SWIG_fail
;
26743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26744 (arg1
)->SetSpline(arg2
);
26746 wxPyEndAllowThreads(__tstate
);
26747 if (PyErr_Occurred()) SWIG_fail
;
26749 Py_INCREF(Py_None
); resultobj
= Py_None
;
26756 static PyObject
*_wrap_PyLineShape_SetTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26757 PyObject
*resultobj
;
26758 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26759 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
26760 PyObject
* obj0
= 0 ;
26761 PyObject
* obj1
= 0 ;
26762 char *kwnames
[] = {
26763 (char *) "self",(char *) "object", NULL
26766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_SetTo",kwnames
,&obj0
,&obj1
)) goto fail
;
26767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26769 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
26770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26773 (arg1
)->SetTo(arg2
);
26775 wxPyEndAllowThreads(__tstate
);
26776 if (PyErr_Occurred()) SWIG_fail
;
26778 Py_INCREF(Py_None
); resultobj
= Py_None
;
26785 static PyObject
*_wrap_PyLineShape_Straighten(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26786 PyObject
*resultobj
;
26787 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26788 wxDC
*arg2
= (wxDC
*) NULL
;
26789 PyObject
* obj0
= 0 ;
26790 PyObject
* obj1
= 0 ;
26791 char *kwnames
[] = {
26792 (char *) "self",(char *) "dc", NULL
26795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyLineShape_Straighten",kwnames
,&obj0
,&obj1
)) goto fail
;
26796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26799 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
26800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26804 (arg1
)->Straighten(arg2
);
26806 wxPyEndAllowThreads(__tstate
);
26807 if (PyErr_Occurred()) SWIG_fail
;
26809 Py_INCREF(Py_None
); resultobj
= Py_None
;
26816 static PyObject
*_wrap_PyLineShape_Unlink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26817 PyObject
*resultobj
;
26818 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26819 PyObject
* obj0
= 0 ;
26820 char *kwnames
[] = {
26821 (char *) "self", NULL
26824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_Unlink",kwnames
,&obj0
)) goto fail
;
26825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26831 wxPyEndAllowThreads(__tstate
);
26832 if (PyErr_Occurred()) SWIG_fail
;
26834 Py_INCREF(Py_None
); resultobj
= Py_None
;
26841 static PyObject
*_wrap_PyLineShape_SetAlignmentOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26842 PyObject
*resultobj
;
26843 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26846 PyObject
* obj0
= 0 ;
26847 PyObject
* obj1
= 0 ;
26848 PyObject
* obj2
= 0 ;
26849 char *kwnames
[] = {
26850 (char *) "self",(char *) "isEnd",(char *) "isHoriz", NULL
26853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLineShape_SetAlignmentOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26856 arg2
= (bool)SWIG_As_bool(obj1
);
26857 if (PyErr_Occurred()) SWIG_fail
;
26858 arg3
= (bool)SWIG_As_bool(obj2
);
26859 if (PyErr_Occurred()) SWIG_fail
;
26861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26862 (arg1
)->SetAlignmentOrientation(arg2
,arg3
);
26864 wxPyEndAllowThreads(__tstate
);
26865 if (PyErr_Occurred()) SWIG_fail
;
26867 Py_INCREF(Py_None
); resultobj
= Py_None
;
26874 static PyObject
*_wrap_PyLineShape_SetAlignmentType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26875 PyObject
*resultobj
;
26876 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26879 PyObject
* obj0
= 0 ;
26880 PyObject
* obj1
= 0 ;
26881 PyObject
* obj2
= 0 ;
26882 char *kwnames
[] = {
26883 (char *) "self",(char *) "isEnd",(char *) "alignType", NULL
26886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLineShape_SetAlignmentType",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26889 arg2
= (bool)SWIG_As_bool(obj1
);
26890 if (PyErr_Occurred()) SWIG_fail
;
26891 arg3
= (int)SWIG_As_int(obj2
);
26892 if (PyErr_Occurred()) SWIG_fail
;
26894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26895 (arg1
)->SetAlignmentType(arg2
,arg3
);
26897 wxPyEndAllowThreads(__tstate
);
26898 if (PyErr_Occurred()) SWIG_fail
;
26900 Py_INCREF(Py_None
); resultobj
= Py_None
;
26907 static PyObject
*_wrap_PyLineShape_GetAlignmentOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26908 PyObject
*resultobj
;
26909 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26912 PyObject
* obj0
= 0 ;
26913 PyObject
* obj1
= 0 ;
26914 char *kwnames
[] = {
26915 (char *) "self",(char *) "isEnd", NULL
26918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_GetAlignmentOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
26919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26921 arg2
= (bool)SWIG_As_bool(obj1
);
26922 if (PyErr_Occurred()) SWIG_fail
;
26924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26925 result
= (bool)(arg1
)->GetAlignmentOrientation(arg2
);
26927 wxPyEndAllowThreads(__tstate
);
26928 if (PyErr_Occurred()) SWIG_fail
;
26931 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26939 static PyObject
*_wrap_PyLineShape_GetAlignmentType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26940 PyObject
*resultobj
;
26941 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26944 PyObject
* obj0
= 0 ;
26945 PyObject
* obj1
= 0 ;
26946 char *kwnames
[] = {
26947 (char *) "self",(char *) "isEnd", NULL
26950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_GetAlignmentType",kwnames
,&obj0
,&obj1
)) goto fail
;
26951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26953 arg2
= (bool)SWIG_As_bool(obj1
);
26954 if (PyErr_Occurred()) SWIG_fail
;
26956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26957 result
= (int)(arg1
)->GetAlignmentType(arg2
);
26959 wxPyEndAllowThreads(__tstate
);
26960 if (PyErr_Occurred()) SWIG_fail
;
26962 resultobj
= SWIG_From_int((int)result
);
26969 static PyObject
*_wrap_PyLineShape_GetAlignmentStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26970 PyObject
*resultobj
;
26971 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26973 PyObject
* obj0
= 0 ;
26974 char *kwnames
[] = {
26975 (char *) "self", NULL
26978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_GetAlignmentStart",kwnames
,&obj0
)) goto fail
;
26979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
26980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26983 result
= (int)((wxPyLineShape
const *)arg1
)->GetAlignmentStart();
26985 wxPyEndAllowThreads(__tstate
);
26986 if (PyErr_Occurred()) SWIG_fail
;
26988 resultobj
= SWIG_From_int((int)result
);
26995 static PyObject
*_wrap_PyLineShape_GetAlignmentEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26996 PyObject
*resultobj
;
26997 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
26999 PyObject
* obj0
= 0 ;
27000 char *kwnames
[] = {
27001 (char *) "self", NULL
27004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_GetAlignmentEnd",kwnames
,&obj0
)) goto fail
;
27005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27009 result
= (int)((wxPyLineShape
const *)arg1
)->GetAlignmentEnd();
27011 wxPyEndAllowThreads(__tstate
);
27012 if (PyErr_Occurred()) SWIG_fail
;
27014 resultobj
= SWIG_From_int((int)result
);
27021 static PyObject
*_wrap_PyLineShape_base_OnDraw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27022 PyObject
*resultobj
;
27023 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27025 PyObject
* obj0
= 0 ;
27026 PyObject
* obj1
= 0 ;
27027 char *kwnames
[] = {
27028 (char *) "self",(char *) "dc", NULL
27031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
27032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27034 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
27035 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27037 if (arg2
== NULL
) {
27038 PyErr_SetString(PyExc_TypeError
,"null reference");
27042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27043 (arg1
)->base_OnDraw(*arg2
);
27045 wxPyEndAllowThreads(__tstate
);
27046 if (PyErr_Occurred()) SWIG_fail
;
27048 Py_INCREF(Py_None
); resultobj
= Py_None
;
27055 static PyObject
*_wrap_PyLineShape_base_OnDrawContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27056 PyObject
*resultobj
;
27057 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27059 PyObject
* obj0
= 0 ;
27060 PyObject
* obj1
= 0 ;
27061 char *kwnames
[] = {
27062 (char *) "self",(char *) "dc", NULL
27065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
27066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27068 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
27069 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27071 if (arg2
== NULL
) {
27072 PyErr_SetString(PyExc_TypeError
,"null reference");
27076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27077 (arg1
)->base_OnDrawContents(*arg2
);
27079 wxPyEndAllowThreads(__tstate
);
27080 if (PyErr_Occurred()) SWIG_fail
;
27082 Py_INCREF(Py_None
); resultobj
= Py_None
;
27089 static PyObject
*_wrap_PyLineShape_base_OnDrawBranches(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27090 PyObject
*resultobj
;
27091 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27093 bool arg3
= (bool) FALSE
;
27094 PyObject
* obj0
= 0 ;
27095 PyObject
* obj1
= 0 ;
27096 PyObject
* obj2
= 0 ;
27097 char *kwnames
[] = {
27098 (char *) "self",(char *) "dc",(char *) "erase", NULL
27101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyLineShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27104 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
27105 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27107 if (arg2
== NULL
) {
27108 PyErr_SetString(PyExc_TypeError
,"null reference");
27112 arg3
= (bool)SWIG_As_bool(obj2
);
27113 if (PyErr_Occurred()) SWIG_fail
;
27116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27117 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
27119 wxPyEndAllowThreads(__tstate
);
27120 if (PyErr_Occurred()) SWIG_fail
;
27122 Py_INCREF(Py_None
); resultobj
= Py_None
;
27129 static PyObject
*_wrap_PyLineShape_base_OnMoveLinks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27130 PyObject
*resultobj
;
27131 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27133 PyObject
* obj0
= 0 ;
27134 PyObject
* obj1
= 0 ;
27135 char *kwnames
[] = {
27136 (char *) "self",(char *) "dc", NULL
27139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
27140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27142 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
27143 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27145 if (arg2
== NULL
) {
27146 PyErr_SetString(PyExc_TypeError
,"null reference");
27150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27151 (arg1
)->base_OnMoveLinks(*arg2
);
27153 wxPyEndAllowThreads(__tstate
);
27154 if (PyErr_Occurred()) SWIG_fail
;
27156 Py_INCREF(Py_None
); resultobj
= Py_None
;
27163 static PyObject
*_wrap_PyLineShape_base_OnErase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27164 PyObject
*resultobj
;
27165 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27167 PyObject
* obj0
= 0 ;
27168 PyObject
* obj1
= 0 ;
27169 char *kwnames
[] = {
27170 (char *) "self",(char *) "dc", NULL
27173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
27174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27176 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
27177 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27179 if (arg2
== NULL
) {
27180 PyErr_SetString(PyExc_TypeError
,"null reference");
27184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27185 (arg1
)->base_OnErase(*arg2
);
27187 wxPyEndAllowThreads(__tstate
);
27188 if (PyErr_Occurred()) SWIG_fail
;
27190 Py_INCREF(Py_None
); resultobj
= Py_None
;
27197 static PyObject
*_wrap_PyLineShape_base_OnEraseContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27198 PyObject
*resultobj
;
27199 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27201 PyObject
* obj0
= 0 ;
27202 PyObject
* obj1
= 0 ;
27203 char *kwnames
[] = {
27204 (char *) "self",(char *) "dc", NULL
27207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
27208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27210 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
27211 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27213 if (arg2
== NULL
) {
27214 PyErr_SetString(PyExc_TypeError
,"null reference");
27218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27219 (arg1
)->base_OnEraseContents(*arg2
);
27221 wxPyEndAllowThreads(__tstate
);
27222 if (PyErr_Occurred()) SWIG_fail
;
27224 Py_INCREF(Py_None
); resultobj
= Py_None
;
27231 static PyObject
*_wrap_PyLineShape_base_OnHighlight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27232 PyObject
*resultobj
;
27233 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27235 PyObject
* obj0
= 0 ;
27236 PyObject
* obj1
= 0 ;
27237 char *kwnames
[] = {
27238 (char *) "self",(char *) "dc", NULL
27241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
27242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27244 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
27245 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27247 if (arg2
== NULL
) {
27248 PyErr_SetString(PyExc_TypeError
,"null reference");
27252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27253 (arg1
)->base_OnHighlight(*arg2
);
27255 wxPyEndAllowThreads(__tstate
);
27256 if (PyErr_Occurred()) SWIG_fail
;
27258 Py_INCREF(Py_None
); resultobj
= Py_None
;
27265 static PyObject
*_wrap_PyLineShape_base_OnLeftClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27266 PyObject
*resultobj
;
27267 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27270 int arg4
= (int) 0 ;
27271 int arg5
= (int) 0 ;
27272 PyObject
* obj0
= 0 ;
27273 PyObject
* obj1
= 0 ;
27274 PyObject
* obj2
= 0 ;
27275 PyObject
* obj3
= 0 ;
27276 PyObject
* obj4
= 0 ;
27277 char *kwnames
[] = {
27278 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyLineShape_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27284 arg2
= (double)SWIG_As_double(obj1
);
27285 if (PyErr_Occurred()) SWIG_fail
;
27286 arg3
= (double)SWIG_As_double(obj2
);
27287 if (PyErr_Occurred()) SWIG_fail
;
27289 arg4
= (int)SWIG_As_int(obj3
);
27290 if (PyErr_Occurred()) SWIG_fail
;
27293 arg5
= (int)SWIG_As_int(obj4
);
27294 if (PyErr_Occurred()) SWIG_fail
;
27297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27298 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
27300 wxPyEndAllowThreads(__tstate
);
27301 if (PyErr_Occurred()) SWIG_fail
;
27303 Py_INCREF(Py_None
); resultobj
= Py_None
;
27310 static PyObject
*_wrap_PyLineShape_base_OnLeftDoubleClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27311 PyObject
*resultobj
;
27312 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27315 int arg4
= (int) 0 ;
27316 int arg5
= (int) 0 ;
27317 PyObject
* obj0
= 0 ;
27318 PyObject
* obj1
= 0 ;
27319 PyObject
* obj2
= 0 ;
27320 PyObject
* obj3
= 0 ;
27321 PyObject
* obj4
= 0 ;
27322 char *kwnames
[] = {
27323 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyLineShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27329 arg2
= (double)SWIG_As_double(obj1
);
27330 if (PyErr_Occurred()) SWIG_fail
;
27331 arg3
= (double)SWIG_As_double(obj2
);
27332 if (PyErr_Occurred()) SWIG_fail
;
27334 arg4
= (int)SWIG_As_int(obj3
);
27335 if (PyErr_Occurred()) SWIG_fail
;
27338 arg5
= (int)SWIG_As_int(obj4
);
27339 if (PyErr_Occurred()) SWIG_fail
;
27342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27343 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
27345 wxPyEndAllowThreads(__tstate
);
27346 if (PyErr_Occurred()) SWIG_fail
;
27348 Py_INCREF(Py_None
); resultobj
= Py_None
;
27355 static PyObject
*_wrap_PyLineShape_base_OnRightClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27356 PyObject
*resultobj
;
27357 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27360 int arg4
= (int) 0 ;
27361 int arg5
= (int) 0 ;
27362 PyObject
* obj0
= 0 ;
27363 PyObject
* obj1
= 0 ;
27364 PyObject
* obj2
= 0 ;
27365 PyObject
* obj3
= 0 ;
27366 PyObject
* obj4
= 0 ;
27367 char *kwnames
[] = {
27368 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyLineShape_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27374 arg2
= (double)SWIG_As_double(obj1
);
27375 if (PyErr_Occurred()) SWIG_fail
;
27376 arg3
= (double)SWIG_As_double(obj2
);
27377 if (PyErr_Occurred()) SWIG_fail
;
27379 arg4
= (int)SWIG_As_int(obj3
);
27380 if (PyErr_Occurred()) SWIG_fail
;
27383 arg5
= (int)SWIG_As_int(obj4
);
27384 if (PyErr_Occurred()) SWIG_fail
;
27387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27388 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
27390 wxPyEndAllowThreads(__tstate
);
27391 if (PyErr_Occurred()) SWIG_fail
;
27393 Py_INCREF(Py_None
); resultobj
= Py_None
;
27400 static PyObject
*_wrap_PyLineShape_base_OnSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27401 PyObject
*resultobj
;
27402 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27405 PyObject
* obj0
= 0 ;
27406 PyObject
* obj1
= 0 ;
27407 PyObject
* obj2
= 0 ;
27408 char *kwnames
[] = {
27409 (char *) "self",(char *) "x",(char *) "y", NULL
27412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLineShape_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27415 arg2
= (double)SWIG_As_double(obj1
);
27416 if (PyErr_Occurred()) SWIG_fail
;
27417 arg3
= (double)SWIG_As_double(obj2
);
27418 if (PyErr_Occurred()) SWIG_fail
;
27420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27421 (arg1
)->base_OnSize(arg2
,arg3
);
27423 wxPyEndAllowThreads(__tstate
);
27424 if (PyErr_Occurred()) SWIG_fail
;
27426 Py_INCREF(Py_None
); resultobj
= Py_None
;
27433 static PyObject
*_wrap_PyLineShape_base_OnMovePre(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27434 PyObject
*resultobj
;
27435 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27441 bool arg7
= (bool) True
;
27443 PyObject
* obj0
= 0 ;
27444 PyObject
* obj1
= 0 ;
27445 PyObject
* obj2
= 0 ;
27446 PyObject
* obj3
= 0 ;
27447 PyObject
* obj4
= 0 ;
27448 PyObject
* obj5
= 0 ;
27449 PyObject
* obj6
= 0 ;
27450 char *kwnames
[] = {
27451 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
27454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyLineShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27455 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27457 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
27458 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27460 if (arg2
== NULL
) {
27461 PyErr_SetString(PyExc_TypeError
,"null reference");
27464 arg3
= (double)SWIG_As_double(obj2
);
27465 if (PyErr_Occurred()) SWIG_fail
;
27466 arg4
= (double)SWIG_As_double(obj3
);
27467 if (PyErr_Occurred()) SWIG_fail
;
27468 arg5
= (double)SWIG_As_double(obj4
);
27469 if (PyErr_Occurred()) SWIG_fail
;
27470 arg6
= (double)SWIG_As_double(obj5
);
27471 if (PyErr_Occurred()) SWIG_fail
;
27473 arg7
= (bool)SWIG_As_bool(obj6
);
27474 if (PyErr_Occurred()) SWIG_fail
;
27477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27478 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
27480 wxPyEndAllowThreads(__tstate
);
27481 if (PyErr_Occurred()) SWIG_fail
;
27484 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27492 static PyObject
*_wrap_PyLineShape_base_OnMovePost(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27493 PyObject
*resultobj
;
27494 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27500 bool arg7
= (bool) True
;
27501 PyObject
* obj0
= 0 ;
27502 PyObject
* obj1
= 0 ;
27503 PyObject
* obj2
= 0 ;
27504 PyObject
* obj3
= 0 ;
27505 PyObject
* obj4
= 0 ;
27506 PyObject
* obj5
= 0 ;
27507 PyObject
* obj6
= 0 ;
27508 char *kwnames
[] = {
27509 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
27512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyLineShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27515 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
27516 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27518 if (arg2
== NULL
) {
27519 PyErr_SetString(PyExc_TypeError
,"null reference");
27522 arg3
= (double)SWIG_As_double(obj2
);
27523 if (PyErr_Occurred()) SWIG_fail
;
27524 arg4
= (double)SWIG_As_double(obj3
);
27525 if (PyErr_Occurred()) SWIG_fail
;
27526 arg5
= (double)SWIG_As_double(obj4
);
27527 if (PyErr_Occurred()) SWIG_fail
;
27528 arg6
= (double)SWIG_As_double(obj5
);
27529 if (PyErr_Occurred()) SWIG_fail
;
27531 arg7
= (bool)SWIG_As_bool(obj6
);
27532 if (PyErr_Occurred()) SWIG_fail
;
27535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27536 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
27538 wxPyEndAllowThreads(__tstate
);
27539 if (PyErr_Occurred()) SWIG_fail
;
27541 Py_INCREF(Py_None
); resultobj
= Py_None
;
27548 static PyObject
*_wrap_PyLineShape_base_OnDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27549 PyObject
*resultobj
;
27550 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27554 int arg5
= (int) 0 ;
27555 int arg6
= (int) 0 ;
27556 PyObject
* obj0
= 0 ;
27557 PyObject
* obj1
= 0 ;
27558 PyObject
* obj2
= 0 ;
27559 PyObject
* obj3
= 0 ;
27560 PyObject
* obj4
= 0 ;
27561 PyObject
* obj5
= 0 ;
27562 char *kwnames
[] = {
27563 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyLineShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27569 arg2
= (bool)SWIG_As_bool(obj1
);
27570 if (PyErr_Occurred()) SWIG_fail
;
27571 arg3
= (double)SWIG_As_double(obj2
);
27572 if (PyErr_Occurred()) SWIG_fail
;
27573 arg4
= (double)SWIG_As_double(obj3
);
27574 if (PyErr_Occurred()) SWIG_fail
;
27576 arg5
= (int)SWIG_As_int(obj4
);
27577 if (PyErr_Occurred()) SWIG_fail
;
27580 arg6
= (int)SWIG_As_int(obj5
);
27581 if (PyErr_Occurred()) SWIG_fail
;
27584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27585 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
27587 wxPyEndAllowThreads(__tstate
);
27588 if (PyErr_Occurred()) SWIG_fail
;
27590 Py_INCREF(Py_None
); resultobj
= Py_None
;
27597 static PyObject
*_wrap_PyLineShape_base_OnBeginDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27598 PyObject
*resultobj
;
27599 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27602 int arg4
= (int) 0 ;
27603 int arg5
= (int) 0 ;
27604 PyObject
* obj0
= 0 ;
27605 PyObject
* obj1
= 0 ;
27606 PyObject
* obj2
= 0 ;
27607 PyObject
* obj3
= 0 ;
27608 PyObject
* obj4
= 0 ;
27609 char *kwnames
[] = {
27610 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyLineShape_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27616 arg2
= (double)SWIG_As_double(obj1
);
27617 if (PyErr_Occurred()) SWIG_fail
;
27618 arg3
= (double)SWIG_As_double(obj2
);
27619 if (PyErr_Occurred()) SWIG_fail
;
27621 arg4
= (int)SWIG_As_int(obj3
);
27622 if (PyErr_Occurred()) SWIG_fail
;
27625 arg5
= (int)SWIG_As_int(obj4
);
27626 if (PyErr_Occurred()) SWIG_fail
;
27629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27630 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
27632 wxPyEndAllowThreads(__tstate
);
27633 if (PyErr_Occurred()) SWIG_fail
;
27635 Py_INCREF(Py_None
); resultobj
= Py_None
;
27642 static PyObject
*_wrap_PyLineShape_base_OnEndDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27643 PyObject
*resultobj
;
27644 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27647 int arg4
= (int) 0 ;
27648 int arg5
= (int) 0 ;
27649 PyObject
* obj0
= 0 ;
27650 PyObject
* obj1
= 0 ;
27651 PyObject
* obj2
= 0 ;
27652 PyObject
* obj3
= 0 ;
27653 PyObject
* obj4
= 0 ;
27654 char *kwnames
[] = {
27655 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyLineShape_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27661 arg2
= (double)SWIG_As_double(obj1
);
27662 if (PyErr_Occurred()) SWIG_fail
;
27663 arg3
= (double)SWIG_As_double(obj2
);
27664 if (PyErr_Occurred()) SWIG_fail
;
27666 arg4
= (int)SWIG_As_int(obj3
);
27667 if (PyErr_Occurred()) SWIG_fail
;
27670 arg5
= (int)SWIG_As_int(obj4
);
27671 if (PyErr_Occurred()) SWIG_fail
;
27674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27675 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
27677 wxPyEndAllowThreads(__tstate
);
27678 if (PyErr_Occurred()) SWIG_fail
;
27680 Py_INCREF(Py_None
); resultobj
= Py_None
;
27687 static PyObject
*_wrap_PyLineShape_base_OnDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27688 PyObject
*resultobj
;
27689 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27693 int arg5
= (int) 0 ;
27694 int arg6
= (int) 0 ;
27695 PyObject
* obj0
= 0 ;
27696 PyObject
* obj1
= 0 ;
27697 PyObject
* obj2
= 0 ;
27698 PyObject
* obj3
= 0 ;
27699 PyObject
* obj4
= 0 ;
27700 PyObject
* obj5
= 0 ;
27701 char *kwnames
[] = {
27702 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyLineShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27708 arg2
= (bool)SWIG_As_bool(obj1
);
27709 if (PyErr_Occurred()) SWIG_fail
;
27710 arg3
= (double)SWIG_As_double(obj2
);
27711 if (PyErr_Occurred()) SWIG_fail
;
27712 arg4
= (double)SWIG_As_double(obj3
);
27713 if (PyErr_Occurred()) SWIG_fail
;
27715 arg5
= (int)SWIG_As_int(obj4
);
27716 if (PyErr_Occurred()) SWIG_fail
;
27719 arg6
= (int)SWIG_As_int(obj5
);
27720 if (PyErr_Occurred()) SWIG_fail
;
27723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27724 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
27726 wxPyEndAllowThreads(__tstate
);
27727 if (PyErr_Occurred()) SWIG_fail
;
27729 Py_INCREF(Py_None
); resultobj
= Py_None
;
27736 static PyObject
*_wrap_PyLineShape_base_OnBeginDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27737 PyObject
*resultobj
;
27738 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27741 int arg4
= (int) 0 ;
27742 int arg5
= (int) 0 ;
27743 PyObject
* obj0
= 0 ;
27744 PyObject
* obj1
= 0 ;
27745 PyObject
* obj2
= 0 ;
27746 PyObject
* obj3
= 0 ;
27747 PyObject
* obj4
= 0 ;
27748 char *kwnames
[] = {
27749 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyLineShape_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27755 arg2
= (double)SWIG_As_double(obj1
);
27756 if (PyErr_Occurred()) SWIG_fail
;
27757 arg3
= (double)SWIG_As_double(obj2
);
27758 if (PyErr_Occurred()) SWIG_fail
;
27760 arg4
= (int)SWIG_As_int(obj3
);
27761 if (PyErr_Occurred()) SWIG_fail
;
27764 arg5
= (int)SWIG_As_int(obj4
);
27765 if (PyErr_Occurred()) SWIG_fail
;
27768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27769 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
27771 wxPyEndAllowThreads(__tstate
);
27772 if (PyErr_Occurred()) SWIG_fail
;
27774 Py_INCREF(Py_None
); resultobj
= Py_None
;
27781 static PyObject
*_wrap_PyLineShape_base_OnEndDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27782 PyObject
*resultobj
;
27783 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27786 int arg4
= (int) 0 ;
27787 int arg5
= (int) 0 ;
27788 PyObject
* obj0
= 0 ;
27789 PyObject
* obj1
= 0 ;
27790 PyObject
* obj2
= 0 ;
27791 PyObject
* obj3
= 0 ;
27792 PyObject
* obj4
= 0 ;
27793 char *kwnames
[] = {
27794 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyLineShape_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27800 arg2
= (double)SWIG_As_double(obj1
);
27801 if (PyErr_Occurred()) SWIG_fail
;
27802 arg3
= (double)SWIG_As_double(obj2
);
27803 if (PyErr_Occurred()) SWIG_fail
;
27805 arg4
= (int)SWIG_As_int(obj3
);
27806 if (PyErr_Occurred()) SWIG_fail
;
27809 arg5
= (int)SWIG_As_int(obj4
);
27810 if (PyErr_Occurred()) SWIG_fail
;
27813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27814 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
27816 wxPyEndAllowThreads(__tstate
);
27817 if (PyErr_Occurred()) SWIG_fail
;
27819 Py_INCREF(Py_None
); resultobj
= Py_None
;
27826 static PyObject
*_wrap_PyLineShape_base_OnDrawOutline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27827 PyObject
*resultobj
;
27828 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27834 PyObject
* obj0
= 0 ;
27835 PyObject
* obj1
= 0 ;
27836 PyObject
* obj2
= 0 ;
27837 PyObject
* obj3
= 0 ;
27838 PyObject
* obj4
= 0 ;
27839 PyObject
* obj5
= 0 ;
27840 char *kwnames
[] = {
27841 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
27844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyLineShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27847 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
27848 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27850 if (arg2
== NULL
) {
27851 PyErr_SetString(PyExc_TypeError
,"null reference");
27854 arg3
= (double)SWIG_As_double(obj2
);
27855 if (PyErr_Occurred()) SWIG_fail
;
27856 arg4
= (double)SWIG_As_double(obj3
);
27857 if (PyErr_Occurred()) SWIG_fail
;
27858 arg5
= (double)SWIG_As_double(obj4
);
27859 if (PyErr_Occurred()) SWIG_fail
;
27860 arg6
= (double)SWIG_As_double(obj5
);
27861 if (PyErr_Occurred()) SWIG_fail
;
27863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27864 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
27866 wxPyEndAllowThreads(__tstate
);
27867 if (PyErr_Occurred()) SWIG_fail
;
27869 Py_INCREF(Py_None
); resultobj
= Py_None
;
27876 static PyObject
*_wrap_PyLineShape_base_OnDrawControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27877 PyObject
*resultobj
;
27878 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27880 PyObject
* obj0
= 0 ;
27881 PyObject
* obj1
= 0 ;
27882 char *kwnames
[] = {
27883 (char *) "self",(char *) "dc", NULL
27886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
27887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27889 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
27890 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27892 if (arg2
== NULL
) {
27893 PyErr_SetString(PyExc_TypeError
,"null reference");
27897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27898 (arg1
)->base_OnDrawControlPoints(*arg2
);
27900 wxPyEndAllowThreads(__tstate
);
27901 if (PyErr_Occurred()) SWIG_fail
;
27903 Py_INCREF(Py_None
); resultobj
= Py_None
;
27910 static PyObject
*_wrap_PyLineShape_base_OnEraseControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27911 PyObject
*resultobj
;
27912 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27914 PyObject
* obj0
= 0 ;
27915 PyObject
* obj1
= 0 ;
27916 char *kwnames
[] = {
27917 (char *) "self",(char *) "dc", NULL
27920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
27921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27923 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
27924 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27926 if (arg2
== NULL
) {
27927 PyErr_SetString(PyExc_TypeError
,"null reference");
27931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27932 (arg1
)->base_OnEraseControlPoints(*arg2
);
27934 wxPyEndAllowThreads(__tstate
);
27935 if (PyErr_Occurred()) SWIG_fail
;
27937 Py_INCREF(Py_None
); resultobj
= Py_None
;
27944 static PyObject
*_wrap_PyLineShape_base_OnMoveLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27945 PyObject
*resultobj
;
27946 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27948 bool arg3
= (bool) True
;
27949 PyObject
* obj0
= 0 ;
27950 PyObject
* obj1
= 0 ;
27951 PyObject
* obj2
= 0 ;
27952 char *kwnames
[] = {
27953 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
27956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyLineShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
27958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27959 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
27960 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27962 if (arg2
== NULL
) {
27963 PyErr_SetString(PyExc_TypeError
,"null reference");
27967 arg3
= (bool)SWIG_As_bool(obj2
);
27968 if (PyErr_Occurred()) SWIG_fail
;
27971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27972 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
27974 wxPyEndAllowThreads(__tstate
);
27975 if (PyErr_Occurred()) SWIG_fail
;
27977 Py_INCREF(Py_None
); resultobj
= Py_None
;
27984 static PyObject
*_wrap_PyLineShape_base_OnSizingDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27985 PyObject
*resultobj
;
27986 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
27987 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
27991 int arg6
= (int) 0 ;
27992 int arg7
= (int) 0 ;
27993 PyObject
* obj0
= 0 ;
27994 PyObject
* obj1
= 0 ;
27995 PyObject
* obj2
= 0 ;
27996 PyObject
* obj3
= 0 ;
27997 PyObject
* obj4
= 0 ;
27998 PyObject
* obj5
= 0 ;
27999 PyObject
* obj6
= 0 ;
28000 char *kwnames
[] = {
28001 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
28004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyLineShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
28005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
28006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28007 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
28008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28009 arg3
= (bool)SWIG_As_bool(obj2
);
28010 if (PyErr_Occurred()) SWIG_fail
;
28011 arg4
= (double)SWIG_As_double(obj3
);
28012 if (PyErr_Occurred()) SWIG_fail
;
28013 arg5
= (double)SWIG_As_double(obj4
);
28014 if (PyErr_Occurred()) SWIG_fail
;
28016 arg6
= (int)SWIG_As_int(obj5
);
28017 if (PyErr_Occurred()) SWIG_fail
;
28020 arg7
= (int)SWIG_As_int(obj6
);
28021 if (PyErr_Occurred()) SWIG_fail
;
28024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28025 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
28027 wxPyEndAllowThreads(__tstate
);
28028 if (PyErr_Occurred()) SWIG_fail
;
28030 Py_INCREF(Py_None
); resultobj
= Py_None
;
28037 static PyObject
*_wrap_PyLineShape_base_OnSizingBeginDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28038 PyObject
*resultobj
;
28039 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
28040 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
28043 int arg5
= (int) 0 ;
28044 int arg6
= (int) 0 ;
28045 PyObject
* obj0
= 0 ;
28046 PyObject
* obj1
= 0 ;
28047 PyObject
* obj2
= 0 ;
28048 PyObject
* obj3
= 0 ;
28049 PyObject
* obj4
= 0 ;
28050 PyObject
* obj5
= 0 ;
28051 char *kwnames
[] = {
28052 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
28055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyLineShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
28056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
28057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28058 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
28059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28060 arg3
= (double)SWIG_As_double(obj2
);
28061 if (PyErr_Occurred()) SWIG_fail
;
28062 arg4
= (double)SWIG_As_double(obj3
);
28063 if (PyErr_Occurred()) SWIG_fail
;
28065 arg5
= (int)SWIG_As_int(obj4
);
28066 if (PyErr_Occurred()) SWIG_fail
;
28069 arg6
= (int)SWIG_As_int(obj5
);
28070 if (PyErr_Occurred()) SWIG_fail
;
28073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28074 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
28076 wxPyEndAllowThreads(__tstate
);
28077 if (PyErr_Occurred()) SWIG_fail
;
28079 Py_INCREF(Py_None
); resultobj
= Py_None
;
28086 static PyObject
*_wrap_PyLineShape_base_OnSizingEndDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28087 PyObject
*resultobj
;
28088 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
28089 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
28092 int arg5
= (int) 0 ;
28093 int arg6
= (int) 0 ;
28094 PyObject
* obj0
= 0 ;
28095 PyObject
* obj1
= 0 ;
28096 PyObject
* obj2
= 0 ;
28097 PyObject
* obj3
= 0 ;
28098 PyObject
* obj4
= 0 ;
28099 PyObject
* obj5
= 0 ;
28100 char *kwnames
[] = {
28101 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
28104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyLineShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
28105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
28106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28107 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
28108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28109 arg3
= (double)SWIG_As_double(obj2
);
28110 if (PyErr_Occurred()) SWIG_fail
;
28111 arg4
= (double)SWIG_As_double(obj3
);
28112 if (PyErr_Occurred()) SWIG_fail
;
28114 arg5
= (int)SWIG_As_int(obj4
);
28115 if (PyErr_Occurred()) SWIG_fail
;
28118 arg6
= (int)SWIG_As_int(obj5
);
28119 if (PyErr_Occurred()) SWIG_fail
;
28122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28123 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
28125 wxPyEndAllowThreads(__tstate
);
28126 if (PyErr_Occurred()) SWIG_fail
;
28128 Py_INCREF(Py_None
); resultobj
= Py_None
;
28135 static PyObject
*_wrap_PyLineShape_base_OnBeginSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28136 PyObject
*resultobj
;
28137 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
28140 PyObject
* obj0
= 0 ;
28141 PyObject
* obj1
= 0 ;
28142 PyObject
* obj2
= 0 ;
28143 char *kwnames
[] = {
28144 (char *) "self",(char *) "w",(char *) "h", NULL
28147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLineShape_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
28149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28150 arg2
= (double)SWIG_As_double(obj1
);
28151 if (PyErr_Occurred()) SWIG_fail
;
28152 arg3
= (double)SWIG_As_double(obj2
);
28153 if (PyErr_Occurred()) SWIG_fail
;
28155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28156 (arg1
)->base_OnBeginSize(arg2
,arg3
);
28158 wxPyEndAllowThreads(__tstate
);
28159 if (PyErr_Occurred()) SWIG_fail
;
28161 Py_INCREF(Py_None
); resultobj
= Py_None
;
28168 static PyObject
*_wrap_PyLineShape_base_OnEndSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28169 PyObject
*resultobj
;
28170 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
28173 PyObject
* obj0
= 0 ;
28174 PyObject
* obj1
= 0 ;
28175 PyObject
* obj2
= 0 ;
28176 char *kwnames
[] = {
28177 (char *) "self",(char *) "w",(char *) "h", NULL
28180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLineShape_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLineShape
,
28182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28183 arg2
= (double)SWIG_As_double(obj1
);
28184 if (PyErr_Occurred()) SWIG_fail
;
28185 arg3
= (double)SWIG_As_double(obj2
);
28186 if (PyErr_Occurred()) SWIG_fail
;
28188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28189 (arg1
)->base_OnEndSize(arg2
,arg3
);
28191 wxPyEndAllowThreads(__tstate
);
28192 if (PyErr_Occurred()) SWIG_fail
;
28194 Py_INCREF(Py_None
); resultobj
= Py_None
;
28201 static PyObject
* PyLineShape_swigregister(PyObject
*, PyObject
*args
) {
28203 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28204 SWIG_TypeClientData(SWIGTYPE_p_wxPyLineShape
, obj
);
28206 return Py_BuildValue((char *)"");
28208 static PyObject
*_wrap_new_PyPolygonShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28209 PyObject
*resultobj
;
28210 wxPyPolygonShape
*result
;
28211 char *kwnames
[] = {
28215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyPolygonShape",kwnames
)) goto fail
;
28217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28218 result
= (wxPyPolygonShape
*)new wxPyPolygonShape();
28220 wxPyEndAllowThreads(__tstate
);
28221 if (PyErr_Occurred()) SWIG_fail
;
28223 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPolygonShape
, 1);
28230 static PyObject
*_wrap_PyPolygonShape__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28231 PyObject
*resultobj
;
28232 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28233 PyObject
*arg2
= (PyObject
*) 0 ;
28234 PyObject
*arg3
= (PyObject
*) 0 ;
28235 PyObject
* obj0
= 0 ;
28236 PyObject
* obj1
= 0 ;
28237 PyObject
* obj2
= 0 ;
28238 char *kwnames
[] = {
28239 (char *) "self",(char *) "self",(char *) "_class", NULL
28242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPolygonShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28249 (arg1
)->_setCallbackInfo(arg2
,arg3
);
28251 wxPyEndAllowThreads(__tstate
);
28252 if (PyErr_Occurred()) SWIG_fail
;
28254 Py_INCREF(Py_None
); resultobj
= Py_None
;
28261 static PyObject
*_wrap_PyPolygonShape_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28262 PyObject
*resultobj
;
28263 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28264 PyObject
*arg2
= (PyObject
*) 0 ;
28266 PyObject
* obj0
= 0 ;
28267 PyObject
* obj1
= 0 ;
28268 char *kwnames
[] = {
28269 (char *) "self",(char *) "points", NULL
28272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_Create",kwnames
,&obj0
,&obj1
)) goto fail
;
28273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28278 result
= (PyObject
*)wxPyPolygonShape_Create(arg1
,arg2
);
28280 wxPyEndAllowThreads(__tstate
);
28281 if (PyErr_Occurred()) SWIG_fail
;
28283 resultobj
= result
;
28290 static PyObject
*_wrap_PyPolygonShape_AddPolygonPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28291 PyObject
*resultobj
;
28292 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28293 int arg2
= (int) 0 ;
28294 PyObject
* obj0
= 0 ;
28295 PyObject
* obj1
= 0 ;
28296 char *kwnames
[] = {
28297 (char *) "self",(char *) "pos", NULL
28300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyPolygonShape_AddPolygonPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
28301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28304 arg2
= (int)SWIG_As_int(obj1
);
28305 if (PyErr_Occurred()) SWIG_fail
;
28308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28309 (arg1
)->AddPolygonPoint(arg2
);
28311 wxPyEndAllowThreads(__tstate
);
28312 if (PyErr_Occurred()) SWIG_fail
;
28314 Py_INCREF(Py_None
); resultobj
= Py_None
;
28321 static PyObject
*_wrap_PyPolygonShape_CalculatePolygonCentre(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28322 PyObject
*resultobj
;
28323 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28324 PyObject
* obj0
= 0 ;
28325 char *kwnames
[] = {
28326 (char *) "self", NULL
28329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPolygonShape_CalculatePolygonCentre",kwnames
,&obj0
)) goto fail
;
28330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28334 (arg1
)->CalculatePolygonCentre();
28336 wxPyEndAllowThreads(__tstate
);
28337 if (PyErr_Occurred()) SWIG_fail
;
28339 Py_INCREF(Py_None
); resultobj
= Py_None
;
28346 static PyObject
*_wrap_PyPolygonShape_DeletePolygonPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28347 PyObject
*resultobj
;
28348 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28349 int arg2
= (int) 0 ;
28350 PyObject
* obj0
= 0 ;
28351 PyObject
* obj1
= 0 ;
28352 char *kwnames
[] = {
28353 (char *) "self",(char *) "pos", NULL
28356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyPolygonShape_DeletePolygonPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
28357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28360 arg2
= (int)SWIG_As_int(obj1
);
28361 if (PyErr_Occurred()) SWIG_fail
;
28364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28365 (arg1
)->DeletePolygonPoint(arg2
);
28367 wxPyEndAllowThreads(__tstate
);
28368 if (PyErr_Occurred()) SWIG_fail
;
28370 Py_INCREF(Py_None
); resultobj
= Py_None
;
28377 static PyObject
*_wrap_PyPolygonShape_GetPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28378 PyObject
*resultobj
;
28379 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28381 PyObject
* obj0
= 0 ;
28382 char *kwnames
[] = {
28383 (char *) "self", NULL
28386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPolygonShape_GetPoints",kwnames
,&obj0
)) goto fail
;
28387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28391 result
= (PyObject
*)wxPyPolygonShape_GetPoints(arg1
);
28393 wxPyEndAllowThreads(__tstate
);
28394 if (PyErr_Occurred()) SWIG_fail
;
28396 resultobj
= result
;
28403 static PyObject
*_wrap_PyPolygonShape_GetOriginalPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28404 PyObject
*resultobj
;
28405 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28407 PyObject
* obj0
= 0 ;
28408 char *kwnames
[] = {
28409 (char *) "self", NULL
28412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPolygonShape_GetOriginalPoints",kwnames
,&obj0
)) goto fail
;
28413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28417 result
= (PyObject
*)wxPyPolygonShape_GetOriginalPoints(arg1
);
28419 wxPyEndAllowThreads(__tstate
);
28420 if (PyErr_Occurred()) SWIG_fail
;
28422 resultobj
= result
;
28429 static PyObject
*_wrap_PyPolygonShape_GetOriginalWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28430 PyObject
*resultobj
;
28431 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28433 PyObject
* obj0
= 0 ;
28434 char *kwnames
[] = {
28435 (char *) "self", NULL
28438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPolygonShape_GetOriginalWidth",kwnames
,&obj0
)) goto fail
;
28439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28443 result
= (double)((wxPyPolygonShape
const *)arg1
)->GetOriginalWidth();
28445 wxPyEndAllowThreads(__tstate
);
28446 if (PyErr_Occurred()) SWIG_fail
;
28448 resultobj
= SWIG_From_double((double)result
);
28455 static PyObject
*_wrap_PyPolygonShape_GetOriginalHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28456 PyObject
*resultobj
;
28457 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28459 PyObject
* obj0
= 0 ;
28460 char *kwnames
[] = {
28461 (char *) "self", NULL
28464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPolygonShape_GetOriginalHeight",kwnames
,&obj0
)) goto fail
;
28465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28469 result
= (double)((wxPyPolygonShape
const *)arg1
)->GetOriginalHeight();
28471 wxPyEndAllowThreads(__tstate
);
28472 if (PyErr_Occurred()) SWIG_fail
;
28474 resultobj
= SWIG_From_double((double)result
);
28481 static PyObject
*_wrap_PyPolygonShape_SetOriginalWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28482 PyObject
*resultobj
;
28483 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28485 PyObject
* obj0
= 0 ;
28486 PyObject
* obj1
= 0 ;
28487 char *kwnames
[] = {
28488 (char *) "self",(char *) "w", NULL
28491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_SetOriginalWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
28492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28494 arg2
= (double)SWIG_As_double(obj1
);
28495 if (PyErr_Occurred()) SWIG_fail
;
28497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28498 (arg1
)->SetOriginalWidth(arg2
);
28500 wxPyEndAllowThreads(__tstate
);
28501 if (PyErr_Occurred()) SWIG_fail
;
28503 Py_INCREF(Py_None
); resultobj
= Py_None
;
28510 static PyObject
*_wrap_PyPolygonShape_SetOriginalHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28511 PyObject
*resultobj
;
28512 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28514 PyObject
* obj0
= 0 ;
28515 PyObject
* obj1
= 0 ;
28516 char *kwnames
[] = {
28517 (char *) "self",(char *) "h", NULL
28520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_SetOriginalHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
28521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28523 arg2
= (double)SWIG_As_double(obj1
);
28524 if (PyErr_Occurred()) SWIG_fail
;
28526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28527 (arg1
)->SetOriginalHeight(arg2
);
28529 wxPyEndAllowThreads(__tstate
);
28530 if (PyErr_Occurred()) SWIG_fail
;
28532 Py_INCREF(Py_None
); resultobj
= Py_None
;
28539 static PyObject
*_wrap_PyPolygonShape_UpdateOriginalPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28540 PyObject
*resultobj
;
28541 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28542 PyObject
* obj0
= 0 ;
28543 char *kwnames
[] = {
28544 (char *) "self", NULL
28547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPolygonShape_UpdateOriginalPoints",kwnames
,&obj0
)) goto fail
;
28548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28552 (arg1
)->UpdateOriginalPoints();
28554 wxPyEndAllowThreads(__tstate
);
28555 if (PyErr_Occurred()) SWIG_fail
;
28557 Py_INCREF(Py_None
); resultobj
= Py_None
;
28564 static PyObject
*_wrap_PyPolygonShape_base_OnDraw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28565 PyObject
*resultobj
;
28566 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28568 PyObject
* obj0
= 0 ;
28569 PyObject
* obj1
= 0 ;
28570 char *kwnames
[] = {
28571 (char *) "self",(char *) "dc", NULL
28574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
28575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28577 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
28578 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28580 if (arg2
== NULL
) {
28581 PyErr_SetString(PyExc_TypeError
,"null reference");
28585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28586 (arg1
)->base_OnDraw(*arg2
);
28588 wxPyEndAllowThreads(__tstate
);
28589 if (PyErr_Occurred()) SWIG_fail
;
28591 Py_INCREF(Py_None
); resultobj
= Py_None
;
28598 static PyObject
*_wrap_PyPolygonShape_base_OnDrawContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28599 PyObject
*resultobj
;
28600 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28602 PyObject
* obj0
= 0 ;
28603 PyObject
* obj1
= 0 ;
28604 char *kwnames
[] = {
28605 (char *) "self",(char *) "dc", NULL
28608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
28609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28611 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
28612 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28614 if (arg2
== NULL
) {
28615 PyErr_SetString(PyExc_TypeError
,"null reference");
28619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28620 (arg1
)->base_OnDrawContents(*arg2
);
28622 wxPyEndAllowThreads(__tstate
);
28623 if (PyErr_Occurred()) SWIG_fail
;
28625 Py_INCREF(Py_None
); resultobj
= Py_None
;
28632 static PyObject
*_wrap_PyPolygonShape_base_OnDrawBranches(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28633 PyObject
*resultobj
;
28634 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28636 bool arg3
= (bool) FALSE
;
28637 PyObject
* obj0
= 0 ;
28638 PyObject
* obj1
= 0 ;
28639 PyObject
* obj2
= 0 ;
28640 char *kwnames
[] = {
28641 (char *) "self",(char *) "dc",(char *) "erase", NULL
28644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyPolygonShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28647 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
28648 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28650 if (arg2
== NULL
) {
28651 PyErr_SetString(PyExc_TypeError
,"null reference");
28655 arg3
= (bool)SWIG_As_bool(obj2
);
28656 if (PyErr_Occurred()) SWIG_fail
;
28659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28660 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
28662 wxPyEndAllowThreads(__tstate
);
28663 if (PyErr_Occurred()) SWIG_fail
;
28665 Py_INCREF(Py_None
); resultobj
= Py_None
;
28672 static PyObject
*_wrap_PyPolygonShape_base_OnMoveLinks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28673 PyObject
*resultobj
;
28674 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28676 PyObject
* obj0
= 0 ;
28677 PyObject
* obj1
= 0 ;
28678 char *kwnames
[] = {
28679 (char *) "self",(char *) "dc", NULL
28682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
28683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28685 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
28686 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28688 if (arg2
== NULL
) {
28689 PyErr_SetString(PyExc_TypeError
,"null reference");
28693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28694 (arg1
)->base_OnMoveLinks(*arg2
);
28696 wxPyEndAllowThreads(__tstate
);
28697 if (PyErr_Occurred()) SWIG_fail
;
28699 Py_INCREF(Py_None
); resultobj
= Py_None
;
28706 static PyObject
*_wrap_PyPolygonShape_base_OnErase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28707 PyObject
*resultobj
;
28708 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28710 PyObject
* obj0
= 0 ;
28711 PyObject
* obj1
= 0 ;
28712 char *kwnames
[] = {
28713 (char *) "self",(char *) "dc", NULL
28716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
28717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28719 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
28720 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28722 if (arg2
== NULL
) {
28723 PyErr_SetString(PyExc_TypeError
,"null reference");
28727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28728 (arg1
)->base_OnErase(*arg2
);
28730 wxPyEndAllowThreads(__tstate
);
28731 if (PyErr_Occurred()) SWIG_fail
;
28733 Py_INCREF(Py_None
); resultobj
= Py_None
;
28740 static PyObject
*_wrap_PyPolygonShape_base_OnEraseContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28741 PyObject
*resultobj
;
28742 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28744 PyObject
* obj0
= 0 ;
28745 PyObject
* obj1
= 0 ;
28746 char *kwnames
[] = {
28747 (char *) "self",(char *) "dc", NULL
28750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
28751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28753 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
28754 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28756 if (arg2
== NULL
) {
28757 PyErr_SetString(PyExc_TypeError
,"null reference");
28761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28762 (arg1
)->base_OnEraseContents(*arg2
);
28764 wxPyEndAllowThreads(__tstate
);
28765 if (PyErr_Occurred()) SWIG_fail
;
28767 Py_INCREF(Py_None
); resultobj
= Py_None
;
28774 static PyObject
*_wrap_PyPolygonShape_base_OnHighlight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28775 PyObject
*resultobj
;
28776 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28778 PyObject
* obj0
= 0 ;
28779 PyObject
* obj1
= 0 ;
28780 char *kwnames
[] = {
28781 (char *) "self",(char *) "dc", NULL
28784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
28785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28787 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
28788 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28790 if (arg2
== NULL
) {
28791 PyErr_SetString(PyExc_TypeError
,"null reference");
28795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28796 (arg1
)->base_OnHighlight(*arg2
);
28798 wxPyEndAllowThreads(__tstate
);
28799 if (PyErr_Occurred()) SWIG_fail
;
28801 Py_INCREF(Py_None
); resultobj
= Py_None
;
28808 static PyObject
*_wrap_PyPolygonShape_base_OnLeftClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28809 PyObject
*resultobj
;
28810 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28813 int arg4
= (int) 0 ;
28814 int arg5
= (int) 0 ;
28815 PyObject
* obj0
= 0 ;
28816 PyObject
* obj1
= 0 ;
28817 PyObject
* obj2
= 0 ;
28818 PyObject
* obj3
= 0 ;
28819 PyObject
* obj4
= 0 ;
28820 char *kwnames
[] = {
28821 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
28824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyPolygonShape_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28827 arg2
= (double)SWIG_As_double(obj1
);
28828 if (PyErr_Occurred()) SWIG_fail
;
28829 arg3
= (double)SWIG_As_double(obj2
);
28830 if (PyErr_Occurred()) SWIG_fail
;
28832 arg4
= (int)SWIG_As_int(obj3
);
28833 if (PyErr_Occurred()) SWIG_fail
;
28836 arg5
= (int)SWIG_As_int(obj4
);
28837 if (PyErr_Occurred()) SWIG_fail
;
28840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28841 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
28843 wxPyEndAllowThreads(__tstate
);
28844 if (PyErr_Occurred()) SWIG_fail
;
28846 Py_INCREF(Py_None
); resultobj
= Py_None
;
28853 static PyObject
*_wrap_PyPolygonShape_base_OnLeftDoubleClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28854 PyObject
*resultobj
;
28855 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28858 int arg4
= (int) 0 ;
28859 int arg5
= (int) 0 ;
28860 PyObject
* obj0
= 0 ;
28861 PyObject
* obj1
= 0 ;
28862 PyObject
* obj2
= 0 ;
28863 PyObject
* obj3
= 0 ;
28864 PyObject
* obj4
= 0 ;
28865 char *kwnames
[] = {
28866 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
28869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyPolygonShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28872 arg2
= (double)SWIG_As_double(obj1
);
28873 if (PyErr_Occurred()) SWIG_fail
;
28874 arg3
= (double)SWIG_As_double(obj2
);
28875 if (PyErr_Occurred()) SWIG_fail
;
28877 arg4
= (int)SWIG_As_int(obj3
);
28878 if (PyErr_Occurred()) SWIG_fail
;
28881 arg5
= (int)SWIG_As_int(obj4
);
28882 if (PyErr_Occurred()) SWIG_fail
;
28885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28886 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
28888 wxPyEndAllowThreads(__tstate
);
28889 if (PyErr_Occurred()) SWIG_fail
;
28891 Py_INCREF(Py_None
); resultobj
= Py_None
;
28898 static PyObject
*_wrap_PyPolygonShape_base_OnRightClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28899 PyObject
*resultobj
;
28900 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28903 int arg4
= (int) 0 ;
28904 int arg5
= (int) 0 ;
28905 PyObject
* obj0
= 0 ;
28906 PyObject
* obj1
= 0 ;
28907 PyObject
* obj2
= 0 ;
28908 PyObject
* obj3
= 0 ;
28909 PyObject
* obj4
= 0 ;
28910 char *kwnames
[] = {
28911 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
28914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyPolygonShape_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28917 arg2
= (double)SWIG_As_double(obj1
);
28918 if (PyErr_Occurred()) SWIG_fail
;
28919 arg3
= (double)SWIG_As_double(obj2
);
28920 if (PyErr_Occurred()) SWIG_fail
;
28922 arg4
= (int)SWIG_As_int(obj3
);
28923 if (PyErr_Occurred()) SWIG_fail
;
28926 arg5
= (int)SWIG_As_int(obj4
);
28927 if (PyErr_Occurred()) SWIG_fail
;
28930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28931 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
28933 wxPyEndAllowThreads(__tstate
);
28934 if (PyErr_Occurred()) SWIG_fail
;
28936 Py_INCREF(Py_None
); resultobj
= Py_None
;
28943 static PyObject
*_wrap_PyPolygonShape_base_OnSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28944 PyObject
*resultobj
;
28945 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28948 PyObject
* obj0
= 0 ;
28949 PyObject
* obj1
= 0 ;
28950 PyObject
* obj2
= 0 ;
28951 char *kwnames
[] = {
28952 (char *) "self",(char *) "x",(char *) "y", NULL
28955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPolygonShape_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28958 arg2
= (double)SWIG_As_double(obj1
);
28959 if (PyErr_Occurred()) SWIG_fail
;
28960 arg3
= (double)SWIG_As_double(obj2
);
28961 if (PyErr_Occurred()) SWIG_fail
;
28963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28964 (arg1
)->base_OnSize(arg2
,arg3
);
28966 wxPyEndAllowThreads(__tstate
);
28967 if (PyErr_Occurred()) SWIG_fail
;
28969 Py_INCREF(Py_None
); resultobj
= Py_None
;
28976 static PyObject
*_wrap_PyPolygonShape_base_OnMovePre(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28977 PyObject
*resultobj
;
28978 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
28984 bool arg7
= (bool) True
;
28986 PyObject
* obj0
= 0 ;
28987 PyObject
* obj1
= 0 ;
28988 PyObject
* obj2
= 0 ;
28989 PyObject
* obj3
= 0 ;
28990 PyObject
* obj4
= 0 ;
28991 PyObject
* obj5
= 0 ;
28992 PyObject
* obj6
= 0 ;
28993 char *kwnames
[] = {
28994 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
28997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyPolygonShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
28998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
28999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29000 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
29001 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29003 if (arg2
== NULL
) {
29004 PyErr_SetString(PyExc_TypeError
,"null reference");
29007 arg3
= (double)SWIG_As_double(obj2
);
29008 if (PyErr_Occurred()) SWIG_fail
;
29009 arg4
= (double)SWIG_As_double(obj3
);
29010 if (PyErr_Occurred()) SWIG_fail
;
29011 arg5
= (double)SWIG_As_double(obj4
);
29012 if (PyErr_Occurred()) SWIG_fail
;
29013 arg6
= (double)SWIG_As_double(obj5
);
29014 if (PyErr_Occurred()) SWIG_fail
;
29016 arg7
= (bool)SWIG_As_bool(obj6
);
29017 if (PyErr_Occurred()) SWIG_fail
;
29020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29021 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
29023 wxPyEndAllowThreads(__tstate
);
29024 if (PyErr_Occurred()) SWIG_fail
;
29027 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29035 static PyObject
*_wrap_PyPolygonShape_base_OnMovePost(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29036 PyObject
*resultobj
;
29037 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29043 bool arg7
= (bool) True
;
29044 PyObject
* obj0
= 0 ;
29045 PyObject
* obj1
= 0 ;
29046 PyObject
* obj2
= 0 ;
29047 PyObject
* obj3
= 0 ;
29048 PyObject
* obj4
= 0 ;
29049 PyObject
* obj5
= 0 ;
29050 PyObject
* obj6
= 0 ;
29051 char *kwnames
[] = {
29052 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
29055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyPolygonShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
29056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
29057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29058 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
29059 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29061 if (arg2
== NULL
) {
29062 PyErr_SetString(PyExc_TypeError
,"null reference");
29065 arg3
= (double)SWIG_As_double(obj2
);
29066 if (PyErr_Occurred()) SWIG_fail
;
29067 arg4
= (double)SWIG_As_double(obj3
);
29068 if (PyErr_Occurred()) SWIG_fail
;
29069 arg5
= (double)SWIG_As_double(obj4
);
29070 if (PyErr_Occurred()) SWIG_fail
;
29071 arg6
= (double)SWIG_As_double(obj5
);
29072 if (PyErr_Occurred()) SWIG_fail
;
29074 arg7
= (bool)SWIG_As_bool(obj6
);
29075 if (PyErr_Occurred()) SWIG_fail
;
29078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29079 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
29081 wxPyEndAllowThreads(__tstate
);
29082 if (PyErr_Occurred()) SWIG_fail
;
29084 Py_INCREF(Py_None
); resultobj
= Py_None
;
29091 static PyObject
*_wrap_PyPolygonShape_base_OnDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29092 PyObject
*resultobj
;
29093 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29097 int arg5
= (int) 0 ;
29098 int arg6
= (int) 0 ;
29099 PyObject
* obj0
= 0 ;
29100 PyObject
* obj1
= 0 ;
29101 PyObject
* obj2
= 0 ;
29102 PyObject
* obj3
= 0 ;
29103 PyObject
* obj4
= 0 ;
29104 PyObject
* obj5
= 0 ;
29105 char *kwnames
[] = {
29106 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyPolygonShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
29111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29112 arg2
= (bool)SWIG_As_bool(obj1
);
29113 if (PyErr_Occurred()) SWIG_fail
;
29114 arg3
= (double)SWIG_As_double(obj2
);
29115 if (PyErr_Occurred()) SWIG_fail
;
29116 arg4
= (double)SWIG_As_double(obj3
);
29117 if (PyErr_Occurred()) SWIG_fail
;
29119 arg5
= (int)SWIG_As_int(obj4
);
29120 if (PyErr_Occurred()) SWIG_fail
;
29123 arg6
= (int)SWIG_As_int(obj5
);
29124 if (PyErr_Occurred()) SWIG_fail
;
29127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29128 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
29130 wxPyEndAllowThreads(__tstate
);
29131 if (PyErr_Occurred()) SWIG_fail
;
29133 Py_INCREF(Py_None
); resultobj
= Py_None
;
29140 static PyObject
*_wrap_PyPolygonShape_base_OnBeginDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29141 PyObject
*resultobj
;
29142 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29145 int arg4
= (int) 0 ;
29146 int arg5
= (int) 0 ;
29147 PyObject
* obj0
= 0 ;
29148 PyObject
* obj1
= 0 ;
29149 PyObject
* obj2
= 0 ;
29150 PyObject
* obj3
= 0 ;
29151 PyObject
* obj4
= 0 ;
29152 char *kwnames
[] = {
29153 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyPolygonShape_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
29158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29159 arg2
= (double)SWIG_As_double(obj1
);
29160 if (PyErr_Occurred()) SWIG_fail
;
29161 arg3
= (double)SWIG_As_double(obj2
);
29162 if (PyErr_Occurred()) SWIG_fail
;
29164 arg4
= (int)SWIG_As_int(obj3
);
29165 if (PyErr_Occurred()) SWIG_fail
;
29168 arg5
= (int)SWIG_As_int(obj4
);
29169 if (PyErr_Occurred()) SWIG_fail
;
29172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29173 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
29175 wxPyEndAllowThreads(__tstate
);
29176 if (PyErr_Occurred()) SWIG_fail
;
29178 Py_INCREF(Py_None
); resultobj
= Py_None
;
29185 static PyObject
*_wrap_PyPolygonShape_base_OnEndDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29186 PyObject
*resultobj
;
29187 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29190 int arg4
= (int) 0 ;
29191 int arg5
= (int) 0 ;
29192 PyObject
* obj0
= 0 ;
29193 PyObject
* obj1
= 0 ;
29194 PyObject
* obj2
= 0 ;
29195 PyObject
* obj3
= 0 ;
29196 PyObject
* obj4
= 0 ;
29197 char *kwnames
[] = {
29198 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyPolygonShape_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
29203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29204 arg2
= (double)SWIG_As_double(obj1
);
29205 if (PyErr_Occurred()) SWIG_fail
;
29206 arg3
= (double)SWIG_As_double(obj2
);
29207 if (PyErr_Occurred()) SWIG_fail
;
29209 arg4
= (int)SWIG_As_int(obj3
);
29210 if (PyErr_Occurred()) SWIG_fail
;
29213 arg5
= (int)SWIG_As_int(obj4
);
29214 if (PyErr_Occurred()) SWIG_fail
;
29217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29218 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
29220 wxPyEndAllowThreads(__tstate
);
29221 if (PyErr_Occurred()) SWIG_fail
;
29223 Py_INCREF(Py_None
); resultobj
= Py_None
;
29230 static PyObject
*_wrap_PyPolygonShape_base_OnDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29231 PyObject
*resultobj
;
29232 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29236 int arg5
= (int) 0 ;
29237 int arg6
= (int) 0 ;
29238 PyObject
* obj0
= 0 ;
29239 PyObject
* obj1
= 0 ;
29240 PyObject
* obj2
= 0 ;
29241 PyObject
* obj3
= 0 ;
29242 PyObject
* obj4
= 0 ;
29243 PyObject
* obj5
= 0 ;
29244 char *kwnames
[] = {
29245 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyPolygonShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
29250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29251 arg2
= (bool)SWIG_As_bool(obj1
);
29252 if (PyErr_Occurred()) SWIG_fail
;
29253 arg3
= (double)SWIG_As_double(obj2
);
29254 if (PyErr_Occurred()) SWIG_fail
;
29255 arg4
= (double)SWIG_As_double(obj3
);
29256 if (PyErr_Occurred()) SWIG_fail
;
29258 arg5
= (int)SWIG_As_int(obj4
);
29259 if (PyErr_Occurred()) SWIG_fail
;
29262 arg6
= (int)SWIG_As_int(obj5
);
29263 if (PyErr_Occurred()) SWIG_fail
;
29266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29267 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
29269 wxPyEndAllowThreads(__tstate
);
29270 if (PyErr_Occurred()) SWIG_fail
;
29272 Py_INCREF(Py_None
); resultobj
= Py_None
;
29279 static PyObject
*_wrap_PyPolygonShape_base_OnBeginDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29280 PyObject
*resultobj
;
29281 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29284 int arg4
= (int) 0 ;
29285 int arg5
= (int) 0 ;
29286 PyObject
* obj0
= 0 ;
29287 PyObject
* obj1
= 0 ;
29288 PyObject
* obj2
= 0 ;
29289 PyObject
* obj3
= 0 ;
29290 PyObject
* obj4
= 0 ;
29291 char *kwnames
[] = {
29292 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyPolygonShape_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
29297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29298 arg2
= (double)SWIG_As_double(obj1
);
29299 if (PyErr_Occurred()) SWIG_fail
;
29300 arg3
= (double)SWIG_As_double(obj2
);
29301 if (PyErr_Occurred()) SWIG_fail
;
29303 arg4
= (int)SWIG_As_int(obj3
);
29304 if (PyErr_Occurred()) SWIG_fail
;
29307 arg5
= (int)SWIG_As_int(obj4
);
29308 if (PyErr_Occurred()) SWIG_fail
;
29311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29312 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
29314 wxPyEndAllowThreads(__tstate
);
29315 if (PyErr_Occurred()) SWIG_fail
;
29317 Py_INCREF(Py_None
); resultobj
= Py_None
;
29324 static PyObject
*_wrap_PyPolygonShape_base_OnEndDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29325 PyObject
*resultobj
;
29326 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29329 int arg4
= (int) 0 ;
29330 int arg5
= (int) 0 ;
29331 PyObject
* obj0
= 0 ;
29332 PyObject
* obj1
= 0 ;
29333 PyObject
* obj2
= 0 ;
29334 PyObject
* obj3
= 0 ;
29335 PyObject
* obj4
= 0 ;
29336 char *kwnames
[] = {
29337 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyPolygonShape_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
29342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29343 arg2
= (double)SWIG_As_double(obj1
);
29344 if (PyErr_Occurred()) SWIG_fail
;
29345 arg3
= (double)SWIG_As_double(obj2
);
29346 if (PyErr_Occurred()) SWIG_fail
;
29348 arg4
= (int)SWIG_As_int(obj3
);
29349 if (PyErr_Occurred()) SWIG_fail
;
29352 arg5
= (int)SWIG_As_int(obj4
);
29353 if (PyErr_Occurred()) SWIG_fail
;
29356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29357 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
29359 wxPyEndAllowThreads(__tstate
);
29360 if (PyErr_Occurred()) SWIG_fail
;
29362 Py_INCREF(Py_None
); resultobj
= Py_None
;
29369 static PyObject
*_wrap_PyPolygonShape_base_OnDrawOutline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29370 PyObject
*resultobj
;
29371 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29377 PyObject
* obj0
= 0 ;
29378 PyObject
* obj1
= 0 ;
29379 PyObject
* obj2
= 0 ;
29380 PyObject
* obj3
= 0 ;
29381 PyObject
* obj4
= 0 ;
29382 PyObject
* obj5
= 0 ;
29383 char *kwnames
[] = {
29384 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyPolygonShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
29389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29390 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
29391 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29393 if (arg2
== NULL
) {
29394 PyErr_SetString(PyExc_TypeError
,"null reference");
29397 arg3
= (double)SWIG_As_double(obj2
);
29398 if (PyErr_Occurred()) SWIG_fail
;
29399 arg4
= (double)SWIG_As_double(obj3
);
29400 if (PyErr_Occurred()) SWIG_fail
;
29401 arg5
= (double)SWIG_As_double(obj4
);
29402 if (PyErr_Occurred()) SWIG_fail
;
29403 arg6
= (double)SWIG_As_double(obj5
);
29404 if (PyErr_Occurred()) SWIG_fail
;
29406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29407 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
29409 wxPyEndAllowThreads(__tstate
);
29410 if (PyErr_Occurred()) SWIG_fail
;
29412 Py_INCREF(Py_None
); resultobj
= Py_None
;
29419 static PyObject
*_wrap_PyPolygonShape_base_OnDrawControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29420 PyObject
*resultobj
;
29421 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29423 PyObject
* obj0
= 0 ;
29424 PyObject
* obj1
= 0 ;
29425 char *kwnames
[] = {
29426 (char *) "self",(char *) "dc", NULL
29429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
29430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
29431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29432 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
29433 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29435 if (arg2
== NULL
) {
29436 PyErr_SetString(PyExc_TypeError
,"null reference");
29440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29441 (arg1
)->base_OnDrawControlPoints(*arg2
);
29443 wxPyEndAllowThreads(__tstate
);
29444 if (PyErr_Occurred()) SWIG_fail
;
29446 Py_INCREF(Py_None
); resultobj
= Py_None
;
29453 static PyObject
*_wrap_PyPolygonShape_base_OnEraseControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29454 PyObject
*resultobj
;
29455 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29457 PyObject
* obj0
= 0 ;
29458 PyObject
* obj1
= 0 ;
29459 char *kwnames
[] = {
29460 (char *) "self",(char *) "dc", NULL
29463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
29464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
29465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29466 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
29467 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29469 if (arg2
== NULL
) {
29470 PyErr_SetString(PyExc_TypeError
,"null reference");
29474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29475 (arg1
)->base_OnEraseControlPoints(*arg2
);
29477 wxPyEndAllowThreads(__tstate
);
29478 if (PyErr_Occurred()) SWIG_fail
;
29480 Py_INCREF(Py_None
); resultobj
= Py_None
;
29487 static PyObject
*_wrap_PyPolygonShape_base_OnMoveLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29488 PyObject
*resultobj
;
29489 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29491 bool arg3
= (bool) True
;
29492 PyObject
* obj0
= 0 ;
29493 PyObject
* obj1
= 0 ;
29494 PyObject
* obj2
= 0 ;
29495 char *kwnames
[] = {
29496 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
29499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyPolygonShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
29501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29502 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
29503 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29505 if (arg2
== NULL
) {
29506 PyErr_SetString(PyExc_TypeError
,"null reference");
29510 arg3
= (bool)SWIG_As_bool(obj2
);
29511 if (PyErr_Occurred()) SWIG_fail
;
29514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29515 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
29517 wxPyEndAllowThreads(__tstate
);
29518 if (PyErr_Occurred()) SWIG_fail
;
29520 Py_INCREF(Py_None
); resultobj
= Py_None
;
29527 static PyObject
*_wrap_PyPolygonShape_base_OnSizingDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29528 PyObject
*resultobj
;
29529 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29530 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
29534 int arg6
= (int) 0 ;
29535 int arg7
= (int) 0 ;
29536 PyObject
* obj0
= 0 ;
29537 PyObject
* obj1
= 0 ;
29538 PyObject
* obj2
= 0 ;
29539 PyObject
* obj3
= 0 ;
29540 PyObject
* obj4
= 0 ;
29541 PyObject
* obj5
= 0 ;
29542 PyObject
* obj6
= 0 ;
29543 char *kwnames
[] = {
29544 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyPolygonShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
29548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
29549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29550 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
29551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29552 arg3
= (bool)SWIG_As_bool(obj2
);
29553 if (PyErr_Occurred()) SWIG_fail
;
29554 arg4
= (double)SWIG_As_double(obj3
);
29555 if (PyErr_Occurred()) SWIG_fail
;
29556 arg5
= (double)SWIG_As_double(obj4
);
29557 if (PyErr_Occurred()) SWIG_fail
;
29559 arg6
= (int)SWIG_As_int(obj5
);
29560 if (PyErr_Occurred()) SWIG_fail
;
29563 arg7
= (int)SWIG_As_int(obj6
);
29564 if (PyErr_Occurred()) SWIG_fail
;
29567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29568 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
29570 wxPyEndAllowThreads(__tstate
);
29571 if (PyErr_Occurred()) SWIG_fail
;
29573 Py_INCREF(Py_None
); resultobj
= Py_None
;
29580 static PyObject
*_wrap_PyPolygonShape_base_OnSizingBeginDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29581 PyObject
*resultobj
;
29582 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29583 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
29586 int arg5
= (int) 0 ;
29587 int arg6
= (int) 0 ;
29588 PyObject
* obj0
= 0 ;
29589 PyObject
* obj1
= 0 ;
29590 PyObject
* obj2
= 0 ;
29591 PyObject
* obj3
= 0 ;
29592 PyObject
* obj4
= 0 ;
29593 PyObject
* obj5
= 0 ;
29594 char *kwnames
[] = {
29595 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyPolygonShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
29600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29601 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
29602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29603 arg3
= (double)SWIG_As_double(obj2
);
29604 if (PyErr_Occurred()) SWIG_fail
;
29605 arg4
= (double)SWIG_As_double(obj3
);
29606 if (PyErr_Occurred()) SWIG_fail
;
29608 arg5
= (int)SWIG_As_int(obj4
);
29609 if (PyErr_Occurred()) SWIG_fail
;
29612 arg6
= (int)SWIG_As_int(obj5
);
29613 if (PyErr_Occurred()) SWIG_fail
;
29616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29617 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
29619 wxPyEndAllowThreads(__tstate
);
29620 if (PyErr_Occurred()) SWIG_fail
;
29622 Py_INCREF(Py_None
); resultobj
= Py_None
;
29629 static PyObject
*_wrap_PyPolygonShape_base_OnSizingEndDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29630 PyObject
*resultobj
;
29631 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29632 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
29635 int arg5
= (int) 0 ;
29636 int arg6
= (int) 0 ;
29637 PyObject
* obj0
= 0 ;
29638 PyObject
* obj1
= 0 ;
29639 PyObject
* obj2
= 0 ;
29640 PyObject
* obj3
= 0 ;
29641 PyObject
* obj4
= 0 ;
29642 PyObject
* obj5
= 0 ;
29643 char *kwnames
[] = {
29644 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
29647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyPolygonShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
29649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29650 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
29651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29652 arg3
= (double)SWIG_As_double(obj2
);
29653 if (PyErr_Occurred()) SWIG_fail
;
29654 arg4
= (double)SWIG_As_double(obj3
);
29655 if (PyErr_Occurred()) SWIG_fail
;
29657 arg5
= (int)SWIG_As_int(obj4
);
29658 if (PyErr_Occurred()) SWIG_fail
;
29661 arg6
= (int)SWIG_As_int(obj5
);
29662 if (PyErr_Occurred()) SWIG_fail
;
29665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29666 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
29668 wxPyEndAllowThreads(__tstate
);
29669 if (PyErr_Occurred()) SWIG_fail
;
29671 Py_INCREF(Py_None
); resultobj
= Py_None
;
29678 static PyObject
*_wrap_PyPolygonShape_base_OnBeginSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29679 PyObject
*resultobj
;
29680 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29683 PyObject
* obj0
= 0 ;
29684 PyObject
* obj1
= 0 ;
29685 PyObject
* obj2
= 0 ;
29686 char *kwnames
[] = {
29687 (char *) "self",(char *) "w",(char *) "h", NULL
29690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPolygonShape_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
29692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29693 arg2
= (double)SWIG_As_double(obj1
);
29694 if (PyErr_Occurred()) SWIG_fail
;
29695 arg3
= (double)SWIG_As_double(obj2
);
29696 if (PyErr_Occurred()) SWIG_fail
;
29698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29699 (arg1
)->base_OnBeginSize(arg2
,arg3
);
29701 wxPyEndAllowThreads(__tstate
);
29702 if (PyErr_Occurred()) SWIG_fail
;
29704 Py_INCREF(Py_None
); resultobj
= Py_None
;
29711 static PyObject
*_wrap_PyPolygonShape_base_OnEndSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29712 PyObject
*resultobj
;
29713 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
29716 PyObject
* obj0
= 0 ;
29717 PyObject
* obj1
= 0 ;
29718 PyObject
* obj2
= 0 ;
29719 char *kwnames
[] = {
29720 (char *) "self",(char *) "w",(char *) "h", NULL
29723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPolygonShape_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPolygonShape
,
29725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29726 arg2
= (double)SWIG_As_double(obj1
);
29727 if (PyErr_Occurred()) SWIG_fail
;
29728 arg3
= (double)SWIG_As_double(obj2
);
29729 if (PyErr_Occurred()) SWIG_fail
;
29731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29732 (arg1
)->base_OnEndSize(arg2
,arg3
);
29734 wxPyEndAllowThreads(__tstate
);
29735 if (PyErr_Occurred()) SWIG_fail
;
29737 Py_INCREF(Py_None
); resultobj
= Py_None
;
29744 static PyObject
* PyPolygonShape_swigregister(PyObject
*, PyObject
*args
) {
29746 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29747 SWIG_TypeClientData(SWIGTYPE_p_wxPyPolygonShape
, obj
);
29749 return Py_BuildValue((char *)"");
29751 static PyObject
*_wrap_new_PyTextShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29752 PyObject
*resultobj
;
29753 double arg1
= (double) 0.0 ;
29754 double arg2
= (double) 0.0 ;
29755 wxPyTextShape
*result
;
29756 PyObject
* obj0
= 0 ;
29757 PyObject
* obj1
= 0 ;
29758 char *kwnames
[] = {
29759 (char *) "width",(char *) "height", NULL
29762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyTextShape",kwnames
,&obj0
,&obj1
)) goto fail
;
29764 arg1
= (double)SWIG_As_double(obj0
);
29765 if (PyErr_Occurred()) SWIG_fail
;
29768 arg2
= (double)SWIG_As_double(obj1
);
29769 if (PyErr_Occurred()) SWIG_fail
;
29772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29773 result
= (wxPyTextShape
*)new wxPyTextShape(arg1
,arg2
);
29775 wxPyEndAllowThreads(__tstate
);
29776 if (PyErr_Occurred()) SWIG_fail
;
29778 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextShape
, 1);
29785 static PyObject
*_wrap_PyTextShape__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29786 PyObject
*resultobj
;
29787 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
29788 PyObject
*arg2
= (PyObject
*) 0 ;
29789 PyObject
*arg3
= (PyObject
*) 0 ;
29790 PyObject
* obj0
= 0 ;
29791 PyObject
* obj1
= 0 ;
29792 PyObject
* obj2
= 0 ;
29793 char *kwnames
[] = {
29794 (char *) "self",(char *) "self",(char *) "_class", NULL
29797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
29799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29804 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29806 wxPyEndAllowThreads(__tstate
);
29807 if (PyErr_Occurred()) SWIG_fail
;
29809 Py_INCREF(Py_None
); resultobj
= Py_None
;
29816 static PyObject
*_wrap_PyTextShape_base_OnDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29817 PyObject
*resultobj
;
29818 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
29819 PyObject
* obj0
= 0 ;
29820 char *kwnames
[] = {
29821 (char *) "self", NULL
29824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyTextShape_base_OnDelete",kwnames
,&obj0
)) goto fail
;
29825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
29826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29829 (arg1
)->base_OnDelete();
29831 wxPyEndAllowThreads(__tstate
);
29832 if (PyErr_Occurred()) SWIG_fail
;
29834 Py_INCREF(Py_None
); resultobj
= Py_None
;
29841 static PyObject
*_wrap_PyTextShape_base_OnDraw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29842 PyObject
*resultobj
;
29843 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
29845 PyObject
* obj0
= 0 ;
29846 PyObject
* obj1
= 0 ;
29847 char *kwnames
[] = {
29848 (char *) "self",(char *) "dc", NULL
29851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyTextShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
29852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
29853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29854 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
29855 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29857 if (arg2
== NULL
) {
29858 PyErr_SetString(PyExc_TypeError
,"null reference");
29862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29863 (arg1
)->base_OnDraw(*arg2
);
29865 wxPyEndAllowThreads(__tstate
);
29866 if (PyErr_Occurred()) SWIG_fail
;
29868 Py_INCREF(Py_None
); resultobj
= Py_None
;
29875 static PyObject
*_wrap_PyTextShape_base_OnDrawContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29876 PyObject
*resultobj
;
29877 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
29879 PyObject
* obj0
= 0 ;
29880 PyObject
* obj1
= 0 ;
29881 char *kwnames
[] = {
29882 (char *) "self",(char *) "dc", NULL
29885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyTextShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
29886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
29887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29888 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
29889 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29891 if (arg2
== NULL
) {
29892 PyErr_SetString(PyExc_TypeError
,"null reference");
29896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29897 (arg1
)->base_OnDrawContents(*arg2
);
29899 wxPyEndAllowThreads(__tstate
);
29900 if (PyErr_Occurred()) SWIG_fail
;
29902 Py_INCREF(Py_None
); resultobj
= Py_None
;
29909 static PyObject
*_wrap_PyTextShape_base_OnDrawBranches(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29910 PyObject
*resultobj
;
29911 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
29913 bool arg3
= (bool) FALSE
;
29914 PyObject
* obj0
= 0 ;
29915 PyObject
* obj1
= 0 ;
29916 PyObject
* obj2
= 0 ;
29917 char *kwnames
[] = {
29918 (char *) "self",(char *) "dc",(char *) "erase", NULL
29921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyTextShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
29923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29924 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
29925 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29927 if (arg2
== NULL
) {
29928 PyErr_SetString(PyExc_TypeError
,"null reference");
29932 arg3
= (bool)SWIG_As_bool(obj2
);
29933 if (PyErr_Occurred()) SWIG_fail
;
29936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29937 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
29939 wxPyEndAllowThreads(__tstate
);
29940 if (PyErr_Occurred()) SWIG_fail
;
29942 Py_INCREF(Py_None
); resultobj
= Py_None
;
29949 static PyObject
*_wrap_PyTextShape_base_OnMoveLinks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29950 PyObject
*resultobj
;
29951 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
29953 PyObject
* obj0
= 0 ;
29954 PyObject
* obj1
= 0 ;
29955 char *kwnames
[] = {
29956 (char *) "self",(char *) "dc", NULL
29959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyTextShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
29960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
29961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29962 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
29963 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29965 if (arg2
== NULL
) {
29966 PyErr_SetString(PyExc_TypeError
,"null reference");
29970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29971 (arg1
)->base_OnMoveLinks(*arg2
);
29973 wxPyEndAllowThreads(__tstate
);
29974 if (PyErr_Occurred()) SWIG_fail
;
29976 Py_INCREF(Py_None
); resultobj
= Py_None
;
29983 static PyObject
*_wrap_PyTextShape_base_OnErase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29984 PyObject
*resultobj
;
29985 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
29987 PyObject
* obj0
= 0 ;
29988 PyObject
* obj1
= 0 ;
29989 char *kwnames
[] = {
29990 (char *) "self",(char *) "dc", NULL
29993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyTextShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
29994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
29995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29996 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
29997 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29999 if (arg2
== NULL
) {
30000 PyErr_SetString(PyExc_TypeError
,"null reference");
30004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30005 (arg1
)->base_OnErase(*arg2
);
30007 wxPyEndAllowThreads(__tstate
);
30008 if (PyErr_Occurred()) SWIG_fail
;
30010 Py_INCREF(Py_None
); resultobj
= Py_None
;
30017 static PyObject
*_wrap_PyTextShape_base_OnEraseContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30018 PyObject
*resultobj
;
30019 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30021 PyObject
* obj0
= 0 ;
30022 PyObject
* obj1
= 0 ;
30023 char *kwnames
[] = {
30024 (char *) "self",(char *) "dc", NULL
30027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyTextShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
30028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30030 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
30031 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30033 if (arg2
== NULL
) {
30034 PyErr_SetString(PyExc_TypeError
,"null reference");
30038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30039 (arg1
)->base_OnEraseContents(*arg2
);
30041 wxPyEndAllowThreads(__tstate
);
30042 if (PyErr_Occurred()) SWIG_fail
;
30044 Py_INCREF(Py_None
); resultobj
= Py_None
;
30051 static PyObject
*_wrap_PyTextShape_base_OnHighlight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30052 PyObject
*resultobj
;
30053 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30055 PyObject
* obj0
= 0 ;
30056 PyObject
* obj1
= 0 ;
30057 char *kwnames
[] = {
30058 (char *) "self",(char *) "dc", NULL
30061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyTextShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
30062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30064 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
30065 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30067 if (arg2
== NULL
) {
30068 PyErr_SetString(PyExc_TypeError
,"null reference");
30072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30073 (arg1
)->base_OnHighlight(*arg2
);
30075 wxPyEndAllowThreads(__tstate
);
30076 if (PyErr_Occurred()) SWIG_fail
;
30078 Py_INCREF(Py_None
); resultobj
= Py_None
;
30085 static PyObject
*_wrap_PyTextShape_base_OnLeftClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30086 PyObject
*resultobj
;
30087 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30090 int arg4
= (int) 0 ;
30091 int arg5
= (int) 0 ;
30092 PyObject
* obj0
= 0 ;
30093 PyObject
* obj1
= 0 ;
30094 PyObject
* obj2
= 0 ;
30095 PyObject
* obj3
= 0 ;
30096 PyObject
* obj4
= 0 ;
30097 char *kwnames
[] = {
30098 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyTextShape_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30104 arg2
= (double)SWIG_As_double(obj1
);
30105 if (PyErr_Occurred()) SWIG_fail
;
30106 arg3
= (double)SWIG_As_double(obj2
);
30107 if (PyErr_Occurred()) SWIG_fail
;
30109 arg4
= (int)SWIG_As_int(obj3
);
30110 if (PyErr_Occurred()) SWIG_fail
;
30113 arg5
= (int)SWIG_As_int(obj4
);
30114 if (PyErr_Occurred()) SWIG_fail
;
30117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30118 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
30120 wxPyEndAllowThreads(__tstate
);
30121 if (PyErr_Occurred()) SWIG_fail
;
30123 Py_INCREF(Py_None
); resultobj
= Py_None
;
30130 static PyObject
*_wrap_PyTextShape_base_OnLeftDoubleClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30131 PyObject
*resultobj
;
30132 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30135 int arg4
= (int) 0 ;
30136 int arg5
= (int) 0 ;
30137 PyObject
* obj0
= 0 ;
30138 PyObject
* obj1
= 0 ;
30139 PyObject
* obj2
= 0 ;
30140 PyObject
* obj3
= 0 ;
30141 PyObject
* obj4
= 0 ;
30142 char *kwnames
[] = {
30143 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyTextShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30149 arg2
= (double)SWIG_As_double(obj1
);
30150 if (PyErr_Occurred()) SWIG_fail
;
30151 arg3
= (double)SWIG_As_double(obj2
);
30152 if (PyErr_Occurred()) SWIG_fail
;
30154 arg4
= (int)SWIG_As_int(obj3
);
30155 if (PyErr_Occurred()) SWIG_fail
;
30158 arg5
= (int)SWIG_As_int(obj4
);
30159 if (PyErr_Occurred()) SWIG_fail
;
30162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30163 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
30165 wxPyEndAllowThreads(__tstate
);
30166 if (PyErr_Occurred()) SWIG_fail
;
30168 Py_INCREF(Py_None
); resultobj
= Py_None
;
30175 static PyObject
*_wrap_PyTextShape_base_OnRightClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30176 PyObject
*resultobj
;
30177 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30180 int arg4
= (int) 0 ;
30181 int arg5
= (int) 0 ;
30182 PyObject
* obj0
= 0 ;
30183 PyObject
* obj1
= 0 ;
30184 PyObject
* obj2
= 0 ;
30185 PyObject
* obj3
= 0 ;
30186 PyObject
* obj4
= 0 ;
30187 char *kwnames
[] = {
30188 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyTextShape_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30194 arg2
= (double)SWIG_As_double(obj1
);
30195 if (PyErr_Occurred()) SWIG_fail
;
30196 arg3
= (double)SWIG_As_double(obj2
);
30197 if (PyErr_Occurred()) SWIG_fail
;
30199 arg4
= (int)SWIG_As_int(obj3
);
30200 if (PyErr_Occurred()) SWIG_fail
;
30203 arg5
= (int)SWIG_As_int(obj4
);
30204 if (PyErr_Occurred()) SWIG_fail
;
30207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30208 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
30210 wxPyEndAllowThreads(__tstate
);
30211 if (PyErr_Occurred()) SWIG_fail
;
30213 Py_INCREF(Py_None
); resultobj
= Py_None
;
30220 static PyObject
*_wrap_PyTextShape_base_OnSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30221 PyObject
*resultobj
;
30222 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30225 PyObject
* obj0
= 0 ;
30226 PyObject
* obj1
= 0 ;
30227 PyObject
* obj2
= 0 ;
30228 char *kwnames
[] = {
30229 (char *) "self",(char *) "x",(char *) "y", NULL
30232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextShape_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30235 arg2
= (double)SWIG_As_double(obj1
);
30236 if (PyErr_Occurred()) SWIG_fail
;
30237 arg3
= (double)SWIG_As_double(obj2
);
30238 if (PyErr_Occurred()) SWIG_fail
;
30240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30241 (arg1
)->base_OnSize(arg2
,arg3
);
30243 wxPyEndAllowThreads(__tstate
);
30244 if (PyErr_Occurred()) SWIG_fail
;
30246 Py_INCREF(Py_None
); resultobj
= Py_None
;
30253 static PyObject
*_wrap_PyTextShape_base_OnMovePre(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30254 PyObject
*resultobj
;
30255 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30261 bool arg7
= (bool) True
;
30263 PyObject
* obj0
= 0 ;
30264 PyObject
* obj1
= 0 ;
30265 PyObject
* obj2
= 0 ;
30266 PyObject
* obj3
= 0 ;
30267 PyObject
* obj4
= 0 ;
30268 PyObject
* obj5
= 0 ;
30269 PyObject
* obj6
= 0 ;
30270 char *kwnames
[] = {
30271 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
30274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyTextShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
30275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30277 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
30278 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30280 if (arg2
== NULL
) {
30281 PyErr_SetString(PyExc_TypeError
,"null reference");
30284 arg3
= (double)SWIG_As_double(obj2
);
30285 if (PyErr_Occurred()) SWIG_fail
;
30286 arg4
= (double)SWIG_As_double(obj3
);
30287 if (PyErr_Occurred()) SWIG_fail
;
30288 arg5
= (double)SWIG_As_double(obj4
);
30289 if (PyErr_Occurred()) SWIG_fail
;
30290 arg6
= (double)SWIG_As_double(obj5
);
30291 if (PyErr_Occurred()) SWIG_fail
;
30293 arg7
= (bool)SWIG_As_bool(obj6
);
30294 if (PyErr_Occurred()) SWIG_fail
;
30297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30298 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
30300 wxPyEndAllowThreads(__tstate
);
30301 if (PyErr_Occurred()) SWIG_fail
;
30304 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30312 static PyObject
*_wrap_PyTextShape_base_OnMovePost(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30313 PyObject
*resultobj
;
30314 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30320 bool arg7
= (bool) True
;
30321 PyObject
* obj0
= 0 ;
30322 PyObject
* obj1
= 0 ;
30323 PyObject
* obj2
= 0 ;
30324 PyObject
* obj3
= 0 ;
30325 PyObject
* obj4
= 0 ;
30326 PyObject
* obj5
= 0 ;
30327 PyObject
* obj6
= 0 ;
30328 char *kwnames
[] = {
30329 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
30332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyTextShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
30333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30335 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
30336 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30338 if (arg2
== NULL
) {
30339 PyErr_SetString(PyExc_TypeError
,"null reference");
30342 arg3
= (double)SWIG_As_double(obj2
);
30343 if (PyErr_Occurred()) SWIG_fail
;
30344 arg4
= (double)SWIG_As_double(obj3
);
30345 if (PyErr_Occurred()) SWIG_fail
;
30346 arg5
= (double)SWIG_As_double(obj4
);
30347 if (PyErr_Occurred()) SWIG_fail
;
30348 arg6
= (double)SWIG_As_double(obj5
);
30349 if (PyErr_Occurred()) SWIG_fail
;
30351 arg7
= (bool)SWIG_As_bool(obj6
);
30352 if (PyErr_Occurred()) SWIG_fail
;
30355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30356 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
30358 wxPyEndAllowThreads(__tstate
);
30359 if (PyErr_Occurred()) SWIG_fail
;
30361 Py_INCREF(Py_None
); resultobj
= Py_None
;
30368 static PyObject
*_wrap_PyTextShape_base_OnDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30369 PyObject
*resultobj
;
30370 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30374 int arg5
= (int) 0 ;
30375 int arg6
= (int) 0 ;
30376 PyObject
* obj0
= 0 ;
30377 PyObject
* obj1
= 0 ;
30378 PyObject
* obj2
= 0 ;
30379 PyObject
* obj3
= 0 ;
30380 PyObject
* obj4
= 0 ;
30381 PyObject
* obj5
= 0 ;
30382 char *kwnames
[] = {
30383 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyTextShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
30387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30389 arg2
= (bool)SWIG_As_bool(obj1
);
30390 if (PyErr_Occurred()) SWIG_fail
;
30391 arg3
= (double)SWIG_As_double(obj2
);
30392 if (PyErr_Occurred()) SWIG_fail
;
30393 arg4
= (double)SWIG_As_double(obj3
);
30394 if (PyErr_Occurred()) SWIG_fail
;
30396 arg5
= (int)SWIG_As_int(obj4
);
30397 if (PyErr_Occurred()) SWIG_fail
;
30400 arg6
= (int)SWIG_As_int(obj5
);
30401 if (PyErr_Occurred()) SWIG_fail
;
30404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30405 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
30407 wxPyEndAllowThreads(__tstate
);
30408 if (PyErr_Occurred()) SWIG_fail
;
30410 Py_INCREF(Py_None
); resultobj
= Py_None
;
30417 static PyObject
*_wrap_PyTextShape_base_OnBeginDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30418 PyObject
*resultobj
;
30419 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30422 int arg4
= (int) 0 ;
30423 int arg5
= (int) 0 ;
30424 PyObject
* obj0
= 0 ;
30425 PyObject
* obj1
= 0 ;
30426 PyObject
* obj2
= 0 ;
30427 PyObject
* obj3
= 0 ;
30428 PyObject
* obj4
= 0 ;
30429 char *kwnames
[] = {
30430 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyTextShape_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30436 arg2
= (double)SWIG_As_double(obj1
);
30437 if (PyErr_Occurred()) SWIG_fail
;
30438 arg3
= (double)SWIG_As_double(obj2
);
30439 if (PyErr_Occurred()) SWIG_fail
;
30441 arg4
= (int)SWIG_As_int(obj3
);
30442 if (PyErr_Occurred()) SWIG_fail
;
30445 arg5
= (int)SWIG_As_int(obj4
);
30446 if (PyErr_Occurred()) SWIG_fail
;
30449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30450 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
30452 wxPyEndAllowThreads(__tstate
);
30453 if (PyErr_Occurred()) SWIG_fail
;
30455 Py_INCREF(Py_None
); resultobj
= Py_None
;
30462 static PyObject
*_wrap_PyTextShape_base_OnEndDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30463 PyObject
*resultobj
;
30464 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30467 int arg4
= (int) 0 ;
30468 int arg5
= (int) 0 ;
30469 PyObject
* obj0
= 0 ;
30470 PyObject
* obj1
= 0 ;
30471 PyObject
* obj2
= 0 ;
30472 PyObject
* obj3
= 0 ;
30473 PyObject
* obj4
= 0 ;
30474 char *kwnames
[] = {
30475 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyTextShape_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30481 arg2
= (double)SWIG_As_double(obj1
);
30482 if (PyErr_Occurred()) SWIG_fail
;
30483 arg3
= (double)SWIG_As_double(obj2
);
30484 if (PyErr_Occurred()) SWIG_fail
;
30486 arg4
= (int)SWIG_As_int(obj3
);
30487 if (PyErr_Occurred()) SWIG_fail
;
30490 arg5
= (int)SWIG_As_int(obj4
);
30491 if (PyErr_Occurred()) SWIG_fail
;
30494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30495 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
30497 wxPyEndAllowThreads(__tstate
);
30498 if (PyErr_Occurred()) SWIG_fail
;
30500 Py_INCREF(Py_None
); resultobj
= Py_None
;
30507 static PyObject
*_wrap_PyTextShape_base_OnDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30508 PyObject
*resultobj
;
30509 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30513 int arg5
= (int) 0 ;
30514 int arg6
= (int) 0 ;
30515 PyObject
* obj0
= 0 ;
30516 PyObject
* obj1
= 0 ;
30517 PyObject
* obj2
= 0 ;
30518 PyObject
* obj3
= 0 ;
30519 PyObject
* obj4
= 0 ;
30520 PyObject
* obj5
= 0 ;
30521 char *kwnames
[] = {
30522 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyTextShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
30526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30528 arg2
= (bool)SWIG_As_bool(obj1
);
30529 if (PyErr_Occurred()) SWIG_fail
;
30530 arg3
= (double)SWIG_As_double(obj2
);
30531 if (PyErr_Occurred()) SWIG_fail
;
30532 arg4
= (double)SWIG_As_double(obj3
);
30533 if (PyErr_Occurred()) SWIG_fail
;
30535 arg5
= (int)SWIG_As_int(obj4
);
30536 if (PyErr_Occurred()) SWIG_fail
;
30539 arg6
= (int)SWIG_As_int(obj5
);
30540 if (PyErr_Occurred()) SWIG_fail
;
30543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30544 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
30546 wxPyEndAllowThreads(__tstate
);
30547 if (PyErr_Occurred()) SWIG_fail
;
30549 Py_INCREF(Py_None
); resultobj
= Py_None
;
30556 static PyObject
*_wrap_PyTextShape_base_OnBeginDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30557 PyObject
*resultobj
;
30558 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30561 int arg4
= (int) 0 ;
30562 int arg5
= (int) 0 ;
30563 PyObject
* obj0
= 0 ;
30564 PyObject
* obj1
= 0 ;
30565 PyObject
* obj2
= 0 ;
30566 PyObject
* obj3
= 0 ;
30567 PyObject
* obj4
= 0 ;
30568 char *kwnames
[] = {
30569 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyTextShape_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30575 arg2
= (double)SWIG_As_double(obj1
);
30576 if (PyErr_Occurred()) SWIG_fail
;
30577 arg3
= (double)SWIG_As_double(obj2
);
30578 if (PyErr_Occurred()) SWIG_fail
;
30580 arg4
= (int)SWIG_As_int(obj3
);
30581 if (PyErr_Occurred()) SWIG_fail
;
30584 arg5
= (int)SWIG_As_int(obj4
);
30585 if (PyErr_Occurred()) SWIG_fail
;
30588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30589 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
30591 wxPyEndAllowThreads(__tstate
);
30592 if (PyErr_Occurred()) SWIG_fail
;
30594 Py_INCREF(Py_None
); resultobj
= Py_None
;
30601 static PyObject
*_wrap_PyTextShape_base_OnEndDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30602 PyObject
*resultobj
;
30603 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30606 int arg4
= (int) 0 ;
30607 int arg5
= (int) 0 ;
30608 PyObject
* obj0
= 0 ;
30609 PyObject
* obj1
= 0 ;
30610 PyObject
* obj2
= 0 ;
30611 PyObject
* obj3
= 0 ;
30612 PyObject
* obj4
= 0 ;
30613 char *kwnames
[] = {
30614 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyTextShape_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30620 arg2
= (double)SWIG_As_double(obj1
);
30621 if (PyErr_Occurred()) SWIG_fail
;
30622 arg3
= (double)SWIG_As_double(obj2
);
30623 if (PyErr_Occurred()) SWIG_fail
;
30625 arg4
= (int)SWIG_As_int(obj3
);
30626 if (PyErr_Occurred()) SWIG_fail
;
30629 arg5
= (int)SWIG_As_int(obj4
);
30630 if (PyErr_Occurred()) SWIG_fail
;
30633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30634 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
30636 wxPyEndAllowThreads(__tstate
);
30637 if (PyErr_Occurred()) SWIG_fail
;
30639 Py_INCREF(Py_None
); resultobj
= Py_None
;
30646 static PyObject
*_wrap_PyTextShape_base_OnDrawOutline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30647 PyObject
*resultobj
;
30648 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30654 PyObject
* obj0
= 0 ;
30655 PyObject
* obj1
= 0 ;
30656 PyObject
* obj2
= 0 ;
30657 PyObject
* obj3
= 0 ;
30658 PyObject
* obj4
= 0 ;
30659 PyObject
* obj5
= 0 ;
30660 char *kwnames
[] = {
30661 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
30664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyTextShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
30665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30667 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
30668 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30670 if (arg2
== NULL
) {
30671 PyErr_SetString(PyExc_TypeError
,"null reference");
30674 arg3
= (double)SWIG_As_double(obj2
);
30675 if (PyErr_Occurred()) SWIG_fail
;
30676 arg4
= (double)SWIG_As_double(obj3
);
30677 if (PyErr_Occurred()) SWIG_fail
;
30678 arg5
= (double)SWIG_As_double(obj4
);
30679 if (PyErr_Occurred()) SWIG_fail
;
30680 arg6
= (double)SWIG_As_double(obj5
);
30681 if (PyErr_Occurred()) SWIG_fail
;
30683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30684 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
30686 wxPyEndAllowThreads(__tstate
);
30687 if (PyErr_Occurred()) SWIG_fail
;
30689 Py_INCREF(Py_None
); resultobj
= Py_None
;
30696 static PyObject
*_wrap_PyTextShape_base_OnDrawControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30697 PyObject
*resultobj
;
30698 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30700 PyObject
* obj0
= 0 ;
30701 PyObject
* obj1
= 0 ;
30702 char *kwnames
[] = {
30703 (char *) "self",(char *) "dc", NULL
30706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyTextShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
30707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30709 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
30710 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30712 if (arg2
== NULL
) {
30713 PyErr_SetString(PyExc_TypeError
,"null reference");
30717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30718 (arg1
)->base_OnDrawControlPoints(*arg2
);
30720 wxPyEndAllowThreads(__tstate
);
30721 if (PyErr_Occurred()) SWIG_fail
;
30723 Py_INCREF(Py_None
); resultobj
= Py_None
;
30730 static PyObject
*_wrap_PyTextShape_base_OnEraseControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30731 PyObject
*resultobj
;
30732 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30734 PyObject
* obj0
= 0 ;
30735 PyObject
* obj1
= 0 ;
30736 char *kwnames
[] = {
30737 (char *) "self",(char *) "dc", NULL
30740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyTextShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
30741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30743 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
30744 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30746 if (arg2
== NULL
) {
30747 PyErr_SetString(PyExc_TypeError
,"null reference");
30751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30752 (arg1
)->base_OnEraseControlPoints(*arg2
);
30754 wxPyEndAllowThreads(__tstate
);
30755 if (PyErr_Occurred()) SWIG_fail
;
30757 Py_INCREF(Py_None
); resultobj
= Py_None
;
30764 static PyObject
*_wrap_PyTextShape_base_OnMoveLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30765 PyObject
*resultobj
;
30766 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30768 bool arg3
= (bool) True
;
30769 PyObject
* obj0
= 0 ;
30770 PyObject
* obj1
= 0 ;
30771 PyObject
* obj2
= 0 ;
30772 char *kwnames
[] = {
30773 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
30776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyTextShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30779 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
30780 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30782 if (arg2
== NULL
) {
30783 PyErr_SetString(PyExc_TypeError
,"null reference");
30787 arg3
= (bool)SWIG_As_bool(obj2
);
30788 if (PyErr_Occurred()) SWIG_fail
;
30791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30792 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
30794 wxPyEndAllowThreads(__tstate
);
30795 if (PyErr_Occurred()) SWIG_fail
;
30797 Py_INCREF(Py_None
); resultobj
= Py_None
;
30804 static PyObject
*_wrap_PyTextShape_base_OnSizingDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30805 PyObject
*resultobj
;
30806 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30807 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
30811 int arg6
= (int) 0 ;
30812 int arg7
= (int) 0 ;
30813 PyObject
* obj0
= 0 ;
30814 PyObject
* obj1
= 0 ;
30815 PyObject
* obj2
= 0 ;
30816 PyObject
* obj3
= 0 ;
30817 PyObject
* obj4
= 0 ;
30818 PyObject
* obj5
= 0 ;
30819 PyObject
* obj6
= 0 ;
30820 char *kwnames
[] = {
30821 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyTextShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
30825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30827 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
30828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30829 arg3
= (bool)SWIG_As_bool(obj2
);
30830 if (PyErr_Occurred()) SWIG_fail
;
30831 arg4
= (double)SWIG_As_double(obj3
);
30832 if (PyErr_Occurred()) SWIG_fail
;
30833 arg5
= (double)SWIG_As_double(obj4
);
30834 if (PyErr_Occurred()) SWIG_fail
;
30836 arg6
= (int)SWIG_As_int(obj5
);
30837 if (PyErr_Occurred()) SWIG_fail
;
30840 arg7
= (int)SWIG_As_int(obj6
);
30841 if (PyErr_Occurred()) SWIG_fail
;
30844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30845 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
30847 wxPyEndAllowThreads(__tstate
);
30848 if (PyErr_Occurred()) SWIG_fail
;
30850 Py_INCREF(Py_None
); resultobj
= Py_None
;
30857 static PyObject
*_wrap_PyTextShape_base_OnSizingBeginDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30858 PyObject
*resultobj
;
30859 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30860 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
30863 int arg5
= (int) 0 ;
30864 int arg6
= (int) 0 ;
30865 PyObject
* obj0
= 0 ;
30866 PyObject
* obj1
= 0 ;
30867 PyObject
* obj2
= 0 ;
30868 PyObject
* obj3
= 0 ;
30869 PyObject
* obj4
= 0 ;
30870 PyObject
* obj5
= 0 ;
30871 char *kwnames
[] = {
30872 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyTextShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
30876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30878 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
30879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30880 arg3
= (double)SWIG_As_double(obj2
);
30881 if (PyErr_Occurred()) SWIG_fail
;
30882 arg4
= (double)SWIG_As_double(obj3
);
30883 if (PyErr_Occurred()) SWIG_fail
;
30885 arg5
= (int)SWIG_As_int(obj4
);
30886 if (PyErr_Occurred()) SWIG_fail
;
30889 arg6
= (int)SWIG_As_int(obj5
);
30890 if (PyErr_Occurred()) SWIG_fail
;
30893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30894 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
30896 wxPyEndAllowThreads(__tstate
);
30897 if (PyErr_Occurred()) SWIG_fail
;
30899 Py_INCREF(Py_None
); resultobj
= Py_None
;
30906 static PyObject
*_wrap_PyTextShape_base_OnSizingEndDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30907 PyObject
*resultobj
;
30908 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30909 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
30912 int arg5
= (int) 0 ;
30913 int arg6
= (int) 0 ;
30914 PyObject
* obj0
= 0 ;
30915 PyObject
* obj1
= 0 ;
30916 PyObject
* obj2
= 0 ;
30917 PyObject
* obj3
= 0 ;
30918 PyObject
* obj4
= 0 ;
30919 PyObject
* obj5
= 0 ;
30920 char *kwnames
[] = {
30921 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyTextShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
30925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30927 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyControlPoint
,
30928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30929 arg3
= (double)SWIG_As_double(obj2
);
30930 if (PyErr_Occurred()) SWIG_fail
;
30931 arg4
= (double)SWIG_As_double(obj3
);
30932 if (PyErr_Occurred()) SWIG_fail
;
30934 arg5
= (int)SWIG_As_int(obj4
);
30935 if (PyErr_Occurred()) SWIG_fail
;
30938 arg6
= (int)SWIG_As_int(obj5
);
30939 if (PyErr_Occurred()) SWIG_fail
;
30942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30943 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
30945 wxPyEndAllowThreads(__tstate
);
30946 if (PyErr_Occurred()) SWIG_fail
;
30948 Py_INCREF(Py_None
); resultobj
= Py_None
;
30955 static PyObject
*_wrap_PyTextShape_base_OnBeginSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30956 PyObject
*resultobj
;
30957 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30960 PyObject
* obj0
= 0 ;
30961 PyObject
* obj1
= 0 ;
30962 PyObject
* obj2
= 0 ;
30963 char *kwnames
[] = {
30964 (char *) "self",(char *) "w",(char *) "h", NULL
30967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextShape_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
30969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30970 arg2
= (double)SWIG_As_double(obj1
);
30971 if (PyErr_Occurred()) SWIG_fail
;
30972 arg3
= (double)SWIG_As_double(obj2
);
30973 if (PyErr_Occurred()) SWIG_fail
;
30975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30976 (arg1
)->base_OnBeginSize(arg2
,arg3
);
30978 wxPyEndAllowThreads(__tstate
);
30979 if (PyErr_Occurred()) SWIG_fail
;
30981 Py_INCREF(Py_None
); resultobj
= Py_None
;
30988 static PyObject
*_wrap_PyTextShape_base_OnEndSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30989 PyObject
*resultobj
;
30990 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
30993 PyObject
* obj0
= 0 ;
30994 PyObject
* obj1
= 0 ;
30995 PyObject
* obj2
= 0 ;
30996 char *kwnames
[] = {
30997 (char *) "self",(char *) "w",(char *) "h", NULL
31000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextShape_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextShape
,
31002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31003 arg2
= (double)SWIG_As_double(obj1
);
31004 if (PyErr_Occurred()) SWIG_fail
;
31005 arg3
= (double)SWIG_As_double(obj2
);
31006 if (PyErr_Occurred()) SWIG_fail
;
31008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31009 (arg1
)->base_OnEndSize(arg2
,arg3
);
31011 wxPyEndAllowThreads(__tstate
);
31012 if (PyErr_Occurred()) SWIG_fail
;
31014 Py_INCREF(Py_None
); resultobj
= Py_None
;
31021 static PyObject
* PyTextShape_swigregister(PyObject
*, PyObject
*args
) {
31023 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31024 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextShape
, obj
);
31026 return Py_BuildValue((char *)"");
31028 static PyObject
*_wrap_new_Diagram(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31029 PyObject
*resultobj
;
31031 char *kwnames
[] = {
31035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Diagram",kwnames
)) goto fail
;
31037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31038 result
= (wxDiagram
*)new wxDiagram();
31040 wxPyEndAllowThreads(__tstate
);
31041 if (PyErr_Occurred()) SWIG_fail
;
31044 resultobj
= wxPyMake_wxObject(result
, 1);
31052 static PyObject
*_wrap_Diagram_AddShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31053 PyObject
*resultobj
;
31054 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31055 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
31056 wxPyShape
*arg3
= (wxPyShape
*) NULL
;
31057 PyObject
* obj0
= 0 ;
31058 PyObject
* obj1
= 0 ;
31059 PyObject
* obj2
= 0 ;
31060 char *kwnames
[] = {
31061 (char *) "self",(char *) "shape",(char *) "addAfter", NULL
31064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Diagram_AddShape",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31067 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
31068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31070 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyShape
,
31071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31075 (arg1
)->AddShape(arg2
,arg3
);
31077 wxPyEndAllowThreads(__tstate
);
31078 if (PyErr_Occurred()) SWIG_fail
;
31080 Py_INCREF(Py_None
); resultobj
= Py_None
;
31087 static PyObject
*_wrap_Diagram_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31088 PyObject
*resultobj
;
31089 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31091 PyObject
* obj0
= 0 ;
31092 PyObject
* obj1
= 0 ;
31093 char *kwnames
[] = {
31094 (char *) "self",(char *) "dc", NULL
31097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_Clear",kwnames
,&obj0
,&obj1
)) goto fail
;
31098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31100 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
31101 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31103 if (arg2
== NULL
) {
31104 PyErr_SetString(PyExc_TypeError
,"null reference");
31108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31109 (arg1
)->Clear(*arg2
);
31111 wxPyEndAllowThreads(__tstate
);
31112 if (PyErr_Occurred()) SWIG_fail
;
31114 Py_INCREF(Py_None
); resultobj
= Py_None
;
31121 static PyObject
*_wrap_Diagram_DeleteAllShapes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31122 PyObject
*resultobj
;
31123 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31124 PyObject
* obj0
= 0 ;
31125 char *kwnames
[] = {
31126 (char *) "self", NULL
31129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Diagram_DeleteAllShapes",kwnames
,&obj0
)) goto fail
;
31130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31134 (arg1
)->DeleteAllShapes();
31136 wxPyEndAllowThreads(__tstate
);
31137 if (PyErr_Occurred()) SWIG_fail
;
31139 Py_INCREF(Py_None
); resultobj
= Py_None
;
31146 static PyObject
*_wrap_Diagram_DrawOutline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31147 PyObject
*resultobj
;
31148 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31154 PyObject
* obj0
= 0 ;
31155 PyObject
* obj1
= 0 ;
31156 PyObject
* obj2
= 0 ;
31157 PyObject
* obj3
= 0 ;
31158 PyObject
* obj4
= 0 ;
31159 PyObject
* obj5
= 0 ;
31160 char *kwnames
[] = {
31161 (char *) "self",(char *) "dc",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
31164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Diagram_DrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
31165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31167 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
31168 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31170 if (arg2
== NULL
) {
31171 PyErr_SetString(PyExc_TypeError
,"null reference");
31174 arg3
= (double)SWIG_As_double(obj2
);
31175 if (PyErr_Occurred()) SWIG_fail
;
31176 arg4
= (double)SWIG_As_double(obj3
);
31177 if (PyErr_Occurred()) SWIG_fail
;
31178 arg5
= (double)SWIG_As_double(obj4
);
31179 if (PyErr_Occurred()) SWIG_fail
;
31180 arg6
= (double)SWIG_As_double(obj5
);
31181 if (PyErr_Occurred()) SWIG_fail
;
31183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31184 (arg1
)->DrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
31186 wxPyEndAllowThreads(__tstate
);
31187 if (PyErr_Occurred()) SWIG_fail
;
31189 Py_INCREF(Py_None
); resultobj
= Py_None
;
31196 static PyObject
*_wrap_Diagram_FindShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31197 PyObject
*resultobj
;
31198 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31201 PyObject
* obj0
= 0 ;
31202 PyObject
* obj1
= 0 ;
31203 char *kwnames
[] = {
31204 (char *) "self",(char *) "id", NULL
31207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_FindShape",kwnames
,&obj0
,&obj1
)) goto fail
;
31208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31210 arg2
= (long)SWIG_As_long(obj1
);
31211 if (PyErr_Occurred()) SWIG_fail
;
31213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31214 result
= (wxPyShape
*)(arg1
)->FindShape(arg2
);
31216 wxPyEndAllowThreads(__tstate
);
31217 if (PyErr_Occurred()) SWIG_fail
;
31220 resultobj
= wxPyMake_wxShapeEvtHandler(result
, 0);
31228 static PyObject
*_wrap_Diagram_GetCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31229 PyObject
*resultobj
;
31230 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31231 wxPyShapeCanvas
*result
;
31232 PyObject
* obj0
= 0 ;
31233 char *kwnames
[] = {
31234 (char *) "self", NULL
31237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Diagram_GetCanvas",kwnames
,&obj0
)) goto fail
;
31238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31242 result
= (wxPyShapeCanvas
*)(arg1
)->GetCanvas();
31244 wxPyEndAllowThreads(__tstate
);
31245 if (PyErr_Occurred()) SWIG_fail
;
31248 resultobj
= wxPyMake_wxObject(result
, 0);
31256 static PyObject
*_wrap_Diagram_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31257 PyObject
*resultobj
;
31258 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31260 PyObject
* obj0
= 0 ;
31261 char *kwnames
[] = {
31262 (char *) "self", NULL
31265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Diagram_GetCount",kwnames
,&obj0
)) goto fail
;
31266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31270 result
= (int)(arg1
)->GetCount();
31272 wxPyEndAllowThreads(__tstate
);
31273 if (PyErr_Occurred()) SWIG_fail
;
31275 resultobj
= SWIG_From_int((int)result
);
31282 static PyObject
*_wrap_Diagram_GetGridSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31283 PyObject
*resultobj
;
31284 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31286 PyObject
* obj0
= 0 ;
31287 char *kwnames
[] = {
31288 (char *) "self", NULL
31291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Diagram_GetGridSpacing",kwnames
,&obj0
)) goto fail
;
31292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31296 result
= (double)(arg1
)->GetGridSpacing();
31298 wxPyEndAllowThreads(__tstate
);
31299 if (PyErr_Occurred()) SWIG_fail
;
31301 resultobj
= SWIG_From_double((double)result
);
31308 static PyObject
*_wrap_Diagram_GetMouseTolerance(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31309 PyObject
*resultobj
;
31310 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31312 PyObject
* obj0
= 0 ;
31313 char *kwnames
[] = {
31314 (char *) "self", NULL
31317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Diagram_GetMouseTolerance",kwnames
,&obj0
)) goto fail
;
31318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31322 result
= (int)(arg1
)->GetMouseTolerance();
31324 wxPyEndAllowThreads(__tstate
);
31325 if (PyErr_Occurred()) SWIG_fail
;
31327 resultobj
= SWIG_From_int((int)result
);
31334 static PyObject
*_wrap_Diagram_GetShapeList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31335 PyObject
*resultobj
;
31336 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31338 PyObject
* obj0
= 0 ;
31339 char *kwnames
[] = {
31340 (char *) "self", NULL
31343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Diagram_GetShapeList",kwnames
,&obj0
)) goto fail
;
31344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31348 result
= (PyObject
*)wxDiagram_GetShapeList(arg1
);
31350 wxPyEndAllowThreads(__tstate
);
31351 if (PyErr_Occurred()) SWIG_fail
;
31353 resultobj
= result
;
31360 static PyObject
*_wrap_Diagram_GetQuickEditMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31361 PyObject
*resultobj
;
31362 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31364 PyObject
* obj0
= 0 ;
31365 char *kwnames
[] = {
31366 (char *) "self", NULL
31369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Diagram_GetQuickEditMode",kwnames
,&obj0
)) goto fail
;
31370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31374 result
= (bool)(arg1
)->GetQuickEditMode();
31376 wxPyEndAllowThreads(__tstate
);
31377 if (PyErr_Occurred()) SWIG_fail
;
31380 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31388 static PyObject
*_wrap_Diagram_GetSnapToGrid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31389 PyObject
*resultobj
;
31390 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31392 PyObject
* obj0
= 0 ;
31393 char *kwnames
[] = {
31394 (char *) "self", NULL
31397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Diagram_GetSnapToGrid",kwnames
,&obj0
)) goto fail
;
31398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31402 result
= (bool)(arg1
)->GetSnapToGrid();
31404 wxPyEndAllowThreads(__tstate
);
31405 if (PyErr_Occurred()) SWIG_fail
;
31408 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31416 static PyObject
*_wrap_Diagram_InsertShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31417 PyObject
*resultobj
;
31418 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31419 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
31420 PyObject
* obj0
= 0 ;
31421 PyObject
* obj1
= 0 ;
31422 char *kwnames
[] = {
31423 (char *) "self",(char *) "shape", NULL
31426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_InsertShape",kwnames
,&obj0
,&obj1
)) goto fail
;
31427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31429 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
31430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31433 (arg1
)->InsertShape(arg2
);
31435 wxPyEndAllowThreads(__tstate
);
31436 if (PyErr_Occurred()) SWIG_fail
;
31438 Py_INCREF(Py_None
); resultobj
= Py_None
;
31445 static PyObject
*_wrap_Diagram_RecentreAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31446 PyObject
*resultobj
;
31447 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31449 PyObject
* obj0
= 0 ;
31450 PyObject
* obj1
= 0 ;
31451 char *kwnames
[] = {
31452 (char *) "self",(char *) "dc", NULL
31455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_RecentreAll",kwnames
,&obj0
,&obj1
)) goto fail
;
31456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31458 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
31459 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31461 if (arg2
== NULL
) {
31462 PyErr_SetString(PyExc_TypeError
,"null reference");
31466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31467 (arg1
)->RecentreAll(*arg2
);
31469 wxPyEndAllowThreads(__tstate
);
31470 if (PyErr_Occurred()) SWIG_fail
;
31472 Py_INCREF(Py_None
); resultobj
= Py_None
;
31479 static PyObject
*_wrap_Diagram_Redraw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31480 PyObject
*resultobj
;
31481 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31483 PyObject
* obj0
= 0 ;
31484 PyObject
* obj1
= 0 ;
31485 char *kwnames
[] = {
31486 (char *) "self",(char *) "dc", NULL
31489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_Redraw",kwnames
,&obj0
,&obj1
)) goto fail
;
31490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31492 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
31493 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31495 if (arg2
== NULL
) {
31496 PyErr_SetString(PyExc_TypeError
,"null reference");
31500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31501 (arg1
)->Redraw(*arg2
);
31503 wxPyEndAllowThreads(__tstate
);
31504 if (PyErr_Occurred()) SWIG_fail
;
31506 Py_INCREF(Py_None
); resultobj
= Py_None
;
31513 static PyObject
*_wrap_Diagram_RemoveAllShapes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31514 PyObject
*resultobj
;
31515 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31516 PyObject
* obj0
= 0 ;
31517 char *kwnames
[] = {
31518 (char *) "self", NULL
31521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Diagram_RemoveAllShapes",kwnames
,&obj0
)) goto fail
;
31522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31526 (arg1
)->RemoveAllShapes();
31528 wxPyEndAllowThreads(__tstate
);
31529 if (PyErr_Occurred()) SWIG_fail
;
31531 Py_INCREF(Py_None
); resultobj
= Py_None
;
31538 static PyObject
*_wrap_Diagram_RemoveShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31539 PyObject
*resultobj
;
31540 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31541 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
31542 PyObject
* obj0
= 0 ;
31543 PyObject
* obj1
= 0 ;
31544 char *kwnames
[] = {
31545 (char *) "self",(char *) "shape", NULL
31548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_RemoveShape",kwnames
,&obj0
,&obj1
)) goto fail
;
31549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31551 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
31552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31555 (arg1
)->RemoveShape(arg2
);
31557 wxPyEndAllowThreads(__tstate
);
31558 if (PyErr_Occurred()) SWIG_fail
;
31560 Py_INCREF(Py_None
); resultobj
= Py_None
;
31567 static PyObject
*_wrap_Diagram_SetCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31568 PyObject
*resultobj
;
31569 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31570 wxPyShapeCanvas
*arg2
= (wxPyShapeCanvas
*) 0 ;
31571 PyObject
* obj0
= 0 ;
31572 PyObject
* obj1
= 0 ;
31573 char *kwnames
[] = {
31574 (char *) "self",(char *) "canvas", NULL
31577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_SetCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
31578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31580 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShapeCanvas
,
31581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31584 (arg1
)->SetCanvas(arg2
);
31586 wxPyEndAllowThreads(__tstate
);
31587 if (PyErr_Occurred()) SWIG_fail
;
31589 Py_INCREF(Py_None
); resultobj
= Py_None
;
31596 static PyObject
*_wrap_Diagram_SetGridSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31597 PyObject
*resultobj
;
31598 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31600 PyObject
* obj0
= 0 ;
31601 PyObject
* obj1
= 0 ;
31602 char *kwnames
[] = {
31603 (char *) "self",(char *) "spacing", NULL
31606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_SetGridSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
31607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31609 arg2
= (double)SWIG_As_double(obj1
);
31610 if (PyErr_Occurred()) SWIG_fail
;
31612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31613 (arg1
)->SetGridSpacing(arg2
);
31615 wxPyEndAllowThreads(__tstate
);
31616 if (PyErr_Occurred()) SWIG_fail
;
31618 Py_INCREF(Py_None
); resultobj
= Py_None
;
31625 static PyObject
*_wrap_Diagram_SetMouseTolerance(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31626 PyObject
*resultobj
;
31627 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31629 PyObject
* obj0
= 0 ;
31630 PyObject
* obj1
= 0 ;
31631 char *kwnames
[] = {
31632 (char *) "self",(char *) "tolerance", NULL
31635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_SetMouseTolerance",kwnames
,&obj0
,&obj1
)) goto fail
;
31636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31638 arg2
= (int)SWIG_As_int(obj1
);
31639 if (PyErr_Occurred()) SWIG_fail
;
31641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31642 (arg1
)->SetMouseTolerance(arg2
);
31644 wxPyEndAllowThreads(__tstate
);
31645 if (PyErr_Occurred()) SWIG_fail
;
31647 Py_INCREF(Py_None
); resultobj
= Py_None
;
31654 static PyObject
*_wrap_Diagram_SetQuickEditMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31655 PyObject
*resultobj
;
31656 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31658 PyObject
* obj0
= 0 ;
31659 PyObject
* obj1
= 0 ;
31660 char *kwnames
[] = {
31661 (char *) "self",(char *) "mode", NULL
31664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_SetQuickEditMode",kwnames
,&obj0
,&obj1
)) goto fail
;
31665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31667 arg2
= (bool)SWIG_As_bool(obj1
);
31668 if (PyErr_Occurred()) SWIG_fail
;
31670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31671 (arg1
)->SetQuickEditMode(arg2
);
31673 wxPyEndAllowThreads(__tstate
);
31674 if (PyErr_Occurred()) SWIG_fail
;
31676 Py_INCREF(Py_None
); resultobj
= Py_None
;
31683 static PyObject
*_wrap_Diagram_SetSnapToGrid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31684 PyObject
*resultobj
;
31685 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31687 PyObject
* obj0
= 0 ;
31688 PyObject
* obj1
= 0 ;
31689 char *kwnames
[] = {
31690 (char *) "self",(char *) "snap", NULL
31693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_SetSnapToGrid",kwnames
,&obj0
,&obj1
)) goto fail
;
31694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31696 arg2
= (bool)SWIG_As_bool(obj1
);
31697 if (PyErr_Occurred()) SWIG_fail
;
31699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31700 (arg1
)->SetSnapToGrid(arg2
);
31702 wxPyEndAllowThreads(__tstate
);
31703 if (PyErr_Occurred()) SWIG_fail
;
31705 Py_INCREF(Py_None
); resultobj
= Py_None
;
31712 static PyObject
*_wrap_Diagram_ShowAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31713 PyObject
*resultobj
;
31714 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31716 PyObject
* obj0
= 0 ;
31717 PyObject
* obj1
= 0 ;
31718 char *kwnames
[] = {
31719 (char *) "self",(char *) "show", NULL
31722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_ShowAll",kwnames
,&obj0
,&obj1
)) goto fail
;
31723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31725 arg2
= (bool)SWIG_As_bool(obj1
);
31726 if (PyErr_Occurred()) SWIG_fail
;
31728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31729 (arg1
)->ShowAll(arg2
);
31731 wxPyEndAllowThreads(__tstate
);
31732 if (PyErr_Occurred()) SWIG_fail
;
31734 Py_INCREF(Py_None
); resultobj
= Py_None
;
31741 static PyObject
*_wrap_Diagram_Snap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31742 PyObject
*resultobj
;
31743 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
31744 double *arg2
= (double *) 0 ;
31745 double *arg3
= (double *) 0 ;
31750 PyObject
* obj0
= 0 ;
31751 PyObject
* obj1
= 0 ;
31752 PyObject
* obj2
= 0 ;
31753 char *kwnames
[] = {
31754 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
31757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Diagram_Snap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDiagram
,
31759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31761 if (!(SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_double
,0) != -1)) {
31762 temp2
= SWIG_As_double(obj1
);
31763 if (PyErr_Occurred()) SWIG_fail
;
31765 res2
= SWIG_NEWOBJ
;
31769 if (!(SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_double
,0) != -1)) {
31770 temp3
= SWIG_As_double(obj2
);
31771 if (PyErr_Occurred()) SWIG_fail
;
31773 res3
= SWIG_NEWOBJ
;
31777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31778 (arg1
)->Snap(arg2
,arg3
);
31780 wxPyEndAllowThreads(__tstate
);
31781 if (PyErr_Occurred()) SWIG_fail
;
31783 Py_INCREF(Py_None
); resultobj
= Py_None
;
31784 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
31785 SWIG_From_double((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, 0)));
31786 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
31787 SWIG_From_double((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, 0)));
31794 static PyObject
* Diagram_swigregister(PyObject
*, PyObject
*args
) {
31796 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31797 SWIG_TypeClientData(SWIGTYPE_p_wxDiagram
, obj
);
31799 return Py_BuildValue((char *)"");
31801 static PyObject
*_wrap_new_PyShapeCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31802 PyObject
*resultobj
;
31803 wxWindow
*arg1
= (wxWindow
*) NULL
;
31804 int arg2
= (int) -1 ;
31805 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
31806 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
31807 wxSize
const &arg4_defvalue
= wxDefaultSize
;
31808 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
31809 long arg5
= (long) wxBORDER
;
31810 wxString
const &arg6_defvalue
= wxPyShapeCanvasNameStr
;
31811 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
31812 wxPyShapeCanvas
*result
;
31815 bool temp6
= False
;
31816 PyObject
* obj0
= 0 ;
31817 PyObject
* obj1
= 0 ;
31818 PyObject
* obj2
= 0 ;
31819 PyObject
* obj3
= 0 ;
31820 PyObject
* obj4
= 0 ;
31821 PyObject
* obj5
= 0 ;
31822 char *kwnames
[] = {
31823 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
31826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOO:new_PyShapeCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
31828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
31829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31832 arg2
= (int)SWIG_As_int(obj1
);
31833 if (PyErr_Occurred()) SWIG_fail
;
31838 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31844 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
31848 arg5
= (long)SWIG_As_long(obj4
);
31849 if (PyErr_Occurred()) SWIG_fail
;
31853 arg6
= wxString_in_helper(obj5
);
31854 if (arg6
== NULL
) SWIG_fail
;
31859 if (!wxPyCheckForApp()) SWIG_fail
;
31860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31861 result
= (wxPyShapeCanvas
*)new wxPyShapeCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
31863 wxPyEndAllowThreads(__tstate
);
31864 if (PyErr_Occurred()) SWIG_fail
;
31866 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyShapeCanvas
, 1);
31881 static PyObject
*_wrap_PyShapeCanvas__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31882 PyObject
*resultobj
;
31883 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
31884 PyObject
*arg2
= (PyObject
*) 0 ;
31885 PyObject
*arg3
= (PyObject
*) 0 ;
31886 PyObject
* obj0
= 0 ;
31887 PyObject
* obj1
= 0 ;
31888 PyObject
* obj2
= 0 ;
31889 char *kwnames
[] = {
31890 (char *) "self",(char *) "self",(char *) "_class", NULL
31893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShapeCanvas__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
31895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31900 (arg1
)->_setCallbackInfo(arg2
,arg3
);
31902 wxPyEndAllowThreads(__tstate
);
31903 if (PyErr_Occurred()) SWIG_fail
;
31905 Py_INCREF(Py_None
); resultobj
= Py_None
;
31912 static PyObject
*_wrap_PyShapeCanvas_AddShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31913 PyObject
*resultobj
;
31914 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
31915 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
31916 wxPyShape
*arg3
= (wxPyShape
*) NULL
;
31917 PyObject
* obj0
= 0 ;
31918 PyObject
* obj1
= 0 ;
31919 PyObject
* obj2
= 0 ;
31920 char *kwnames
[] = {
31921 (char *) "self",(char *) "shape",(char *) "addAfter", NULL
31924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShapeCanvas_AddShape",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
31926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31927 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
31928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31930 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyShape
,
31931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31935 (arg1
)->AddShape(arg2
,arg3
);
31937 wxPyEndAllowThreads(__tstate
);
31938 if (PyErr_Occurred()) SWIG_fail
;
31940 Py_INCREF(Py_None
); resultobj
= Py_None
;
31947 static PyObject
*_wrap_PyShapeCanvas_FindShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31948 PyObject
*resultobj
;
31949 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
31952 int *arg4
= (int *) 0 ;
31953 wxClassInfo
*arg5
= (wxClassInfo
*) NULL
;
31954 wxPyShape
*arg6
= (wxPyShape
*) NULL
;
31958 PyObject
* obj0
= 0 ;
31959 PyObject
* obj1
= 0 ;
31960 PyObject
* obj2
= 0 ;
31961 PyObject
* obj3
= 0 ;
31962 PyObject
* obj4
= 0 ;
31963 char *kwnames
[] = {
31964 (char *) "self",(char *) "x1",(char *) "y",(char *) "info",(char *) "notImage", NULL
31967 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
31968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShapeCanvas_FindShape",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
31969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
31970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31971 arg2
= (double)SWIG_As_double(obj1
);
31972 if (PyErr_Occurred()) SWIG_fail
;
31973 arg3
= (double)SWIG_As_double(obj2
);
31974 if (PyErr_Occurred()) SWIG_fail
;
31976 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg5
),SWIGTYPE_p_wxClassInfo
,
31977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31980 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg6
),SWIGTYPE_p_wxPyShape
,
31981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31985 result
= (wxPyShape
*)(arg1
)->FindShape(arg2
,arg3
,arg4
,arg5
,arg6
);
31987 wxPyEndAllowThreads(__tstate
);
31988 if (PyErr_Occurred()) SWIG_fail
;
31991 resultobj
= wxPyMake_wxShapeEvtHandler(result
, 0);
31993 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
31994 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
32001 static PyObject
*_wrap_PyShapeCanvas_FindFirstSensitiveShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32002 PyObject
*resultobj
;
32003 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
32006 int *arg4
= (int *) 0 ;
32011 PyObject
* obj0
= 0 ;
32012 PyObject
* obj1
= 0 ;
32013 PyObject
* obj2
= 0 ;
32014 PyObject
* obj3
= 0 ;
32015 char *kwnames
[] = {
32016 (char *) "self",(char *) "x1",(char *) "y",(char *) "op", NULL
32019 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
32020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyShapeCanvas_FindFirstSensitiveShape",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
32022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32023 arg2
= (double)SWIG_As_double(obj1
);
32024 if (PyErr_Occurred()) SWIG_fail
;
32025 arg3
= (double)SWIG_As_double(obj2
);
32026 if (PyErr_Occurred()) SWIG_fail
;
32027 arg5
= (int)SWIG_As_int(obj3
);
32028 if (PyErr_Occurred()) SWIG_fail
;
32030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32031 result
= (wxPyShape
*)(arg1
)->FindFirstSensitiveShape(arg2
,arg3
,arg4
,arg5
);
32033 wxPyEndAllowThreads(__tstate
);
32034 if (PyErr_Occurred()) SWIG_fail
;
32037 resultobj
= wxPyMake_wxShapeEvtHandler(result
, 0);
32039 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
32040 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
32047 static PyObject
*_wrap_PyShapeCanvas_GetDiagram(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32048 PyObject
*resultobj
;
32049 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
32051 PyObject
* obj0
= 0 ;
32052 char *kwnames
[] = {
32053 (char *) "self", NULL
32056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShapeCanvas_GetDiagram",kwnames
,&obj0
)) goto fail
;
32057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
32058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32061 result
= (wxDiagram
*)(arg1
)->GetDiagram();
32063 wxPyEndAllowThreads(__tstate
);
32064 if (PyErr_Occurred()) SWIG_fail
;
32067 resultobj
= wxPyMake_wxObject(result
, 0);
32075 static PyObject
*_wrap_PyShapeCanvas_GetQuickEditMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32076 PyObject
*resultobj
;
32077 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
32079 PyObject
* obj0
= 0 ;
32080 char *kwnames
[] = {
32081 (char *) "self", NULL
32084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShapeCanvas_GetQuickEditMode",kwnames
,&obj0
)) goto fail
;
32085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
32086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32089 result
= (bool)(arg1
)->GetQuickEditMode();
32091 wxPyEndAllowThreads(__tstate
);
32092 if (PyErr_Occurred()) SWIG_fail
;
32095 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32103 static PyObject
*_wrap_PyShapeCanvas_InsertShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32104 PyObject
*resultobj
;
32105 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
32106 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
32107 PyObject
* obj0
= 0 ;
32108 PyObject
* obj1
= 0 ;
32109 char *kwnames
[] = {
32110 (char *) "self",(char *) "shape", NULL
32113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeCanvas_InsertShape",kwnames
,&obj0
,&obj1
)) goto fail
;
32114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
32115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32116 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
32117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32120 (arg1
)->InsertShape(arg2
);
32122 wxPyEndAllowThreads(__tstate
);
32123 if (PyErr_Occurred()) SWIG_fail
;
32125 Py_INCREF(Py_None
); resultobj
= Py_None
;
32132 static PyObject
*_wrap_PyShapeCanvas_base_OnBeginDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32133 PyObject
*resultobj
;
32134 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
32137 int arg4
= (int) 0 ;
32138 PyObject
* obj0
= 0 ;
32139 PyObject
* obj1
= 0 ;
32140 PyObject
* obj2
= 0 ;
32141 PyObject
* obj3
= 0 ;
32142 char *kwnames
[] = {
32143 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
32146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyShapeCanvas_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
32148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32149 arg2
= (double)SWIG_As_double(obj1
);
32150 if (PyErr_Occurred()) SWIG_fail
;
32151 arg3
= (double)SWIG_As_double(obj2
);
32152 if (PyErr_Occurred()) SWIG_fail
;
32154 arg4
= (int)SWIG_As_int(obj3
);
32155 if (PyErr_Occurred()) SWIG_fail
;
32158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32159 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
);
32161 wxPyEndAllowThreads(__tstate
);
32162 if (PyErr_Occurred()) SWIG_fail
;
32164 Py_INCREF(Py_None
); resultobj
= Py_None
;
32171 static PyObject
*_wrap_PyShapeCanvas_base_OnBeginDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32172 PyObject
*resultobj
;
32173 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
32176 int arg4
= (int) 0 ;
32177 PyObject
* obj0
= 0 ;
32178 PyObject
* obj1
= 0 ;
32179 PyObject
* obj2
= 0 ;
32180 PyObject
* obj3
= 0 ;
32181 char *kwnames
[] = {
32182 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
32185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyShapeCanvas_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
32187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32188 arg2
= (double)SWIG_As_double(obj1
);
32189 if (PyErr_Occurred()) SWIG_fail
;
32190 arg3
= (double)SWIG_As_double(obj2
);
32191 if (PyErr_Occurred()) SWIG_fail
;
32193 arg4
= (int)SWIG_As_int(obj3
);
32194 if (PyErr_Occurred()) SWIG_fail
;
32197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32198 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
);
32200 wxPyEndAllowThreads(__tstate
);
32201 if (PyErr_Occurred()) SWIG_fail
;
32203 Py_INCREF(Py_None
); resultobj
= Py_None
;
32210 static PyObject
*_wrap_PyShapeCanvas_base_OnEndDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32211 PyObject
*resultobj
;
32212 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
32215 int arg4
= (int) 0 ;
32216 PyObject
* obj0
= 0 ;
32217 PyObject
* obj1
= 0 ;
32218 PyObject
* obj2
= 0 ;
32219 PyObject
* obj3
= 0 ;
32220 char *kwnames
[] = {
32221 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
32224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyShapeCanvas_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
32226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32227 arg2
= (double)SWIG_As_double(obj1
);
32228 if (PyErr_Occurred()) SWIG_fail
;
32229 arg3
= (double)SWIG_As_double(obj2
);
32230 if (PyErr_Occurred()) SWIG_fail
;
32232 arg4
= (int)SWIG_As_int(obj3
);
32233 if (PyErr_Occurred()) SWIG_fail
;
32236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32237 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
);
32239 wxPyEndAllowThreads(__tstate
);
32240 if (PyErr_Occurred()) SWIG_fail
;
32242 Py_INCREF(Py_None
); resultobj
= Py_None
;
32249 static PyObject
*_wrap_PyShapeCanvas_base_OnEndDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32250 PyObject
*resultobj
;
32251 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
32254 int arg4
= (int) 0 ;
32255 PyObject
* obj0
= 0 ;
32256 PyObject
* obj1
= 0 ;
32257 PyObject
* obj2
= 0 ;
32258 PyObject
* obj3
= 0 ;
32259 char *kwnames
[] = {
32260 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
32263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyShapeCanvas_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
32265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32266 arg2
= (double)SWIG_As_double(obj1
);
32267 if (PyErr_Occurred()) SWIG_fail
;
32268 arg3
= (double)SWIG_As_double(obj2
);
32269 if (PyErr_Occurred()) SWIG_fail
;
32271 arg4
= (int)SWIG_As_int(obj3
);
32272 if (PyErr_Occurred()) SWIG_fail
;
32275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32276 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
);
32278 wxPyEndAllowThreads(__tstate
);
32279 if (PyErr_Occurred()) SWIG_fail
;
32281 Py_INCREF(Py_None
); resultobj
= Py_None
;
32288 static PyObject
*_wrap_PyShapeCanvas_base_OnDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32289 PyObject
*resultobj
;
32290 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
32294 int arg5
= (int) 0 ;
32295 PyObject
* obj0
= 0 ;
32296 PyObject
* obj1
= 0 ;
32297 PyObject
* obj2
= 0 ;
32298 PyObject
* obj3
= 0 ;
32299 PyObject
* obj4
= 0 ;
32300 char *kwnames
[] = {
32301 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys", NULL
32304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PyShapeCanvas_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
32306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32307 arg2
= (bool)SWIG_As_bool(obj1
);
32308 if (PyErr_Occurred()) SWIG_fail
;
32309 arg3
= (double)SWIG_As_double(obj2
);
32310 if (PyErr_Occurred()) SWIG_fail
;
32311 arg4
= (double)SWIG_As_double(obj3
);
32312 if (PyErr_Occurred()) SWIG_fail
;
32314 arg5
= (int)SWIG_As_int(obj4
);
32315 if (PyErr_Occurred()) SWIG_fail
;
32318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32319 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
);
32321 wxPyEndAllowThreads(__tstate
);
32322 if (PyErr_Occurred()) SWIG_fail
;
32324 Py_INCREF(Py_None
); resultobj
= Py_None
;
32331 static PyObject
*_wrap_PyShapeCanvas_base_OnDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32332 PyObject
*resultobj
;
32333 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
32337 int arg5
= (int) 0 ;
32338 PyObject
* obj0
= 0 ;
32339 PyObject
* obj1
= 0 ;
32340 PyObject
* obj2
= 0 ;
32341 PyObject
* obj3
= 0 ;
32342 PyObject
* obj4
= 0 ;
32343 char *kwnames
[] = {
32344 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys", NULL
32347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PyShapeCanvas_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
32349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32350 arg2
= (bool)SWIG_As_bool(obj1
);
32351 if (PyErr_Occurred()) SWIG_fail
;
32352 arg3
= (double)SWIG_As_double(obj2
);
32353 if (PyErr_Occurred()) SWIG_fail
;
32354 arg4
= (double)SWIG_As_double(obj3
);
32355 if (PyErr_Occurred()) SWIG_fail
;
32357 arg5
= (int)SWIG_As_int(obj4
);
32358 if (PyErr_Occurred()) SWIG_fail
;
32361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32362 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
);
32364 wxPyEndAllowThreads(__tstate
);
32365 if (PyErr_Occurred()) SWIG_fail
;
32367 Py_INCREF(Py_None
); resultobj
= Py_None
;
32374 static PyObject
*_wrap_PyShapeCanvas_base_OnLeftClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32375 PyObject
*resultobj
;
32376 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
32379 int arg4
= (int) 0 ;
32380 PyObject
* obj0
= 0 ;
32381 PyObject
* obj1
= 0 ;
32382 PyObject
* obj2
= 0 ;
32383 PyObject
* obj3
= 0 ;
32384 char *kwnames
[] = {
32385 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
32388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyShapeCanvas_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
32390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32391 arg2
= (double)SWIG_As_double(obj1
);
32392 if (PyErr_Occurred()) SWIG_fail
;
32393 arg3
= (double)SWIG_As_double(obj2
);
32394 if (PyErr_Occurred()) SWIG_fail
;
32396 arg4
= (int)SWIG_As_int(obj3
);
32397 if (PyErr_Occurred()) SWIG_fail
;
32400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32401 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
);
32403 wxPyEndAllowThreads(__tstate
);
32404 if (PyErr_Occurred()) SWIG_fail
;
32406 Py_INCREF(Py_None
); resultobj
= Py_None
;
32413 static PyObject
*_wrap_PyShapeCanvas_base_OnRightClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32414 PyObject
*resultobj
;
32415 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
32418 int arg4
= (int) 0 ;
32419 PyObject
* obj0
= 0 ;
32420 PyObject
* obj1
= 0 ;
32421 PyObject
* obj2
= 0 ;
32422 PyObject
* obj3
= 0 ;
32423 char *kwnames
[] = {
32424 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
32427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyShapeCanvas_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
32429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32430 arg2
= (double)SWIG_As_double(obj1
);
32431 if (PyErr_Occurred()) SWIG_fail
;
32432 arg3
= (double)SWIG_As_double(obj2
);
32433 if (PyErr_Occurred()) SWIG_fail
;
32435 arg4
= (int)SWIG_As_int(obj3
);
32436 if (PyErr_Occurred()) SWIG_fail
;
32439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32440 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
);
32442 wxPyEndAllowThreads(__tstate
);
32443 if (PyErr_Occurred()) SWIG_fail
;
32445 Py_INCREF(Py_None
); resultobj
= Py_None
;
32452 static PyObject
*_wrap_PyShapeCanvas_Redraw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32453 PyObject
*resultobj
;
32454 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
32456 PyObject
* obj0
= 0 ;
32457 PyObject
* obj1
= 0 ;
32458 char *kwnames
[] = {
32459 (char *) "self",(char *) "dc", NULL
32462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeCanvas_Redraw",kwnames
,&obj0
,&obj1
)) goto fail
;
32463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
32464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32465 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
32466 SWIG_POINTER_EXCEPTION
| 0)) == -1)
32468 if (arg2
== NULL
) {
32469 PyErr_SetString(PyExc_TypeError
,"null reference");
32473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32474 (arg1
)->Redraw(*arg2
);
32476 wxPyEndAllowThreads(__tstate
);
32477 if (PyErr_Occurred()) SWIG_fail
;
32479 Py_INCREF(Py_None
); resultobj
= Py_None
;
32486 static PyObject
*_wrap_PyShapeCanvas_RemoveShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32487 PyObject
*resultobj
;
32488 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
32489 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
32490 PyObject
* obj0
= 0 ;
32491 PyObject
* obj1
= 0 ;
32492 char *kwnames
[] = {
32493 (char *) "self",(char *) "shape", NULL
32496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeCanvas_RemoveShape",kwnames
,&obj0
,&obj1
)) goto fail
;
32497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
32498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32499 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyShape
,
32500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32503 (arg1
)->RemoveShape(arg2
);
32505 wxPyEndAllowThreads(__tstate
);
32506 if (PyErr_Occurred()) SWIG_fail
;
32508 Py_INCREF(Py_None
); resultobj
= Py_None
;
32515 static PyObject
*_wrap_PyShapeCanvas_SetDiagram(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32516 PyObject
*resultobj
;
32517 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
32518 wxDiagram
*arg2
= (wxDiagram
*) 0 ;
32519 PyObject
* obj0
= 0 ;
32520 PyObject
* obj1
= 0 ;
32521 char *kwnames
[] = {
32522 (char *) "self",(char *) "diagram", NULL
32525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeCanvas_SetDiagram",kwnames
,&obj0
,&obj1
)) goto fail
;
32526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
32527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32528 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDiagram
,
32529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32532 (arg1
)->SetDiagram(arg2
);
32534 wxPyEndAllowThreads(__tstate
);
32535 if (PyErr_Occurred()) SWIG_fail
;
32537 Py_INCREF(Py_None
); resultobj
= Py_None
;
32544 static PyObject
*_wrap_PyShapeCanvas_Snap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32545 PyObject
*resultobj
;
32546 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
32547 double *arg2
= (double *) 0 ;
32548 double *arg3
= (double *) 0 ;
32553 PyObject
* obj0
= 0 ;
32554 PyObject
* obj1
= 0 ;
32555 PyObject
* obj2
= 0 ;
32556 char *kwnames
[] = {
32557 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
32560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShapeCanvas_Snap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyShapeCanvas
,
32562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32564 if (!(SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_double
,0) != -1)) {
32565 temp2
= SWIG_As_double(obj1
);
32566 if (PyErr_Occurred()) SWIG_fail
;
32568 res2
= SWIG_NEWOBJ
;
32572 if (!(SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_double
,0) != -1)) {
32573 temp3
= SWIG_As_double(obj2
);
32574 if (PyErr_Occurred()) SWIG_fail
;
32576 res3
= SWIG_NEWOBJ
;
32580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32581 (arg1
)->Snap(arg2
,arg3
);
32583 wxPyEndAllowThreads(__tstate
);
32584 if (PyErr_Occurred()) SWIG_fail
;
32586 Py_INCREF(Py_None
); resultobj
= Py_None
;
32587 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
32588 SWIG_From_double((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, 0)));
32589 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
32590 SWIG_From_double((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, 0)));
32597 static PyObject
* PyShapeCanvas_swigregister(PyObject
*, PyObject
*args
) {
32599 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32600 SWIG_TypeClientData(SWIGTYPE_p_wxPyShapeCanvas
, obj
);
32602 return Py_BuildValue((char *)"");
32604 static PyObject
*_wrap_OGLInitialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32605 PyObject
*resultobj
;
32606 char *kwnames
[] = {
32610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":OGLInitialize",kwnames
)) goto fail
;
32612 if (!wxPyCheckForApp()) SWIG_fail
;
32613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32616 wxPyEndAllowThreads(__tstate
);
32617 if (PyErr_Occurred()) SWIG_fail
;
32619 Py_INCREF(Py_None
); resultobj
= Py_None
;
32626 static PyObject
*_wrap_OGLCleanUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32627 PyObject
*resultobj
;
32628 char *kwnames
[] = {
32632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":OGLCleanUp",kwnames
)) goto fail
;
32634 if (!wxPyCheckForApp()) SWIG_fail
;
32635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32638 wxPyEndAllowThreads(__tstate
);
32639 if (PyErr_Occurred()) SWIG_fail
;
32641 Py_INCREF(Py_None
); resultobj
= Py_None
;
32648 static PyMethodDef SwigMethods
[] = {
32649 { (char *)"new_ShapeRegion", (PyCFunction
) _wrap_new_ShapeRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32650 { (char *)"ShapeRegion_SetText", (PyCFunction
) _wrap_ShapeRegion_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32651 { (char *)"ShapeRegion_SetFont", (PyCFunction
) _wrap_ShapeRegion_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32652 { (char *)"ShapeRegion_SetMinSize", (PyCFunction
) _wrap_ShapeRegion_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32653 { (char *)"ShapeRegion_SetSize", (PyCFunction
) _wrap_ShapeRegion_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32654 { (char *)"ShapeRegion_SetPosition", (PyCFunction
) _wrap_ShapeRegion_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32655 { (char *)"ShapeRegion_SetProportions", (PyCFunction
) _wrap_ShapeRegion_SetProportions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32656 { (char *)"ShapeRegion_SetFormatMode", (PyCFunction
) _wrap_ShapeRegion_SetFormatMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32657 { (char *)"ShapeRegion_SetName", (PyCFunction
) _wrap_ShapeRegion_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32658 { (char *)"ShapeRegion_SetColour", (PyCFunction
) _wrap_ShapeRegion_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32659 { (char *)"ShapeRegion_GetText", (PyCFunction
) _wrap_ShapeRegion_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32660 { (char *)"ShapeRegion_GetFont", (PyCFunction
) _wrap_ShapeRegion_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32661 { (char *)"ShapeRegion_GetMinSize", (PyCFunction
) _wrap_ShapeRegion_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32662 { (char *)"ShapeRegion_GetProportion", (PyCFunction
) _wrap_ShapeRegion_GetProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32663 { (char *)"ShapeRegion_GetSize", (PyCFunction
) _wrap_ShapeRegion_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32664 { (char *)"ShapeRegion_GetPosition", (PyCFunction
) _wrap_ShapeRegion_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32665 { (char *)"ShapeRegion_GetFormatMode", (PyCFunction
) _wrap_ShapeRegion_GetFormatMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32666 { (char *)"ShapeRegion_GetName", (PyCFunction
) _wrap_ShapeRegion_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32667 { (char *)"ShapeRegion_GetColour", (PyCFunction
) _wrap_ShapeRegion_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32668 { (char *)"ShapeRegion_GetActualColourObject", (PyCFunction
) _wrap_ShapeRegion_GetActualColourObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32669 { (char *)"ShapeRegion_GetFormattedText", (PyCFunction
) _wrap_ShapeRegion_GetFormattedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32670 { (char *)"ShapeRegion_GetPenColour", (PyCFunction
) _wrap_ShapeRegion_GetPenColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32671 { (char *)"ShapeRegion_GetPenStyle", (PyCFunction
) _wrap_ShapeRegion_GetPenStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32672 { (char *)"ShapeRegion_SetPenStyle", (PyCFunction
) _wrap_ShapeRegion_SetPenStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32673 { (char *)"ShapeRegion_SetPenColour", (PyCFunction
) _wrap_ShapeRegion_SetPenColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32674 { (char *)"ShapeRegion_GetActualPen", (PyCFunction
) _wrap_ShapeRegion_GetActualPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32675 { (char *)"ShapeRegion_GetWidth", (PyCFunction
) _wrap_ShapeRegion_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32676 { (char *)"ShapeRegion_GetHeight", (PyCFunction
) _wrap_ShapeRegion_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32677 { (char *)"ShapeRegion_ClearText", (PyCFunction
) _wrap_ShapeRegion_ClearText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32678 { (char *)"ShapeRegion_swigregister", ShapeRegion_swigregister
, METH_VARARGS
, NULL
},
32679 { (char *)"new_AttachmentPoint", (PyCFunction
) _wrap_new_AttachmentPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32680 { (char *)"AttachmentPoint_m_id_set", (PyCFunction
) _wrap_AttachmentPoint_m_id_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32681 { (char *)"AttachmentPoint_m_id_get", (PyCFunction
) _wrap_AttachmentPoint_m_id_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32682 { (char *)"AttachmentPoint_m_x_set", (PyCFunction
) _wrap_AttachmentPoint_m_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32683 { (char *)"AttachmentPoint_m_x_get", (PyCFunction
) _wrap_AttachmentPoint_m_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32684 { (char *)"AttachmentPoint_m_y_set", (PyCFunction
) _wrap_AttachmentPoint_m_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32685 { (char *)"AttachmentPoint_m_y_get", (PyCFunction
) _wrap_AttachmentPoint_m_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32686 { (char *)"AttachmentPoint_swigregister", AttachmentPoint_swigregister
, METH_VARARGS
, NULL
},
32687 { (char *)"new_PyShapeEvtHandler", (PyCFunction
) _wrap_new_PyShapeEvtHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32688 { (char *)"PyShapeEvtHandler__setCallbackInfo", (PyCFunction
) _wrap_PyShapeEvtHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32689 { (char *)"PyShapeEvtHandler__setOORInfo", (PyCFunction
) _wrap_PyShapeEvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32690 { (char *)"PyShapeEvtHandler_SetShape", (PyCFunction
) _wrap_PyShapeEvtHandler_SetShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32691 { (char *)"PyShapeEvtHandler_GetShape", (PyCFunction
) _wrap_PyShapeEvtHandler_GetShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32692 { (char *)"PyShapeEvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_PyShapeEvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32693 { (char *)"PyShapeEvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_PyShapeEvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32694 { (char *)"PyShapeEvtHandler_CreateNewCopy", (PyCFunction
) _wrap_PyShapeEvtHandler_CreateNewCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32695 { (char *)"PyShapeEvtHandler_base_OnDelete", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32696 { (char *)"PyShapeEvtHandler_base_OnDraw", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32697 { (char *)"PyShapeEvtHandler_base_OnDrawContents", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32698 { (char *)"PyShapeEvtHandler_base_OnDrawBranches", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32699 { (char *)"PyShapeEvtHandler_base_OnMoveLinks", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32700 { (char *)"PyShapeEvtHandler_base_OnErase", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32701 { (char *)"PyShapeEvtHandler_base_OnEraseContents", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32702 { (char *)"PyShapeEvtHandler_base_OnHighlight", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32703 { (char *)"PyShapeEvtHandler_base_OnLeftClick", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32704 { (char *)"PyShapeEvtHandler_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32705 { (char *)"PyShapeEvtHandler_base_OnRightClick", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32706 { (char *)"PyShapeEvtHandler_base_OnSize", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32707 { (char *)"PyShapeEvtHandler_base_OnMovePre", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32708 { (char *)"PyShapeEvtHandler_base_OnMovePost", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32709 { (char *)"PyShapeEvtHandler_base_OnDragLeft", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32710 { (char *)"PyShapeEvtHandler_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32711 { (char *)"PyShapeEvtHandler_base_OnEndDragLeft", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32712 { (char *)"PyShapeEvtHandler_base_OnDragRight", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32713 { (char *)"PyShapeEvtHandler_base_OnBeginDragRight", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32714 { (char *)"PyShapeEvtHandler_base_OnEndDragRight", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32715 { (char *)"PyShapeEvtHandler_base_OnDrawOutline", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32716 { (char *)"PyShapeEvtHandler_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32717 { (char *)"PyShapeEvtHandler_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32718 { (char *)"PyShapeEvtHandler_base_OnMoveLink", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32719 { (char *)"PyShapeEvtHandler_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32720 { (char *)"PyShapeEvtHandler_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32721 { (char *)"PyShapeEvtHandler_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32722 { (char *)"PyShapeEvtHandler_base_OnBeginSize", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32723 { (char *)"PyShapeEvtHandler_base_OnEndSize", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32724 { (char *)"PyShapeEvtHandler_swigregister", PyShapeEvtHandler_swigregister
, METH_VARARGS
, NULL
},
32725 { (char *)"new_PyShape", (PyCFunction
) _wrap_new_PyShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32726 { (char *)"PyShape__setCallbackInfo", (PyCFunction
) _wrap_PyShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32727 { (char *)"PyShape_GetBoundingBoxMax", (PyCFunction
) _wrap_PyShape_GetBoundingBoxMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32728 { (char *)"PyShape_GetBoundingBoxMin", (PyCFunction
) _wrap_PyShape_GetBoundingBoxMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32729 { (char *)"PyShape_GetPerimeterPoint", (PyCFunction
) _wrap_PyShape_GetPerimeterPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32730 { (char *)"PyShape_GetCanvas", (PyCFunction
) _wrap_PyShape_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32731 { (char *)"PyShape_SetCanvas", (PyCFunction
) _wrap_PyShape_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32732 { (char *)"PyShape_AddToCanvas", (PyCFunction
) _wrap_PyShape_AddToCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32733 { (char *)"PyShape_InsertInCanvas", (PyCFunction
) _wrap_PyShape_InsertInCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32734 { (char *)"PyShape_RemoveFromCanvas", (PyCFunction
) _wrap_PyShape_RemoveFromCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32735 { (char *)"PyShape_GetX", (PyCFunction
) _wrap_PyShape_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32736 { (char *)"PyShape_GetY", (PyCFunction
) _wrap_PyShape_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32737 { (char *)"PyShape_SetX", (PyCFunction
) _wrap_PyShape_SetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32738 { (char *)"PyShape_SetY", (PyCFunction
) _wrap_PyShape_SetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32739 { (char *)"PyShape_GetParent", (PyCFunction
) _wrap_PyShape_GetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32740 { (char *)"PyShape_SetParent", (PyCFunction
) _wrap_PyShape_SetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32741 { (char *)"PyShape_GetTopAncestor", (PyCFunction
) _wrap_PyShape_GetTopAncestor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32742 { (char *)"PyShape_GetChildren", (PyCFunction
) _wrap_PyShape_GetChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32743 { (char *)"PyShape_Unlink", (PyCFunction
) _wrap_PyShape_Unlink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32744 { (char *)"PyShape_SetDrawHandles", (PyCFunction
) _wrap_PyShape_SetDrawHandles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32745 { (char *)"PyShape_GetDrawHandles", (PyCFunction
) _wrap_PyShape_GetDrawHandles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32746 { (char *)"PyShape_MakeControlPoints", (PyCFunction
) _wrap_PyShape_MakeControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32747 { (char *)"PyShape_DeleteControlPoints", (PyCFunction
) _wrap_PyShape_DeleteControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32748 { (char *)"PyShape_ResetControlPoints", (PyCFunction
) _wrap_PyShape_ResetControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32749 { (char *)"PyShape_GetEventHandler", (PyCFunction
) _wrap_PyShape_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32750 { (char *)"PyShape_SetEventHandler", (PyCFunction
) _wrap_PyShape_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32751 { (char *)"PyShape_MakeMandatoryControlPoints", (PyCFunction
) _wrap_PyShape_MakeMandatoryControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32752 { (char *)"PyShape_ResetMandatoryControlPoints", (PyCFunction
) _wrap_PyShape_ResetMandatoryControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32753 { (char *)"PyShape_Recompute", (PyCFunction
) _wrap_PyShape_Recompute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32754 { (char *)"PyShape_CalculateSize", (PyCFunction
) _wrap_PyShape_CalculateSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32755 { (char *)"PyShape_Select", (PyCFunction
) _wrap_PyShape_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32756 { (char *)"PyShape_SetHighlight", (PyCFunction
) _wrap_PyShape_SetHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32757 { (char *)"PyShape_IsHighlighted", (PyCFunction
) _wrap_PyShape_IsHighlighted
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32758 { (char *)"PyShape_Selected", (PyCFunction
) _wrap_PyShape_Selected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32759 { (char *)"PyShape_AncestorSelected", (PyCFunction
) _wrap_PyShape_AncestorSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32760 { (char *)"PyShape_SetSensitivityFilter", (PyCFunction
) _wrap_PyShape_SetSensitivityFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32761 { (char *)"PyShape_GetSensitivityFilter", (PyCFunction
) _wrap_PyShape_GetSensitivityFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32762 { (char *)"PyShape_SetDraggable", (PyCFunction
) _wrap_PyShape_SetDraggable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32763 { (char *)"PyShape_SetFixedSize", (PyCFunction
) _wrap_PyShape_SetFixedSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32764 { (char *)"PyShape_GetFixedSize", (PyCFunction
) _wrap_PyShape_GetFixedSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32765 { (char *)"PyShape_GetFixedWidth", (PyCFunction
) _wrap_PyShape_GetFixedWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32766 { (char *)"PyShape_GetFixedHeight", (PyCFunction
) _wrap_PyShape_GetFixedHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32767 { (char *)"PyShape_SetSpaceAttachments", (PyCFunction
) _wrap_PyShape_SetSpaceAttachments
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32768 { (char *)"PyShape_GetSpaceAttachments", (PyCFunction
) _wrap_PyShape_GetSpaceAttachments
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32769 { (char *)"PyShape_SetShadowMode", (PyCFunction
) _wrap_PyShape_SetShadowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32770 { (char *)"PyShape_GetShadowMode", (PyCFunction
) _wrap_PyShape_GetShadowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32771 { (char *)"PyShape_HitTest", (PyCFunction
) _wrap_PyShape_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32772 { (char *)"PyShape_SetCentreResize", (PyCFunction
) _wrap_PyShape_SetCentreResize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32773 { (char *)"PyShape_GetCentreResize", (PyCFunction
) _wrap_PyShape_GetCentreResize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32774 { (char *)"PyShape_SetMaintainAspectRatio", (PyCFunction
) _wrap_PyShape_SetMaintainAspectRatio
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32775 { (char *)"PyShape_GetMaintainAspectRatio", (PyCFunction
) _wrap_PyShape_GetMaintainAspectRatio
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32776 { (char *)"PyShape_GetLines", (PyCFunction
) _wrap_PyShape_GetLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32777 { (char *)"PyShape_SetDisableLabel", (PyCFunction
) _wrap_PyShape_SetDisableLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32778 { (char *)"PyShape_GetDisableLabel", (PyCFunction
) _wrap_PyShape_GetDisableLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32779 { (char *)"PyShape_SetAttachmentMode", (PyCFunction
) _wrap_PyShape_SetAttachmentMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32780 { (char *)"PyShape_GetAttachmentMode", (PyCFunction
) _wrap_PyShape_GetAttachmentMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32781 { (char *)"PyShape_SetId", (PyCFunction
) _wrap_PyShape_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32782 { (char *)"PyShape_GetId", (PyCFunction
) _wrap_PyShape_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32783 { (char *)"PyShape_SetPen", (PyCFunction
) _wrap_PyShape_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32784 { (char *)"PyShape_SetBrush", (PyCFunction
) _wrap_PyShape_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32785 { (char *)"PyShape_Show", (PyCFunction
) _wrap_PyShape_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32786 { (char *)"PyShape_IsShown", (PyCFunction
) _wrap_PyShape_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32787 { (char *)"PyShape_Move", (PyCFunction
) _wrap_PyShape_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32788 { (char *)"PyShape_Erase", (PyCFunction
) _wrap_PyShape_Erase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32789 { (char *)"PyShape_EraseContents", (PyCFunction
) _wrap_PyShape_EraseContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32790 { (char *)"PyShape_Draw", (PyCFunction
) _wrap_PyShape_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32791 { (char *)"PyShape_Flash", (PyCFunction
) _wrap_PyShape_Flash
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32792 { (char *)"PyShape_MoveLinks", (PyCFunction
) _wrap_PyShape_MoveLinks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32793 { (char *)"PyShape_DrawContents", (PyCFunction
) _wrap_PyShape_DrawContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32794 { (char *)"PyShape_SetSize", (PyCFunction
) _wrap_PyShape_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32795 { (char *)"PyShape_SetAttachmentSize", (PyCFunction
) _wrap_PyShape_SetAttachmentSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32796 { (char *)"PyShape_Attach", (PyCFunction
) _wrap_PyShape_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32797 { (char *)"PyShape_Detach", (PyCFunction
) _wrap_PyShape_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32798 { (char *)"PyShape_Constrain", (PyCFunction
) _wrap_PyShape_Constrain
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32799 { (char *)"PyShape_AddLine", (PyCFunction
) _wrap_PyShape_AddLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32800 { (char *)"PyShape_GetLinePosition", (PyCFunction
) _wrap_PyShape_GetLinePosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32801 { (char *)"PyShape_AddText", (PyCFunction
) _wrap_PyShape_AddText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32802 { (char *)"PyShape_GetPen", (PyCFunction
) _wrap_PyShape_GetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32803 { (char *)"PyShape_GetBrush", (PyCFunction
) _wrap_PyShape_GetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32804 { (char *)"PyShape_SetDefaultRegionSize", (PyCFunction
) _wrap_PyShape_SetDefaultRegionSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32805 { (char *)"PyShape_FormatText", (PyCFunction
) _wrap_PyShape_FormatText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32806 { (char *)"PyShape_SetFormatMode", (PyCFunction
) _wrap_PyShape_SetFormatMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32807 { (char *)"PyShape_GetFormatMode", (PyCFunction
) _wrap_PyShape_GetFormatMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32808 { (char *)"PyShape_SetFont", (PyCFunction
) _wrap_PyShape_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32809 { (char *)"PyShape_GetFont", (PyCFunction
) _wrap_PyShape_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32810 { (char *)"PyShape_SetTextColour", (PyCFunction
) _wrap_PyShape_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32811 { (char *)"PyShape_GetTextColour", (PyCFunction
) _wrap_PyShape_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32812 { (char *)"PyShape_GetNumberOfTextRegions", (PyCFunction
) _wrap_PyShape_GetNumberOfTextRegions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32813 { (char *)"PyShape_SetRegionName", (PyCFunction
) _wrap_PyShape_SetRegionName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32814 { (char *)"PyShape_GetRegionName", (PyCFunction
) _wrap_PyShape_GetRegionName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32815 { (char *)"PyShape_GetRegionId", (PyCFunction
) _wrap_PyShape_GetRegionId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32816 { (char *)"PyShape_NameRegions", (PyCFunction
) _wrap_PyShape_NameRegions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32817 { (char *)"PyShape_GetRegions", (PyCFunction
) _wrap_PyShape_GetRegions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32818 { (char *)"PyShape_AddRegion", (PyCFunction
) _wrap_PyShape_AddRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32819 { (char *)"PyShape_ClearRegions", (PyCFunction
) _wrap_PyShape_ClearRegions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32820 { (char *)"PyShape_AssignNewIds", (PyCFunction
) _wrap_PyShape_AssignNewIds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32821 { (char *)"PyShape_FindRegion", (PyCFunction
) _wrap_PyShape_FindRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32822 { (char *)"PyShape_FindRegionNames", (PyCFunction
) _wrap_PyShape_FindRegionNames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32823 { (char *)"PyShape_ClearText", (PyCFunction
) _wrap_PyShape_ClearText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32824 { (char *)"PyShape_RemoveLine", (PyCFunction
) _wrap_PyShape_RemoveLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32825 { (char *)"PyShape_GetAttachmentPosition", (PyCFunction
) _wrap_PyShape_GetAttachmentPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32826 { (char *)"PyShape_GetNumberOfAttachments", (PyCFunction
) _wrap_PyShape_GetNumberOfAttachments
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32827 { (char *)"PyShape_AttachmentIsValid", (PyCFunction
) _wrap_PyShape_AttachmentIsValid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32828 { (char *)"PyShape_GetAttachments", (PyCFunction
) _wrap_PyShape_GetAttachments
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32829 { (char *)"PyShape_GetAttachmentPositionEdge", (PyCFunction
) _wrap_PyShape_GetAttachmentPositionEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32830 { (char *)"PyShape_CalcSimpleAttachment", (PyCFunction
) _wrap_PyShape_CalcSimpleAttachment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32831 { (char *)"PyShape_AttachmentSortTest", (PyCFunction
) _wrap_PyShape_AttachmentSortTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32832 { (char *)"PyShape_EraseLinks", (PyCFunction
) _wrap_PyShape_EraseLinks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32833 { (char *)"PyShape_DrawLinks", (PyCFunction
) _wrap_PyShape_DrawLinks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32834 { (char *)"PyShape_MoveLineToNewAttachment", (PyCFunction
) _wrap_PyShape_MoveLineToNewAttachment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32835 { (char *)"PyShape_ApplyAttachmentOrdering", (PyCFunction
) _wrap_PyShape_ApplyAttachmentOrdering
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32836 { (char *)"PyShape_GetBranchingAttachmentRoot", (PyCFunction
) _wrap_PyShape_GetBranchingAttachmentRoot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32837 { (char *)"PyShape_GetBranchingAttachmentInfo", (PyCFunction
) _wrap_PyShape_GetBranchingAttachmentInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32838 { (char *)"PyShape_GetBranchingAttachmentPoint", (PyCFunction
) _wrap_PyShape_GetBranchingAttachmentPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32839 { (char *)"PyShape_GetAttachmentLineCount", (PyCFunction
) _wrap_PyShape_GetAttachmentLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32840 { (char *)"PyShape_SetBranchNeckLength", (PyCFunction
) _wrap_PyShape_SetBranchNeckLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32841 { (char *)"PyShape_GetBranchNeckLength", (PyCFunction
) _wrap_PyShape_GetBranchNeckLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32842 { (char *)"PyShape_SetBranchStemLength", (PyCFunction
) _wrap_PyShape_SetBranchStemLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32843 { (char *)"PyShape_GetBranchStemLength", (PyCFunction
) _wrap_PyShape_GetBranchStemLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32844 { (char *)"PyShape_SetBranchSpacing", (PyCFunction
) _wrap_PyShape_SetBranchSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32845 { (char *)"PyShape_GetBranchSpacing", (PyCFunction
) _wrap_PyShape_GetBranchSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32846 { (char *)"PyShape_SetBranchStyle", (PyCFunction
) _wrap_PyShape_SetBranchStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32847 { (char *)"PyShape_GetBranchStyle", (PyCFunction
) _wrap_PyShape_GetBranchStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32848 { (char *)"PyShape_PhysicalToLogicalAttachment", (PyCFunction
) _wrap_PyShape_PhysicalToLogicalAttachment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32849 { (char *)"PyShape_LogicalToPhysicalAttachment", (PyCFunction
) _wrap_PyShape_LogicalToPhysicalAttachment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32850 { (char *)"PyShape_Draggable", (PyCFunction
) _wrap_PyShape_Draggable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32851 { (char *)"PyShape_HasDescendant", (PyCFunction
) _wrap_PyShape_HasDescendant
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32852 { (char *)"PyShape_CreateNewCopy", (PyCFunction
) _wrap_PyShape_CreateNewCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32853 { (char *)"PyShape_Copy", (PyCFunction
) _wrap_PyShape_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32854 { (char *)"PyShape_CopyWithHandler", (PyCFunction
) _wrap_PyShape_CopyWithHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32855 { (char *)"PyShape_Rotate", (PyCFunction
) _wrap_PyShape_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32856 { (char *)"PyShape_GetRotation", (PyCFunction
) _wrap_PyShape_GetRotation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32857 { (char *)"PyShape_SetRotation", (PyCFunction
) _wrap_PyShape_SetRotation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32858 { (char *)"PyShape_ClearAttachments", (PyCFunction
) _wrap_PyShape_ClearAttachments
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32859 { (char *)"PyShape_Recentre", (PyCFunction
) _wrap_PyShape_Recentre
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32860 { (char *)"PyShape_ClearPointList", (PyCFunction
) _wrap_PyShape_ClearPointList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32861 { (char *)"PyShape_GetBackgroundPen", (PyCFunction
) _wrap_PyShape_GetBackgroundPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32862 { (char *)"PyShape_GetBackgroundBrush", (PyCFunction
) _wrap_PyShape_GetBackgroundBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32863 { (char *)"PyShape_base_OnDelete", (PyCFunction
) _wrap_PyShape_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32864 { (char *)"PyShape_base_OnDraw", (PyCFunction
) _wrap_PyShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32865 { (char *)"PyShape_base_OnDrawContents", (PyCFunction
) _wrap_PyShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32866 { (char *)"PyShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32867 { (char *)"PyShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32868 { (char *)"PyShape_base_OnErase", (PyCFunction
) _wrap_PyShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32869 { (char *)"PyShape_base_OnEraseContents", (PyCFunction
) _wrap_PyShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32870 { (char *)"PyShape_base_OnHighlight", (PyCFunction
) _wrap_PyShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32871 { (char *)"PyShape_base_OnLeftClick", (PyCFunction
) _wrap_PyShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32872 { (char *)"PyShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32873 { (char *)"PyShape_base_OnRightClick", (PyCFunction
) _wrap_PyShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32874 { (char *)"PyShape_base_OnSize", (PyCFunction
) _wrap_PyShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32875 { (char *)"PyShape_base_OnMovePre", (PyCFunction
) _wrap_PyShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32876 { (char *)"PyShape_base_OnMovePost", (PyCFunction
) _wrap_PyShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32877 { (char *)"PyShape_base_OnDragLeft", (PyCFunction
) _wrap_PyShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32878 { (char *)"PyShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32879 { (char *)"PyShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32880 { (char *)"PyShape_base_OnDragRight", (PyCFunction
) _wrap_PyShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32881 { (char *)"PyShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32882 { (char *)"PyShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32883 { (char *)"PyShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32884 { (char *)"PyShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32885 { (char *)"PyShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32886 { (char *)"PyShape_base_OnMoveLink", (PyCFunction
) _wrap_PyShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32887 { (char *)"PyShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32888 { (char *)"PyShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32889 { (char *)"PyShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32890 { (char *)"PyShape_base_OnBeginSize", (PyCFunction
) _wrap_PyShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32891 { (char *)"PyShape_base_OnEndSize", (PyCFunction
) _wrap_PyShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32892 { (char *)"PyShape_swigregister", PyShape_swigregister
, METH_VARARGS
, NULL
},
32893 { (char *)"new_PseudoMetaFile", (PyCFunction
) _wrap_new_PseudoMetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32894 { (char *)"delete_PseudoMetaFile", (PyCFunction
) _wrap_delete_PseudoMetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32895 { (char *)"PseudoMetaFile_Draw", (PyCFunction
) _wrap_PseudoMetaFile_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32896 { (char *)"PseudoMetaFile_Clear", (PyCFunction
) _wrap_PseudoMetaFile_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32897 { (char *)"PseudoMetaFile_Copy", (PyCFunction
) _wrap_PseudoMetaFile_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32898 { (char *)"PseudoMetaFile_Scale", (PyCFunction
) _wrap_PseudoMetaFile_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32899 { (char *)"PseudoMetaFile_ScaleTo", (PyCFunction
) _wrap_PseudoMetaFile_ScaleTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32900 { (char *)"PseudoMetaFile_Translate", (PyCFunction
) _wrap_PseudoMetaFile_Translate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32901 { (char *)"PseudoMetaFile_Rotate", (PyCFunction
) _wrap_PseudoMetaFile_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32902 { (char *)"PseudoMetaFile_LoadFromMetaFile", (PyCFunction
) _wrap_PseudoMetaFile_LoadFromMetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32903 { (char *)"PseudoMetaFile_GetBounds", (PyCFunction
) _wrap_PseudoMetaFile_GetBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32904 { (char *)"PseudoMetaFile_CalculateSize", (PyCFunction
) _wrap_PseudoMetaFile_CalculateSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32905 { (char *)"PseudoMetaFile_SetRotateable", (PyCFunction
) _wrap_PseudoMetaFile_SetRotateable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32906 { (char *)"PseudoMetaFile_GetRotateable", (PyCFunction
) _wrap_PseudoMetaFile_GetRotateable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32907 { (char *)"PseudoMetaFile_SetSize", (PyCFunction
) _wrap_PseudoMetaFile_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32908 { (char *)"PseudoMetaFile_SetFillBrush", (PyCFunction
) _wrap_PseudoMetaFile_SetFillBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32909 { (char *)"PseudoMetaFile_GetFillBrush", (PyCFunction
) _wrap_PseudoMetaFile_GetFillBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32910 { (char *)"PseudoMetaFile_SetOutlinePen", (PyCFunction
) _wrap_PseudoMetaFile_SetOutlinePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32911 { (char *)"PseudoMetaFile_GetOutlinePen", (PyCFunction
) _wrap_PseudoMetaFile_GetOutlinePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32912 { (char *)"PseudoMetaFile_SetOutlineOp", (PyCFunction
) _wrap_PseudoMetaFile_SetOutlineOp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32913 { (char *)"PseudoMetaFile_GetOutlineOp", (PyCFunction
) _wrap_PseudoMetaFile_GetOutlineOp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32914 { (char *)"PseudoMetaFile_IsValid", (PyCFunction
) _wrap_PseudoMetaFile_IsValid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32915 { (char *)"PseudoMetaFile_DrawLine", (PyCFunction
) _wrap_PseudoMetaFile_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32916 { (char *)"PseudoMetaFile_DrawRectangle", (PyCFunction
) _wrap_PseudoMetaFile_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32917 { (char *)"PseudoMetaFile_DrawRoundedRectangle", (PyCFunction
) _wrap_PseudoMetaFile_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32918 { (char *)"PseudoMetaFile_DrawArc", (PyCFunction
) _wrap_PseudoMetaFile_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32919 { (char *)"PseudoMetaFile_DrawEllipticArc", (PyCFunction
) _wrap_PseudoMetaFile_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32920 { (char *)"PseudoMetaFile_DrawEllipse", (PyCFunction
) _wrap_PseudoMetaFile_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32921 { (char *)"PseudoMetaFile_DrawPoint", (PyCFunction
) _wrap_PseudoMetaFile_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32922 { (char *)"PseudoMetaFile_DrawText", (PyCFunction
) _wrap_PseudoMetaFile_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32923 { (char *)"PseudoMetaFile_DrawLines", (PyCFunction
) _wrap_PseudoMetaFile_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32924 { (char *)"PseudoMetaFile_DrawPolygon", (PyCFunction
) _wrap_PseudoMetaFile_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32925 { (char *)"PseudoMetaFile_DrawSpline", (PyCFunction
) _wrap_PseudoMetaFile_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32926 { (char *)"PseudoMetaFile_SetClippingRect", (PyCFunction
) _wrap_PseudoMetaFile_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32927 { (char *)"PseudoMetaFile_DestroyClippingRect", (PyCFunction
) _wrap_PseudoMetaFile_DestroyClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32928 { (char *)"PseudoMetaFile_SetPen", (PyCFunction
) _wrap_PseudoMetaFile_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32929 { (char *)"PseudoMetaFile_SetBrush", (PyCFunction
) _wrap_PseudoMetaFile_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32930 { (char *)"PseudoMetaFile_SetFont", (PyCFunction
) _wrap_PseudoMetaFile_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32931 { (char *)"PseudoMetaFile_SetTextColour", (PyCFunction
) _wrap_PseudoMetaFile_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32932 { (char *)"PseudoMetaFile_SetBackgroundColour", (PyCFunction
) _wrap_PseudoMetaFile_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32933 { (char *)"PseudoMetaFile_SetBackgroundMode", (PyCFunction
) _wrap_PseudoMetaFile_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32934 { (char *)"PseudoMetaFile_swigregister", PseudoMetaFile_swigregister
, METH_VARARGS
, NULL
},
32935 { (char *)"new_PyRectangleShape", (PyCFunction
) _wrap_new_PyRectangleShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32936 { (char *)"PyRectangleShape__setCallbackInfo", (PyCFunction
) _wrap_PyRectangleShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32937 { (char *)"PyRectangleShape_SetCornerRadius", (PyCFunction
) _wrap_PyRectangleShape_SetCornerRadius
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32938 { (char *)"PyRectangleShape_GetCornerRadius", (PyCFunction
) _wrap_PyRectangleShape_GetCornerRadius
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32939 { (char *)"PyRectangleShape_base_OnDelete", (PyCFunction
) _wrap_PyRectangleShape_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32940 { (char *)"PyRectangleShape_base_OnDraw", (PyCFunction
) _wrap_PyRectangleShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32941 { (char *)"PyRectangleShape_base_OnDrawContents", (PyCFunction
) _wrap_PyRectangleShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32942 { (char *)"PyRectangleShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyRectangleShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32943 { (char *)"PyRectangleShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyRectangleShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32944 { (char *)"PyRectangleShape_base_OnErase", (PyCFunction
) _wrap_PyRectangleShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32945 { (char *)"PyRectangleShape_base_OnEraseContents", (PyCFunction
) _wrap_PyRectangleShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32946 { (char *)"PyRectangleShape_base_OnHighlight", (PyCFunction
) _wrap_PyRectangleShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32947 { (char *)"PyRectangleShape_base_OnLeftClick", (PyCFunction
) _wrap_PyRectangleShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32948 { (char *)"PyRectangleShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyRectangleShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32949 { (char *)"PyRectangleShape_base_OnRightClick", (PyCFunction
) _wrap_PyRectangleShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32950 { (char *)"PyRectangleShape_base_OnSize", (PyCFunction
) _wrap_PyRectangleShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32951 { (char *)"PyRectangleShape_base_OnMovePre", (PyCFunction
) _wrap_PyRectangleShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32952 { (char *)"PyRectangleShape_base_OnMovePost", (PyCFunction
) _wrap_PyRectangleShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32953 { (char *)"PyRectangleShape_base_OnDragLeft", (PyCFunction
) _wrap_PyRectangleShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32954 { (char *)"PyRectangleShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyRectangleShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32955 { (char *)"PyRectangleShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyRectangleShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32956 { (char *)"PyRectangleShape_base_OnDragRight", (PyCFunction
) _wrap_PyRectangleShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32957 { (char *)"PyRectangleShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyRectangleShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32958 { (char *)"PyRectangleShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyRectangleShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32959 { (char *)"PyRectangleShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyRectangleShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32960 { (char *)"PyRectangleShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyRectangleShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32961 { (char *)"PyRectangleShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyRectangleShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32962 { (char *)"PyRectangleShape_base_OnMoveLink", (PyCFunction
) _wrap_PyRectangleShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32963 { (char *)"PyRectangleShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyRectangleShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32964 { (char *)"PyRectangleShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyRectangleShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32965 { (char *)"PyRectangleShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyRectangleShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32966 { (char *)"PyRectangleShape_base_OnBeginSize", (PyCFunction
) _wrap_PyRectangleShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32967 { (char *)"PyRectangleShape_base_OnEndSize", (PyCFunction
) _wrap_PyRectangleShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32968 { (char *)"PyRectangleShape_swigregister", PyRectangleShape_swigregister
, METH_VARARGS
, NULL
},
32969 { (char *)"new_PyControlPoint", (PyCFunction
) _wrap_new_PyControlPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32970 { (char *)"PyControlPoint__setCallbackInfo", (PyCFunction
) _wrap_PyControlPoint__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32971 { (char *)"PyControlPoint_SetCornerRadius", (PyCFunction
) _wrap_PyControlPoint_SetCornerRadius
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32972 { (char *)"PyControlPoint_base_OnDelete", (PyCFunction
) _wrap_PyControlPoint_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32973 { (char *)"PyControlPoint_base_OnDraw", (PyCFunction
) _wrap_PyControlPoint_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32974 { (char *)"PyControlPoint_base_OnDrawContents", (PyCFunction
) _wrap_PyControlPoint_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32975 { (char *)"PyControlPoint_base_OnDrawBranches", (PyCFunction
) _wrap_PyControlPoint_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32976 { (char *)"PyControlPoint_base_OnMoveLinks", (PyCFunction
) _wrap_PyControlPoint_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32977 { (char *)"PyControlPoint_base_OnErase", (PyCFunction
) _wrap_PyControlPoint_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32978 { (char *)"PyControlPoint_base_OnEraseContents", (PyCFunction
) _wrap_PyControlPoint_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32979 { (char *)"PyControlPoint_base_OnHighlight", (PyCFunction
) _wrap_PyControlPoint_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32980 { (char *)"PyControlPoint_base_OnLeftClick", (PyCFunction
) _wrap_PyControlPoint_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32981 { (char *)"PyControlPoint_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyControlPoint_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32982 { (char *)"PyControlPoint_base_OnRightClick", (PyCFunction
) _wrap_PyControlPoint_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32983 { (char *)"PyControlPoint_base_OnSize", (PyCFunction
) _wrap_PyControlPoint_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32984 { (char *)"PyControlPoint_base_OnMovePre", (PyCFunction
) _wrap_PyControlPoint_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32985 { (char *)"PyControlPoint_base_OnMovePost", (PyCFunction
) _wrap_PyControlPoint_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32986 { (char *)"PyControlPoint_base_OnDragLeft", (PyCFunction
) _wrap_PyControlPoint_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32987 { (char *)"PyControlPoint_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyControlPoint_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32988 { (char *)"PyControlPoint_base_OnEndDragLeft", (PyCFunction
) _wrap_PyControlPoint_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32989 { (char *)"PyControlPoint_base_OnDragRight", (PyCFunction
) _wrap_PyControlPoint_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32990 { (char *)"PyControlPoint_base_OnBeginDragRight", (PyCFunction
) _wrap_PyControlPoint_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32991 { (char *)"PyControlPoint_base_OnEndDragRight", (PyCFunction
) _wrap_PyControlPoint_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32992 { (char *)"PyControlPoint_base_OnDrawOutline", (PyCFunction
) _wrap_PyControlPoint_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32993 { (char *)"PyControlPoint_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyControlPoint_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32994 { (char *)"PyControlPoint_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyControlPoint_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32995 { (char *)"PyControlPoint_base_OnMoveLink", (PyCFunction
) _wrap_PyControlPoint_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32996 { (char *)"PyControlPoint_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyControlPoint_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32997 { (char *)"PyControlPoint_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyControlPoint_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32998 { (char *)"PyControlPoint_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyControlPoint_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32999 { (char *)"PyControlPoint_base_OnBeginSize", (PyCFunction
) _wrap_PyControlPoint_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33000 { (char *)"PyControlPoint_base_OnEndSize", (PyCFunction
) _wrap_PyControlPoint_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33001 { (char *)"PyControlPoint_swigregister", PyControlPoint_swigregister
, METH_VARARGS
, NULL
},
33002 { (char *)"new_PyBitmapShape", (PyCFunction
) _wrap_new_PyBitmapShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33003 { (char *)"PyBitmapShape__setCallbackInfo", (PyCFunction
) _wrap_PyBitmapShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33004 { (char *)"PyBitmapShape_GetBitmap", (PyCFunction
) _wrap_PyBitmapShape_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33005 { (char *)"PyBitmapShape_GetFilename", (PyCFunction
) _wrap_PyBitmapShape_GetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33006 { (char *)"PyBitmapShape_SetBitmap", (PyCFunction
) _wrap_PyBitmapShape_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33007 { (char *)"PyBitmapShape_SetFilename", (PyCFunction
) _wrap_PyBitmapShape_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33008 { (char *)"PyBitmapShape_base_OnDelete", (PyCFunction
) _wrap_PyBitmapShape_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33009 { (char *)"PyBitmapShape_base_OnDraw", (PyCFunction
) _wrap_PyBitmapShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33010 { (char *)"PyBitmapShape_base_OnDrawContents", (PyCFunction
) _wrap_PyBitmapShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33011 { (char *)"PyBitmapShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyBitmapShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33012 { (char *)"PyBitmapShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyBitmapShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33013 { (char *)"PyBitmapShape_base_OnErase", (PyCFunction
) _wrap_PyBitmapShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33014 { (char *)"PyBitmapShape_base_OnEraseContents", (PyCFunction
) _wrap_PyBitmapShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33015 { (char *)"PyBitmapShape_base_OnHighlight", (PyCFunction
) _wrap_PyBitmapShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33016 { (char *)"PyBitmapShape_base_OnLeftClick", (PyCFunction
) _wrap_PyBitmapShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33017 { (char *)"PyBitmapShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyBitmapShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33018 { (char *)"PyBitmapShape_base_OnRightClick", (PyCFunction
) _wrap_PyBitmapShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33019 { (char *)"PyBitmapShape_base_OnSize", (PyCFunction
) _wrap_PyBitmapShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33020 { (char *)"PyBitmapShape_base_OnMovePre", (PyCFunction
) _wrap_PyBitmapShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33021 { (char *)"PyBitmapShape_base_OnMovePost", (PyCFunction
) _wrap_PyBitmapShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33022 { (char *)"PyBitmapShape_base_OnDragLeft", (PyCFunction
) _wrap_PyBitmapShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33023 { (char *)"PyBitmapShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyBitmapShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33024 { (char *)"PyBitmapShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyBitmapShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33025 { (char *)"PyBitmapShape_base_OnDragRight", (PyCFunction
) _wrap_PyBitmapShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33026 { (char *)"PyBitmapShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyBitmapShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33027 { (char *)"PyBitmapShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyBitmapShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33028 { (char *)"PyBitmapShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyBitmapShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33029 { (char *)"PyBitmapShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyBitmapShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33030 { (char *)"PyBitmapShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyBitmapShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33031 { (char *)"PyBitmapShape_base_OnMoveLink", (PyCFunction
) _wrap_PyBitmapShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33032 { (char *)"PyBitmapShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyBitmapShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33033 { (char *)"PyBitmapShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyBitmapShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33034 { (char *)"PyBitmapShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyBitmapShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33035 { (char *)"PyBitmapShape_base_OnBeginSize", (PyCFunction
) _wrap_PyBitmapShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33036 { (char *)"PyBitmapShape_base_OnEndSize", (PyCFunction
) _wrap_PyBitmapShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33037 { (char *)"PyBitmapShape_swigregister", PyBitmapShape_swigregister
, METH_VARARGS
, NULL
},
33038 { (char *)"new_PyDrawnShape", (PyCFunction
) _wrap_new_PyDrawnShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33039 { (char *)"PyDrawnShape__setCallbackInfo", (PyCFunction
) _wrap_PyDrawnShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33040 { (char *)"PyDrawnShape_CalculateSize", (PyCFunction
) _wrap_PyDrawnShape_CalculateSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33041 { (char *)"PyDrawnShape_DestroyClippingRect", (PyCFunction
) _wrap_PyDrawnShape_DestroyClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33042 { (char *)"PyDrawnShape_DrawArc", (PyCFunction
) _wrap_PyDrawnShape_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33043 { (char *)"PyDrawnShape_DrawAtAngle", (PyCFunction
) _wrap_PyDrawnShape_DrawAtAngle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33044 { (char *)"PyDrawnShape_DrawEllipticArc", (PyCFunction
) _wrap_PyDrawnShape_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33045 { (char *)"PyDrawnShape_DrawLine", (PyCFunction
) _wrap_PyDrawnShape_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33046 { (char *)"PyDrawnShape_DrawLines", (PyCFunction
) _wrap_PyDrawnShape_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33047 { (char *)"PyDrawnShape_DrawPoint", (PyCFunction
) _wrap_PyDrawnShape_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33048 { (char *)"PyDrawnShape_DrawPolygon", (PyCFunction
) _wrap_PyDrawnShape_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33049 { (char *)"PyDrawnShape_DrawRectangle", (PyCFunction
) _wrap_PyDrawnShape_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33050 { (char *)"PyDrawnShape_DrawRoundedRectangle", (PyCFunction
) _wrap_PyDrawnShape_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33051 { (char *)"PyDrawnShape_DrawSpline", (PyCFunction
) _wrap_PyDrawnShape_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33052 { (char *)"PyDrawnShape_DrawText", (PyCFunction
) _wrap_PyDrawnShape_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33053 { (char *)"PyDrawnShape_GetAngle", (PyCFunction
) _wrap_PyDrawnShape_GetAngle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33054 { (char *)"PyDrawnShape_GetMetaFile", (PyCFunction
) _wrap_PyDrawnShape_GetMetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33055 { (char *)"PyDrawnShape_GetRotation", (PyCFunction
) _wrap_PyDrawnShape_GetRotation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33056 { (char *)"PyDrawnShape_LoadFromMetaFile", (PyCFunction
) _wrap_PyDrawnShape_LoadFromMetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33057 { (char *)"PyDrawnShape_Rotate", (PyCFunction
) _wrap_PyDrawnShape_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33058 { (char *)"PyDrawnShape_SetClippingRect", (PyCFunction
) _wrap_PyDrawnShape_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33059 { (char *)"PyDrawnShape_SetDrawnBackgroundColour", (PyCFunction
) _wrap_PyDrawnShape_SetDrawnBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33060 { (char *)"PyDrawnShape_SetDrawnBackgroundMode", (PyCFunction
) _wrap_PyDrawnShape_SetDrawnBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33061 { (char *)"PyDrawnShape_SetDrawnBrush", (PyCFunction
) _wrap_PyDrawnShape_SetDrawnBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33062 { (char *)"PyDrawnShape_SetDrawnFont", (PyCFunction
) _wrap_PyDrawnShape_SetDrawnFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33063 { (char *)"PyDrawnShape_SetDrawnPen", (PyCFunction
) _wrap_PyDrawnShape_SetDrawnPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33064 { (char *)"PyDrawnShape_SetDrawnTextColour", (PyCFunction
) _wrap_PyDrawnShape_SetDrawnTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33065 { (char *)"PyDrawnShape_Scale", (PyCFunction
) _wrap_PyDrawnShape_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33066 { (char *)"PyDrawnShape_SetSaveToFile", (PyCFunction
) _wrap_PyDrawnShape_SetSaveToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33067 { (char *)"PyDrawnShape_Translate", (PyCFunction
) _wrap_PyDrawnShape_Translate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33068 { (char *)"PyDrawnShape_base_OnDelete", (PyCFunction
) _wrap_PyDrawnShape_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33069 { (char *)"PyDrawnShape_base_OnDraw", (PyCFunction
) _wrap_PyDrawnShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33070 { (char *)"PyDrawnShape_base_OnDrawContents", (PyCFunction
) _wrap_PyDrawnShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33071 { (char *)"PyDrawnShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyDrawnShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33072 { (char *)"PyDrawnShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyDrawnShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33073 { (char *)"PyDrawnShape_base_OnErase", (PyCFunction
) _wrap_PyDrawnShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33074 { (char *)"PyDrawnShape_base_OnEraseContents", (PyCFunction
) _wrap_PyDrawnShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33075 { (char *)"PyDrawnShape_base_OnHighlight", (PyCFunction
) _wrap_PyDrawnShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33076 { (char *)"PyDrawnShape_base_OnLeftClick", (PyCFunction
) _wrap_PyDrawnShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33077 { (char *)"PyDrawnShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyDrawnShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33078 { (char *)"PyDrawnShape_base_OnRightClick", (PyCFunction
) _wrap_PyDrawnShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33079 { (char *)"PyDrawnShape_base_OnSize", (PyCFunction
) _wrap_PyDrawnShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33080 { (char *)"PyDrawnShape_base_OnMovePre", (PyCFunction
) _wrap_PyDrawnShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33081 { (char *)"PyDrawnShape_base_OnMovePost", (PyCFunction
) _wrap_PyDrawnShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33082 { (char *)"PyDrawnShape_base_OnDragLeft", (PyCFunction
) _wrap_PyDrawnShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33083 { (char *)"PyDrawnShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyDrawnShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33084 { (char *)"PyDrawnShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyDrawnShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33085 { (char *)"PyDrawnShape_base_OnDragRight", (PyCFunction
) _wrap_PyDrawnShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33086 { (char *)"PyDrawnShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyDrawnShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33087 { (char *)"PyDrawnShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyDrawnShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33088 { (char *)"PyDrawnShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyDrawnShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33089 { (char *)"PyDrawnShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyDrawnShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33090 { (char *)"PyDrawnShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyDrawnShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33091 { (char *)"PyDrawnShape_base_OnMoveLink", (PyCFunction
) _wrap_PyDrawnShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33092 { (char *)"PyDrawnShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyDrawnShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33093 { (char *)"PyDrawnShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyDrawnShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33094 { (char *)"PyDrawnShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyDrawnShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33095 { (char *)"PyDrawnShape_base_OnBeginSize", (PyCFunction
) _wrap_PyDrawnShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33096 { (char *)"PyDrawnShape_base_OnEndSize", (PyCFunction
) _wrap_PyDrawnShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33097 { (char *)"PyDrawnShape_swigregister", PyDrawnShape_swigregister
, METH_VARARGS
, NULL
},
33098 { (char *)"new_OGLConstraint", (PyCFunction
) _wrap_new_OGLConstraint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33099 { (char *)"OGLConstraint_Evaluate", (PyCFunction
) _wrap_OGLConstraint_Evaluate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33100 { (char *)"OGLConstraint_SetSpacing", (PyCFunction
) _wrap_OGLConstraint_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33101 { (char *)"OGLConstraint_Equals", (PyCFunction
) _wrap_OGLConstraint_Equals
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33102 { (char *)"OGLConstraint_swigregister", OGLConstraint_swigregister
, METH_VARARGS
, NULL
},
33103 { (char *)"new_PyCompositeShape", (PyCFunction
) _wrap_new_PyCompositeShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33104 { (char *)"PyCompositeShape__setCallbackInfo", (PyCFunction
) _wrap_PyCompositeShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33105 { (char *)"PyCompositeShape_AddChild", (PyCFunction
) _wrap_PyCompositeShape_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33106 { (char *)"PyCompositeShape_AddConstraint", (PyCFunction
) _wrap_PyCompositeShape_AddConstraint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33107 { (char *)"PyCompositeShape_AddConstrainedShapes", (PyCFunction
) _wrap_PyCompositeShape_AddConstrainedShapes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33108 { (char *)"PyCompositeShape_AddSimpleConstraint", (PyCFunction
) _wrap_PyCompositeShape_AddSimpleConstraint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33109 { (char *)"PyCompositeShape_CalculateSize", (PyCFunction
) _wrap_PyCompositeShape_CalculateSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33110 { (char *)"PyCompositeShape_ContainsDivision", (PyCFunction
) _wrap_PyCompositeShape_ContainsDivision
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33111 { (char *)"PyCompositeShape_DeleteConstraint", (PyCFunction
) _wrap_PyCompositeShape_DeleteConstraint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33112 { (char *)"PyCompositeShape_DeleteConstraintsInvolvingChild", (PyCFunction
) _wrap_PyCompositeShape_DeleteConstraintsInvolvingChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33113 { (char *)"PyCompositeShape_FindContainerImage", (PyCFunction
) _wrap_PyCompositeShape_FindContainerImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33114 { (char *)"PyCompositeShape_GetConstraints", (PyCFunction
) _wrap_PyCompositeShape_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33115 { (char *)"PyCompositeShape_GetDivisions", (PyCFunction
) _wrap_PyCompositeShape_GetDivisions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33116 { (char *)"PyCompositeShape_MakeContainer", (PyCFunction
) _wrap_PyCompositeShape_MakeContainer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33117 { (char *)"PyCompositeShape_Recompute", (PyCFunction
) _wrap_PyCompositeShape_Recompute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33118 { (char *)"PyCompositeShape_RemoveChild", (PyCFunction
) _wrap_PyCompositeShape_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33119 { (char *)"PyCompositeShape_base_OnDelete", (PyCFunction
) _wrap_PyCompositeShape_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33120 { (char *)"PyCompositeShape_base_OnDraw", (PyCFunction
) _wrap_PyCompositeShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33121 { (char *)"PyCompositeShape_base_OnDrawContents", (PyCFunction
) _wrap_PyCompositeShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33122 { (char *)"PyCompositeShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyCompositeShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33123 { (char *)"PyCompositeShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyCompositeShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33124 { (char *)"PyCompositeShape_base_OnErase", (PyCFunction
) _wrap_PyCompositeShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33125 { (char *)"PyCompositeShape_base_OnEraseContents", (PyCFunction
) _wrap_PyCompositeShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33126 { (char *)"PyCompositeShape_base_OnHighlight", (PyCFunction
) _wrap_PyCompositeShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33127 { (char *)"PyCompositeShape_base_OnLeftClick", (PyCFunction
) _wrap_PyCompositeShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33128 { (char *)"PyCompositeShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyCompositeShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33129 { (char *)"PyCompositeShape_base_OnRightClick", (PyCFunction
) _wrap_PyCompositeShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33130 { (char *)"PyCompositeShape_base_OnSize", (PyCFunction
) _wrap_PyCompositeShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33131 { (char *)"PyCompositeShape_base_OnMovePre", (PyCFunction
) _wrap_PyCompositeShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33132 { (char *)"PyCompositeShape_base_OnMovePost", (PyCFunction
) _wrap_PyCompositeShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33133 { (char *)"PyCompositeShape_base_OnDragLeft", (PyCFunction
) _wrap_PyCompositeShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33134 { (char *)"PyCompositeShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyCompositeShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33135 { (char *)"PyCompositeShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyCompositeShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33136 { (char *)"PyCompositeShape_base_OnDragRight", (PyCFunction
) _wrap_PyCompositeShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33137 { (char *)"PyCompositeShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyCompositeShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33138 { (char *)"PyCompositeShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyCompositeShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33139 { (char *)"PyCompositeShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyCompositeShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33140 { (char *)"PyCompositeShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyCompositeShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33141 { (char *)"PyCompositeShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyCompositeShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33142 { (char *)"PyCompositeShape_base_OnMoveLink", (PyCFunction
) _wrap_PyCompositeShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33143 { (char *)"PyCompositeShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyCompositeShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33144 { (char *)"PyCompositeShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyCompositeShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33145 { (char *)"PyCompositeShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyCompositeShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33146 { (char *)"PyCompositeShape_base_OnBeginSize", (PyCFunction
) _wrap_PyCompositeShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33147 { (char *)"PyCompositeShape_base_OnEndSize", (PyCFunction
) _wrap_PyCompositeShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33148 { (char *)"PyCompositeShape_swigregister", PyCompositeShape_swigregister
, METH_VARARGS
, NULL
},
33149 { (char *)"new_PyDividedShape", (PyCFunction
) _wrap_new_PyDividedShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33150 { (char *)"PyDividedShape__setCallbackInfo", (PyCFunction
) _wrap_PyDividedShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33151 { (char *)"PyDividedShape_EditRegions", (PyCFunction
) _wrap_PyDividedShape_EditRegions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33152 { (char *)"PyDividedShape_SetRegionSizes", (PyCFunction
) _wrap_PyDividedShape_SetRegionSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33153 { (char *)"PyDividedShape_base_OnDelete", (PyCFunction
) _wrap_PyDividedShape_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33154 { (char *)"PyDividedShape_base_OnDraw", (PyCFunction
) _wrap_PyDividedShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33155 { (char *)"PyDividedShape_base_OnDrawContents", (PyCFunction
) _wrap_PyDividedShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33156 { (char *)"PyDividedShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyDividedShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33157 { (char *)"PyDividedShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyDividedShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33158 { (char *)"PyDividedShape_base_OnErase", (PyCFunction
) _wrap_PyDividedShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33159 { (char *)"PyDividedShape_base_OnEraseContents", (PyCFunction
) _wrap_PyDividedShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33160 { (char *)"PyDividedShape_base_OnHighlight", (PyCFunction
) _wrap_PyDividedShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33161 { (char *)"PyDividedShape_base_OnLeftClick", (PyCFunction
) _wrap_PyDividedShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33162 { (char *)"PyDividedShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyDividedShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33163 { (char *)"PyDividedShape_base_OnRightClick", (PyCFunction
) _wrap_PyDividedShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33164 { (char *)"PyDividedShape_base_OnSize", (PyCFunction
) _wrap_PyDividedShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33165 { (char *)"PyDividedShape_base_OnMovePre", (PyCFunction
) _wrap_PyDividedShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33166 { (char *)"PyDividedShape_base_OnMovePost", (PyCFunction
) _wrap_PyDividedShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33167 { (char *)"PyDividedShape_base_OnDragLeft", (PyCFunction
) _wrap_PyDividedShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33168 { (char *)"PyDividedShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyDividedShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33169 { (char *)"PyDividedShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyDividedShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33170 { (char *)"PyDividedShape_base_OnDragRight", (PyCFunction
) _wrap_PyDividedShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33171 { (char *)"PyDividedShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyDividedShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33172 { (char *)"PyDividedShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyDividedShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33173 { (char *)"PyDividedShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyDividedShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33174 { (char *)"PyDividedShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyDividedShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33175 { (char *)"PyDividedShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyDividedShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33176 { (char *)"PyDividedShape_base_OnMoveLink", (PyCFunction
) _wrap_PyDividedShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33177 { (char *)"PyDividedShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyDividedShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33178 { (char *)"PyDividedShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyDividedShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33179 { (char *)"PyDividedShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyDividedShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33180 { (char *)"PyDividedShape_base_OnBeginSize", (PyCFunction
) _wrap_PyDividedShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33181 { (char *)"PyDividedShape_base_OnEndSize", (PyCFunction
) _wrap_PyDividedShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33182 { (char *)"PyDividedShape_swigregister", PyDividedShape_swigregister
, METH_VARARGS
, NULL
},
33183 { (char *)"new_PyDivisionShape", (PyCFunction
) _wrap_new_PyDivisionShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33184 { (char *)"PyDivisionShape__setCallbackInfo", (PyCFunction
) _wrap_PyDivisionShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33185 { (char *)"PyDivisionShape_AdjustBottom", (PyCFunction
) _wrap_PyDivisionShape_AdjustBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33186 { (char *)"PyDivisionShape_AdjustLeft", (PyCFunction
) _wrap_PyDivisionShape_AdjustLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33187 { (char *)"PyDivisionShape_AdjustRight", (PyCFunction
) _wrap_PyDivisionShape_AdjustRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33188 { (char *)"PyDivisionShape_AdjustTop", (PyCFunction
) _wrap_PyDivisionShape_AdjustTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33189 { (char *)"PyDivisionShape_Divide", (PyCFunction
) _wrap_PyDivisionShape_Divide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33190 { (char *)"PyDivisionShape_EditEdge", (PyCFunction
) _wrap_PyDivisionShape_EditEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33191 { (char *)"PyDivisionShape_GetBottomSide", (PyCFunction
) _wrap_PyDivisionShape_GetBottomSide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33192 { (char *)"PyDivisionShape_GetHandleSide", (PyCFunction
) _wrap_PyDivisionShape_GetHandleSide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33193 { (char *)"PyDivisionShape_GetLeftSide", (PyCFunction
) _wrap_PyDivisionShape_GetLeftSide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33194 { (char *)"PyDivisionShape_GetLeftSideColour", (PyCFunction
) _wrap_PyDivisionShape_GetLeftSideColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33195 { (char *)"PyDivisionShape_GetLeftSidePen", (PyCFunction
) _wrap_PyDivisionShape_GetLeftSidePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33196 { (char *)"PyDivisionShape_GetRightSide", (PyCFunction
) _wrap_PyDivisionShape_GetRightSide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33197 { (char *)"PyDivisionShape_GetTopSide", (PyCFunction
) _wrap_PyDivisionShape_GetTopSide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33198 { (char *)"PyDivisionShape_GetTopSidePen", (PyCFunction
) _wrap_PyDivisionShape_GetTopSidePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33199 { (char *)"PyDivisionShape_ResizeAdjoining", (PyCFunction
) _wrap_PyDivisionShape_ResizeAdjoining
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33200 { (char *)"PyDivisionShape_PopupMenu", (PyCFunction
) _wrap_PyDivisionShape_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33201 { (char *)"PyDivisionShape_SetBottomSide", (PyCFunction
) _wrap_PyDivisionShape_SetBottomSide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33202 { (char *)"PyDivisionShape_SetHandleSide", (PyCFunction
) _wrap_PyDivisionShape_SetHandleSide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33203 { (char *)"PyDivisionShape_SetLeftSide", (PyCFunction
) _wrap_PyDivisionShape_SetLeftSide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33204 { (char *)"PyDivisionShape_SetLeftSideColour", (PyCFunction
) _wrap_PyDivisionShape_SetLeftSideColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33205 { (char *)"PyDivisionShape_SetLeftSidePen", (PyCFunction
) _wrap_PyDivisionShape_SetLeftSidePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33206 { (char *)"PyDivisionShape_SetRightSide", (PyCFunction
) _wrap_PyDivisionShape_SetRightSide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33207 { (char *)"PyDivisionShape_SetTopSide", (PyCFunction
) _wrap_PyDivisionShape_SetTopSide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33208 { (char *)"PyDivisionShape_SetTopSideColour", (PyCFunction
) _wrap_PyDivisionShape_SetTopSideColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33209 { (char *)"PyDivisionShape_SetTopSidePen", (PyCFunction
) _wrap_PyDivisionShape_SetTopSidePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33210 { (char *)"PyDivisionShape_base_OnDelete", (PyCFunction
) _wrap_PyDivisionShape_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33211 { (char *)"PyDivisionShape_base_OnDraw", (PyCFunction
) _wrap_PyDivisionShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33212 { (char *)"PyDivisionShape_base_OnDrawContents", (PyCFunction
) _wrap_PyDivisionShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33213 { (char *)"PyDivisionShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyDivisionShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33214 { (char *)"PyDivisionShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyDivisionShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33215 { (char *)"PyDivisionShape_base_OnErase", (PyCFunction
) _wrap_PyDivisionShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33216 { (char *)"PyDivisionShape_base_OnEraseContents", (PyCFunction
) _wrap_PyDivisionShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33217 { (char *)"PyDivisionShape_base_OnHighlight", (PyCFunction
) _wrap_PyDivisionShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33218 { (char *)"PyDivisionShape_base_OnLeftClick", (PyCFunction
) _wrap_PyDivisionShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33219 { (char *)"PyDivisionShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyDivisionShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33220 { (char *)"PyDivisionShape_base_OnRightClick", (PyCFunction
) _wrap_PyDivisionShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33221 { (char *)"PyDivisionShape_base_OnSize", (PyCFunction
) _wrap_PyDivisionShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33222 { (char *)"PyDivisionShape_base_OnMovePre", (PyCFunction
) _wrap_PyDivisionShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33223 { (char *)"PyDivisionShape_base_OnMovePost", (PyCFunction
) _wrap_PyDivisionShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33224 { (char *)"PyDivisionShape_base_OnDragLeft", (PyCFunction
) _wrap_PyDivisionShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33225 { (char *)"PyDivisionShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyDivisionShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33226 { (char *)"PyDivisionShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyDivisionShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33227 { (char *)"PyDivisionShape_base_OnDragRight", (PyCFunction
) _wrap_PyDivisionShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33228 { (char *)"PyDivisionShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyDivisionShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33229 { (char *)"PyDivisionShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyDivisionShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33230 { (char *)"PyDivisionShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyDivisionShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33231 { (char *)"PyDivisionShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyDivisionShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33232 { (char *)"PyDivisionShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyDivisionShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33233 { (char *)"PyDivisionShape_base_OnMoveLink", (PyCFunction
) _wrap_PyDivisionShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33234 { (char *)"PyDivisionShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyDivisionShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33235 { (char *)"PyDivisionShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyDivisionShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33236 { (char *)"PyDivisionShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyDivisionShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33237 { (char *)"PyDivisionShape_base_OnBeginSize", (PyCFunction
) _wrap_PyDivisionShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33238 { (char *)"PyDivisionShape_base_OnEndSize", (PyCFunction
) _wrap_PyDivisionShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33239 { (char *)"PyDivisionShape_swigregister", PyDivisionShape_swigregister
, METH_VARARGS
, NULL
},
33240 { (char *)"new_PyEllipseShape", (PyCFunction
) _wrap_new_PyEllipseShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33241 { (char *)"PyEllipseShape__setCallbackInfo", (PyCFunction
) _wrap_PyEllipseShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33242 { (char *)"PyEllipseShape_base_OnDraw", (PyCFunction
) _wrap_PyEllipseShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33243 { (char *)"PyEllipseShape_base_OnDrawContents", (PyCFunction
) _wrap_PyEllipseShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33244 { (char *)"PyEllipseShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyEllipseShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33245 { (char *)"PyEllipseShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyEllipseShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33246 { (char *)"PyEllipseShape_base_OnErase", (PyCFunction
) _wrap_PyEllipseShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33247 { (char *)"PyEllipseShape_base_OnEraseContents", (PyCFunction
) _wrap_PyEllipseShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33248 { (char *)"PyEllipseShape_base_OnHighlight", (PyCFunction
) _wrap_PyEllipseShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33249 { (char *)"PyEllipseShape_base_OnLeftClick", (PyCFunction
) _wrap_PyEllipseShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33250 { (char *)"PyEllipseShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyEllipseShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33251 { (char *)"PyEllipseShape_base_OnRightClick", (PyCFunction
) _wrap_PyEllipseShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33252 { (char *)"PyEllipseShape_base_OnSize", (PyCFunction
) _wrap_PyEllipseShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33253 { (char *)"PyEllipseShape_base_OnMovePre", (PyCFunction
) _wrap_PyEllipseShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33254 { (char *)"PyEllipseShape_base_OnMovePost", (PyCFunction
) _wrap_PyEllipseShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33255 { (char *)"PyEllipseShape_base_OnDragLeft", (PyCFunction
) _wrap_PyEllipseShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33256 { (char *)"PyEllipseShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyEllipseShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33257 { (char *)"PyEllipseShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyEllipseShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33258 { (char *)"PyEllipseShape_base_OnDragRight", (PyCFunction
) _wrap_PyEllipseShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33259 { (char *)"PyEllipseShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyEllipseShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33260 { (char *)"PyEllipseShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyEllipseShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33261 { (char *)"PyEllipseShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyEllipseShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33262 { (char *)"PyEllipseShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyEllipseShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33263 { (char *)"PyEllipseShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyEllipseShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33264 { (char *)"PyEllipseShape_base_OnMoveLink", (PyCFunction
) _wrap_PyEllipseShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33265 { (char *)"PyEllipseShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyEllipseShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33266 { (char *)"PyEllipseShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyEllipseShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33267 { (char *)"PyEllipseShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyEllipseShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33268 { (char *)"PyEllipseShape_base_OnBeginSize", (PyCFunction
) _wrap_PyEllipseShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33269 { (char *)"PyEllipseShape_base_OnEndSize", (PyCFunction
) _wrap_PyEllipseShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33270 { (char *)"PyEllipseShape_swigregister", PyEllipseShape_swigregister
, METH_VARARGS
, NULL
},
33271 { (char *)"new_PyCircleShape", (PyCFunction
) _wrap_new_PyCircleShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33272 { (char *)"PyCircleShape__setCallbackInfo", (PyCFunction
) _wrap_PyCircleShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33273 { (char *)"PyCircleShape_base_OnDraw", (PyCFunction
) _wrap_PyCircleShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33274 { (char *)"PyCircleShape_base_OnDrawContents", (PyCFunction
) _wrap_PyCircleShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33275 { (char *)"PyCircleShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyCircleShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33276 { (char *)"PyCircleShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyCircleShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33277 { (char *)"PyCircleShape_base_OnErase", (PyCFunction
) _wrap_PyCircleShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33278 { (char *)"PyCircleShape_base_OnEraseContents", (PyCFunction
) _wrap_PyCircleShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33279 { (char *)"PyCircleShape_base_OnHighlight", (PyCFunction
) _wrap_PyCircleShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33280 { (char *)"PyCircleShape_base_OnLeftClick", (PyCFunction
) _wrap_PyCircleShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33281 { (char *)"PyCircleShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyCircleShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33282 { (char *)"PyCircleShape_base_OnRightClick", (PyCFunction
) _wrap_PyCircleShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33283 { (char *)"PyCircleShape_base_OnSize", (PyCFunction
) _wrap_PyCircleShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33284 { (char *)"PyCircleShape_base_OnMovePre", (PyCFunction
) _wrap_PyCircleShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33285 { (char *)"PyCircleShape_base_OnMovePost", (PyCFunction
) _wrap_PyCircleShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33286 { (char *)"PyCircleShape_base_OnDragLeft", (PyCFunction
) _wrap_PyCircleShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33287 { (char *)"PyCircleShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyCircleShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33288 { (char *)"PyCircleShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyCircleShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33289 { (char *)"PyCircleShape_base_OnDragRight", (PyCFunction
) _wrap_PyCircleShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33290 { (char *)"PyCircleShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyCircleShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33291 { (char *)"PyCircleShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyCircleShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33292 { (char *)"PyCircleShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyCircleShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33293 { (char *)"PyCircleShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyCircleShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33294 { (char *)"PyCircleShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyCircleShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33295 { (char *)"PyCircleShape_base_OnMoveLink", (PyCFunction
) _wrap_PyCircleShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33296 { (char *)"PyCircleShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyCircleShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33297 { (char *)"PyCircleShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyCircleShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33298 { (char *)"PyCircleShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyCircleShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33299 { (char *)"PyCircleShape_base_OnBeginSize", (PyCFunction
) _wrap_PyCircleShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33300 { (char *)"PyCircleShape_base_OnEndSize", (PyCFunction
) _wrap_PyCircleShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33301 { (char *)"PyCircleShape_swigregister", PyCircleShape_swigregister
, METH_VARARGS
, NULL
},
33302 { (char *)"new_ArrowHead", (PyCFunction
) _wrap_new_ArrowHead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33303 { (char *)"delete_ArrowHead", (PyCFunction
) _wrap_delete_ArrowHead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33304 { (char *)"ArrowHead__GetType", (PyCFunction
) _wrap_ArrowHead__GetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33305 { (char *)"ArrowHead_GetPosition", (PyCFunction
) _wrap_ArrowHead_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33306 { (char *)"ArrowHead_SetPosition", (PyCFunction
) _wrap_ArrowHead_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33307 { (char *)"ArrowHead_GetXOffset", (PyCFunction
) _wrap_ArrowHead_GetXOffset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33308 { (char *)"ArrowHead_GetYOffset", (PyCFunction
) _wrap_ArrowHead_GetYOffset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33309 { (char *)"ArrowHead_GetSpacing", (PyCFunction
) _wrap_ArrowHead_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33310 { (char *)"ArrowHead_GetSize", (PyCFunction
) _wrap_ArrowHead_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33311 { (char *)"ArrowHead_GetName", (PyCFunction
) _wrap_ArrowHead_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33312 { (char *)"ArrowHead_SetXOffset", (PyCFunction
) _wrap_ArrowHead_SetXOffset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33313 { (char *)"ArrowHead_SetYOffset", (PyCFunction
) _wrap_ArrowHead_SetYOffset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33314 { (char *)"ArrowHead_GetMetaFile", (PyCFunction
) _wrap_ArrowHead_GetMetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33315 { (char *)"ArrowHead_GetId", (PyCFunction
) _wrap_ArrowHead_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33316 { (char *)"ArrowHead_GetArrowEnd", (PyCFunction
) _wrap_ArrowHead_GetArrowEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33317 { (char *)"ArrowHead_GetArrowSize", (PyCFunction
) _wrap_ArrowHead_GetArrowSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33318 { (char *)"ArrowHead_SetSize", (PyCFunction
) _wrap_ArrowHead_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33319 { (char *)"ArrowHead_SetSpacing", (PyCFunction
) _wrap_ArrowHead_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33320 { (char *)"ArrowHead_swigregister", ArrowHead_swigregister
, METH_VARARGS
, NULL
},
33321 { (char *)"new_PyLineShape", (PyCFunction
) _wrap_new_PyLineShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33322 { (char *)"PyLineShape__setCallbackInfo", (PyCFunction
) _wrap_PyLineShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33323 { (char *)"PyLineShape_AddArrow", (PyCFunction
) _wrap_PyLineShape_AddArrow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33324 { (char *)"PyLineShape_AddArrowOrdered", (PyCFunction
) _wrap_PyLineShape_AddArrowOrdered
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33325 { (char *)"PyLineShape_ClearArrow", (PyCFunction
) _wrap_PyLineShape_ClearArrow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33326 { (char *)"PyLineShape_ClearArrowsAtPosition", (PyCFunction
) _wrap_PyLineShape_ClearArrowsAtPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33327 { (char *)"PyLineShape_DrawArrow", (PyCFunction
) _wrap_PyLineShape_DrawArrow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33328 { (char *)"PyLineShape_DeleteArrowHeadId", (PyCFunction
) _wrap_PyLineShape_DeleteArrowHeadId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33329 { (char *)"PyLineShape_DeleteArrowHead", (PyCFunction
) _wrap_PyLineShape_DeleteArrowHead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33330 { (char *)"PyLineShape_DeleteLineControlPoint", (PyCFunction
) _wrap_PyLineShape_DeleteLineControlPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33331 { (char *)"PyLineShape_DrawArrows", (PyCFunction
) _wrap_PyLineShape_DrawArrows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33332 { (char *)"PyLineShape_DrawRegion", (PyCFunction
) _wrap_PyLineShape_DrawRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33333 { (char *)"PyLineShape_EraseRegion", (PyCFunction
) _wrap_PyLineShape_EraseRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33334 { (char *)"PyLineShape_FindArrowHeadId", (PyCFunction
) _wrap_PyLineShape_FindArrowHeadId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33335 { (char *)"PyLineShape_FindArrowHead", (PyCFunction
) _wrap_PyLineShape_FindArrowHead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33336 { (char *)"PyLineShape_FindLineEndPoints", (PyCFunction
) _wrap_PyLineShape_FindLineEndPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33337 { (char *)"PyLineShape_FindLinePosition", (PyCFunction
) _wrap_PyLineShape_FindLinePosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33338 { (char *)"PyLineShape_FindMinimumWidth", (PyCFunction
) _wrap_PyLineShape_FindMinimumWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33339 { (char *)"PyLineShape_FindNth", (PyCFunction
) _wrap_PyLineShape_FindNth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33340 { (char *)"PyLineShape_GetAttachmentFrom", (PyCFunction
) _wrap_PyLineShape_GetAttachmentFrom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33341 { (char *)"PyLineShape_GetAttachmentTo", (PyCFunction
) _wrap_PyLineShape_GetAttachmentTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33342 { (char *)"PyLineShape_GetEnds", (PyCFunction
) _wrap_PyLineShape_GetEnds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33343 { (char *)"PyLineShape_GetFrom", (PyCFunction
) _wrap_PyLineShape_GetFrom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33344 { (char *)"PyLineShape_GetLabelPosition", (PyCFunction
) _wrap_PyLineShape_GetLabelPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33345 { (char *)"PyLineShape_GetNextControlPoint", (PyCFunction
) _wrap_PyLineShape_GetNextControlPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33346 { (char *)"PyLineShape_GetTo", (PyCFunction
) _wrap_PyLineShape_GetTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33347 { (char *)"PyLineShape_Initialise", (PyCFunction
) _wrap_PyLineShape_Initialise
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33348 { (char *)"PyLineShape_InsertLineControlPoint", (PyCFunction
) _wrap_PyLineShape_InsertLineControlPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33349 { (char *)"PyLineShape_IsEnd", (PyCFunction
) _wrap_PyLineShape_IsEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33350 { (char *)"PyLineShape_IsSpline", (PyCFunction
) _wrap_PyLineShape_IsSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33351 { (char *)"PyLineShape_MakeLineControlPoints", (PyCFunction
) _wrap_PyLineShape_MakeLineControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33352 { (char *)"PyLineShape_GetLineControlPoints", (PyCFunction
) _wrap_PyLineShape_GetLineControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33353 { (char *)"PyLineShape_SetLineControlPoints", (PyCFunction
) _wrap_PyLineShape_SetLineControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33354 { (char *)"PyLineShape_SetAttachmentFrom", (PyCFunction
) _wrap_PyLineShape_SetAttachmentFrom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33355 { (char *)"PyLineShape_SetAttachments", (PyCFunction
) _wrap_PyLineShape_SetAttachments
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33356 { (char *)"PyLineShape_SetAttachmentTo", (PyCFunction
) _wrap_PyLineShape_SetAttachmentTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33357 { (char *)"PyLineShape_SetEnds", (PyCFunction
) _wrap_PyLineShape_SetEnds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33358 { (char *)"PyLineShape_SetFrom", (PyCFunction
) _wrap_PyLineShape_SetFrom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33359 { (char *)"PyLineShape_SetIgnoreOffsets", (PyCFunction
) _wrap_PyLineShape_SetIgnoreOffsets
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33360 { (char *)"PyLineShape_SetSpline", (PyCFunction
) _wrap_PyLineShape_SetSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33361 { (char *)"PyLineShape_SetTo", (PyCFunction
) _wrap_PyLineShape_SetTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33362 { (char *)"PyLineShape_Straighten", (PyCFunction
) _wrap_PyLineShape_Straighten
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33363 { (char *)"PyLineShape_Unlink", (PyCFunction
) _wrap_PyLineShape_Unlink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33364 { (char *)"PyLineShape_SetAlignmentOrientation", (PyCFunction
) _wrap_PyLineShape_SetAlignmentOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33365 { (char *)"PyLineShape_SetAlignmentType", (PyCFunction
) _wrap_PyLineShape_SetAlignmentType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33366 { (char *)"PyLineShape_GetAlignmentOrientation", (PyCFunction
) _wrap_PyLineShape_GetAlignmentOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33367 { (char *)"PyLineShape_GetAlignmentType", (PyCFunction
) _wrap_PyLineShape_GetAlignmentType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33368 { (char *)"PyLineShape_GetAlignmentStart", (PyCFunction
) _wrap_PyLineShape_GetAlignmentStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33369 { (char *)"PyLineShape_GetAlignmentEnd", (PyCFunction
) _wrap_PyLineShape_GetAlignmentEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33370 { (char *)"PyLineShape_base_OnDraw", (PyCFunction
) _wrap_PyLineShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33371 { (char *)"PyLineShape_base_OnDrawContents", (PyCFunction
) _wrap_PyLineShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33372 { (char *)"PyLineShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyLineShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33373 { (char *)"PyLineShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyLineShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33374 { (char *)"PyLineShape_base_OnErase", (PyCFunction
) _wrap_PyLineShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33375 { (char *)"PyLineShape_base_OnEraseContents", (PyCFunction
) _wrap_PyLineShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33376 { (char *)"PyLineShape_base_OnHighlight", (PyCFunction
) _wrap_PyLineShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33377 { (char *)"PyLineShape_base_OnLeftClick", (PyCFunction
) _wrap_PyLineShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33378 { (char *)"PyLineShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyLineShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33379 { (char *)"PyLineShape_base_OnRightClick", (PyCFunction
) _wrap_PyLineShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33380 { (char *)"PyLineShape_base_OnSize", (PyCFunction
) _wrap_PyLineShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33381 { (char *)"PyLineShape_base_OnMovePre", (PyCFunction
) _wrap_PyLineShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33382 { (char *)"PyLineShape_base_OnMovePost", (PyCFunction
) _wrap_PyLineShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33383 { (char *)"PyLineShape_base_OnDragLeft", (PyCFunction
) _wrap_PyLineShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33384 { (char *)"PyLineShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyLineShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33385 { (char *)"PyLineShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyLineShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33386 { (char *)"PyLineShape_base_OnDragRight", (PyCFunction
) _wrap_PyLineShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33387 { (char *)"PyLineShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyLineShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33388 { (char *)"PyLineShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyLineShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33389 { (char *)"PyLineShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyLineShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33390 { (char *)"PyLineShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyLineShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33391 { (char *)"PyLineShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyLineShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33392 { (char *)"PyLineShape_base_OnMoveLink", (PyCFunction
) _wrap_PyLineShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33393 { (char *)"PyLineShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyLineShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33394 { (char *)"PyLineShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyLineShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33395 { (char *)"PyLineShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyLineShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33396 { (char *)"PyLineShape_base_OnBeginSize", (PyCFunction
) _wrap_PyLineShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33397 { (char *)"PyLineShape_base_OnEndSize", (PyCFunction
) _wrap_PyLineShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33398 { (char *)"PyLineShape_swigregister", PyLineShape_swigregister
, METH_VARARGS
, NULL
},
33399 { (char *)"new_PyPolygonShape", (PyCFunction
) _wrap_new_PyPolygonShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33400 { (char *)"PyPolygonShape__setCallbackInfo", (PyCFunction
) _wrap_PyPolygonShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33401 { (char *)"PyPolygonShape_Create", (PyCFunction
) _wrap_PyPolygonShape_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33402 { (char *)"PyPolygonShape_AddPolygonPoint", (PyCFunction
) _wrap_PyPolygonShape_AddPolygonPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33403 { (char *)"PyPolygonShape_CalculatePolygonCentre", (PyCFunction
) _wrap_PyPolygonShape_CalculatePolygonCentre
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33404 { (char *)"PyPolygonShape_DeletePolygonPoint", (PyCFunction
) _wrap_PyPolygonShape_DeletePolygonPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33405 { (char *)"PyPolygonShape_GetPoints", (PyCFunction
) _wrap_PyPolygonShape_GetPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33406 { (char *)"PyPolygonShape_GetOriginalPoints", (PyCFunction
) _wrap_PyPolygonShape_GetOriginalPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33407 { (char *)"PyPolygonShape_GetOriginalWidth", (PyCFunction
) _wrap_PyPolygonShape_GetOriginalWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33408 { (char *)"PyPolygonShape_GetOriginalHeight", (PyCFunction
) _wrap_PyPolygonShape_GetOriginalHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33409 { (char *)"PyPolygonShape_SetOriginalWidth", (PyCFunction
) _wrap_PyPolygonShape_SetOriginalWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33410 { (char *)"PyPolygonShape_SetOriginalHeight", (PyCFunction
) _wrap_PyPolygonShape_SetOriginalHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33411 { (char *)"PyPolygonShape_UpdateOriginalPoints", (PyCFunction
) _wrap_PyPolygonShape_UpdateOriginalPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33412 { (char *)"PyPolygonShape_base_OnDraw", (PyCFunction
) _wrap_PyPolygonShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33413 { (char *)"PyPolygonShape_base_OnDrawContents", (PyCFunction
) _wrap_PyPolygonShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33414 { (char *)"PyPolygonShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyPolygonShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33415 { (char *)"PyPolygonShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyPolygonShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33416 { (char *)"PyPolygonShape_base_OnErase", (PyCFunction
) _wrap_PyPolygonShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33417 { (char *)"PyPolygonShape_base_OnEraseContents", (PyCFunction
) _wrap_PyPolygonShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33418 { (char *)"PyPolygonShape_base_OnHighlight", (PyCFunction
) _wrap_PyPolygonShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33419 { (char *)"PyPolygonShape_base_OnLeftClick", (PyCFunction
) _wrap_PyPolygonShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33420 { (char *)"PyPolygonShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyPolygonShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33421 { (char *)"PyPolygonShape_base_OnRightClick", (PyCFunction
) _wrap_PyPolygonShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33422 { (char *)"PyPolygonShape_base_OnSize", (PyCFunction
) _wrap_PyPolygonShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33423 { (char *)"PyPolygonShape_base_OnMovePre", (PyCFunction
) _wrap_PyPolygonShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33424 { (char *)"PyPolygonShape_base_OnMovePost", (PyCFunction
) _wrap_PyPolygonShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33425 { (char *)"PyPolygonShape_base_OnDragLeft", (PyCFunction
) _wrap_PyPolygonShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33426 { (char *)"PyPolygonShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyPolygonShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33427 { (char *)"PyPolygonShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyPolygonShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33428 { (char *)"PyPolygonShape_base_OnDragRight", (PyCFunction
) _wrap_PyPolygonShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33429 { (char *)"PyPolygonShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyPolygonShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33430 { (char *)"PyPolygonShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyPolygonShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33431 { (char *)"PyPolygonShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyPolygonShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33432 { (char *)"PyPolygonShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyPolygonShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33433 { (char *)"PyPolygonShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyPolygonShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33434 { (char *)"PyPolygonShape_base_OnMoveLink", (PyCFunction
) _wrap_PyPolygonShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33435 { (char *)"PyPolygonShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyPolygonShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33436 { (char *)"PyPolygonShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyPolygonShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33437 { (char *)"PyPolygonShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyPolygonShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33438 { (char *)"PyPolygonShape_base_OnBeginSize", (PyCFunction
) _wrap_PyPolygonShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33439 { (char *)"PyPolygonShape_base_OnEndSize", (PyCFunction
) _wrap_PyPolygonShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33440 { (char *)"PyPolygonShape_swigregister", PyPolygonShape_swigregister
, METH_VARARGS
, NULL
},
33441 { (char *)"new_PyTextShape", (PyCFunction
) _wrap_new_PyTextShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33442 { (char *)"PyTextShape__setCallbackInfo", (PyCFunction
) _wrap_PyTextShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33443 { (char *)"PyTextShape_base_OnDelete", (PyCFunction
) _wrap_PyTextShape_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33444 { (char *)"PyTextShape_base_OnDraw", (PyCFunction
) _wrap_PyTextShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33445 { (char *)"PyTextShape_base_OnDrawContents", (PyCFunction
) _wrap_PyTextShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33446 { (char *)"PyTextShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyTextShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33447 { (char *)"PyTextShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyTextShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33448 { (char *)"PyTextShape_base_OnErase", (PyCFunction
) _wrap_PyTextShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33449 { (char *)"PyTextShape_base_OnEraseContents", (PyCFunction
) _wrap_PyTextShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33450 { (char *)"PyTextShape_base_OnHighlight", (PyCFunction
) _wrap_PyTextShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33451 { (char *)"PyTextShape_base_OnLeftClick", (PyCFunction
) _wrap_PyTextShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33452 { (char *)"PyTextShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyTextShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33453 { (char *)"PyTextShape_base_OnRightClick", (PyCFunction
) _wrap_PyTextShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33454 { (char *)"PyTextShape_base_OnSize", (PyCFunction
) _wrap_PyTextShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33455 { (char *)"PyTextShape_base_OnMovePre", (PyCFunction
) _wrap_PyTextShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33456 { (char *)"PyTextShape_base_OnMovePost", (PyCFunction
) _wrap_PyTextShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33457 { (char *)"PyTextShape_base_OnDragLeft", (PyCFunction
) _wrap_PyTextShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33458 { (char *)"PyTextShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyTextShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33459 { (char *)"PyTextShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyTextShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33460 { (char *)"PyTextShape_base_OnDragRight", (PyCFunction
) _wrap_PyTextShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33461 { (char *)"PyTextShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyTextShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33462 { (char *)"PyTextShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyTextShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33463 { (char *)"PyTextShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyTextShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33464 { (char *)"PyTextShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyTextShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33465 { (char *)"PyTextShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyTextShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33466 { (char *)"PyTextShape_base_OnMoveLink", (PyCFunction
) _wrap_PyTextShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33467 { (char *)"PyTextShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyTextShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33468 { (char *)"PyTextShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyTextShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33469 { (char *)"PyTextShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyTextShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33470 { (char *)"PyTextShape_base_OnBeginSize", (PyCFunction
) _wrap_PyTextShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33471 { (char *)"PyTextShape_base_OnEndSize", (PyCFunction
) _wrap_PyTextShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33472 { (char *)"PyTextShape_swigregister", PyTextShape_swigregister
, METH_VARARGS
, NULL
},
33473 { (char *)"new_Diagram", (PyCFunction
) _wrap_new_Diagram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33474 { (char *)"Diagram_AddShape", (PyCFunction
) _wrap_Diagram_AddShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33475 { (char *)"Diagram_Clear", (PyCFunction
) _wrap_Diagram_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33476 { (char *)"Diagram_DeleteAllShapes", (PyCFunction
) _wrap_Diagram_DeleteAllShapes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33477 { (char *)"Diagram_DrawOutline", (PyCFunction
) _wrap_Diagram_DrawOutline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33478 { (char *)"Diagram_FindShape", (PyCFunction
) _wrap_Diagram_FindShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33479 { (char *)"Diagram_GetCanvas", (PyCFunction
) _wrap_Diagram_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33480 { (char *)"Diagram_GetCount", (PyCFunction
) _wrap_Diagram_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33481 { (char *)"Diagram_GetGridSpacing", (PyCFunction
) _wrap_Diagram_GetGridSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33482 { (char *)"Diagram_GetMouseTolerance", (PyCFunction
) _wrap_Diagram_GetMouseTolerance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33483 { (char *)"Diagram_GetShapeList", (PyCFunction
) _wrap_Diagram_GetShapeList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33484 { (char *)"Diagram_GetQuickEditMode", (PyCFunction
) _wrap_Diagram_GetQuickEditMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33485 { (char *)"Diagram_GetSnapToGrid", (PyCFunction
) _wrap_Diagram_GetSnapToGrid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33486 { (char *)"Diagram_InsertShape", (PyCFunction
) _wrap_Diagram_InsertShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33487 { (char *)"Diagram_RecentreAll", (PyCFunction
) _wrap_Diagram_RecentreAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33488 { (char *)"Diagram_Redraw", (PyCFunction
) _wrap_Diagram_Redraw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33489 { (char *)"Diagram_RemoveAllShapes", (PyCFunction
) _wrap_Diagram_RemoveAllShapes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33490 { (char *)"Diagram_RemoveShape", (PyCFunction
) _wrap_Diagram_RemoveShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33491 { (char *)"Diagram_SetCanvas", (PyCFunction
) _wrap_Diagram_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33492 { (char *)"Diagram_SetGridSpacing", (PyCFunction
) _wrap_Diagram_SetGridSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33493 { (char *)"Diagram_SetMouseTolerance", (PyCFunction
) _wrap_Diagram_SetMouseTolerance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33494 { (char *)"Diagram_SetQuickEditMode", (PyCFunction
) _wrap_Diagram_SetQuickEditMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33495 { (char *)"Diagram_SetSnapToGrid", (PyCFunction
) _wrap_Diagram_SetSnapToGrid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33496 { (char *)"Diagram_ShowAll", (PyCFunction
) _wrap_Diagram_ShowAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33497 { (char *)"Diagram_Snap", (PyCFunction
) _wrap_Diagram_Snap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33498 { (char *)"Diagram_swigregister", Diagram_swigregister
, METH_VARARGS
, NULL
},
33499 { (char *)"new_PyShapeCanvas", (PyCFunction
) _wrap_new_PyShapeCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33500 { (char *)"PyShapeCanvas__setCallbackInfo", (PyCFunction
) _wrap_PyShapeCanvas__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33501 { (char *)"PyShapeCanvas_AddShape", (PyCFunction
) _wrap_PyShapeCanvas_AddShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33502 { (char *)"PyShapeCanvas_FindShape", (PyCFunction
) _wrap_PyShapeCanvas_FindShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33503 { (char *)"PyShapeCanvas_FindFirstSensitiveShape", (PyCFunction
) _wrap_PyShapeCanvas_FindFirstSensitiveShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33504 { (char *)"PyShapeCanvas_GetDiagram", (PyCFunction
) _wrap_PyShapeCanvas_GetDiagram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33505 { (char *)"PyShapeCanvas_GetQuickEditMode", (PyCFunction
) _wrap_PyShapeCanvas_GetQuickEditMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33506 { (char *)"PyShapeCanvas_InsertShape", (PyCFunction
) _wrap_PyShapeCanvas_InsertShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33507 { (char *)"PyShapeCanvas_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyShapeCanvas_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33508 { (char *)"PyShapeCanvas_base_OnBeginDragRight", (PyCFunction
) _wrap_PyShapeCanvas_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33509 { (char *)"PyShapeCanvas_base_OnEndDragLeft", (PyCFunction
) _wrap_PyShapeCanvas_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33510 { (char *)"PyShapeCanvas_base_OnEndDragRight", (PyCFunction
) _wrap_PyShapeCanvas_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33511 { (char *)"PyShapeCanvas_base_OnDragLeft", (PyCFunction
) _wrap_PyShapeCanvas_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33512 { (char *)"PyShapeCanvas_base_OnDragRight", (PyCFunction
) _wrap_PyShapeCanvas_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33513 { (char *)"PyShapeCanvas_base_OnLeftClick", (PyCFunction
) _wrap_PyShapeCanvas_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33514 { (char *)"PyShapeCanvas_base_OnRightClick", (PyCFunction
) _wrap_PyShapeCanvas_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33515 { (char *)"PyShapeCanvas_Redraw", (PyCFunction
) _wrap_PyShapeCanvas_Redraw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33516 { (char *)"PyShapeCanvas_RemoveShape", (PyCFunction
) _wrap_PyShapeCanvas_RemoveShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33517 { (char *)"PyShapeCanvas_SetDiagram", (PyCFunction
) _wrap_PyShapeCanvas_SetDiagram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33518 { (char *)"PyShapeCanvas_Snap", (PyCFunction
) _wrap_PyShapeCanvas_Snap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33519 { (char *)"PyShapeCanvas_swigregister", PyShapeCanvas_swigregister
, METH_VARARGS
, NULL
},
33520 { (char *)"OGLInitialize", (PyCFunction
) _wrap_OGLInitialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33521 { (char *)"OGLCleanUp", (PyCFunction
) _wrap_OGLCleanUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33522 { NULL
, NULL
, 0, NULL
}
33526 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
33528 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
33529 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
33531 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
33532 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
33534 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
33535 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
33537 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
33538 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
33540 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
33541 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
33543 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
33544 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
33546 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
33547 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
33549 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
33550 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
33552 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
33553 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
33555 static void *_p_wxPyShapeCanvasTo_p_wxPanel(void *x
) {
33556 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyShapeCanvas
*) x
));
33558 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
33559 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
33561 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
33562 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
33564 static void *_p_wxPyShapeCanvasTo_p_wxScrolledWindow(void *x
) {
33565 return (void *)((wxScrolledWindow
*) ((wxPyShapeCanvas
*) x
));
33567 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
33568 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
33570 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
33571 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
33573 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
33574 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
33576 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
33577 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
33579 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
33580 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
33582 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
33583 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
33585 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
33586 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
33588 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
33589 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
33591 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
33592 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
33594 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
33595 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
33597 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
33598 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
33600 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
33601 return (void *)((wxWindow
*) ((wxPanel
*) x
));
33603 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
33604 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
33606 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
33607 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
33609 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
33610 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
33612 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
33613 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
33615 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
33616 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
33618 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
33619 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
33621 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
33622 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
33624 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
33625 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
33627 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
33628 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
33630 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
33631 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
33633 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
33634 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
33636 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
33637 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
33639 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
33640 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
33642 static void *_p_wxControlTo_p_wxWindow(void *x
) {
33643 return (void *)((wxWindow
*) ((wxControl
*) x
));
33645 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
33646 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
33648 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
33649 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
33651 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
33652 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
33654 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
33655 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
33657 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
33658 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
33660 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
33661 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
33663 static void *_p_wxPyShapeCanvasTo_p_wxWindow(void *x
) {
33664 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyShapeCanvas
*) x
));
33666 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
33667 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
33669 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
33670 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
33672 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
33673 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
33675 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
33676 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
33678 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
33679 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
33681 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
33682 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
33684 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
33685 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
33687 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
33688 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
33690 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
33691 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
33693 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x
) {
33694 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
33696 static void *_p_wxPrintDialogTo_p_wxWindow(void *x
) {
33697 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
33699 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
33700 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
33702 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
33703 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
33705 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
33706 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
33708 static void *_p_wxPyControlPointTo_p_wxObject(void *x
) {
33709 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*)(wxPyRectangleShape
*) ((wxPyControlPoint
*) x
));
33711 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
33712 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
33714 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
33715 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
33717 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
33718 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
33720 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
33721 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
33723 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
33724 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
33726 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
33727 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
33729 static void *_p_wxOGLConstraintTo_p_wxObject(void *x
) {
33730 return (void *)((wxObject
*) ((wxOGLConstraint
*) x
));
33732 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
33733 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
33735 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
33736 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
33738 static void *_p_wxSizerTo_p_wxObject(void *x
) {
33739 return (void *)((wxObject
*) ((wxSizer
*) x
));
33741 static void *_p_wxPyDrawnShapeTo_p_wxObject(void *x
) {
33742 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*)(wxPyRectangleShape
*) ((wxPyDrawnShape
*) x
));
33744 static void *_p_wxPyDivisionShapeTo_p_wxObject(void *x
) {
33745 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*)(wxPyRectangleShape
*)(wxPyCompositeShape
*) ((wxPyDivisionShape
*) x
));
33747 static void *_p_wxPyPolygonShapeTo_p_wxObject(void *x
) {
33748 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*) ((wxPyPolygonShape
*) x
));
33750 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
33751 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
33753 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
33754 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
33756 static void *_p_wxArrowHeadTo_p_wxObject(void *x
) {
33757 return (void *)((wxObject
*) ((wxArrowHead
*) x
));
33759 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
33760 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
33762 static void *_p_wxEventTo_p_wxObject(void *x
) {
33763 return (void *)((wxObject
*) ((wxEvent
*) x
));
33765 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
33766 return (void *)((wxObject
*) ((wxFontData
*) x
));
33768 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
33769 return (void *)((wxObject
*) ((wxPrintData
*) x
));
33771 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
33772 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
33774 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
33775 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
33777 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
33778 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
33780 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
33781 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
33783 static void *_p_wxTaskBarIconTo_p_wxObject(void *x
) {
33784 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
33786 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
33787 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
33789 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
33790 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
33792 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
33793 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
33795 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
33796 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
33798 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
33799 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
33801 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
33802 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
33804 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
33805 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
33807 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
33808 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
33810 static void *_p_wxPyShapeCanvasTo_p_wxObject(void *x
) {
33811 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyShapeCanvas
*) x
));
33813 static void *_p_wxControlTo_p_wxObject(void *x
) {
33814 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
33816 static void *_p_wxPyEllipseShapeTo_p_wxObject(void *x
) {
33817 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*) ((wxPyEllipseShape
*) x
));
33819 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
33820 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
33822 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
33823 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
33825 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
33826 return (void *)((wxObject
*) ((wxFSFile
*) x
));
33828 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
33829 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
33831 static void *_p_wxPyBitmapShapeTo_p_wxObject(void *x
) {
33832 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*)(wxPyRectangleShape
*) ((wxPyBitmapShape
*) x
));
33834 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
33835 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
33837 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
33838 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
33840 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
33841 return (void *)((wxObject
*) ((wxColourData
*) x
));
33843 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
33844 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
33846 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
33847 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
33849 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
33850 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
33852 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
33853 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
33855 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
33856 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
33858 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
33859 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
33861 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
33862 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
33864 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
33865 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
33867 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
33868 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
33870 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
33871 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
33873 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
33874 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
33876 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
33877 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
33879 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
33880 return (void *)((wxObject
*) ((wxPrinter
*) x
));
33882 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
33883 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
33885 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
33886 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
33888 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
33889 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
33891 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
33892 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
33894 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
33895 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
33897 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
33898 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
33900 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
33901 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
33903 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
33904 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
33906 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
33907 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
33909 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
33910 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
33912 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
33913 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
33915 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
33916 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
33918 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
33919 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
33921 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
33922 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
33924 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
33925 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
33927 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
33928 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
33930 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
33931 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
33933 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
33934 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
33936 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
33937 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
33939 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
33940 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
33942 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
33943 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
33945 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
33946 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
33948 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
33949 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
33951 static void *_p_wxPyShapeEvtHandlerTo_p_wxObject(void *x
) {
33952 return (void *)((wxObject
*) ((wxPyShapeEvtHandler
*) x
));
33954 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
33955 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
33957 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
33958 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
33960 static void *_p_wxPyTextShapeTo_p_wxObject(void *x
) {
33961 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*)(wxPyRectangleShape
*) ((wxPyTextShape
*) x
));
33963 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
33964 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
33966 static void *_p_wxPyDividedShapeTo_p_wxObject(void *x
) {
33967 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*)(wxPyRectangleShape
*) ((wxPyDividedShape
*) x
));
33969 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
33970 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
33972 static void *_p_wxImageTo_p_wxObject(void *x
) {
33973 return (void *)((wxObject
*) ((wxImage
*) x
));
33975 static void *_p_wxFrameTo_p_wxObject(void *x
) {
33976 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
33978 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
33979 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
33981 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
33982 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
33984 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
33985 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
33987 static void *_p_wxDiagramTo_p_wxObject(void *x
) {
33988 return (void *)((wxObject
*) ((wxDiagram
*) x
));
33990 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
33991 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
33993 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
33994 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
33996 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
33997 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
33999 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
34000 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
34002 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
34003 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
34005 static void *_p_wxWindowTo_p_wxObject(void *x
) {
34006 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
34008 static void *_p_wxMenuTo_p_wxObject(void *x
) {
34009 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
34011 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
34012 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
34014 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
34015 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
34017 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
34018 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
34020 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
34021 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
34023 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
34024 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
34026 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
34027 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
34029 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
34030 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
34032 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
34033 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
34035 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
34036 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
34038 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
34039 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
34041 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
34042 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
34044 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
34045 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
34047 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
34048 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
34050 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
34051 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
34053 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
34054 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
34056 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
34057 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
34059 static void *_p_wxPanelTo_p_wxObject(void *x
) {
34060 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
34062 static void *_p_wxDialogTo_p_wxObject(void *x
) {
34063 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
34065 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
34066 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
34068 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
34069 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
34071 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
34072 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
34074 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
34075 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
34077 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
34078 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
34080 static void *_p_wxAttachmentPointTo_p_wxObject(void *x
) {
34081 return (void *)((wxObject
*) ((wxAttachmentPoint
*) x
));
34083 static void *_p_wxPyShapeTo_p_wxObject(void *x
) {
34084 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*) ((wxPyShape
*) x
));
34086 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
34087 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
34089 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
34090 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
34092 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
34093 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
34095 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
34096 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
34098 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
34099 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
34101 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
34102 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
34104 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
34105 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
34107 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
34108 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
34110 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
34111 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
34113 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
34114 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
34116 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
34117 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
34119 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
34120 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
34122 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
34123 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
34125 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
34126 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
34128 static void *_p_wxPyRectangleShapeTo_p_wxObject(void *x
) {
34129 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*) ((wxPyRectangleShape
*) x
));
34131 static void *_p_wxPyCompositeShapeTo_p_wxObject(void *x
) {
34132 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*)(wxPyRectangleShape
*) ((wxPyCompositeShape
*) x
));
34134 static void *_p_wxPyCircleShapeTo_p_wxObject(void *x
) {
34135 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*)(wxPyEllipseShape
*) ((wxPyCircleShape
*) x
));
34137 static void *_p_wxPyLineShapeTo_p_wxObject(void *x
) {
34138 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*) ((wxPyLineShape
*) x
));
34140 static void *_p_wxPseudoMetaFileTo_p_wxObject(void *x
) {
34141 return (void *)((wxObject
*) ((wxPseudoMetaFile
*) x
));
34143 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
34144 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
34146 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
34147 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
34149 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
34150 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
34152 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
34153 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
34155 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
34156 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
34158 static void *_p_wxShapeRegionTo_p_wxObject(void *x
) {
34159 return (void *)((wxObject
*) ((wxShapeRegion
*) x
));
34161 static void *_p_wxPyRectangleShapeTo_p_wxPyShapeEvtHandler(void *x
) {
34162 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*) ((wxPyRectangleShape
*) x
));
34164 static void *_p_wxPyBitmapShapeTo_p_wxPyShapeEvtHandler(void *x
) {
34165 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*)(wxPyRectangleShape
*) ((wxPyBitmapShape
*) x
));
34167 static void *_p_wxPyCompositeShapeTo_p_wxPyShapeEvtHandler(void *x
) {
34168 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*)(wxPyRectangleShape
*) ((wxPyCompositeShape
*) x
));
34170 static void *_p_wxPyCircleShapeTo_p_wxPyShapeEvtHandler(void *x
) {
34171 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*)(wxPyEllipseShape
*) ((wxPyCircleShape
*) x
));
34173 static void *_p_wxPyLineShapeTo_p_wxPyShapeEvtHandler(void *x
) {
34174 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*) ((wxPyLineShape
*) x
));
34176 static void *_p_wxPyTextShapeTo_p_wxPyShapeEvtHandler(void *x
) {
34177 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*)(wxPyRectangleShape
*) ((wxPyTextShape
*) x
));
34179 static void *_p_wxPyControlPointTo_p_wxPyShapeEvtHandler(void *x
) {
34180 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*)(wxPyRectangleShape
*) ((wxPyControlPoint
*) x
));
34182 static void *_p_wxPyDrawnShapeTo_p_wxPyShapeEvtHandler(void *x
) {
34183 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*)(wxPyRectangleShape
*) ((wxPyDrawnShape
*) x
));
34185 static void *_p_wxPyDivisionShapeTo_p_wxPyShapeEvtHandler(void *x
) {
34186 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*)(wxPyRectangleShape
*)(wxPyCompositeShape
*) ((wxPyDivisionShape
*) x
));
34188 static void *_p_wxPyPolygonShapeTo_p_wxPyShapeEvtHandler(void *x
) {
34189 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*) ((wxPyPolygonShape
*) x
));
34191 static void *_p_wxPyDividedShapeTo_p_wxPyShapeEvtHandler(void *x
) {
34192 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*)(wxPyRectangleShape
*) ((wxPyDividedShape
*) x
));
34194 static void *_p_wxPyShapeTo_p_wxPyShapeEvtHandler(void *x
) {
34195 return (void *)((wxPyShapeEvtHandler
*) ((wxPyShape
*) x
));
34197 static void *_p_wxPyEllipseShapeTo_p_wxPyShapeEvtHandler(void *x
) {
34198 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*) ((wxPyEllipseShape
*) x
));
34200 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
34201 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
34203 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
34204 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
34206 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
34207 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
34209 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
34210 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
34212 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
34213 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
34215 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
34216 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
34218 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
34219 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
34221 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
34222 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
34224 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
34225 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
34227 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
34228 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
34230 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
34231 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
34233 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
34234 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
34236 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
34237 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
34239 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
34240 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
34242 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
34243 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
34245 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
34246 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
34248 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
34249 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
34251 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
34252 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
34254 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
34255 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
34257 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
34258 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
34260 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
34261 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
34263 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
34264 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
34266 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
34267 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
34269 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
34270 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
34272 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
34273 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
34275 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
34276 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
34278 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
34279 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
34281 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
34282 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
34284 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
34285 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
34287 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
34288 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
34290 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
34291 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
34293 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
34294 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
34296 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
34297 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
34299 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
34300 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
34302 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
34303 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
34305 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
34306 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
34308 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
34309 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
34311 static void *_p_wxPyShapeCanvasTo_p_wxEvtHandler(void *x
) {
34312 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyShapeCanvas
*) x
));
34314 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
34315 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
34317 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
34318 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
34320 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
34321 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
34323 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
34324 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
34326 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x
) {
34327 return (void *)((wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
34329 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
34330 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
34332 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
34333 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
34335 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
34336 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
34338 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
34339 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
34341 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
34342 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
34344 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x
) {
34345 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
34347 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x
) {
34348 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
34350 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
34351 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
34353 static void *_p_wxPyCircleShapeTo_p_wxPyEllipseShape(void *x
) {
34354 return (void *)((wxPyEllipseShape
*) ((wxPyCircleShape
*) x
));
34356 static void *_p_wxPyRectangleShapeTo_p_wxPyShape(void *x
) {
34357 return (void *)((wxPyShape
*) ((wxPyRectangleShape
*) x
));
34359 static void *_p_wxPyBitmapShapeTo_p_wxPyShape(void *x
) {
34360 return (void *)((wxPyShape
*) (wxPyRectangleShape
*) ((wxPyBitmapShape
*) x
));
34362 static void *_p_wxPyCompositeShapeTo_p_wxPyShape(void *x
) {
34363 return (void *)((wxPyShape
*) (wxPyRectangleShape
*) ((wxPyCompositeShape
*) x
));
34365 static void *_p_wxPyCircleShapeTo_p_wxPyShape(void *x
) {
34366 return (void *)((wxPyShape
*) (wxPyEllipseShape
*) ((wxPyCircleShape
*) x
));
34368 static void *_p_wxPyLineShapeTo_p_wxPyShape(void *x
) {
34369 return (void *)((wxPyShape
*) ((wxPyLineShape
*) x
));
34371 static void *_p_wxPyTextShapeTo_p_wxPyShape(void *x
) {
34372 return (void *)((wxPyShape
*) (wxPyRectangleShape
*) ((wxPyTextShape
*) x
));
34374 static void *_p_wxPyControlPointTo_p_wxPyShape(void *x
) {
34375 return (void *)((wxPyShape
*) (wxPyRectangleShape
*) ((wxPyControlPoint
*) x
));
34377 static void *_p_wxPyDrawnShapeTo_p_wxPyShape(void *x
) {
34378 return (void *)((wxPyShape
*) (wxPyRectangleShape
*) ((wxPyDrawnShape
*) x
));
34380 static void *_p_wxPyDivisionShapeTo_p_wxPyShape(void *x
) {
34381 return (void *)((wxPyShape
*) (wxPyRectangleShape
*)(wxPyCompositeShape
*) ((wxPyDivisionShape
*) x
));
34383 static void *_p_wxPyPolygonShapeTo_p_wxPyShape(void *x
) {
34384 return (void *)((wxPyShape
*) ((wxPyPolygonShape
*) x
));
34386 static void *_p_wxPyDividedShapeTo_p_wxPyShape(void *x
) {
34387 return (void *)((wxPyShape
*) (wxPyRectangleShape
*) ((wxPyDividedShape
*) x
));
34389 static void *_p_wxPyEllipseShapeTo_p_wxPyShape(void *x
) {
34390 return (void *)((wxPyShape
*) ((wxPyEllipseShape
*) x
));
34392 static void *_p_wxPyBitmapShapeTo_p_wxPyRectangleShape(void *x
) {
34393 return (void *)((wxPyRectangleShape
*) ((wxPyBitmapShape
*) x
));
34395 static void *_p_wxPyCompositeShapeTo_p_wxPyRectangleShape(void *x
) {
34396 return (void *)((wxPyRectangleShape
*) ((wxPyCompositeShape
*) x
));
34398 static void *_p_wxPyTextShapeTo_p_wxPyRectangleShape(void *x
) {
34399 return (void *)((wxPyRectangleShape
*) ((wxPyTextShape
*) x
));
34401 static void *_p_wxPyControlPointTo_p_wxPyRectangleShape(void *x
) {
34402 return (void *)((wxPyRectangleShape
*) ((wxPyControlPoint
*) x
));
34404 static void *_p_wxPyDrawnShapeTo_p_wxPyRectangleShape(void *x
) {
34405 return (void *)((wxPyRectangleShape
*) ((wxPyDrawnShape
*) x
));
34407 static void *_p_wxPyDivisionShapeTo_p_wxPyRectangleShape(void *x
) {
34408 return (void *)((wxPyRectangleShape
*) (wxPyCompositeShape
*) ((wxPyDivisionShape
*) x
));
34410 static void *_p_wxPyDividedShapeTo_p_wxPyRectangleShape(void *x
) {
34411 return (void *)((wxPyRectangleShape
*) ((wxPyDividedShape
*) x
));
34413 static void *_p_wxPyDivisionShapeTo_p_wxPyCompositeShape(void *x
) {
34414 return (void *)((wxPyCompositeShape
*) ((wxPyDivisionShape
*) x
));
34416 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}};
34417 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}};
34418 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}};
34419 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}};
34420 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}};
34421 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}};
34422 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}};
34423 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}};
34424 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}};
34425 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}};
34426 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}};
34427 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}};
34428 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}};
34429 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}};
34430 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}};
34431 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_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_wxMDIClientWindow", _p_wxMDIClientWindowTo_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_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_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}};
34432 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}};
34433 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}};
34434 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}};
34435 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}};
34436 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}};
34437 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_wxTaskBarIcon", _p_wxTaskBarIconTo_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_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_wxPCXHandler", _p_wxPCXHandlerTo_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_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_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}};
34438 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}};
34439 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}};
34440 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_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_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_wxMessageDialog", _p_wxMessageDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_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_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_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_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_wxTaskBarIcon", _p_wxTaskBarIconTo_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}};
34441 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}};
34442 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}};
34443 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}};
34444 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}};
34445 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}};
34446 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}};
34447 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}};
34448 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}};
34449 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}};
34450 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}};
34451 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}};
34452 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}};
34453 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}};
34454 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}};
34455 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}};
34456 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}};
34458 static swig_type_info
*swig_types_initial
[] = {
34459 _swigt__p_wxOGLConstraint
,
34461 _swigt__p_wxColour
,
34462 _swigt__p_wxShapeRegion
,
34464 _swigt__p_wxRealPoint
,
34465 _swigt__p_wxPyControlPoint
,
34466 _swigt__p_wxArrowHead
,
34468 _swigt__p_wxStringList
,
34473 _swigt__p_wxScrolledWindow
,
34474 _swigt__p_wxWindow
,
34476 _swigt__p_wxPyDivisionShape
,
34477 _swigt__p_wxPyDrawnShape
,
34478 _swigt__p_wxPyPolygonShape
,
34479 _swigt__p_wxBitmap
,
34480 _swigt__p_wxObject
,
34481 _swigt__p_wxPyBitmapShape
,
34482 _swigt__p_wxPyShapeEvtHandler
,
34483 _swigt__p_wxEvtHandler
,
34484 _swigt__p_wxPyEllipseShape
,
34485 _swigt__p_wxPyShapeCanvas
,
34487 _swigt__p_wxDiagram
,
34488 _swigt__p_wxPyShape
,
34489 _swigt__p_wxAttachmentPoint
,
34490 _swigt__p_wxClassInfo
,
34491 _swigt__p_wxPyLineShape
,
34492 _swigt__p_wxPyRectangleShape
,
34493 _swigt__p_wxPyCompositeShape
,
34494 _swigt__p_wxPyCircleShape
,
34497 _swigt__p_wxPseudoMetaFile
,
34498 _swigt__p_wxPyTextShape
,
34499 _swigt__p_wxPyDividedShape
,
34504 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
34506 static swig_const_info swig_const_table
[] = {
34507 {0, 0, 0, 0.0, 0, 0}};
34516 SWIGEXPORT(void) SWIG_init(void) {
34517 static PyObject
*SWIG_globals
= 0;
34518 static int typeinit
= 0;
34521 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
34522 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
34523 d
= PyModule_GetDict(m
);
34526 for (i
= 0; swig_types_initial
[i
]; i
++) {
34527 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
34531 SWIG_InstallConstants(d
,swig_const_table
);
34533 PyDict_SetItemString(d
,"oglMETAFLAGS_OUTLINE", SWIG_From_int((int)oglMETAFLAGS_OUTLINE
));
34534 PyDict_SetItemString(d
,"oglMETAFLAGS_ATTACHMENTS", SWIG_From_int((int)oglMETAFLAGS_ATTACHMENTS
));
34535 PyDict_SetItemString(d
,"KEY_SHIFT", SWIG_From_int((int)KEY_SHIFT
));
34536 PyDict_SetItemString(d
,"KEY_CTRL", SWIG_From_int((int)KEY_CTRL
));
34537 PyDict_SetItemString(d
,"ARROW_NONE", SWIG_From_int((int)ARROW_NONE
));
34538 PyDict_SetItemString(d
,"ARROW_END", SWIG_From_int((int)ARROW_END
));
34539 PyDict_SetItemString(d
,"ARROW_BOTH", SWIG_From_int((int)ARROW_BOTH
));
34540 PyDict_SetItemString(d
,"ARROW_MIDDLE", SWIG_From_int((int)ARROW_MIDDLE
));
34541 PyDict_SetItemString(d
,"ARROW_START", SWIG_From_int((int)ARROW_START
));
34542 PyDict_SetItemString(d
,"ARROW_HOLLOW_CIRCLE", SWIG_From_int((int)ARROW_HOLLOW_CIRCLE
));
34543 PyDict_SetItemString(d
,"ARROW_FILLED_CIRCLE", SWIG_From_int((int)ARROW_FILLED_CIRCLE
));
34544 PyDict_SetItemString(d
,"ARROW_ARROW", SWIG_From_int((int)ARROW_ARROW
));
34545 PyDict_SetItemString(d
,"ARROW_SINGLE_OBLIQUE", SWIG_From_int((int)ARROW_SINGLE_OBLIQUE
));
34546 PyDict_SetItemString(d
,"ARROW_DOUBLE_OBLIQUE", SWIG_From_int((int)ARROW_DOUBLE_OBLIQUE
));
34547 PyDict_SetItemString(d
,"ARROW_METAFILE", SWIG_From_int((int)ARROW_METAFILE
));
34548 PyDict_SetItemString(d
,"ARROW_POSITION_END", SWIG_From_int((int)ARROW_POSITION_END
));
34549 PyDict_SetItemString(d
,"ARROW_POSITION_START", SWIG_From_int((int)ARROW_POSITION_START
));
34550 PyDict_SetItemString(d
,"CONTROL_POINT_VERTICAL", SWIG_From_int((int)CONTROL_POINT_VERTICAL
));
34551 PyDict_SetItemString(d
,"CONTROL_POINT_HORIZONTAL", SWIG_From_int((int)CONTROL_POINT_HORIZONTAL
));
34552 PyDict_SetItemString(d
,"CONTROL_POINT_DIAGONAL", SWIG_From_int((int)CONTROL_POINT_DIAGONAL
));
34553 PyDict_SetItemString(d
,"CONTROL_POINT_ENDPOINT_TO", SWIG_From_int((int)CONTROL_POINT_ENDPOINT_TO
));
34554 PyDict_SetItemString(d
,"CONTROL_POINT_ENDPOINT_FROM", SWIG_From_int((int)CONTROL_POINT_ENDPOINT_FROM
));
34555 PyDict_SetItemString(d
,"CONTROL_POINT_LINE", SWIG_From_int((int)CONTROL_POINT_LINE
));
34556 PyDict_SetItemString(d
,"FORMAT_NONE", SWIG_From_int((int)FORMAT_NONE
));
34557 PyDict_SetItemString(d
,"FORMAT_CENTRE_HORIZ", SWIG_From_int((int)FORMAT_CENTRE_HORIZ
));
34558 PyDict_SetItemString(d
,"FORMAT_CENTRE_VERT", SWIG_From_int((int)FORMAT_CENTRE_VERT
));
34559 PyDict_SetItemString(d
,"FORMAT_SIZE_TO_CONTENTS", SWIG_From_int((int)FORMAT_SIZE_TO_CONTENTS
));
34560 PyDict_SetItemString(d
,"LINE_ALIGNMENT_HORIZ", SWIG_From_int((int)LINE_ALIGNMENT_HORIZ
));
34561 PyDict_SetItemString(d
,"LINE_ALIGNMENT_VERT", SWIG_From_int((int)LINE_ALIGNMENT_VERT
));
34562 PyDict_SetItemString(d
,"LINE_ALIGNMENT_TO_NEXT_HANDLE", SWIG_From_int((int)LINE_ALIGNMENT_TO_NEXT_HANDLE
));
34563 PyDict_SetItemString(d
,"LINE_ALIGNMENT_NONE", SWIG_From_int((int)LINE_ALIGNMENT_NONE
));
34564 PyDict_SetItemString(d
,"SHADOW_NONE", SWIG_From_int((int)SHADOW_NONE
));
34565 PyDict_SetItemString(d
,"SHADOW_LEFT", SWIG_From_int((int)SHADOW_LEFT
));
34566 PyDict_SetItemString(d
,"SHADOW_RIGHT", SWIG_From_int((int)SHADOW_RIGHT
));
34567 PyDict_SetItemString(d
,"OP_CLICK_LEFT", SWIG_From_int((int)OP_CLICK_LEFT
));
34568 PyDict_SetItemString(d
,"OP_CLICK_RIGHT", SWIG_From_int((int)OP_CLICK_RIGHT
));
34569 PyDict_SetItemString(d
,"OP_DRAG_LEFT", SWIG_From_int((int)OP_DRAG_LEFT
));
34570 PyDict_SetItemString(d
,"OP_DRAG_RIGHT", SWIG_From_int((int)OP_DRAG_RIGHT
));
34571 PyDict_SetItemString(d
,"OP_ALL", SWIG_From_int((int)OP_ALL
));
34572 PyDict_SetItemString(d
,"ATTACHMENT_MODE_NONE", SWIG_From_int((int)ATTACHMENT_MODE_NONE
));
34573 PyDict_SetItemString(d
,"ATTACHMENT_MODE_EDGE", SWIG_From_int((int)ATTACHMENT_MODE_EDGE
));
34574 PyDict_SetItemString(d
,"ATTACHMENT_MODE_BRANCHING", SWIG_From_int((int)ATTACHMENT_MODE_BRANCHING
));
34575 PyDict_SetItemString(d
,"BRANCHING_ATTACHMENT_NORMAL", SWIG_From_int((int)BRANCHING_ATTACHMENT_NORMAL
));
34576 PyDict_SetItemString(d
,"BRANCHING_ATTACHMENT_BLOB", SWIG_From_int((int)BRANCHING_ATTACHMENT_BLOB
));
34577 PyDict_SetItemString(d
,"gyCONSTRAINT_CENTRED_VERTICALLY", SWIG_From_int((int)gyCONSTRAINT_CENTRED_VERTICALLY
));
34578 PyDict_SetItemString(d
,"gyCONSTRAINT_CENTRED_HORIZONTALLY", SWIG_From_int((int)gyCONSTRAINT_CENTRED_HORIZONTALLY
));
34579 PyDict_SetItemString(d
,"gyCONSTRAINT_CENTRED_BOTH", SWIG_From_int((int)gyCONSTRAINT_CENTRED_BOTH
));
34580 PyDict_SetItemString(d
,"gyCONSTRAINT_LEFT_OF", SWIG_From_int((int)gyCONSTRAINT_LEFT_OF
));
34581 PyDict_SetItemString(d
,"gyCONSTRAINT_RIGHT_OF", SWIG_From_int((int)gyCONSTRAINT_RIGHT_OF
));
34582 PyDict_SetItemString(d
,"gyCONSTRAINT_ABOVE", SWIG_From_int((int)gyCONSTRAINT_ABOVE
));
34583 PyDict_SetItemString(d
,"gyCONSTRAINT_BELOW", SWIG_From_int((int)gyCONSTRAINT_BELOW
));
34584 PyDict_SetItemString(d
,"gyCONSTRAINT_ALIGNED_TOP", SWIG_From_int((int)gyCONSTRAINT_ALIGNED_TOP
));
34585 PyDict_SetItemString(d
,"gyCONSTRAINT_ALIGNED_BOTTOM", SWIG_From_int((int)gyCONSTRAINT_ALIGNED_BOTTOM
));
34586 PyDict_SetItemString(d
,"gyCONSTRAINT_ALIGNED_LEFT", SWIG_From_int((int)gyCONSTRAINT_ALIGNED_LEFT
));
34587 PyDict_SetItemString(d
,"gyCONSTRAINT_ALIGNED_RIGHT", SWIG_From_int((int)gyCONSTRAINT_ALIGNED_RIGHT
));
34588 PyDict_SetItemString(d
,"gyCONSTRAINT_MIDALIGNED_TOP", SWIG_From_int((int)gyCONSTRAINT_MIDALIGNED_TOP
));
34589 PyDict_SetItemString(d
,"gyCONSTRAINT_MIDALIGNED_BOTTOM", SWIG_From_int((int)gyCONSTRAINT_MIDALIGNED_BOTTOM
));
34590 PyDict_SetItemString(d
,"gyCONSTRAINT_MIDALIGNED_LEFT", SWIG_From_int((int)gyCONSTRAINT_MIDALIGNED_LEFT
));
34591 PyDict_SetItemString(d
,"gyCONSTRAINT_MIDALIGNED_RIGHT", SWIG_From_int((int)gyCONSTRAINT_MIDALIGNED_RIGHT
));
34592 PyDict_SetItemString(d
,"DIVISION_SIDE_NONE", SWIG_From_int((int)DIVISION_SIDE_NONE
));
34593 PyDict_SetItemString(d
,"DIVISION_SIDE_LEFT", SWIG_From_int((int)DIVISION_SIDE_LEFT
));
34594 PyDict_SetItemString(d
,"DIVISION_SIDE_TOP", SWIG_From_int((int)DIVISION_SIDE_TOP
));
34595 PyDict_SetItemString(d
,"DIVISION_SIDE_RIGHT", SWIG_From_int((int)DIVISION_SIDE_RIGHT
));
34596 PyDict_SetItemString(d
,"DIVISION_SIDE_BOTTOM", SWIG_From_int((int)DIVISION_SIDE_BOTTOM
));
34599 // initoglbasicc();
34600 // initoglshapesc();
34601 // initoglshapes2c();
34602 // initoglcanvasc();
34605 wxPyPtrTypeMap_Add("wxControlPoint", "wxPyControlPoint");
34606 wxPyPtrTypeMap_Add("wxShapeCanvas", "wxPyShapeCanvas");
34607 wxPyPtrTypeMap_Add("wxShapeEvtHandler", "wxPyShapeEvtHandler");
34608 wxPyPtrTypeMap_Add("wxShape", "wxPyShape");
34609 wxPyPtrTypeMap_Add("wxRectangleShape", "wxPyRectangleShape");
34610 wxPyPtrTypeMap_Add("wxDrawnShape", "wxPyDrawnShape");
34611 wxPyPtrTypeMap_Add("wxCompositeShape", "wxPyCompositeShape");
34612 wxPyPtrTypeMap_Add("wxDividedShape", "wxPyDividedShape");
34613 wxPyPtrTypeMap_Add("wxDivisionShape", "wxPyDivisionShape");
34614 wxPyPtrTypeMap_Add("wxEllipseShape", "wxPyEllipseShape");
34615 wxPyPtrTypeMap_Add("wxCircleShape", "wxPyCircleShape");
34616 wxPyPtrTypeMap_Add("wxLineShape", "wxPyLineShape");
34617 wxPyPtrTypeMap_Add("wxPolygonShape", "wxPyPolygonShape");
34618 wxPyPtrTypeMap_Add("wxTextShape", "wxPyTextShape");