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 * ----------------------------------------------------------------------------- */
14 template<class T
> class SwigValueWrapper
{
17 SwigValueWrapper() : tt(0) { }
18 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
19 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
20 ~SwigValueWrapper() { delete tt
; }
21 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
22 operator T
&() const { return *tt
; }
23 T
*operator&() { return tt
; }
25 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 #ifndef SWIG_TEMPLATE_DISAMBIGUATOR
31 # if defined(__SUNPRO_CC)
32 # define SWIG_TEMPLATE_DISAMBIGUATOR template
34 # define SWIG_TEMPLATE_DISAMBIGUATOR
41 /***********************************************************************
44 * This file contains generic CAPI SWIG runtime support for pointer
47 ************************************************************************/
49 /* This should only be incremented when either the layout of swig_type_info changes,
50 or for whatever reason, the runtime changes incompatibly */
51 #define SWIG_RUNTIME_VERSION "1"
53 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
54 #ifdef SWIG_TYPE_TABLE
55 #define SWIG_QUOTE_STRING(x) #x
56 #define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
57 #define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
59 #define SWIG_TYPE_TABLE_NAME
65 #if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
66 # define SWIGINLINE inline
73 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
74 creating a static or dynamic library from the swig runtime code.
75 In 99.9% of the cases, swig just needs to declare them as 'static'.
77 But only do this if is strictly necessary, ie, if you have problems
78 with your compiler or so.
81 #define SWIGRUNTIME static
83 #ifndef SWIGRUNTIMEINLINE
84 #define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
91 typedef void *(*swig_converter_func
)(void *);
92 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
94 typedef struct swig_type_info
{
96 swig_converter_func converter
;
99 swig_dycast_func dcast
;
100 struct swig_type_info
*next
;
101 struct swig_type_info
*prev
;
105 Compare two type names skipping the space characters, therefore
106 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
108 Return 0 when the two name types are equivalent, as in
109 strncmp, but skipping ' '.
112 SWIG_TypeNameComp(const char *f1
, const char *l1
,
113 const char *f2
, const char *l2
) {
114 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
115 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
116 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
117 if (*f1
!= *f2
) return *f1
- *f2
;
119 return (l1
- f1
) - (l2
- f2
);
123 Check type equivalence in a name list like <name1>|<name2>|...
126 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
128 const char* te
= tb
+ strlen(tb
);
130 while (!equiv
&& *ne
) {
131 for (nb
= ne
; *ne
; ++ne
) {
132 if (*ne
== '|') break;
134 equiv
= SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0;
141 Register a type mapping with the type-checking
143 SWIGRUNTIME swig_type_info
*
144 SWIG_TypeRegisterTL(swig_type_info
**tl
, swig_type_info
*ti
) {
145 swig_type_info
*tc
, *head
, *ret
, *next
;
146 /* Check to see if this type has already been registered */
149 /* check simple type equivalence */
150 int typeequiv
= (strcmp(tc
->name
, ti
->name
) == 0);
151 /* check full type equivalence, resolving typedefs */
153 /* only if tc is not a typedef (no '|' on it) */
154 if (tc
->str
&& ti
->str
&& !strstr(tc
->str
,"|")) {
155 typeequiv
= SWIG_TypeEquiv(ti
->str
,tc
->str
);
159 /* Already exists in the table. Just add additional types to the list */
160 if (ti
->clientdata
) tc
->clientdata
= ti
->clientdata
;
174 /* Build linked lists */
178 /* Patch up the rest of the links */
185 if (next
) next
->prev
= head
;
194 SWIGRUNTIME swig_type_info
*
195 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
197 if (!ty
) return 0; /* Void pointer */
198 s
= ty
->next
; /* First element always just a name */
200 if (strcmp(s
->name
,c
) == 0) {
201 if (s
== ty
->next
) return s
;
202 /* Move s to the top of the linked list */
203 s
->prev
->next
= s
->next
;
205 s
->next
->prev
= s
->prev
;
207 /* Insert s as second element in the list */
209 if (ty
->next
) ty
->next
->prev
= s
;
215 } while (s
&& (s
!= ty
->next
));
220 Cast a pointer up an inheritance hierarchy
222 SWIGRUNTIMEINLINE
void *
223 SWIG_TypeCast(swig_type_info
*ty
, void *ptr
) {
224 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
228 Dynamic pointer casting. Down an inheritance hierarchy
230 SWIGRUNTIME swig_type_info
*
231 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
232 swig_type_info
*lastty
= ty
;
233 if (!ty
|| !ty
->dcast
) return ty
;
234 while (ty
&& (ty
->dcast
)) {
235 ty
= (*ty
->dcast
)(ptr
);
242 Return the name associated with this type
244 SWIGRUNTIMEINLINE
const char *
245 SWIG_TypeName(const swig_type_info
*ty
) {
250 Return the pretty name associated with this type,
251 that is an unmangled type name in a form presentable to the user.
253 SWIGRUNTIME
const char *
254 SWIG_TypePrettyName(const swig_type_info
*type
) {
255 /* The "str" field contains the equivalent pretty names of the
256 type, separated by vertical-bar characters. We choose
257 to print the last name, as it is often (?) the most
259 if (type
->str
!= NULL
) {
260 const char *last_name
= type
->str
;
262 for (s
= type
->str
; *s
; s
++)
263 if (*s
== '|') last_name
= s
+1;
271 Search for a swig_type_info structure
273 SWIGRUNTIME swig_type_info
*
274 SWIG_TypeQueryTL(swig_type_info
*tl
, const char *name
) {
275 swig_type_info
*ty
= tl
;
277 if (ty
->str
&& (SWIG_TypeEquiv(ty
->str
,name
))) return ty
;
278 if (ty
->name
&& (strcmp(name
,ty
->name
) == 0)) return ty
;
285 Set the clientdata field for a type
288 SWIG_TypeClientDataTL(swig_type_info
*tl
, swig_type_info
*ti
, void *clientdata
) {
289 swig_type_info
*tc
, *equiv
;
290 if (ti
->clientdata
) return;
291 /* if (ti->clientdata == clientdata) return; */
292 ti
->clientdata
= clientdata
;
295 if (!equiv
->converter
) {
298 if ((strcmp(tc
->name
, equiv
->name
) == 0))
299 SWIG_TypeClientDataTL(tl
,tc
,clientdata
);
308 Pack binary data into a string
311 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
312 static char hex
[17] = "0123456789abcdef";
313 unsigned char *u
= (unsigned char *) ptr
;
314 const unsigned char *eu
= u
+ sz
;
315 register unsigned char uu
;
316 for (; u
!= eu
; ++u
) {
318 *(c
++) = hex
[(uu
& 0xf0) >> 4];
319 *(c
++) = hex
[uu
& 0xf];
325 Unpack binary data from a string
327 SWIGRUNTIME
const char *
328 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
329 register unsigned char *u
= (unsigned char *) ptr
;
330 register const unsigned char *eu
= u
+ sz
;
331 for (; u
!= eu
; ++u
) {
332 register int d
= *(c
++);
333 register unsigned char uu
= 0;
334 if ((d
>= '0') && (d
<= '9'))
335 uu
= ((d
- '0') << 4);
336 else if ((d
>= 'a') && (d
<= 'f'))
337 uu
= ((d
- ('a'-10)) << 4);
341 if ((d
>= '0') && (d
<= '9'))
343 else if ((d
>= 'a') && (d
<= 'f'))
344 uu
|= (d
- ('a'-10));
353 This function will propagate the clientdata field of type to any new
354 swig_type_info structures that have been added into the list of
355 equivalent types. It is like calling SWIG_TypeClientData(type,
356 clientdata) a second time.
359 SWIG_PropagateClientDataTL(swig_type_info
*tl
, swig_type_info
*type
) {
360 swig_type_info
*equiv
= type
->next
;
362 if (!type
->clientdata
) return;
364 if (!equiv
->converter
) {
367 if ((strcmp(tc
->name
, equiv
->name
) == 0) && !tc
->clientdata
)
368 SWIG_TypeClientDataTL(tl
,tc
, type
->clientdata
);
377 Pack 'void *' into a string buffer.
380 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
382 if ((2*sizeof(void *) + 2) > bsz
) return 0;
384 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
385 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
390 SWIGRUNTIME
const char *
391 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
393 if (strcmp(c
,"NULL") == 0) {
400 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
404 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
406 size_t lname
= (name
? strlen(name
) : 0);
407 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
409 r
= SWIG_PackData(r
,ptr
,sz
);
411 strncpy(r
,name
,lname
+1);
418 SWIGRUNTIME
const char *
419 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
421 if (strcmp(c
,"NULL") == 0) {
428 return SWIG_UnpackData(++c
,ptr
,sz
);
435 /***********************************************************************
438 * This file contains generic SWIG runtime support for pointer
439 * type checking as well as a few commonly used macros to control
442 * Author : David Beazley (beazley@cs.uchicago.edu)
444 * Copyright (c) 1999-2000, The University of Chicago
446 * This file may be freely redistributed without license or fee provided
447 * this copyright message remains intact.
448 ************************************************************************/
451 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
452 # if !defined(STATIC_LINKED)
453 # define SWIGEXPORT(a) __declspec(dllexport) a
455 # define SWIGEXPORT(a) a
458 # define SWIGEXPORT(a) a
466 /*************************************************************************/
469 /* The static type info list */
471 static swig_type_info
*swig_type_list
= 0;
472 static swig_type_info
**swig_type_list_handle
= &swig_type_list
;
475 /* Register a type mapping with the type-checking */
476 static swig_type_info
*
477 SWIG_TypeRegister(swig_type_info
*ti
) {
478 return SWIG_TypeRegisterTL(swig_type_list_handle
, ti
);
481 /* Search for a swig_type_info structure */
482 static swig_type_info
*
483 SWIG_TypeQuery(const char *name
) {
484 return SWIG_TypeQueryTL(*swig_type_list_handle
, name
);
487 /* Set the clientdata field for a type */
489 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
490 SWIG_TypeClientDataTL(*swig_type_list_handle
, ti
, clientdata
);
493 /* This function will propagate the clientdata field of type to
494 * any new swig_type_info structures that have been added into the list
495 * of equivalent types. It is like calling
496 * SWIG_TypeClientData(type, clientdata) a second time.
499 SWIG_PropagateClientData(swig_type_info
*type
) {
500 SWIG_PropagateClientDataTL(*swig_type_list_handle
, type
);
507 /* -----------------------------------------------------------------------------
508 * SWIG API. Portion that goes into the runtime
509 * ----------------------------------------------------------------------------- */
515 /* -----------------------------------------------------------------------------
516 * for internal method declarations
517 * ----------------------------------------------------------------------------- */
520 #define SWIGINTERN static
523 #ifndef SWIGINTERNSHORT
525 #define SWIGINTERNSHORT static inline
527 #define SWIGINTERNSHORT static
528 #endif /* __cplusplus */
533 Exception handling in wrappers
535 #define SWIG_fail goto fail
536 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
537 #define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0)
538 #define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1)
539 #define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj)
540 #define SWIG_null_ref(type) SWIG_Python_NullRef(type)
545 #define SWIG_contract_assert(expr, msg) \
546 if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
548 /* -----------------------------------------------------------------------------
549 * Constant declarations
550 * ----------------------------------------------------------------------------- */
553 #define SWIG_PY_INT 1
554 #define SWIG_PY_FLOAT 2
555 #define SWIG_PY_STRING 3
556 #define SWIG_PY_POINTER 4
557 #define SWIG_PY_BINARY 5
559 /* Constant information structure */
560 typedef struct swig_const_info
{
566 swig_type_info
**ptype
;
570 /* -----------------------------------------------------------------------------
571 * Alloc. memory flags
572 * ----------------------------------------------------------------------------- */
573 #define SWIG_OLDOBJ 1
574 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
575 #define SWIG_PYSTR SWIG_NEWOBJ + 1
582 /***********************************************************************
585 * This file contains the runtime support for Python modules
586 * and includes code for managing global variables and pointer
589 * Author : David Beazley (beazley@cs.uchicago.edu)
590 ************************************************************************/
592 /* Common SWIG API */
593 #define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags)
594 #define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags)
595 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
598 /* Python-specific SWIG API */
599 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
600 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
603 /* -----------------------------------------------------------------------------
604 * Pointer declarations
605 * ----------------------------------------------------------------------------- */
607 Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent
608 C/C++ pointers in the python side. Very useful for debugging, but
611 #if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES)
612 # define SWIG_COBJECT_TYPES
615 /* Flags for pointer conversion */
616 #define SWIG_POINTER_EXCEPTION 0x1
617 #define SWIG_POINTER_DISOWN 0x2
624 /* -----------------------------------------------------------------------------
625 * Create a new pointer string
626 * ----------------------------------------------------------------------------- */
628 #ifndef SWIG_BUFFER_SIZE
629 #define SWIG_BUFFER_SIZE 1024
632 #if defined(SWIG_COBJECT_TYPES)
633 #if !defined(SWIG_COBJECT_PYTHON)
634 /* -----------------------------------------------------------------------------
635 * Implements a simple Swig Object type, and use it instead of PyCObject
636 * ----------------------------------------------------------------------------- */
644 /* Declarations for objects of type PySwigObject */
647 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int flags
)
649 char result
[SWIG_BUFFER_SIZE
];
650 if (SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
))) {
651 fputs("<Swig Object at ", fp
); fputs(result
, fp
); fputs(">", fp
);
658 SWIGRUNTIME PyObject
*
659 PySwigObject_repr(PySwigObject
*v
)
661 char result
[SWIG_BUFFER_SIZE
];
662 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
663 PyString_FromFormat("<Swig Object at %s>", result
) : 0;
666 SWIGRUNTIME PyObject
*
667 PySwigObject_str(PySwigObject
*v
)
669 char result
[SWIG_BUFFER_SIZE
];
670 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
671 PyString_FromString(result
) : 0;
674 SWIGRUNTIME PyObject
*
675 PySwigObject_long(PySwigObject
*v
)
677 return PyLong_FromUnsignedLong((unsigned long) v
->ptr
);
680 SWIGRUNTIME PyObject
*
681 PySwigObject_oct(PySwigObject
*v
)
684 unsigned long x
= (unsigned long)v
->ptr
;
688 PyOS_snprintf(buf
, sizeof(buf
), "0%lo", x
);
689 return PyString_FromString(buf
);
692 SWIGRUNTIME PyObject
*
693 PySwigObject_hex(PySwigObject
*v
)
696 PyOS_snprintf(buf
, sizeof(buf
), "0x%lx", (unsigned long)v
->ptr
);
697 return PyString_FromString(buf
);
701 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
703 int c
= strcmp(v
->desc
, w
->desc
);
709 return (i
< j
) ? -1 : (i
> j
) ? 1 : 0;
714 PySwigObject_dealloc(PySwigObject
*self
)
719 SWIGRUNTIME PyTypeObject
*
720 PySwigObject_GetType() {
721 static char PySwigObject_Type__doc__
[] =
722 "Swig object carries a C/C++ instance pointer";
724 static PyNumberMethods PySwigObject_as_number
= {
725 (binaryfunc
)0, /*nb_add*/
726 (binaryfunc
)0, /*nb_subtract*/
727 (binaryfunc
)0, /*nb_multiply*/
728 (binaryfunc
)0, /*nb_divide*/
729 (binaryfunc
)0, /*nb_remainder*/
730 (binaryfunc
)0, /*nb_divmod*/
731 (ternaryfunc
)0,/*nb_power*/
732 (unaryfunc
)0, /*nb_negative*/
733 (unaryfunc
)0, /*nb_positive*/
734 (unaryfunc
)0, /*nb_absolute*/
735 (inquiry
)0, /*nb_nonzero*/
742 (coercion
)0, /*nb_coerce*/
743 (unaryfunc
)PySwigObject_long
, /*nb_int*/
744 (unaryfunc
)PySwigObject_long
, /*nb_long*/
745 (unaryfunc
)0, /*nb_float*/
746 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
747 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
748 #if PY_VERSION_HEX >= 0x02000000
749 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
753 static int type_init
= 0;
754 static PyTypeObject PySwigObject_Type
;
758 PyObject_HEAD_INIT(&PyType_Type
)
760 "PySwigObject", /*tp_name*/
761 sizeof(PySwigObject
), /*tp_basicsize*/
764 (destructor
)PySwigObject_dealloc
, /*tp_dealloc*/
765 (printfunc
)PySwigObject_print
, /*tp_print*/
766 (getattrfunc
)0, /*tp_getattr*/
767 (setattrfunc
)0, /*tp_setattr*/
768 (cmpfunc
)PySwigObject_compare
, /*tp_compare*/
769 (reprfunc
)PySwigObject_repr
, /*tp_repr*/
770 &PySwigObject_as_number
, /*tp_as_number*/
771 0, /*tp_as_sequence*/
773 (hashfunc
)0, /*tp_hash*/
774 (ternaryfunc
)0, /*tp_call*/
775 (reprfunc
)PySwigObject_str
, /*tp_str*/
776 /* Space for future expansion */
778 PySwigObject_Type__doc__
, /* Documentation string */
779 #if PY_VERSION_HEX >= 0x02000000
783 #if PY_VERSION_HEX >= 0x02010000
784 0, /* tp_richcompare */
785 0, /* tp_weaklistoffset */
787 #if PY_VERSION_HEX >= 0x02020000
788 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
790 #if PY_VERSION_HEX >= 0x02030000
794 0,0,0,0 /* tp_alloc -> tp_next */
798 PySwigObject_Type
= tmp
;
802 return &PySwigObject_Type
;
805 SWIGRUNTIME PyObject
*
806 PySwigObject_FromVoidPtrAndDesc(void *ptr
, const char *desc
)
808 PySwigObject
*self
= PyObject_NEW(PySwigObject
, PySwigObject_GetType());
809 if (self
== NULL
) return NULL
;
812 return (PyObject
*)self
;
815 SWIGRUNTIMEINLINE
void *
816 PySwigObject_AsVoidPtr(PyObject
*self
)
818 return ((PySwigObject
*)self
)->ptr
;
821 SWIGRUNTIMEINLINE
const char *
822 PySwigObject_GetDesc(PyObject
*self
)
824 return ((PySwigObject
*)self
)->desc
;
827 SWIGRUNTIMEINLINE
int
828 PySwigObject_Check(PyObject
*op
) {
829 return ((op
)->ob_type
== PySwigObject_GetType())
830 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
833 /* -----------------------------------------------------------------------------
834 * Implements a simple Swig Packed type, and use it instead of string
835 * ----------------------------------------------------------------------------- */
845 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int flags
)
847 char result
[SWIG_BUFFER_SIZE
];
848 fputs("<Swig Packed ", fp
);
849 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
858 SWIGRUNTIME PyObject
*
859 PySwigPacked_repr(PySwigPacked
*v
)
861 char result
[SWIG_BUFFER_SIZE
];
862 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
863 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->desc
);
865 return PyString_FromFormat("<Swig Packed %s>", v
->desc
);
869 SWIGRUNTIME PyObject
*
870 PySwigPacked_str(PySwigPacked
*v
)
872 char result
[SWIG_BUFFER_SIZE
];
873 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
874 return PyString_FromFormat("%s%s", result
, v
->desc
);
876 return PyString_FromFormat("%s", v
->desc
);
881 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
883 int c
= strcmp(v
->desc
, w
->desc
);
889 int s
= (i
< j
) ? -1 : (i
> j
) ? 1 : 0;
890 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
895 PySwigPacked_dealloc(PySwigPacked
*self
)
901 SWIGRUNTIME PyTypeObject
*
902 PySwigPacked_GetType() {
903 static char PySwigPacked_Type__doc__
[] =
904 "Swig object carries a C/C++ instance pointer";
905 static int type_init
= 0;
907 static PyTypeObject PySwigPacked_Type
;
910 PyObject_HEAD_INIT(&PyType_Type
)
912 "PySwigPacked", /*tp_name*/
913 sizeof(PySwigPacked
), /*tp_basicsize*/
916 (destructor
)PySwigPacked_dealloc
, /*tp_dealloc*/
917 (printfunc
)PySwigPacked_print
, /*tp_print*/
918 (getattrfunc
)0, /*tp_getattr*/
919 (setattrfunc
)0, /*tp_setattr*/
920 (cmpfunc
)PySwigPacked_compare
, /*tp_compare*/
921 (reprfunc
)PySwigPacked_repr
, /*tp_repr*/
923 0, /*tp_as_sequence*/
925 (hashfunc
)0, /*tp_hash*/
926 (ternaryfunc
)0, /*tp_call*/
927 (reprfunc
)PySwigPacked_str
, /*tp_str*/
928 /* Space for future expansion */
930 PySwigPacked_Type__doc__
, /* Documentation string */
931 #if PY_VERSION_HEX >= 0x02000000
935 #if PY_VERSION_HEX >= 0x02010000
936 0, /* tp_richcompare */
937 0, /* tp_weaklistoffset */
939 #if PY_VERSION_HEX >= 0x02020000
940 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
942 #if PY_VERSION_HEX >= 0x02030000
946 0,0,0,0 /* tp_alloc -> tp_next */
950 PySwigPacked_Type
= tmp
;
956 return &PySwigPacked_Type
;
959 SWIGRUNTIME PyObject
*
960 PySwigPacked_FromDataAndDesc(void *ptr
, size_t size
, const char *desc
)
962 PySwigPacked
*self
= PyObject_NEW(PySwigPacked
, PySwigPacked_GetType());
966 void *pack
= malloc(size
);
967 memcpy(pack
, ptr
, size
);
971 return (PyObject
*) self
;
975 SWIGRUNTIMEINLINE
const char *
976 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
978 PySwigPacked
*self
= (PySwigPacked
*)obj
;
979 if (self
->size
!= size
) return 0;
980 memcpy(ptr
, self
->pack
, size
);
984 SWIGRUNTIMEINLINE
const char *
985 PySwigPacked_GetDesc(PyObject
*self
)
987 return ((PySwigPacked
*)self
)->desc
;
990 SWIGRUNTIMEINLINE
int
991 PySwigPacked_Check(PyObject
*op
) {
992 return ((op
)->ob_type
== PySwigPacked_GetType())
993 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
997 /* -----------------------------------------------------------------------------
998 * Use the old Python PyCObject instead of PySwigObject
999 * ----------------------------------------------------------------------------- */
1001 #define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj)
1002 #define PySwigObject_Check(obj) PyCObject_Check(obj)
1003 #define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj)
1004 #define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL)
1010 /* -----------------------------------------------------------------------------
1011 * errors manipulation
1012 * ----------------------------------------------------------------------------- */
1015 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
1018 #if defined(SWIG_COBJECT_TYPES)
1019 if (PySwigObject_Check(obj
)) {
1020 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
1022 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
1029 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
1031 PyObject
*str
= PyObject_Str(obj
);
1032 const char *cstr
= str
? PyString_AsString(str
) : 0;
1034 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
1037 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
1044 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
1046 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
1050 SWIGRUNTIMEINLINE
void
1051 SWIG_Python_NullRef(const char *type
)
1054 PyErr_Format(PyExc_TypeError
, "null reference of type '%s' was received",type
);
1056 PyErr_Format(PyExc_TypeError
, "null reference was received");
1061 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
1063 if (PyErr_Occurred()) {
1065 PyObject
*value
= 0;
1066 PyObject
*traceback
= 0;
1067 PyErr_Fetch(&type
, &value
, &traceback
);
1069 PyObject
*old_str
= PyObject_Str(value
);
1073 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
1075 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
1086 SWIG_Python_ArgFail(int argnum
)
1088 if (PyErr_Occurred()) {
1089 /* add information about failing argument */
1091 sprintf(mesg
, "argument number %d:", argnum
);
1092 return SWIG_Python_AddErrMesg(mesg
, 1);
1099 /* -----------------------------------------------------------------------------
1100 * pointers/data manipulation
1101 * ----------------------------------------------------------------------------- */
1103 /* Convert a pointer value */
1105 SWIG_Python_ConvertPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
) {
1108 static PyObject
*SWIG_this
= 0;
1110 PyObject
*pyobj
= 0;
1114 if (obj
== Py_None
) {
1119 #ifdef SWIG_COBJECT_TYPES
1120 if (!(PySwigObject_Check(obj
))) {
1122 SWIG_this
= PyString_FromString("this");
1124 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1126 if (!obj
) goto type_error
;
1127 if (!PySwigObject_Check(obj
)) {
1132 vptr
= PySwigObject_AsVoidPtr(obj
);
1133 c
= (const char *) PySwigObject_GetDesc(obj
);
1134 if (newref
) { Py_DECREF(obj
); }
1137 if (!(PyString_Check(obj
))) {
1139 SWIG_this
= PyString_FromString("this");
1141 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1143 if (!obj
) goto type_error
;
1144 if (!PyString_Check(obj
)) {
1149 c
= PyString_AS_STRING(obj
);
1150 /* Pointer values must start with leading underscore */
1151 c
= SWIG_UnpackVoidPtr(c
, &vptr
, ty
->name
);
1152 if (newref
) { Py_DECREF(obj
); }
1153 if (!c
) goto type_error
;
1159 tc
= SWIG_TypeCheck(c
,ty
);
1160 if (!tc
) goto type_error
;
1161 *ptr
= SWIG_TypeCast(tc
,vptr
);
1166 if ((pyobj
) && (flags
& SWIG_POINTER_DISOWN
)) {
1167 PyObject_SetAttrString(pyobj
,(char*)"thisown",Py_False
);
1173 if (pyobj
&& !obj
) {
1175 if (PyCFunction_Check(obj
)) {
1176 /* here we get the method pointer for callbacks */
1177 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
1178 c
= doc
? strstr(doc
, "swig_ptr: ") : 0;
1180 c
= SWIG_UnpackVoidPtr(c
+ 10, &vptr
, ty
->name
);
1181 if (!c
) goto type_error
;
1186 if (flags
& SWIG_POINTER_EXCEPTION
) {
1188 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1190 SWIG_Python_TypeError("C/C++ pointer", obj
);
1196 /* Convert a pointer value, signal an exception on a type mismatch */
1198 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
1200 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
1202 if (flags
& SWIG_POINTER_EXCEPTION
) {
1203 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1204 SWIG_Python_ArgFail(argnum
);
1210 /* Convert a packed value value */
1212 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
, int flags
) {
1216 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1217 c
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
1219 if ((!obj
) || (!PyString_Check(obj
))) goto type_error
;
1220 c
= PyString_AS_STRING(obj
);
1221 /* Pointer values must start with leading underscore */
1222 c
= SWIG_UnpackDataName(c
, ptr
, sz
, ty
->name
);
1224 if (!c
) goto type_error
;
1226 tc
= SWIG_TypeCheck(c
,ty
);
1227 if (!tc
) goto type_error
;
1233 if (flags
& SWIG_POINTER_EXCEPTION
) {
1235 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1237 SWIG_Python_TypeError("C/C++ packed data", obj
);
1243 /* Create a new array object */
1244 SWIGRUNTIME PyObject
*
1245 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int own
) {
1251 #ifdef SWIG_COBJECT_TYPES
1252 robj
= PySwigObject_FromVoidPtrAndDesc((void *) ptr
, (char *)type
->name
);
1255 char result
[SWIG_BUFFER_SIZE
];
1256 robj
= SWIG_PackVoidPtr(result
, ptr
, type
->name
, sizeof(result
)) ?
1257 PyString_FromString(result
) : 0;
1260 if (!robj
|| (robj
== Py_None
)) return robj
;
1261 if (type
->clientdata
) {
1263 PyObject
*args
= Py_BuildValue((char*)"(O)", robj
);
1265 inst
= PyObject_CallObject((PyObject
*) type
->clientdata
, args
);
1269 PyObject_SetAttrString(inst
,(char*)"thisown",Py_True
);
1277 SWIGRUNTIME PyObject
*
1278 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
1284 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1285 robj
= PySwigPacked_FromDataAndDesc((void *) ptr
, sz
, (char *)type
->name
);
1288 char result
[SWIG_BUFFER_SIZE
];
1289 robj
= SWIG_PackDataName(result
, ptr
, sz
, type
->name
, sizeof(result
)) ?
1290 PyString_FromString(result
) : 0;
1296 /* -----------------------------------------------------------------------------*
1298 * -----------------------------------------------------------------------------*/
1300 #ifdef SWIG_LINK_RUNTIME
1301 void *SWIG_ReturnGlobalTypeList(void *);
1304 SWIGRUNTIME swig_type_info
**
1305 SWIG_Python_GetTypeListHandle() {
1306 static void *type_pointer
= (void *)0;
1307 /* first check if module already created */
1308 if (!type_pointer
) {
1309 #ifdef SWIG_LINK_RUNTIME
1310 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
1312 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
1313 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
1314 if (PyErr_Occurred()) {
1316 type_pointer
= (void *)0;
1320 return (swig_type_info
**) type_pointer
;
1324 Search for a swig_type_info structure
1326 SWIGRUNTIMEINLINE swig_type_info
*
1327 SWIG_Python_GetTypeList() {
1328 swig_type_info
**tlh
= SWIG_Python_GetTypeListHandle();
1329 return tlh
? *tlh
: (swig_type_info
*)0;
1332 #define SWIG_Runtime_GetTypeList SWIG_Python_GetTypeList
1339 /* -------- TYPES TABLE (BEGIN) -------- */
1341 #define SWIGTYPE_p_wxOGLConstraint swig_types[0]
1342 #define SWIGTYPE_p_wxBrush swig_types[1]
1343 #define SWIGTYPE_p_wxColour swig_types[2]
1344 #define SWIGTYPE_p_wxShapeRegion swig_types[3]
1345 #define SWIGTYPE_p_wxDC swig_types[4]
1346 #define SWIGTYPE_p_wxPyControlPoint swig_types[5]
1347 #define SWIGTYPE_p_wxRealPoint swig_types[6]
1348 #define SWIGTYPE_p_form_ops_t swig_types[7]
1349 #define SWIGTYPE_p_wxDuplexMode swig_types[8]
1350 #define SWIGTYPE_p_wxArrowHead swig_types[9]
1351 #define SWIGTYPE_p_char swig_types[10]
1352 #define SWIGTYPE_p_wxPanel swig_types[11]
1353 #define SWIGTYPE_p_bool swig_types[12]
1354 #define SWIGTYPE_p_wxStringList swig_types[13]
1355 #define SWIGTYPE_p_wxList swig_types[14]
1356 #define SWIGTYPE_p_wxFont swig_types[15]
1357 #define SWIGTYPE_p_wxScrolledWindow swig_types[16]
1358 #define SWIGTYPE_p_wxWindow swig_types[17]
1359 #define SWIGTYPE_p_double swig_types[18]
1360 #define SWIGTYPE_p_wxPyDrawnShape swig_types[19]
1361 #define SWIGTYPE_p_wxPyDivisionShape swig_types[20]
1362 #define SWIGTYPE_p_wxPyPolygonShape swig_types[21]
1363 #define SWIGTYPE_p_wxObject swig_types[22]
1364 #define SWIGTYPE_p_wxBitmap swig_types[23]
1365 #define SWIGTYPE_p_wxPaperSize swig_types[24]
1366 #define SWIGTYPE_p_unsigned_int swig_types[25]
1367 #define SWIGTYPE_unsigned_int swig_types[26]
1368 #define SWIGTYPE_p_wxPyBitmapShape swig_types[27]
1369 #define SWIGTYPE_p_wxPyShapeEvtHandler swig_types[28]
1370 #define SWIGTYPE_p_wxEvtHandler swig_types[29]
1371 #define SWIGTYPE_p_wxPyEllipseShape swig_types[30]
1372 #define SWIGTYPE_p_wxPyShapeCanvas swig_types[31]
1373 #define SWIGTYPE_p_wxPoint swig_types[32]
1374 #define SWIGTYPE_p_wxDiagram swig_types[33]
1375 #define SWIGTYPE_p_wxPyShape swig_types[34]
1376 #define SWIGTYPE_p_wxAttachmentPoint swig_types[35]
1377 #define SWIGTYPE_p_unsigned_char swig_types[36]
1378 #define SWIGTYPE_ptrdiff_t swig_types[37]
1379 #define SWIGTYPE_std__ptrdiff_t swig_types[38]
1380 #define SWIGTYPE_p_wxClassInfo swig_types[39]
1381 #define SWIGTYPE_p_wxPyLineShape swig_types[40]
1382 #define SWIGTYPE_p_wxPyRectangleShape swig_types[41]
1383 #define SWIGTYPE_p_wxPyCompositeShape swig_types[42]
1384 #define SWIGTYPE_p_wxPyCircleShape swig_types[43]
1385 #define SWIGTYPE_p_wxPen swig_types[44]
1386 #define SWIGTYPE_p_int swig_types[45]
1387 #define SWIGTYPE_p_wxPseudoMetaFile swig_types[46]
1388 #define SWIGTYPE_p_wxPyTextShape swig_types[47]
1389 #define SWIGTYPE_p_unsigned_long swig_types[48]
1390 #define SWIGTYPE_p_wxPyDividedShape swig_types[49]
1391 static swig_type_info
*swig_types
[51];
1393 /* -------- TYPES TABLE (END) -------- */
1396 /*-----------------------------------------------
1398 ------------------------------------------------*/
1399 #define SWIG_init init_ogl
1401 #define SWIG_name "_ogl"
1403 #include "wx/wxPython/wxPython.h"
1404 #include "wx/wxPython/pyclasses.h"
1405 #include "oglhelpers.h"
1408 static const wxString
wxPyEmptyString(wxEmptyString
);
1411 SWIG_AsVal_double(PyObject
*obj
, double* val
)
1413 if (PyNumber_Check(obj
)) {
1414 if (val
) *val
= PyFloat_AsDouble(obj
);
1418 SWIG_type_error("number", obj
);
1424 SWIGINTERNSHORT
double
1425 SWIG_As_double(PyObject
* obj
)
1428 if (!SWIG_AsVal_double(obj
, &v
)) {
1430 this is needed to make valgrind/purify happier.
1432 memset((void*)&v
, 0, sizeof(double));
1439 SWIG_Check_double(PyObject
* obj
)
1441 return SWIG_AsVal_double(obj
, (double*)0);
1449 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
1452 if (value
< min_value
) {
1454 PyErr_Format(PyExc_OverflowError
,
1455 "value %ld is less than '%s' minimum %ld",
1456 value
, errmsg
, min_value
);
1459 } else if (value
> max_value
) {
1461 PyErr_Format(PyExc_OverflowError
,
1462 "value %ld is greater than '%s' maximum %ld",
1463 value
, errmsg
, max_value
);
1472 SWIG_AsVal_long(PyObject
* obj
, long* val
)
1474 if (PyNumber_Check(obj
)) {
1475 if (val
) *val
= PyInt_AsLong(obj
);
1479 SWIG_type_error("number", obj
);
1485 #if INT_MAX != LONG_MAX
1487 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1489 const char* errmsg
= val
? "int" : (char*)0;
1491 if (SWIG_AsVal_long(obj
, &v
)) {
1492 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
1493 if (val
) *val
= (int)(v
);
1502 SWIG_type_error(errmsg
, obj
);
1508 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1510 return SWIG_AsVal_long(obj
,(long*)val
);
1516 SWIG_As_int(PyObject
* obj
)
1519 if (!SWIG_AsVal_int(obj
, &v
)) {
1521 this is needed to make valgrind/purify happier.
1523 memset((void*)&v
, 0, sizeof(int));
1530 SWIG_Check_int(PyObject
* obj
)
1532 return SWIG_AsVal_int(obj
, (int*)0);
1536 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
1542 } else if (target
== Py_None
) {
1546 if (!PyTuple_Check(target
)) {
1548 target
= PyTuple_New(1);
1549 PyTuple_SetItem(target
, 0, o2
);
1551 o3
= PyTuple_New(1);
1552 PyTuple_SetItem(o3
, 0, o
);
1555 target
= PySequence_Concat(o2
, o3
);
1563 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
1564 #define SWIG_From_double PyFloat_FromDouble
1569 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
1570 #define SWIG_From_int PyInt_FromLong
1574 WXSHAPE_IMP_CALLBACKS(wxPyShapeEvtHandler
,wxShapeEvtHandler
);
1576 static void wxPyShapeEvtHandler__setOORInfo(wxPyShapeEvtHandler
*self
,PyObject
*_self
){
1577 self
->SetClientObject(new wxPyOORClientData(_self
));
1581 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
1583 if (obj
== Py_True
) {
1584 if (val
) *val
= true;
1587 if (obj
== Py_False
) {
1588 if (val
) *val
= false;
1592 if (SWIG_AsVal_int(obj
, &res
)) {
1593 if (val
) *val
= res
? true : false;
1599 SWIG_type_error("bool", obj
);
1605 SWIGINTERNSHORT
bool
1606 SWIG_As_bool(PyObject
* obj
)
1609 if (!SWIG_AsVal_bool(obj
, &v
)) {
1611 this is needed to make valgrind/purify happier.
1613 memset((void*)&v
, 0, sizeof(bool));
1620 SWIG_Check_bool(PyObject
* obj
)
1622 return SWIG_AsVal_bool(obj
, (bool*)0);
1626 WXSHAPE_IMP_CALLBACKS(wxPyShape
, wxShape
);
1628 static PyObject
*wxPyShape_GetChildren(wxPyShape
*self
){
1629 wxList
& list
= self
->GetChildren();
1630 return wxPy_ConvertShapeList(&list
);
1633 SWIGINTERNSHORT PyObject
*
1634 SWIG_From_bool(bool value
)
1636 PyObject
*obj
= value
? Py_True
: Py_False
;
1643 static PyObject
*wxPyShape_GetLines(wxPyShape
*self
){
1644 wxList
& list
= self
->GetLines();
1645 return wxPy_ConvertShapeList(&list
);
1648 SWIGINTERNSHORT
long
1649 SWIG_As_long(PyObject
* obj
)
1652 if (!SWIG_AsVal_long(obj
, &v
)) {
1654 this is needed to make valgrind/purify happier.
1656 memset((void*)&v
, 0, sizeof(long));
1663 SWIG_Check_long(PyObject
* obj
)
1665 return SWIG_AsVal_long(obj
, (long*)0);
1669 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
1670 #define SWIG_From_long PyInt_FromLong
1673 static PyObject
*wxPyShape_GetRegions(wxPyShape
*self
){
1674 wxList
& list
= self
->GetRegions();
1675 return wxPy_ConvertList(&list
);
1677 static PyObject
*wxPyShape_GetAttachments(wxPyShape
*self
){
1678 wxList
& list
= self
->GetAttachments();
1679 return wxPy_ConvertList(&list
);
1681 static void wxPyShape_ApplyAttachmentOrdering(wxPyShape
*self
,PyObject
*linesToSort
){
1682 wxList
* list
= wxPy_wxListHelper(linesToSort
, wxT("wxPyLineShape"));
1683 self
->ApplyAttachmentOrdering(*list
);
1687 // Using this macro can sometimes provoke an Internal Compiler Error in MSVC
1688 // 6, so instead I'l just expand it out by hand...
1689 // WXSHAPE_IMP_CALLBACKS(wxPyRectangleShape, wxRectangleShape);
1691 IMP_PYCALLBACK__ (wxPyRectangleShape
, wxRectangleShape
, OnDelete
);
1692 IMP_PYCALLBACK__DC (wxPyRectangleShape
, wxRectangleShape
, OnDraw
);
1693 IMP_PYCALLBACK__DC (wxPyRectangleShape
, wxRectangleShape
, OnDrawContents
);
1694 IMP_PYCALLBACK__DCBOOL (wxPyRectangleShape
, wxRectangleShape
, OnDrawBranches
);
1695 IMP_PYCALLBACK__DC (wxPyRectangleShape
, wxRectangleShape
, OnMoveLinks
);
1696 IMP_PYCALLBACK__DC (wxPyRectangleShape
, wxRectangleShape
, OnErase
);
1697 IMP_PYCALLBACK__DC (wxPyRectangleShape
, wxRectangleShape
, OnEraseContents
);
1698 IMP_PYCALLBACK__DC (wxPyRectangleShape
, wxRectangleShape
, OnHighlight
);
1699 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape
, wxRectangleShape
, OnLeftClick
);
1700 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape
, wxRectangleShape
, OnLeftDoubleClick
);
1701 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape
, wxRectangleShape
, OnRightClick
);
1702 IMP_PYCALLBACK__2DBL (wxPyRectangleShape
, wxRectangleShape
, OnSize
);
1703 IMP_PYCALLBACK_BOOL_DC4DBLBOOL (wxPyRectangleShape
, wxRectangleShape
, OnMovePre
);
1704 IMP_PYCALLBACK__DC4DBLBOOL (wxPyRectangleShape
, wxRectangleShape
, OnMovePost
);
1705 IMP_PYCALLBACK__BOOL2DBL2INT (wxPyRectangleShape
, wxRectangleShape
, OnDragLeft
);
1706 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape
, wxRectangleShape
, OnBeginDragLeft
);
1707 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape
, wxRectangleShape
, OnEndDragLeft
);
1708 IMP_PYCALLBACK__BOOL2DBL2INT (wxPyRectangleShape
, wxRectangleShape
, OnDragRight
);
1709 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape
, wxRectangleShape
, OnBeginDragRight
);
1710 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape
, wxRectangleShape
, OnEndDragRight
);
1711 IMP_PYCALLBACK__DC4DBL (wxPyRectangleShape
, wxRectangleShape
, OnDrawOutline
);
1712 IMP_PYCALLBACK__DC (wxPyRectangleShape
, wxRectangleShape
, OnDrawControlPoints
);
1713 IMP_PYCALLBACK__DC (wxPyRectangleShape
, wxRectangleShape
, OnEraseControlPoints
);
1714 IMP_PYCALLBACK__DCBOOL (wxPyRectangleShape
, wxRectangleShape
, OnMoveLink
);
1715 IMP_PYCALLBACK__WXCPBOOL2DBL2INT(wxPyRectangleShape
, wxRectangleShape
, OnSizingDragLeft
);
1716 IMP_PYCALLBACK__WXCP2DBL2INT (wxPyRectangleShape
, wxRectangleShape
, OnSizingBeginDragLeft
);
1717 IMP_PYCALLBACK__WXCP2DBL2INT (wxPyRectangleShape
, wxRectangleShape
, OnSizingEndDragLeft
);
1718 IMP_PYCALLBACK__2DBL (wxPyRectangleShape
, wxRectangleShape
, OnBeginSize
);
1719 IMP_PYCALLBACK__2DBL (wxPyRectangleShape
, wxRectangleShape
, OnEndSize
)
1723 WXSHAPE_IMP_CALLBACKS(wxPyControlPoint
, wxControlPoint
);
1726 WXSHAPE_IMP_CALLBACKS(wxPyBitmapShape
, wxBitmapShape
);
1729 WXSHAPE_IMP_CALLBACKS(wxPyDrawnShape
, wxDrawnShape
);
1731 static wxOGLConstraint
*new_wxOGLConstraint(int type
,wxPyShape
*constraining
,PyObject
*constrained
){
1732 wxList
* list
= wxPy_wxListHelper(constrained
, wxT("wxPyShape"));
1733 wxOGLConstraint
* rv
= new wxOGLConstraint(type
, constraining
, *list
);
1738 WXSHAPE_IMP_CALLBACKS(wxPyCompositeShape
, wxCompositeShape
);
1740 static wxOGLConstraint
*wxPyCompositeShape_AddConstrainedShapes(wxPyCompositeShape
*self
,int type
,wxPyShape
*constraining
,PyObject
*constrained
){
1741 wxList
* list
= wxPy_wxListHelper(constrained
, wxT("wxPyShape"));
1742 wxOGLConstraint
* rv
= self
->AddConstraint(type
, constraining
, *list
);
1746 static PyObject
*wxPyCompositeShape_GetConstraints(wxPyCompositeShape
*self
){
1747 wxList
& list
= self
->GetConstraints();
1748 return wxPy_ConvertList(&list
);
1750 static PyObject
*wxPyCompositeShape_GetDivisions(wxPyCompositeShape
*self
){
1751 wxList
& list
= self
->GetDivisions();
1752 return wxPy_ConvertShapeList(&list
);
1755 WXSHAPE_IMP_CALLBACKS(wxPyDividedShape
, wxDividedShape
);
1758 WXSHAPE_IMP_CALLBACKS(wxPyDivisionShape
, wxDivisionShape
);
1761 WXSHAPE_IMP_CALLBACKS(wxPyEllipseShape
, wxEllipseShape
);
1764 WXSHAPE_IMP_CALLBACKS(wxPyCircleShape
, wxCircleShape
);
1767 WXSHAPE_IMP_CALLBACKS(wxPyLineShape
, wxLineShape
);
1769 static void wxPyLineShape_AddArrowOrdered(wxPyLineShape
*self
,wxArrowHead
*arrow
,PyObject
*referenceList
,int end
){
1770 wxList
* list
= wxPy_wxListHelper(referenceList
, wxT("wxArrowHead"));
1771 self
->AddArrowOrdered(arrow
, *list
, end
);
1774 static PyObject
*wxPyLineShape_GetLineControlPoints(wxPyLineShape
*self
){
1775 wxList
* list
= self
->GetLineControlPoints();
1776 return wxPy_ConvertRealPointList(list
);
1778 static void wxPyLineShape_SetLineControlPoints(wxPyLineShape
*self
,PyObject
*list
){
1779 wxList
* real_point_list
= wxPy_wxRealPoint_ListHelper(list
);
1780 self
->MakeLineControlPoints((int)(real_point_list
->GetCount()));
1781 wxList
* old_control_points
= self
->GetLineControlPoints();
1782 wxNode
* old_node
= old_control_points
->GetFirst();
1783 wxNode
* real_node
= real_point_list
->GetFirst();
1786 wxRealPoint
* old_point
= (wxRealPoint
*)old_node
->GetData();
1787 wxRealPoint
* new_point
= (wxRealPoint
*)real_node
->GetData();
1788 old_point
->x
= new_point
->x
;
1789 old_point
->y
= new_point
->y
;
1790 old_node
= old_node
->GetNext();
1791 real_node
= real_node
->GetNext();
1793 self
->ClearPointList(*real_point_list
);
1794 delete real_point_list
;
1797 WXSHAPE_IMP_CALLBACKS(wxPyPolygonShape
, wxPolygonShape
);
1799 static PyObject
*wxPyPolygonShape_Create(wxPyPolygonShape
*self
,PyObject
*points
){
1800 wxList
* list
= wxPy_wxRealPoint_ListHelper(points
);
1808 static PyObject
*wxPyPolygonShape_GetPoints(wxPyPolygonShape
*self
){
1809 wxList
* list
= self
->GetPoints();
1810 return wxPy_ConvertRealPointList(list
);
1812 static PyObject
*wxPyPolygonShape_GetOriginalPoints(wxPyPolygonShape
*self
){
1813 wxList
* list
= self
->GetOriginalPoints();
1817 wxNode
* node
= list
->GetFirst();
1819 bool blocked
= wxPyBeginBlockThreads();
1820 pyList
= PyList_New(0);
1822 wxObj
= node
->GetData();
1823 pyObj
= wxPyConstructObject(wxObj
, wxT("wxRealPoint"), 0);
1824 PyList_Append(pyList
, pyObj
);
1825 node
= node
->GetNext();
1827 wxPyEndBlockThreads(blocked
);
1831 WXSHAPE_IMP_CALLBACKS(wxPyTextShape
, wxTextShape
);
1834 // Put some wx default wxChar* values into wxStrings.
1835 DECLARE_DEF_STRING(ShapeCanvasNameStr
);
1837 static PyObject
*wxDiagram_GetShapeList(wxDiagram
*self
){
1838 wxList
* list
= self
->GetShapeList();
1839 return wxPy_ConvertShapeList(list
);
1842 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas
, wxShapeCanvas
, OnBeginDragLeft
);
1843 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas
, wxShapeCanvas
, OnBeginDragRight
);
1844 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas
, wxShapeCanvas
, OnEndDragLeft
);
1845 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas
, wxShapeCanvas
, OnEndDragRight
);
1846 IMP_PYCALLBACK__BOOL2DBLINT(wxPyShapeCanvas
, wxShapeCanvas
, OnDragLeft
);
1847 IMP_PYCALLBACK__BOOL2DBLINT(wxPyShapeCanvas
, wxShapeCanvas
, OnDragRight
);
1848 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas
, wxShapeCanvas
, OnLeftClick
);
1849 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas
, wxShapeCanvas
, OnRightClick
);
1852 //---------------------------------------------------------------------------
1854 // Convert from a Python list to a list of className objects. This one will
1855 // work for any class for the VERY generic cases, but beyond that the helper
1856 // needs to know more about the type.
1857 wxList
* wxPy_wxListHelper(PyObject
* pyList
, const wxChar
* className
) {
1858 bool blocked
= wxPyBeginBlockThreads();
1859 if (!PyList_Check(pyList
)) {
1860 PyErr_SetString(PyExc_TypeError
, "Expected a list object.");
1861 wxPyEndBlockThreads(blocked
);
1864 int count
= PyList_Size(pyList
);
1865 wxList
* list
= new wxList
;
1867 PyErr_SetString(PyExc_MemoryError
, "Unable to allocate wxList object");
1868 wxPyEndBlockThreads(blocked
);
1871 for (int x
=0; x
<count
; x
++) {
1872 PyObject
* pyo
= PyList_GetItem(pyList
, x
);
1873 wxObject
* wxo
= NULL
;
1875 if ( !wxPyConvertSwigPtr(pyo
, (void **)&wxo
, className
) ) {
1877 errmsg
.Printf(wxT("Type error, expected list of %s objects"), className
);
1878 PyErr_SetString(PyExc_TypeError
, errmsg
.mb_str());
1879 wxPyEndBlockThreads(blocked
);
1884 wxPyEndBlockThreads(blocked
);
1888 //---------------------------------------------------------------------------
1890 wxList
* wxPy_wxRealPoint_ListHelper(PyObject
* pyList
) {
1891 bool blocked
= wxPyBeginBlockThreads();
1892 if (!PyList_Check(pyList
)) {
1893 PyErr_SetString(PyExc_TypeError
, "Expected a list object.");
1894 wxPyEndBlockThreads(blocked
);
1897 int count
= PyList_Size(pyList
);
1898 wxList
* list
= new wxList
;
1900 PyErr_SetString(PyExc_MemoryError
, "Unable to allocate wxList object");
1901 wxPyEndBlockThreads(blocked
);
1904 for (int x
=0; x
<count
; x
++) {
1905 PyObject
* pyo
= PyList_GetItem(pyList
, x
);
1907 if (PyTuple_Check(pyo
)) {
1908 PyObject
* o1
= PyNumber_Float(PyTuple_GetItem(pyo
, 0));
1909 PyObject
* o2
= PyNumber_Float(PyTuple_GetItem(pyo
, 1));
1911 double val1
= (o1
? PyFloat_AsDouble(o1
) : 0.0);
1912 double val2
= (o2
? PyFloat_AsDouble(o2
) : 0.0);
1914 list
->Append((wxObject
*) new wxRealPoint(val1
, val2
));
1917 wxRealPoint
* wxo
= NULL
;
1918 if (wxPyConvertSwigPtr(pyo
, (void **)&wxo
, wxT("wxRealPoint"))) {
1919 PyErr_SetString(PyExc_TypeError
, "Type error, expected list of wxRealPoint objects or 2-tuples");
1920 wxPyEndBlockThreads(blocked
);
1923 list
->Append((wxObject
*) new wxRealPoint(*wxo
));
1926 wxPyEndBlockThreads(blocked
);
1930 //---------------------------------------------------------------------------
1932 PyObject
* wxPyMake_wxShapeEvtHandler(wxShapeEvtHandler
* source
, bool setThisOwn
) {
1933 PyObject
* target
= NULL
;
1935 if (source
&& wxIsKindOf(source
, wxShapeEvtHandler
)) {
1936 // If it's derived from wxShapeEvtHandler then there may
1937 // already be a pointer to a Python object that we can use
1939 wxShapeEvtHandler
* seh
= (wxShapeEvtHandler
*)source
;
1940 wxPyOORClientData
* data
= (wxPyOORClientData
*)seh
->GetClientObject();
1942 target
= data
->m_obj
;
1947 target
= wxPyMake_wxObject2(source
, setThisOwn
, false);
1948 if (target
!= Py_None
)
1949 ((wxShapeEvtHandler
*)source
)->SetClientObject(new wxPyOORClientData(target
));
1954 //---------------------------------------------------------------------------
1956 PyObject
* wxPy_ConvertRealPointList(wxListBase
* listbase
) {
1957 wxList
* list
= (wxList
*)listbase
;
1961 wxNode
* node
= list
->GetFirst();
1963 bool blocked
= wxPyBeginBlockThreads();
1964 pyList
= PyList_New(0);
1966 wxObj
= node
->GetData();
1967 pyObj
= wxPyConstructObject(wxObj
, wxT("wxRealPoint"), 0);
1968 PyList_Append(pyList
, pyObj
);
1969 node
= node
->GetNext();
1971 wxPyEndBlockThreads(blocked
);
1975 //---------------------------------------------------------------------------
1977 PyObject
* wxPy_ConvertShapeList(wxListBase
* listbase
) {
1978 wxList
* list
= (wxList
*)listbase
;
1982 wxNode
* node
= list
->GetFirst();
1984 bool blocked
= wxPyBeginBlockThreads();
1985 pyList
= PyList_New(0);
1987 wxObj
= node
->GetData();
1988 pyObj
= wxPyMake_wxShapeEvtHandler((wxShapeEvtHandler
*)wxObj
, false);
1989 PyList_Append(pyList
, pyObj
);
1990 node
= node
->GetNext();
1992 wxPyEndBlockThreads(blocked
);
1997 //---------------------------------------------------------------------------
1999 IMPLEMENT_DYNAMIC_CLASS(wxPyShapeCanvas
, wxShapeCanvas
);
2000 IMPLEMENT_DYNAMIC_CLASS(wxPyShapeEvtHandler
, wxShapeEvtHandler
);
2001 IMPLEMENT_ABSTRACT_CLASS(wxPyShape
, wxShape
);
2002 IMPLEMENT_DYNAMIC_CLASS(wxPyRectangleShape
, wxRectangleShape
);
2003 IMPLEMENT_DYNAMIC_CLASS(wxPyControlPoint
, wxControlPoint
);
2004 IMPLEMENT_DYNAMIC_CLASS(wxPyBitmapShape
, wxBitmapShape
);
2005 IMPLEMENT_DYNAMIC_CLASS(wxPyDrawnShape
, wxDrawnShape
);
2006 IMPLEMENT_DYNAMIC_CLASS(wxPyCompositeShape
, wxCompositeShape
);
2007 IMPLEMENT_DYNAMIC_CLASS(wxPyDividedShape
, wxDividedShape
);
2008 IMPLEMENT_DYNAMIC_CLASS(wxPyDivisionShape
, wxDivisionShape
);
2009 IMPLEMENT_DYNAMIC_CLASS(wxPyEllipseShape
, wxEllipseShape
);
2010 IMPLEMENT_DYNAMIC_CLASS(wxPyCircleShape
, wxCircleShape
);
2011 IMPLEMENT_DYNAMIC_CLASS(wxPyLineShape
, wxLineShape
);
2012 IMPLEMENT_DYNAMIC_CLASS(wxPyPolygonShape
, wxPolygonShape
);
2013 IMPLEMENT_DYNAMIC_CLASS(wxPyTextShape
, wxTextShape
);
2015 //---------------------------------------------------------------------------
2017 // extern "C" SWIGEXPORT(void) initoglbasicc();
2018 // extern "C" SWIGEXPORT(void) initoglshapesc();
2019 // extern "C" SWIGEXPORT(void) initoglshapes2c();
2020 // extern "C" SWIGEXPORT(void) initoglcanvasc();
2025 static PyObject
*_wrap_new_ShapeRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2026 PyObject
*resultobj
;
2027 wxShapeRegion
*result
;
2032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ShapeRegion",kwnames
)) goto fail
;
2034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2035 result
= (wxShapeRegion
*)new wxShapeRegion();
2037 wxPyEndAllowThreads(__tstate
);
2038 if (PyErr_Occurred()) SWIG_fail
;
2040 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxShapeRegion
, 1);
2047 static PyObject
*_wrap_ShapeRegion_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2048 PyObject
*resultobj
;
2049 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
2050 wxString
*arg2
= 0 ;
2051 bool temp2
= false ;
2052 PyObject
* obj0
= 0 ;
2053 PyObject
* obj1
= 0 ;
2055 (char *) "self",(char *) "s", NULL
2058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShapeRegion_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
2059 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxShapeRegion
, SWIG_POINTER_EXCEPTION
| 0);
2060 if (SWIG_arg_fail(1)) SWIG_fail
;
2062 arg2
= wxString_in_helper(obj1
);
2063 if (arg2
== NULL
) SWIG_fail
;
2067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2068 (arg1
)->SetText((wxString
const &)*arg2
);
2070 wxPyEndAllowThreads(__tstate
);
2071 if (PyErr_Occurred()) SWIG_fail
;
2073 Py_INCREF(Py_None
); resultobj
= Py_None
;
2088 static PyObject
*_wrap_ShapeRegion_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2089 PyObject
*resultobj
;
2090 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
2091 wxFont
*arg2
= (wxFont
*) 0 ;
2092 PyObject
* obj0
= 0 ;
2093 PyObject
* obj1
= 0 ;
2095 (char *) "self",(char *) "f", NULL
2098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShapeRegion_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
2099 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxShapeRegion
, SWIG_POINTER_EXCEPTION
| 0);
2100 if (SWIG_arg_fail(1)) SWIG_fail
;
2104 if (obj1
== Py_None
) {
2107 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxFont"))) {
2108 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxFont.");
2113 arg2
= wxTheFontList
->FindOrCreateFont(temp
->GetPointSize(),
2117 temp
->GetUnderlined(),
2118 temp
->GetFaceName(),
2119 temp
->GetEncoding());
2124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2125 (arg1
)->SetFont(arg2
);
2127 wxPyEndAllowThreads(__tstate
);
2128 if (PyErr_Occurred()) SWIG_fail
;
2130 Py_INCREF(Py_None
); resultobj
= Py_None
;
2137 static PyObject
*_wrap_ShapeRegion_SetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2138 PyObject
*resultobj
;
2139 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
2142 PyObject
* obj0
= 0 ;
2143 PyObject
* obj1
= 0 ;
2144 PyObject
* obj2
= 0 ;
2146 (char *) "self",(char *) "w",(char *) "h", NULL
2149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ShapeRegion_SetMinSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2150 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxShapeRegion
, SWIG_POINTER_EXCEPTION
| 0);
2151 if (SWIG_arg_fail(1)) SWIG_fail
;
2153 arg2
= (double)(SWIG_As_double(obj1
));
2154 if (SWIG_arg_fail(2)) SWIG_fail
;
2157 arg3
= (double)(SWIG_As_double(obj2
));
2158 if (SWIG_arg_fail(3)) SWIG_fail
;
2161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2162 (arg1
)->SetMinSize(arg2
,arg3
);
2164 wxPyEndAllowThreads(__tstate
);
2165 if (PyErr_Occurred()) SWIG_fail
;
2167 Py_INCREF(Py_None
); resultobj
= Py_None
;
2174 static PyObject
*_wrap_ShapeRegion_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2175 PyObject
*resultobj
;
2176 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
2179 PyObject
* obj0
= 0 ;
2180 PyObject
* obj1
= 0 ;
2181 PyObject
* obj2
= 0 ;
2183 (char *) "self",(char *) "w",(char *) "h", NULL
2186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ShapeRegion_SetSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2187 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxShapeRegion
, SWIG_POINTER_EXCEPTION
| 0);
2188 if (SWIG_arg_fail(1)) SWIG_fail
;
2190 arg2
= (double)(SWIG_As_double(obj1
));
2191 if (SWIG_arg_fail(2)) SWIG_fail
;
2194 arg3
= (double)(SWIG_As_double(obj2
));
2195 if (SWIG_arg_fail(3)) SWIG_fail
;
2198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2199 (arg1
)->SetSize(arg2
,arg3
);
2201 wxPyEndAllowThreads(__tstate
);
2202 if (PyErr_Occurred()) SWIG_fail
;
2204 Py_INCREF(Py_None
); resultobj
= Py_None
;
2211 static PyObject
*_wrap_ShapeRegion_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2212 PyObject
*resultobj
;
2213 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
2216 PyObject
* obj0
= 0 ;
2217 PyObject
* obj1
= 0 ;
2218 PyObject
* obj2
= 0 ;
2220 (char *) "self",(char *) "x",(char *) "y", NULL
2223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ShapeRegion_SetPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2224 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxShapeRegion
, SWIG_POINTER_EXCEPTION
| 0);
2225 if (SWIG_arg_fail(1)) SWIG_fail
;
2227 arg2
= (double)(SWIG_As_double(obj1
));
2228 if (SWIG_arg_fail(2)) SWIG_fail
;
2231 arg3
= (double)(SWIG_As_double(obj2
));
2232 if (SWIG_arg_fail(3)) SWIG_fail
;
2235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2236 (arg1
)->SetPosition(arg2
,arg3
);
2238 wxPyEndAllowThreads(__tstate
);
2239 if (PyErr_Occurred()) SWIG_fail
;
2241 Py_INCREF(Py_None
); resultobj
= Py_None
;
2248 static PyObject
*_wrap_ShapeRegion_SetProportions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2249 PyObject
*resultobj
;
2250 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
2253 PyObject
* obj0
= 0 ;
2254 PyObject
* obj1
= 0 ;
2255 PyObject
* obj2
= 0 ;
2257 (char *) "self",(char *) "x",(char *) "y", NULL
2260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ShapeRegion_SetProportions",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2261 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxShapeRegion
, SWIG_POINTER_EXCEPTION
| 0);
2262 if (SWIG_arg_fail(1)) SWIG_fail
;
2264 arg2
= (double)(SWIG_As_double(obj1
));
2265 if (SWIG_arg_fail(2)) SWIG_fail
;
2268 arg3
= (double)(SWIG_As_double(obj2
));
2269 if (SWIG_arg_fail(3)) SWIG_fail
;
2272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2273 (arg1
)->SetProportions(arg2
,arg3
);
2275 wxPyEndAllowThreads(__tstate
);
2276 if (PyErr_Occurred()) SWIG_fail
;
2278 Py_INCREF(Py_None
); resultobj
= Py_None
;
2285 static PyObject
*_wrap_ShapeRegion_SetFormatMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2286 PyObject
*resultobj
;
2287 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
2289 PyObject
* obj0
= 0 ;
2290 PyObject
* obj1
= 0 ;
2292 (char *) "self",(char *) "mode", NULL
2295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShapeRegion_SetFormatMode",kwnames
,&obj0
,&obj1
)) goto fail
;
2296 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxShapeRegion
, SWIG_POINTER_EXCEPTION
| 0);
2297 if (SWIG_arg_fail(1)) SWIG_fail
;
2299 arg2
= (int)(SWIG_As_int(obj1
));
2300 if (SWIG_arg_fail(2)) SWIG_fail
;
2303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2304 (arg1
)->SetFormatMode(arg2
);
2306 wxPyEndAllowThreads(__tstate
);
2307 if (PyErr_Occurred()) SWIG_fail
;
2309 Py_INCREF(Py_None
); resultobj
= Py_None
;
2316 static PyObject
*_wrap_ShapeRegion_SetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2317 PyObject
*resultobj
;
2318 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
2319 wxString
*arg2
= 0 ;
2320 bool temp2
= false ;
2321 PyObject
* obj0
= 0 ;
2322 PyObject
* obj1
= 0 ;
2324 (char *) "self",(char *) "s", NULL
2327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShapeRegion_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
2328 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxShapeRegion
, SWIG_POINTER_EXCEPTION
| 0);
2329 if (SWIG_arg_fail(1)) SWIG_fail
;
2331 arg2
= wxString_in_helper(obj1
);
2332 if (arg2
== NULL
) SWIG_fail
;
2336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2337 (arg1
)->SetName((wxString
const &)*arg2
);
2339 wxPyEndAllowThreads(__tstate
);
2340 if (PyErr_Occurred()) SWIG_fail
;
2342 Py_INCREF(Py_None
); resultobj
= Py_None
;
2357 static PyObject
*_wrap_ShapeRegion_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2358 PyObject
*resultobj
;
2359 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
2360 wxString
*arg2
= 0 ;
2361 bool temp2
= false ;
2362 PyObject
* obj0
= 0 ;
2363 PyObject
* obj1
= 0 ;
2365 (char *) "self",(char *) "col", NULL
2368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShapeRegion_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
2369 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxShapeRegion
, SWIG_POINTER_EXCEPTION
| 0);
2370 if (SWIG_arg_fail(1)) SWIG_fail
;
2372 arg2
= wxString_in_helper(obj1
);
2373 if (arg2
== NULL
) SWIG_fail
;
2377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2378 (arg1
)->SetColour((wxString
const &)*arg2
);
2380 wxPyEndAllowThreads(__tstate
);
2381 if (PyErr_Occurred()) SWIG_fail
;
2383 Py_INCREF(Py_None
); resultobj
= Py_None
;
2398 static PyObject
*_wrap_ShapeRegion_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2399 PyObject
*resultobj
;
2400 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
2402 PyObject
* obj0
= 0 ;
2404 (char *) "self", NULL
2407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetText",kwnames
,&obj0
)) goto fail
;
2408 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxShapeRegion
, SWIG_POINTER_EXCEPTION
| 0);
2409 if (SWIG_arg_fail(1)) SWIG_fail
;
2411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2412 result
= (arg1
)->GetText();
2414 wxPyEndAllowThreads(__tstate
);
2415 if (PyErr_Occurred()) SWIG_fail
;
2419 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2421 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2430 static PyObject
*_wrap_ShapeRegion_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2431 PyObject
*resultobj
;
2432 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
2434 PyObject
* obj0
= 0 ;
2436 (char *) "self", NULL
2439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetFont",kwnames
,&obj0
)) goto fail
;
2440 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxShapeRegion
, SWIG_POINTER_EXCEPTION
| 0);
2441 if (SWIG_arg_fail(1)) SWIG_fail
;
2443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2444 result
= (wxFont
*)(arg1
)->GetFont();
2446 wxPyEndAllowThreads(__tstate
);
2447 if (PyErr_Occurred()) SWIG_fail
;
2449 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
2456 static PyObject
*_wrap_ShapeRegion_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2457 PyObject
*resultobj
;
2458 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
2459 double *arg2
= (double *) 0 ;
2460 double *arg3
= (double *) 0 ;
2465 PyObject
* obj0
= 0 ;
2467 (char *) "self", NULL
2470 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
2471 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
2472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetMinSize",kwnames
,&obj0
)) goto fail
;
2473 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxShapeRegion
, SWIG_POINTER_EXCEPTION
| 0);
2474 if (SWIG_arg_fail(1)) SWIG_fail
;
2476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2477 (arg1
)->GetMinSize(arg2
,arg3
);
2479 wxPyEndAllowThreads(__tstate
);
2480 if (PyErr_Occurred()) SWIG_fail
;
2482 Py_INCREF(Py_None
); resultobj
= Py_None
;
2483 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
2484 SWIG_From_double((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, 0)));
2485 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
2486 SWIG_From_double((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, 0)));
2493 static PyObject
*_wrap_ShapeRegion_GetProportion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2494 PyObject
*resultobj
;
2495 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
2496 double *arg2
= (double *) 0 ;
2497 double *arg3
= (double *) 0 ;
2502 PyObject
* obj0
= 0 ;
2504 (char *) "self", NULL
2507 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
2508 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
2509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetProportion",kwnames
,&obj0
)) goto fail
;
2510 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxShapeRegion
, SWIG_POINTER_EXCEPTION
| 0);
2511 if (SWIG_arg_fail(1)) SWIG_fail
;
2513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2514 (arg1
)->GetProportion(arg2
,arg3
);
2516 wxPyEndAllowThreads(__tstate
);
2517 if (PyErr_Occurred()) SWIG_fail
;
2519 Py_INCREF(Py_None
); resultobj
= Py_None
;
2520 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
2521 SWIG_From_double((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, 0)));
2522 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
2523 SWIG_From_double((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, 0)));
2530 static PyObject
*_wrap_ShapeRegion_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2531 PyObject
*resultobj
;
2532 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
2533 double *arg2
= (double *) 0 ;
2534 double *arg3
= (double *) 0 ;
2539 PyObject
* obj0
= 0 ;
2541 (char *) "self", NULL
2544 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
2545 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
2546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetSize",kwnames
,&obj0
)) goto fail
;
2547 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxShapeRegion
, SWIG_POINTER_EXCEPTION
| 0);
2548 if (SWIG_arg_fail(1)) SWIG_fail
;
2550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2551 (arg1
)->GetSize(arg2
,arg3
);
2553 wxPyEndAllowThreads(__tstate
);
2554 if (PyErr_Occurred()) SWIG_fail
;
2556 Py_INCREF(Py_None
); resultobj
= Py_None
;
2557 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
2558 SWIG_From_double((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, 0)));
2559 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
2560 SWIG_From_double((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, 0)));
2567 static PyObject
*_wrap_ShapeRegion_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2568 PyObject
*resultobj
;
2569 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
2570 double *arg2
= (double *) 0 ;
2571 double *arg3
= (double *) 0 ;
2576 PyObject
* obj0
= 0 ;
2578 (char *) "self", NULL
2581 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
2582 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
2583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetPosition",kwnames
,&obj0
)) goto fail
;
2584 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxShapeRegion
, SWIG_POINTER_EXCEPTION
| 0);
2585 if (SWIG_arg_fail(1)) SWIG_fail
;
2587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2588 (arg1
)->GetPosition(arg2
,arg3
);
2590 wxPyEndAllowThreads(__tstate
);
2591 if (PyErr_Occurred()) SWIG_fail
;
2593 Py_INCREF(Py_None
); resultobj
= Py_None
;
2594 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
2595 SWIG_From_double((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, 0)));
2596 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
2597 SWIG_From_double((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, 0)));
2604 static PyObject
*_wrap_ShapeRegion_GetFormatMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2605 PyObject
*resultobj
;
2606 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
2608 PyObject
* obj0
= 0 ;
2610 (char *) "self", NULL
2613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetFormatMode",kwnames
,&obj0
)) goto fail
;
2614 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxShapeRegion
, SWIG_POINTER_EXCEPTION
| 0);
2615 if (SWIG_arg_fail(1)) SWIG_fail
;
2617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2618 result
= (int)(arg1
)->GetFormatMode();
2620 wxPyEndAllowThreads(__tstate
);
2621 if (PyErr_Occurred()) SWIG_fail
;
2624 resultobj
= SWIG_From_int((int)(result
));
2632 static PyObject
*_wrap_ShapeRegion_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2633 PyObject
*resultobj
;
2634 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
2636 PyObject
* obj0
= 0 ;
2638 (char *) "self", NULL
2641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetName",kwnames
,&obj0
)) goto fail
;
2642 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxShapeRegion
, SWIG_POINTER_EXCEPTION
| 0);
2643 if (SWIG_arg_fail(1)) SWIG_fail
;
2645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2646 result
= (arg1
)->GetName();
2648 wxPyEndAllowThreads(__tstate
);
2649 if (PyErr_Occurred()) SWIG_fail
;
2653 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2655 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2664 static PyObject
*_wrap_ShapeRegion_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2665 PyObject
*resultobj
;
2666 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
2668 PyObject
* obj0
= 0 ;
2670 (char *) "self", NULL
2673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetColour",kwnames
,&obj0
)) goto fail
;
2674 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxShapeRegion
, SWIG_POINTER_EXCEPTION
| 0);
2675 if (SWIG_arg_fail(1)) SWIG_fail
;
2677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2678 result
= (arg1
)->GetColour();
2680 wxPyEndAllowThreads(__tstate
);
2681 if (PyErr_Occurred()) SWIG_fail
;
2685 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2687 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2696 static PyObject
*_wrap_ShapeRegion_GetActualColourObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2697 PyObject
*resultobj
;
2698 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
2700 PyObject
* obj0
= 0 ;
2702 (char *) "self", NULL
2705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetActualColourObject",kwnames
,&obj0
)) goto fail
;
2706 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxShapeRegion
, SWIG_POINTER_EXCEPTION
| 0);
2707 if (SWIG_arg_fail(1)) SWIG_fail
;
2709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2710 result
= (arg1
)->GetActualColourObject();
2712 wxPyEndAllowThreads(__tstate
);
2713 if (PyErr_Occurred()) SWIG_fail
;
2716 wxColour
* resultptr
;
2717 resultptr
= new wxColour((wxColour
&)(result
));
2718 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
2726 static PyObject
*_wrap_ShapeRegion_GetFormattedText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2727 PyObject
*resultobj
;
2728 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
2730 PyObject
* obj0
= 0 ;
2732 (char *) "self", NULL
2735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetFormattedText",kwnames
,&obj0
)) goto fail
;
2736 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxShapeRegion
, SWIG_POINTER_EXCEPTION
| 0);
2737 if (SWIG_arg_fail(1)) SWIG_fail
;
2739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2741 wxList
&_result_ref
= (arg1
)->GetFormattedText();
2742 result
= (wxList
*) &_result_ref
;
2745 wxPyEndAllowThreads(__tstate
);
2746 if (PyErr_Occurred()) SWIG_fail
;
2748 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxList
, 0);
2755 static PyObject
*_wrap_ShapeRegion_GetPenColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2756 PyObject
*resultobj
;
2757 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
2759 PyObject
* obj0
= 0 ;
2761 (char *) "self", NULL
2764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetPenColour",kwnames
,&obj0
)) goto fail
;
2765 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxShapeRegion
, SWIG_POINTER_EXCEPTION
| 0);
2766 if (SWIG_arg_fail(1)) SWIG_fail
;
2768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2769 result
= (arg1
)->GetPenColour();
2771 wxPyEndAllowThreads(__tstate
);
2772 if (PyErr_Occurred()) SWIG_fail
;
2776 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2778 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2787 static PyObject
*_wrap_ShapeRegion_GetPenStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2788 PyObject
*resultobj
;
2789 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
2791 PyObject
* obj0
= 0 ;
2793 (char *) "self", NULL
2796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetPenStyle",kwnames
,&obj0
)) goto fail
;
2797 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxShapeRegion
, SWIG_POINTER_EXCEPTION
| 0);
2798 if (SWIG_arg_fail(1)) SWIG_fail
;
2800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2801 result
= (int)(arg1
)->GetPenStyle();
2803 wxPyEndAllowThreads(__tstate
);
2804 if (PyErr_Occurred()) SWIG_fail
;
2807 resultobj
= SWIG_From_int((int)(result
));
2815 static PyObject
*_wrap_ShapeRegion_SetPenStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2816 PyObject
*resultobj
;
2817 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
2819 PyObject
* obj0
= 0 ;
2820 PyObject
* obj1
= 0 ;
2822 (char *) "self",(char *) "style", NULL
2825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShapeRegion_SetPenStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
2826 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxShapeRegion
, SWIG_POINTER_EXCEPTION
| 0);
2827 if (SWIG_arg_fail(1)) SWIG_fail
;
2829 arg2
= (int)(SWIG_As_int(obj1
));
2830 if (SWIG_arg_fail(2)) SWIG_fail
;
2833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2834 (arg1
)->SetPenStyle(arg2
);
2836 wxPyEndAllowThreads(__tstate
);
2837 if (PyErr_Occurred()) SWIG_fail
;
2839 Py_INCREF(Py_None
); resultobj
= Py_None
;
2846 static PyObject
*_wrap_ShapeRegion_SetPenColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2847 PyObject
*resultobj
;
2848 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
2849 wxString
*arg2
= 0 ;
2850 bool temp2
= false ;
2851 PyObject
* obj0
= 0 ;
2852 PyObject
* obj1
= 0 ;
2854 (char *) "self",(char *) "col", NULL
2857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShapeRegion_SetPenColour",kwnames
,&obj0
,&obj1
)) goto fail
;
2858 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxShapeRegion
, SWIG_POINTER_EXCEPTION
| 0);
2859 if (SWIG_arg_fail(1)) SWIG_fail
;
2861 arg2
= wxString_in_helper(obj1
);
2862 if (arg2
== NULL
) SWIG_fail
;
2866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2867 (arg1
)->SetPenColour((wxString
const &)*arg2
);
2869 wxPyEndAllowThreads(__tstate
);
2870 if (PyErr_Occurred()) SWIG_fail
;
2872 Py_INCREF(Py_None
); resultobj
= Py_None
;
2887 static PyObject
*_wrap_ShapeRegion_GetActualPen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2888 PyObject
*resultobj
;
2889 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
2891 PyObject
* obj0
= 0 ;
2893 (char *) "self", NULL
2896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetActualPen",kwnames
,&obj0
)) goto fail
;
2897 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxShapeRegion
, SWIG_POINTER_EXCEPTION
| 0);
2898 if (SWIG_arg_fail(1)) SWIG_fail
;
2900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2901 result
= (wxPen
*)(arg1
)->GetActualPen();
2903 wxPyEndAllowThreads(__tstate
);
2904 if (PyErr_Occurred()) SWIG_fail
;
2906 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 0);
2913 static PyObject
*_wrap_ShapeRegion_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2914 PyObject
*resultobj
;
2915 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
2917 PyObject
* obj0
= 0 ;
2919 (char *) "self", NULL
2922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetWidth",kwnames
,&obj0
)) goto fail
;
2923 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxShapeRegion
, SWIG_POINTER_EXCEPTION
| 0);
2924 if (SWIG_arg_fail(1)) SWIG_fail
;
2926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2927 result
= (double)(arg1
)->GetWidth();
2929 wxPyEndAllowThreads(__tstate
);
2930 if (PyErr_Occurred()) SWIG_fail
;
2933 resultobj
= SWIG_From_double((double)(result
));
2941 static PyObject
*_wrap_ShapeRegion_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2942 PyObject
*resultobj
;
2943 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
2945 PyObject
* obj0
= 0 ;
2947 (char *) "self", NULL
2950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_GetHeight",kwnames
,&obj0
)) goto fail
;
2951 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxShapeRegion
, SWIG_POINTER_EXCEPTION
| 0);
2952 if (SWIG_arg_fail(1)) SWIG_fail
;
2954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2955 result
= (double)(arg1
)->GetHeight();
2957 wxPyEndAllowThreads(__tstate
);
2958 if (PyErr_Occurred()) SWIG_fail
;
2961 resultobj
= SWIG_From_double((double)(result
));
2969 static PyObject
*_wrap_ShapeRegion_ClearText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2970 PyObject
*resultobj
;
2971 wxShapeRegion
*arg1
= (wxShapeRegion
*) 0 ;
2972 PyObject
* obj0
= 0 ;
2974 (char *) "self", NULL
2977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShapeRegion_ClearText",kwnames
,&obj0
)) goto fail
;
2978 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxShapeRegion
, SWIG_POINTER_EXCEPTION
| 0);
2979 if (SWIG_arg_fail(1)) SWIG_fail
;
2981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2982 (arg1
)->ClearText();
2984 wxPyEndAllowThreads(__tstate
);
2985 if (PyErr_Occurred()) SWIG_fail
;
2987 Py_INCREF(Py_None
); resultobj
= Py_None
;
2994 static PyObject
* ShapeRegion_swigregister(PyObject
*, PyObject
*args
) {
2996 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2997 SWIG_TypeClientData(SWIGTYPE_p_wxShapeRegion
, obj
);
2999 return Py_BuildValue((char *)"");
3001 static PyObject
*_wrap_new_AttachmentPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3002 PyObject
*resultobj
;
3003 int arg1
= (int) 0 ;
3004 double arg2
= (double) 0.0 ;
3005 double arg3
= (double) 0.0 ;
3006 wxAttachmentPoint
*result
;
3007 PyObject
* obj0
= 0 ;
3008 PyObject
* obj1
= 0 ;
3009 PyObject
* obj2
= 0 ;
3011 (char *) "id",(char *) "x",(char *) "y", NULL
3014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_AttachmentPoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3017 arg1
= (int)(SWIG_As_int(obj0
));
3018 if (SWIG_arg_fail(1)) SWIG_fail
;
3023 arg2
= (double)(SWIG_As_double(obj1
));
3024 if (SWIG_arg_fail(2)) SWIG_fail
;
3029 arg3
= (double)(SWIG_As_double(obj2
));
3030 if (SWIG_arg_fail(3)) SWIG_fail
;
3034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3035 result
= (wxAttachmentPoint
*)new wxAttachmentPoint(arg1
,arg2
,arg3
);
3037 wxPyEndAllowThreads(__tstate
);
3038 if (PyErr_Occurred()) SWIG_fail
;
3040 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAttachmentPoint
, 1);
3047 static PyObject
*_wrap_AttachmentPoint_m_id_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3048 PyObject
*resultobj
;
3049 wxAttachmentPoint
*arg1
= (wxAttachmentPoint
*) 0 ;
3051 PyObject
* obj0
= 0 ;
3052 PyObject
* obj1
= 0 ;
3054 (char *) "self",(char *) "m_id", NULL
3057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AttachmentPoint_m_id_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3058 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAttachmentPoint
, SWIG_POINTER_EXCEPTION
| 0);
3059 if (SWIG_arg_fail(1)) SWIG_fail
;
3061 arg2
= (int)(SWIG_As_int(obj1
));
3062 if (SWIG_arg_fail(2)) SWIG_fail
;
3064 if (arg1
) (arg1
)->m_id
= arg2
;
3066 Py_INCREF(Py_None
); resultobj
= Py_None
;
3073 static PyObject
*_wrap_AttachmentPoint_m_id_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3074 PyObject
*resultobj
;
3075 wxAttachmentPoint
*arg1
= (wxAttachmentPoint
*) 0 ;
3077 PyObject
* obj0
= 0 ;
3079 (char *) "self", NULL
3082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AttachmentPoint_m_id_get",kwnames
,&obj0
)) goto fail
;
3083 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAttachmentPoint
, SWIG_POINTER_EXCEPTION
| 0);
3084 if (SWIG_arg_fail(1)) SWIG_fail
;
3085 result
= (int) ((arg1
)->m_id
);
3088 resultobj
= SWIG_From_int((int)(result
));
3096 static PyObject
*_wrap_AttachmentPoint_m_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3097 PyObject
*resultobj
;
3098 wxAttachmentPoint
*arg1
= (wxAttachmentPoint
*) 0 ;
3100 PyObject
* obj0
= 0 ;
3101 PyObject
* obj1
= 0 ;
3103 (char *) "self",(char *) "m_x", NULL
3106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AttachmentPoint_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3107 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAttachmentPoint
, SWIG_POINTER_EXCEPTION
| 0);
3108 if (SWIG_arg_fail(1)) SWIG_fail
;
3110 arg2
= (double)(SWIG_As_double(obj1
));
3111 if (SWIG_arg_fail(2)) SWIG_fail
;
3113 if (arg1
) (arg1
)->m_x
= arg2
;
3115 Py_INCREF(Py_None
); resultobj
= Py_None
;
3122 static PyObject
*_wrap_AttachmentPoint_m_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3123 PyObject
*resultobj
;
3124 wxAttachmentPoint
*arg1
= (wxAttachmentPoint
*) 0 ;
3126 PyObject
* obj0
= 0 ;
3128 (char *) "self", NULL
3131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AttachmentPoint_m_x_get",kwnames
,&obj0
)) goto fail
;
3132 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAttachmentPoint
, SWIG_POINTER_EXCEPTION
| 0);
3133 if (SWIG_arg_fail(1)) SWIG_fail
;
3134 result
= (double) ((arg1
)->m_x
);
3137 resultobj
= SWIG_From_double((double)(result
));
3145 static PyObject
*_wrap_AttachmentPoint_m_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3146 PyObject
*resultobj
;
3147 wxAttachmentPoint
*arg1
= (wxAttachmentPoint
*) 0 ;
3149 PyObject
* obj0
= 0 ;
3150 PyObject
* obj1
= 0 ;
3152 (char *) "self",(char *) "m_y", NULL
3155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AttachmentPoint_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3156 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAttachmentPoint
, SWIG_POINTER_EXCEPTION
| 0);
3157 if (SWIG_arg_fail(1)) SWIG_fail
;
3159 arg2
= (double)(SWIG_As_double(obj1
));
3160 if (SWIG_arg_fail(2)) SWIG_fail
;
3162 if (arg1
) (arg1
)->m_y
= arg2
;
3164 Py_INCREF(Py_None
); resultobj
= Py_None
;
3171 static PyObject
*_wrap_AttachmentPoint_m_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3172 PyObject
*resultobj
;
3173 wxAttachmentPoint
*arg1
= (wxAttachmentPoint
*) 0 ;
3175 PyObject
* obj0
= 0 ;
3177 (char *) "self", NULL
3180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AttachmentPoint_m_y_get",kwnames
,&obj0
)) goto fail
;
3181 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAttachmentPoint
, SWIG_POINTER_EXCEPTION
| 0);
3182 if (SWIG_arg_fail(1)) SWIG_fail
;
3183 result
= (double) ((arg1
)->m_y
);
3186 resultobj
= SWIG_From_double((double)(result
));
3194 static PyObject
* AttachmentPoint_swigregister(PyObject
*, PyObject
*args
) {
3196 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3197 SWIG_TypeClientData(SWIGTYPE_p_wxAttachmentPoint
, obj
);
3199 return Py_BuildValue((char *)"");
3201 static PyObject
*_wrap_new_PyShapeEvtHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3202 PyObject
*resultobj
;
3203 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) NULL
;
3204 wxPyShape
*arg2
= (wxPyShape
*) NULL
;
3205 wxPyShapeEvtHandler
*result
;
3206 PyObject
* obj0
= 0 ;
3207 PyObject
* obj1
= 0 ;
3209 (char *) "prev",(char *) "shape", NULL
3212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyShapeEvtHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
3214 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
3215 if (SWIG_arg_fail(1)) SWIG_fail
;
3218 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
3219 if (SWIG_arg_fail(2)) SWIG_fail
;
3222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3223 result
= (wxPyShapeEvtHandler
*)new wxPyShapeEvtHandler(arg1
,arg2
);
3225 wxPyEndAllowThreads(__tstate
);
3226 if (PyErr_Occurred()) SWIG_fail
;
3228 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyShapeEvtHandler
, 1);
3235 static PyObject
*_wrap_PyShapeEvtHandler__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3236 PyObject
*resultobj
;
3237 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
3238 PyObject
*arg2
= (PyObject
*) 0 ;
3239 PyObject
*arg3
= (PyObject
*) 0 ;
3240 PyObject
* obj0
= 0 ;
3241 PyObject
* obj1
= 0 ;
3242 PyObject
* obj2
= 0 ;
3244 (char *) "self",(char *) "self",(char *) "_class", NULL
3247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShapeEvtHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3248 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
3249 if (SWIG_arg_fail(1)) SWIG_fail
;
3253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3254 (arg1
)->_setCallbackInfo(arg2
,arg3
);
3256 wxPyEndAllowThreads(__tstate
);
3257 if (PyErr_Occurred()) SWIG_fail
;
3259 Py_INCREF(Py_None
); resultobj
= Py_None
;
3266 static PyObject
*_wrap_PyShapeEvtHandler__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3267 PyObject
*resultobj
;
3268 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
3269 PyObject
*arg2
= (PyObject
*) 0 ;
3270 PyObject
* obj0
= 0 ;
3271 PyObject
* obj1
= 0 ;
3273 (char *) "self",(char *) "_self", NULL
3276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
3277 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
3278 if (SWIG_arg_fail(1)) SWIG_fail
;
3281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3282 wxPyShapeEvtHandler__setOORInfo(arg1
,arg2
);
3284 wxPyEndAllowThreads(__tstate
);
3285 if (PyErr_Occurred()) SWIG_fail
;
3287 Py_INCREF(Py_None
); resultobj
= Py_None
;
3294 static PyObject
*_wrap_PyShapeEvtHandler_SetShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3295 PyObject
*resultobj
;
3296 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
3297 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
3298 PyObject
* obj0
= 0 ;
3299 PyObject
* obj1
= 0 ;
3301 (char *) "self",(char *) "sh", NULL
3304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler_SetShape",kwnames
,&obj0
,&obj1
)) goto fail
;
3305 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
3306 if (SWIG_arg_fail(1)) SWIG_fail
;
3307 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
3308 if (SWIG_arg_fail(2)) SWIG_fail
;
3310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3311 (arg1
)->SetShape(arg2
);
3313 wxPyEndAllowThreads(__tstate
);
3314 if (PyErr_Occurred()) SWIG_fail
;
3316 Py_INCREF(Py_None
); resultobj
= Py_None
;
3323 static PyObject
*_wrap_PyShapeEvtHandler_GetShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3324 PyObject
*resultobj
;
3325 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
3327 PyObject
* obj0
= 0 ;
3329 (char *) "self", NULL
3332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShapeEvtHandler_GetShape",kwnames
,&obj0
)) goto fail
;
3333 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
3334 if (SWIG_arg_fail(1)) SWIG_fail
;
3336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3337 result
= (wxPyShape
*)(arg1
)->GetShape();
3339 wxPyEndAllowThreads(__tstate
);
3340 if (PyErr_Occurred()) SWIG_fail
;
3343 resultobj
= wxPyMake_wxShapeEvtHandler(result
, 0);
3351 static PyObject
*_wrap_PyShapeEvtHandler_SetPreviousHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3352 PyObject
*resultobj
;
3353 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
3354 wxPyShapeEvtHandler
*arg2
= (wxPyShapeEvtHandler
*) 0 ;
3355 PyObject
* obj0
= 0 ;
3356 PyObject
* obj1
= 0 ;
3358 (char *) "self",(char *) "handler", NULL
3361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler_SetPreviousHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
3362 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
3363 if (SWIG_arg_fail(1)) SWIG_fail
;
3364 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyShapeEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
3365 if (SWIG_arg_fail(2)) SWIG_fail
;
3367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3368 (arg1
)->SetPreviousHandler(arg2
);
3370 wxPyEndAllowThreads(__tstate
);
3371 if (PyErr_Occurred()) SWIG_fail
;
3373 Py_INCREF(Py_None
); resultobj
= Py_None
;
3380 static PyObject
*_wrap_PyShapeEvtHandler_GetPreviousHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3381 PyObject
*resultobj
;
3382 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
3383 wxPyShapeEvtHandler
*result
;
3384 PyObject
* obj0
= 0 ;
3386 (char *) "self", NULL
3389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShapeEvtHandler_GetPreviousHandler",kwnames
,&obj0
)) goto fail
;
3390 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
3391 if (SWIG_arg_fail(1)) SWIG_fail
;
3393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3394 result
= (wxPyShapeEvtHandler
*)(arg1
)->GetPreviousHandler();
3396 wxPyEndAllowThreads(__tstate
);
3397 if (PyErr_Occurred()) SWIG_fail
;
3400 resultobj
= wxPyMake_wxShapeEvtHandler(result
, 0);
3408 static PyObject
*_wrap_PyShapeEvtHandler_CreateNewCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3409 PyObject
*resultobj
;
3410 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
3411 wxPyShapeEvtHandler
*result
;
3412 PyObject
* obj0
= 0 ;
3414 (char *) "self", NULL
3417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShapeEvtHandler_CreateNewCopy",kwnames
,&obj0
)) goto fail
;
3418 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
3419 if (SWIG_arg_fail(1)) SWIG_fail
;
3421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3422 result
= (wxPyShapeEvtHandler
*)(arg1
)->CreateNewCopy();
3424 wxPyEndAllowThreads(__tstate
);
3425 if (PyErr_Occurred()) SWIG_fail
;
3428 resultobj
= wxPyMake_wxShapeEvtHandler(result
, 0);
3436 static PyObject
*_wrap_PyShapeEvtHandler_base_OnDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3437 PyObject
*resultobj
;
3438 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
3439 PyObject
* obj0
= 0 ;
3441 (char *) "self", NULL
3444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShapeEvtHandler_base_OnDelete",kwnames
,&obj0
)) goto fail
;
3445 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
3446 if (SWIG_arg_fail(1)) SWIG_fail
;
3448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3449 (arg1
)->base_OnDelete();
3451 wxPyEndAllowThreads(__tstate
);
3452 if (PyErr_Occurred()) SWIG_fail
;
3454 Py_INCREF(Py_None
); resultobj
= Py_None
;
3461 static PyObject
*_wrap_PyShapeEvtHandler_base_OnDraw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3462 PyObject
*resultobj
;
3463 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
3465 PyObject
* obj0
= 0 ;
3466 PyObject
* obj1
= 0 ;
3468 (char *) "self",(char *) "dc", NULL
3471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
3472 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
3473 if (SWIG_arg_fail(1)) SWIG_fail
;
3475 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
3476 if (SWIG_arg_fail(2)) SWIG_fail
;
3478 SWIG_null_ref("wxDC");
3480 if (SWIG_arg_fail(2)) SWIG_fail
;
3483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3484 (arg1
)->base_OnDraw(*arg2
);
3486 wxPyEndAllowThreads(__tstate
);
3487 if (PyErr_Occurred()) SWIG_fail
;
3489 Py_INCREF(Py_None
); resultobj
= Py_None
;
3496 static PyObject
*_wrap_PyShapeEvtHandler_base_OnDrawContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3497 PyObject
*resultobj
;
3498 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
3500 PyObject
* obj0
= 0 ;
3501 PyObject
* obj1
= 0 ;
3503 (char *) "self",(char *) "dc", NULL
3506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
3507 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
3508 if (SWIG_arg_fail(1)) SWIG_fail
;
3510 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
3511 if (SWIG_arg_fail(2)) SWIG_fail
;
3513 SWIG_null_ref("wxDC");
3515 if (SWIG_arg_fail(2)) SWIG_fail
;
3518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3519 (arg1
)->base_OnDrawContents(*arg2
);
3521 wxPyEndAllowThreads(__tstate
);
3522 if (PyErr_Occurred()) SWIG_fail
;
3524 Py_INCREF(Py_None
); resultobj
= Py_None
;
3531 static PyObject
*_wrap_PyShapeEvtHandler_base_OnDrawBranches(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3532 PyObject
*resultobj
;
3533 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
3535 bool arg3
= (bool) false ;
3536 PyObject
* obj0
= 0 ;
3537 PyObject
* obj1
= 0 ;
3538 PyObject
* obj2
= 0 ;
3540 (char *) "self",(char *) "dc",(char *) "erase", NULL
3543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShapeEvtHandler_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3544 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
3545 if (SWIG_arg_fail(1)) SWIG_fail
;
3547 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
3548 if (SWIG_arg_fail(2)) SWIG_fail
;
3550 SWIG_null_ref("wxDC");
3552 if (SWIG_arg_fail(2)) SWIG_fail
;
3556 arg3
= (bool)(SWIG_As_bool(obj2
));
3557 if (SWIG_arg_fail(3)) SWIG_fail
;
3561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3562 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
3564 wxPyEndAllowThreads(__tstate
);
3565 if (PyErr_Occurred()) SWIG_fail
;
3567 Py_INCREF(Py_None
); resultobj
= Py_None
;
3574 static PyObject
*_wrap_PyShapeEvtHandler_base_OnMoveLinks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3575 PyObject
*resultobj
;
3576 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
3578 PyObject
* obj0
= 0 ;
3579 PyObject
* obj1
= 0 ;
3581 (char *) "self",(char *) "dc", NULL
3584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
3585 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
3586 if (SWIG_arg_fail(1)) SWIG_fail
;
3588 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
3589 if (SWIG_arg_fail(2)) SWIG_fail
;
3591 SWIG_null_ref("wxDC");
3593 if (SWIG_arg_fail(2)) SWIG_fail
;
3596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3597 (arg1
)->base_OnMoveLinks(*arg2
);
3599 wxPyEndAllowThreads(__tstate
);
3600 if (PyErr_Occurred()) SWIG_fail
;
3602 Py_INCREF(Py_None
); resultobj
= Py_None
;
3609 static PyObject
*_wrap_PyShapeEvtHandler_base_OnErase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3610 PyObject
*resultobj
;
3611 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
3613 PyObject
* obj0
= 0 ;
3614 PyObject
* obj1
= 0 ;
3616 (char *) "self",(char *) "dc", NULL
3619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
3620 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
3621 if (SWIG_arg_fail(1)) SWIG_fail
;
3623 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
3624 if (SWIG_arg_fail(2)) SWIG_fail
;
3626 SWIG_null_ref("wxDC");
3628 if (SWIG_arg_fail(2)) SWIG_fail
;
3631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3632 (arg1
)->base_OnErase(*arg2
);
3634 wxPyEndAllowThreads(__tstate
);
3635 if (PyErr_Occurred()) SWIG_fail
;
3637 Py_INCREF(Py_None
); resultobj
= Py_None
;
3644 static PyObject
*_wrap_PyShapeEvtHandler_base_OnEraseContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3645 PyObject
*resultobj
;
3646 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
3648 PyObject
* obj0
= 0 ;
3649 PyObject
* obj1
= 0 ;
3651 (char *) "self",(char *) "dc", NULL
3654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
3655 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
3656 if (SWIG_arg_fail(1)) SWIG_fail
;
3658 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
3659 if (SWIG_arg_fail(2)) SWIG_fail
;
3661 SWIG_null_ref("wxDC");
3663 if (SWIG_arg_fail(2)) SWIG_fail
;
3666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3667 (arg1
)->base_OnEraseContents(*arg2
);
3669 wxPyEndAllowThreads(__tstate
);
3670 if (PyErr_Occurred()) SWIG_fail
;
3672 Py_INCREF(Py_None
); resultobj
= Py_None
;
3679 static PyObject
*_wrap_PyShapeEvtHandler_base_OnHighlight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3680 PyObject
*resultobj
;
3681 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
3683 PyObject
* obj0
= 0 ;
3684 PyObject
* obj1
= 0 ;
3686 (char *) "self",(char *) "dc", NULL
3689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
3690 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
3691 if (SWIG_arg_fail(1)) SWIG_fail
;
3693 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
3694 if (SWIG_arg_fail(2)) SWIG_fail
;
3696 SWIG_null_ref("wxDC");
3698 if (SWIG_arg_fail(2)) SWIG_fail
;
3701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3702 (arg1
)->base_OnHighlight(*arg2
);
3704 wxPyEndAllowThreads(__tstate
);
3705 if (PyErr_Occurred()) SWIG_fail
;
3707 Py_INCREF(Py_None
); resultobj
= Py_None
;
3714 static PyObject
*_wrap_PyShapeEvtHandler_base_OnLeftClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3715 PyObject
*resultobj
;
3716 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
3719 int arg4
= (int) 0 ;
3720 int arg5
= (int) 0 ;
3721 PyObject
* obj0
= 0 ;
3722 PyObject
* obj1
= 0 ;
3723 PyObject
* obj2
= 0 ;
3724 PyObject
* obj3
= 0 ;
3725 PyObject
* obj4
= 0 ;
3727 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
3730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShapeEvtHandler_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
3731 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
3732 if (SWIG_arg_fail(1)) SWIG_fail
;
3734 arg2
= (double)(SWIG_As_double(obj1
));
3735 if (SWIG_arg_fail(2)) SWIG_fail
;
3738 arg3
= (double)(SWIG_As_double(obj2
));
3739 if (SWIG_arg_fail(3)) SWIG_fail
;
3743 arg4
= (int)(SWIG_As_int(obj3
));
3744 if (SWIG_arg_fail(4)) SWIG_fail
;
3749 arg5
= (int)(SWIG_As_int(obj4
));
3750 if (SWIG_arg_fail(5)) SWIG_fail
;
3754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3755 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
3757 wxPyEndAllowThreads(__tstate
);
3758 if (PyErr_Occurred()) SWIG_fail
;
3760 Py_INCREF(Py_None
); resultobj
= Py_None
;
3767 static PyObject
*_wrap_PyShapeEvtHandler_base_OnLeftDoubleClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3768 PyObject
*resultobj
;
3769 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
3772 int arg4
= (int) 0 ;
3773 int arg5
= (int) 0 ;
3774 PyObject
* obj0
= 0 ;
3775 PyObject
* obj1
= 0 ;
3776 PyObject
* obj2
= 0 ;
3777 PyObject
* obj3
= 0 ;
3778 PyObject
* obj4
= 0 ;
3780 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
3783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShapeEvtHandler_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
3784 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
3785 if (SWIG_arg_fail(1)) SWIG_fail
;
3787 arg2
= (double)(SWIG_As_double(obj1
));
3788 if (SWIG_arg_fail(2)) SWIG_fail
;
3791 arg3
= (double)(SWIG_As_double(obj2
));
3792 if (SWIG_arg_fail(3)) SWIG_fail
;
3796 arg4
= (int)(SWIG_As_int(obj3
));
3797 if (SWIG_arg_fail(4)) SWIG_fail
;
3802 arg5
= (int)(SWIG_As_int(obj4
));
3803 if (SWIG_arg_fail(5)) SWIG_fail
;
3807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3808 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
3810 wxPyEndAllowThreads(__tstate
);
3811 if (PyErr_Occurred()) SWIG_fail
;
3813 Py_INCREF(Py_None
); resultobj
= Py_None
;
3820 static PyObject
*_wrap_PyShapeEvtHandler_base_OnRightClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3821 PyObject
*resultobj
;
3822 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
3825 int arg4
= (int) 0 ;
3826 int arg5
= (int) 0 ;
3827 PyObject
* obj0
= 0 ;
3828 PyObject
* obj1
= 0 ;
3829 PyObject
* obj2
= 0 ;
3830 PyObject
* obj3
= 0 ;
3831 PyObject
* obj4
= 0 ;
3833 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
3836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShapeEvtHandler_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
3837 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
3838 if (SWIG_arg_fail(1)) SWIG_fail
;
3840 arg2
= (double)(SWIG_As_double(obj1
));
3841 if (SWIG_arg_fail(2)) SWIG_fail
;
3844 arg3
= (double)(SWIG_As_double(obj2
));
3845 if (SWIG_arg_fail(3)) SWIG_fail
;
3849 arg4
= (int)(SWIG_As_int(obj3
));
3850 if (SWIG_arg_fail(4)) SWIG_fail
;
3855 arg5
= (int)(SWIG_As_int(obj4
));
3856 if (SWIG_arg_fail(5)) SWIG_fail
;
3860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3861 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
3863 wxPyEndAllowThreads(__tstate
);
3864 if (PyErr_Occurred()) SWIG_fail
;
3866 Py_INCREF(Py_None
); resultobj
= Py_None
;
3873 static PyObject
*_wrap_PyShapeEvtHandler_base_OnSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3874 PyObject
*resultobj
;
3875 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
3878 PyObject
* obj0
= 0 ;
3879 PyObject
* obj1
= 0 ;
3880 PyObject
* obj2
= 0 ;
3882 (char *) "self",(char *) "x",(char *) "y", NULL
3885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShapeEvtHandler_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3886 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
3887 if (SWIG_arg_fail(1)) SWIG_fail
;
3889 arg2
= (double)(SWIG_As_double(obj1
));
3890 if (SWIG_arg_fail(2)) SWIG_fail
;
3893 arg3
= (double)(SWIG_As_double(obj2
));
3894 if (SWIG_arg_fail(3)) SWIG_fail
;
3897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3898 (arg1
)->base_OnSize(arg2
,arg3
);
3900 wxPyEndAllowThreads(__tstate
);
3901 if (PyErr_Occurred()) SWIG_fail
;
3903 Py_INCREF(Py_None
); resultobj
= Py_None
;
3910 static PyObject
*_wrap_PyShapeEvtHandler_base_OnMovePre(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3911 PyObject
*resultobj
;
3912 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
3918 bool arg7
= (bool) true ;
3920 PyObject
* obj0
= 0 ;
3921 PyObject
* obj1
= 0 ;
3922 PyObject
* obj2
= 0 ;
3923 PyObject
* obj3
= 0 ;
3924 PyObject
* obj4
= 0 ;
3925 PyObject
* obj5
= 0 ;
3926 PyObject
* obj6
= 0 ;
3928 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
3931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyShapeEvtHandler_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3932 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
3933 if (SWIG_arg_fail(1)) SWIG_fail
;
3935 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
3936 if (SWIG_arg_fail(2)) SWIG_fail
;
3938 SWIG_null_ref("wxDC");
3940 if (SWIG_arg_fail(2)) SWIG_fail
;
3943 arg3
= (double)(SWIG_As_double(obj2
));
3944 if (SWIG_arg_fail(3)) SWIG_fail
;
3947 arg4
= (double)(SWIG_As_double(obj3
));
3948 if (SWIG_arg_fail(4)) SWIG_fail
;
3951 arg5
= (double)(SWIG_As_double(obj4
));
3952 if (SWIG_arg_fail(5)) SWIG_fail
;
3955 arg6
= (double)(SWIG_As_double(obj5
));
3956 if (SWIG_arg_fail(6)) SWIG_fail
;
3960 arg7
= (bool)(SWIG_As_bool(obj6
));
3961 if (SWIG_arg_fail(7)) SWIG_fail
;
3965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3966 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
3968 wxPyEndAllowThreads(__tstate
);
3969 if (PyErr_Occurred()) SWIG_fail
;
3972 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3980 static PyObject
*_wrap_PyShapeEvtHandler_base_OnMovePost(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3981 PyObject
*resultobj
;
3982 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
3988 bool arg7
= (bool) true ;
3989 PyObject
* obj0
= 0 ;
3990 PyObject
* obj1
= 0 ;
3991 PyObject
* obj2
= 0 ;
3992 PyObject
* obj3
= 0 ;
3993 PyObject
* obj4
= 0 ;
3994 PyObject
* obj5
= 0 ;
3995 PyObject
* obj6
= 0 ;
3997 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
4000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyShapeEvtHandler_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4001 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
4002 if (SWIG_arg_fail(1)) SWIG_fail
;
4004 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
4005 if (SWIG_arg_fail(2)) SWIG_fail
;
4007 SWIG_null_ref("wxDC");
4009 if (SWIG_arg_fail(2)) SWIG_fail
;
4012 arg3
= (double)(SWIG_As_double(obj2
));
4013 if (SWIG_arg_fail(3)) SWIG_fail
;
4016 arg4
= (double)(SWIG_As_double(obj3
));
4017 if (SWIG_arg_fail(4)) SWIG_fail
;
4020 arg5
= (double)(SWIG_As_double(obj4
));
4021 if (SWIG_arg_fail(5)) SWIG_fail
;
4024 arg6
= (double)(SWIG_As_double(obj5
));
4025 if (SWIG_arg_fail(6)) SWIG_fail
;
4029 arg7
= (bool)(SWIG_As_bool(obj6
));
4030 if (SWIG_arg_fail(7)) SWIG_fail
;
4034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4035 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
4037 wxPyEndAllowThreads(__tstate
);
4038 if (PyErr_Occurred()) SWIG_fail
;
4040 Py_INCREF(Py_None
); resultobj
= Py_None
;
4047 static PyObject
*_wrap_PyShapeEvtHandler_base_OnDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4048 PyObject
*resultobj
;
4049 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
4053 int arg5
= (int) 0 ;
4054 int arg6
= (int) 0 ;
4055 PyObject
* obj0
= 0 ;
4056 PyObject
* obj1
= 0 ;
4057 PyObject
* obj2
= 0 ;
4058 PyObject
* obj3
= 0 ;
4059 PyObject
* obj4
= 0 ;
4060 PyObject
* obj5
= 0 ;
4062 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
4065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyShapeEvtHandler_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
4066 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
4067 if (SWIG_arg_fail(1)) SWIG_fail
;
4069 arg2
= (bool)(SWIG_As_bool(obj1
));
4070 if (SWIG_arg_fail(2)) SWIG_fail
;
4073 arg3
= (double)(SWIG_As_double(obj2
));
4074 if (SWIG_arg_fail(3)) SWIG_fail
;
4077 arg4
= (double)(SWIG_As_double(obj3
));
4078 if (SWIG_arg_fail(4)) SWIG_fail
;
4082 arg5
= (int)(SWIG_As_int(obj4
));
4083 if (SWIG_arg_fail(5)) SWIG_fail
;
4088 arg6
= (int)(SWIG_As_int(obj5
));
4089 if (SWIG_arg_fail(6)) SWIG_fail
;
4093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4094 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
4096 wxPyEndAllowThreads(__tstate
);
4097 if (PyErr_Occurred()) SWIG_fail
;
4099 Py_INCREF(Py_None
); resultobj
= Py_None
;
4106 static PyObject
*_wrap_PyShapeEvtHandler_base_OnBeginDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4107 PyObject
*resultobj
;
4108 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
4111 int arg4
= (int) 0 ;
4112 int arg5
= (int) 0 ;
4113 PyObject
* obj0
= 0 ;
4114 PyObject
* obj1
= 0 ;
4115 PyObject
* obj2
= 0 ;
4116 PyObject
* obj3
= 0 ;
4117 PyObject
* obj4
= 0 ;
4119 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
4122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShapeEvtHandler_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4123 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
4124 if (SWIG_arg_fail(1)) SWIG_fail
;
4126 arg2
= (double)(SWIG_As_double(obj1
));
4127 if (SWIG_arg_fail(2)) SWIG_fail
;
4130 arg3
= (double)(SWIG_As_double(obj2
));
4131 if (SWIG_arg_fail(3)) SWIG_fail
;
4135 arg4
= (int)(SWIG_As_int(obj3
));
4136 if (SWIG_arg_fail(4)) SWIG_fail
;
4141 arg5
= (int)(SWIG_As_int(obj4
));
4142 if (SWIG_arg_fail(5)) SWIG_fail
;
4146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4147 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
4149 wxPyEndAllowThreads(__tstate
);
4150 if (PyErr_Occurred()) SWIG_fail
;
4152 Py_INCREF(Py_None
); resultobj
= Py_None
;
4159 static PyObject
*_wrap_PyShapeEvtHandler_base_OnEndDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4160 PyObject
*resultobj
;
4161 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
4164 int arg4
= (int) 0 ;
4165 int arg5
= (int) 0 ;
4166 PyObject
* obj0
= 0 ;
4167 PyObject
* obj1
= 0 ;
4168 PyObject
* obj2
= 0 ;
4169 PyObject
* obj3
= 0 ;
4170 PyObject
* obj4
= 0 ;
4172 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
4175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShapeEvtHandler_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4176 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
4177 if (SWIG_arg_fail(1)) SWIG_fail
;
4179 arg2
= (double)(SWIG_As_double(obj1
));
4180 if (SWIG_arg_fail(2)) SWIG_fail
;
4183 arg3
= (double)(SWIG_As_double(obj2
));
4184 if (SWIG_arg_fail(3)) SWIG_fail
;
4188 arg4
= (int)(SWIG_As_int(obj3
));
4189 if (SWIG_arg_fail(4)) SWIG_fail
;
4194 arg5
= (int)(SWIG_As_int(obj4
));
4195 if (SWIG_arg_fail(5)) SWIG_fail
;
4199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4200 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
4202 wxPyEndAllowThreads(__tstate
);
4203 if (PyErr_Occurred()) SWIG_fail
;
4205 Py_INCREF(Py_None
); resultobj
= Py_None
;
4212 static PyObject
*_wrap_PyShapeEvtHandler_base_OnDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4213 PyObject
*resultobj
;
4214 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
4218 int arg5
= (int) 0 ;
4219 int arg6
= (int) 0 ;
4220 PyObject
* obj0
= 0 ;
4221 PyObject
* obj1
= 0 ;
4222 PyObject
* obj2
= 0 ;
4223 PyObject
* obj3
= 0 ;
4224 PyObject
* obj4
= 0 ;
4225 PyObject
* obj5
= 0 ;
4227 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
4230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyShapeEvtHandler_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
4231 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
4232 if (SWIG_arg_fail(1)) SWIG_fail
;
4234 arg2
= (bool)(SWIG_As_bool(obj1
));
4235 if (SWIG_arg_fail(2)) SWIG_fail
;
4238 arg3
= (double)(SWIG_As_double(obj2
));
4239 if (SWIG_arg_fail(3)) SWIG_fail
;
4242 arg4
= (double)(SWIG_As_double(obj3
));
4243 if (SWIG_arg_fail(4)) SWIG_fail
;
4247 arg5
= (int)(SWIG_As_int(obj4
));
4248 if (SWIG_arg_fail(5)) SWIG_fail
;
4253 arg6
= (int)(SWIG_As_int(obj5
));
4254 if (SWIG_arg_fail(6)) SWIG_fail
;
4258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4259 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
4261 wxPyEndAllowThreads(__tstate
);
4262 if (PyErr_Occurred()) SWIG_fail
;
4264 Py_INCREF(Py_None
); resultobj
= Py_None
;
4271 static PyObject
*_wrap_PyShapeEvtHandler_base_OnBeginDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4272 PyObject
*resultobj
;
4273 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
4276 int arg4
= (int) 0 ;
4277 int arg5
= (int) 0 ;
4278 PyObject
* obj0
= 0 ;
4279 PyObject
* obj1
= 0 ;
4280 PyObject
* obj2
= 0 ;
4281 PyObject
* obj3
= 0 ;
4282 PyObject
* obj4
= 0 ;
4284 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
4287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShapeEvtHandler_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4288 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
4289 if (SWIG_arg_fail(1)) SWIG_fail
;
4291 arg2
= (double)(SWIG_As_double(obj1
));
4292 if (SWIG_arg_fail(2)) SWIG_fail
;
4295 arg3
= (double)(SWIG_As_double(obj2
));
4296 if (SWIG_arg_fail(3)) SWIG_fail
;
4300 arg4
= (int)(SWIG_As_int(obj3
));
4301 if (SWIG_arg_fail(4)) SWIG_fail
;
4306 arg5
= (int)(SWIG_As_int(obj4
));
4307 if (SWIG_arg_fail(5)) SWIG_fail
;
4311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4312 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
4314 wxPyEndAllowThreads(__tstate
);
4315 if (PyErr_Occurred()) SWIG_fail
;
4317 Py_INCREF(Py_None
); resultobj
= Py_None
;
4324 static PyObject
*_wrap_PyShapeEvtHandler_base_OnEndDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4325 PyObject
*resultobj
;
4326 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
4329 int arg4
= (int) 0 ;
4330 int arg5
= (int) 0 ;
4331 PyObject
* obj0
= 0 ;
4332 PyObject
* obj1
= 0 ;
4333 PyObject
* obj2
= 0 ;
4334 PyObject
* obj3
= 0 ;
4335 PyObject
* obj4
= 0 ;
4337 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
4340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShapeEvtHandler_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4341 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
4342 if (SWIG_arg_fail(1)) SWIG_fail
;
4344 arg2
= (double)(SWIG_As_double(obj1
));
4345 if (SWIG_arg_fail(2)) SWIG_fail
;
4348 arg3
= (double)(SWIG_As_double(obj2
));
4349 if (SWIG_arg_fail(3)) SWIG_fail
;
4353 arg4
= (int)(SWIG_As_int(obj3
));
4354 if (SWIG_arg_fail(4)) SWIG_fail
;
4359 arg5
= (int)(SWIG_As_int(obj4
));
4360 if (SWIG_arg_fail(5)) SWIG_fail
;
4364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4365 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
4367 wxPyEndAllowThreads(__tstate
);
4368 if (PyErr_Occurred()) SWIG_fail
;
4370 Py_INCREF(Py_None
); resultobj
= Py_None
;
4377 static PyObject
*_wrap_PyShapeEvtHandler_base_OnDrawOutline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4378 PyObject
*resultobj
;
4379 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
4385 PyObject
* obj0
= 0 ;
4386 PyObject
* obj1
= 0 ;
4387 PyObject
* obj2
= 0 ;
4388 PyObject
* obj3
= 0 ;
4389 PyObject
* obj4
= 0 ;
4390 PyObject
* obj5
= 0 ;
4392 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
4395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyShapeEvtHandler_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
4396 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
4397 if (SWIG_arg_fail(1)) SWIG_fail
;
4399 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
4400 if (SWIG_arg_fail(2)) SWIG_fail
;
4402 SWIG_null_ref("wxDC");
4404 if (SWIG_arg_fail(2)) SWIG_fail
;
4407 arg3
= (double)(SWIG_As_double(obj2
));
4408 if (SWIG_arg_fail(3)) SWIG_fail
;
4411 arg4
= (double)(SWIG_As_double(obj3
));
4412 if (SWIG_arg_fail(4)) SWIG_fail
;
4415 arg5
= (double)(SWIG_As_double(obj4
));
4416 if (SWIG_arg_fail(5)) SWIG_fail
;
4419 arg6
= (double)(SWIG_As_double(obj5
));
4420 if (SWIG_arg_fail(6)) SWIG_fail
;
4423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4424 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
4426 wxPyEndAllowThreads(__tstate
);
4427 if (PyErr_Occurred()) SWIG_fail
;
4429 Py_INCREF(Py_None
); resultobj
= Py_None
;
4436 static PyObject
*_wrap_PyShapeEvtHandler_base_OnDrawControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4437 PyObject
*resultobj
;
4438 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
4440 PyObject
* obj0
= 0 ;
4441 PyObject
* obj1
= 0 ;
4443 (char *) "self",(char *) "dc", NULL
4446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
4447 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
4448 if (SWIG_arg_fail(1)) SWIG_fail
;
4450 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
4451 if (SWIG_arg_fail(2)) SWIG_fail
;
4453 SWIG_null_ref("wxDC");
4455 if (SWIG_arg_fail(2)) SWIG_fail
;
4458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4459 (arg1
)->base_OnDrawControlPoints(*arg2
);
4461 wxPyEndAllowThreads(__tstate
);
4462 if (PyErr_Occurred()) SWIG_fail
;
4464 Py_INCREF(Py_None
); resultobj
= Py_None
;
4471 static PyObject
*_wrap_PyShapeEvtHandler_base_OnEraseControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4472 PyObject
*resultobj
;
4473 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
4475 PyObject
* obj0
= 0 ;
4476 PyObject
* obj1
= 0 ;
4478 (char *) "self",(char *) "dc", NULL
4481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeEvtHandler_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
4482 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
4483 if (SWIG_arg_fail(1)) SWIG_fail
;
4485 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
4486 if (SWIG_arg_fail(2)) SWIG_fail
;
4488 SWIG_null_ref("wxDC");
4490 if (SWIG_arg_fail(2)) SWIG_fail
;
4493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4494 (arg1
)->base_OnEraseControlPoints(*arg2
);
4496 wxPyEndAllowThreads(__tstate
);
4497 if (PyErr_Occurred()) SWIG_fail
;
4499 Py_INCREF(Py_None
); resultobj
= Py_None
;
4506 static PyObject
*_wrap_PyShapeEvtHandler_base_OnMoveLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4507 PyObject
*resultobj
;
4508 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
4510 bool arg3
= (bool) true ;
4511 PyObject
* obj0
= 0 ;
4512 PyObject
* obj1
= 0 ;
4513 PyObject
* obj2
= 0 ;
4515 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
4518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShapeEvtHandler_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4519 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
4520 if (SWIG_arg_fail(1)) SWIG_fail
;
4522 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
4523 if (SWIG_arg_fail(2)) SWIG_fail
;
4525 SWIG_null_ref("wxDC");
4527 if (SWIG_arg_fail(2)) SWIG_fail
;
4531 arg3
= (bool)(SWIG_As_bool(obj2
));
4532 if (SWIG_arg_fail(3)) SWIG_fail
;
4536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4537 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
4539 wxPyEndAllowThreads(__tstate
);
4540 if (PyErr_Occurred()) SWIG_fail
;
4542 Py_INCREF(Py_None
); resultobj
= Py_None
;
4549 static PyObject
*_wrap_PyShapeEvtHandler_base_OnSizingDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4550 PyObject
*resultobj
;
4551 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
4552 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
4556 int arg6
= (int) 0 ;
4557 int arg7
= (int) 0 ;
4558 PyObject
* obj0
= 0 ;
4559 PyObject
* obj1
= 0 ;
4560 PyObject
* obj2
= 0 ;
4561 PyObject
* obj3
= 0 ;
4562 PyObject
* obj4
= 0 ;
4563 PyObject
* obj5
= 0 ;
4564 PyObject
* obj6
= 0 ;
4566 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
4569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyShapeEvtHandler_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4570 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
4571 if (SWIG_arg_fail(1)) SWIG_fail
;
4572 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyControlPoint
, SWIG_POINTER_EXCEPTION
| 0);
4573 if (SWIG_arg_fail(2)) SWIG_fail
;
4575 arg3
= (bool)(SWIG_As_bool(obj2
));
4576 if (SWIG_arg_fail(3)) SWIG_fail
;
4579 arg4
= (double)(SWIG_As_double(obj3
));
4580 if (SWIG_arg_fail(4)) SWIG_fail
;
4583 arg5
= (double)(SWIG_As_double(obj4
));
4584 if (SWIG_arg_fail(5)) SWIG_fail
;
4588 arg6
= (int)(SWIG_As_int(obj5
));
4589 if (SWIG_arg_fail(6)) SWIG_fail
;
4594 arg7
= (int)(SWIG_As_int(obj6
));
4595 if (SWIG_arg_fail(7)) SWIG_fail
;
4599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4600 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
4602 wxPyEndAllowThreads(__tstate
);
4603 if (PyErr_Occurred()) SWIG_fail
;
4605 Py_INCREF(Py_None
); resultobj
= Py_None
;
4612 static PyObject
*_wrap_PyShapeEvtHandler_base_OnSizingBeginDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4613 PyObject
*resultobj
;
4614 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
4615 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
4618 int arg5
= (int) 0 ;
4619 int arg6
= (int) 0 ;
4620 PyObject
* obj0
= 0 ;
4621 PyObject
* obj1
= 0 ;
4622 PyObject
* obj2
= 0 ;
4623 PyObject
* obj3
= 0 ;
4624 PyObject
* obj4
= 0 ;
4625 PyObject
* obj5
= 0 ;
4627 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
4630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyShapeEvtHandler_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
4631 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
4632 if (SWIG_arg_fail(1)) SWIG_fail
;
4633 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyControlPoint
, SWIG_POINTER_EXCEPTION
| 0);
4634 if (SWIG_arg_fail(2)) SWIG_fail
;
4636 arg3
= (double)(SWIG_As_double(obj2
));
4637 if (SWIG_arg_fail(3)) SWIG_fail
;
4640 arg4
= (double)(SWIG_As_double(obj3
));
4641 if (SWIG_arg_fail(4)) SWIG_fail
;
4645 arg5
= (int)(SWIG_As_int(obj4
));
4646 if (SWIG_arg_fail(5)) SWIG_fail
;
4651 arg6
= (int)(SWIG_As_int(obj5
));
4652 if (SWIG_arg_fail(6)) SWIG_fail
;
4656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4657 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
4659 wxPyEndAllowThreads(__tstate
);
4660 if (PyErr_Occurred()) SWIG_fail
;
4662 Py_INCREF(Py_None
); resultobj
= Py_None
;
4669 static PyObject
*_wrap_PyShapeEvtHandler_base_OnSizingEndDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4670 PyObject
*resultobj
;
4671 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
4672 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
4675 int arg5
= (int) 0 ;
4676 int arg6
= (int) 0 ;
4677 PyObject
* obj0
= 0 ;
4678 PyObject
* obj1
= 0 ;
4679 PyObject
* obj2
= 0 ;
4680 PyObject
* obj3
= 0 ;
4681 PyObject
* obj4
= 0 ;
4682 PyObject
* obj5
= 0 ;
4684 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
4687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyShapeEvtHandler_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
4688 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
4689 if (SWIG_arg_fail(1)) SWIG_fail
;
4690 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyControlPoint
, SWIG_POINTER_EXCEPTION
| 0);
4691 if (SWIG_arg_fail(2)) SWIG_fail
;
4693 arg3
= (double)(SWIG_As_double(obj2
));
4694 if (SWIG_arg_fail(3)) SWIG_fail
;
4697 arg4
= (double)(SWIG_As_double(obj3
));
4698 if (SWIG_arg_fail(4)) SWIG_fail
;
4702 arg5
= (int)(SWIG_As_int(obj4
));
4703 if (SWIG_arg_fail(5)) SWIG_fail
;
4708 arg6
= (int)(SWIG_As_int(obj5
));
4709 if (SWIG_arg_fail(6)) SWIG_fail
;
4713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4714 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
4716 wxPyEndAllowThreads(__tstate
);
4717 if (PyErr_Occurred()) SWIG_fail
;
4719 Py_INCREF(Py_None
); resultobj
= Py_None
;
4726 static PyObject
*_wrap_PyShapeEvtHandler_base_OnBeginSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4727 PyObject
*resultobj
;
4728 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
4731 PyObject
* obj0
= 0 ;
4732 PyObject
* obj1
= 0 ;
4733 PyObject
* obj2
= 0 ;
4735 (char *) "self",(char *) "w",(char *) "h", NULL
4738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShapeEvtHandler_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4739 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
4740 if (SWIG_arg_fail(1)) SWIG_fail
;
4742 arg2
= (double)(SWIG_As_double(obj1
));
4743 if (SWIG_arg_fail(2)) SWIG_fail
;
4746 arg3
= (double)(SWIG_As_double(obj2
));
4747 if (SWIG_arg_fail(3)) SWIG_fail
;
4750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4751 (arg1
)->base_OnBeginSize(arg2
,arg3
);
4753 wxPyEndAllowThreads(__tstate
);
4754 if (PyErr_Occurred()) SWIG_fail
;
4756 Py_INCREF(Py_None
); resultobj
= Py_None
;
4763 static PyObject
*_wrap_PyShapeEvtHandler_base_OnEndSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4764 PyObject
*resultobj
;
4765 wxPyShapeEvtHandler
*arg1
= (wxPyShapeEvtHandler
*) 0 ;
4768 PyObject
* obj0
= 0 ;
4769 PyObject
* obj1
= 0 ;
4770 PyObject
* obj2
= 0 ;
4772 (char *) "self",(char *) "w",(char *) "h", NULL
4775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShapeEvtHandler_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4776 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShapeEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
4777 if (SWIG_arg_fail(1)) SWIG_fail
;
4779 arg2
= (double)(SWIG_As_double(obj1
));
4780 if (SWIG_arg_fail(2)) SWIG_fail
;
4783 arg3
= (double)(SWIG_As_double(obj2
));
4784 if (SWIG_arg_fail(3)) SWIG_fail
;
4787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4788 (arg1
)->base_OnEndSize(arg2
,arg3
);
4790 wxPyEndAllowThreads(__tstate
);
4791 if (PyErr_Occurred()) SWIG_fail
;
4793 Py_INCREF(Py_None
); resultobj
= Py_None
;
4800 static PyObject
* PyShapeEvtHandler_swigregister(PyObject
*, PyObject
*args
) {
4802 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4803 SWIG_TypeClientData(SWIGTYPE_p_wxPyShapeEvtHandler
, obj
);
4805 return Py_BuildValue((char *)"");
4807 static PyObject
*_wrap_new_PyShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4808 PyObject
*resultobj
;
4809 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) NULL
;
4811 PyObject
* obj0
= 0 ;
4813 (char *) "can", NULL
4816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyShape",kwnames
,&obj0
)) goto fail
;
4818 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShapeCanvas
, SWIG_POINTER_EXCEPTION
| 0);
4819 if (SWIG_arg_fail(1)) SWIG_fail
;
4822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4823 result
= (wxPyShape
*)new wxPyShape(arg1
);
4825 wxPyEndAllowThreads(__tstate
);
4826 if (PyErr_Occurred()) SWIG_fail
;
4828 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyShape
, 1);
4835 static PyObject
*_wrap_PyShape__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4836 PyObject
*resultobj
;
4837 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4838 PyObject
*arg2
= (PyObject
*) 0 ;
4839 PyObject
*arg3
= (PyObject
*) 0 ;
4840 PyObject
* obj0
= 0 ;
4841 PyObject
* obj1
= 0 ;
4842 PyObject
* obj2
= 0 ;
4844 (char *) "self",(char *) "self",(char *) "_class", NULL
4847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4848 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
4849 if (SWIG_arg_fail(1)) SWIG_fail
;
4853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4854 (arg1
)->_setCallbackInfo(arg2
,arg3
);
4856 wxPyEndAllowThreads(__tstate
);
4857 if (PyErr_Occurred()) SWIG_fail
;
4859 Py_INCREF(Py_None
); resultobj
= Py_None
;
4866 static PyObject
*_wrap_PyShape_GetBoundingBoxMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4867 PyObject
*resultobj
;
4868 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4869 double *arg2
= (double *) 0 ;
4870 double *arg3
= (double *) 0 ;
4875 PyObject
* obj0
= 0 ;
4877 (char *) "self", NULL
4880 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
4881 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
4882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetBoundingBoxMax",kwnames
,&obj0
)) goto fail
;
4883 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
4884 if (SWIG_arg_fail(1)) SWIG_fail
;
4886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4887 (arg1
)->GetBoundingBoxMax(arg2
,arg3
);
4889 wxPyEndAllowThreads(__tstate
);
4890 if (PyErr_Occurred()) SWIG_fail
;
4892 Py_INCREF(Py_None
); resultobj
= Py_None
;
4893 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
4894 SWIG_From_double((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, 0)));
4895 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
4896 SWIG_From_double((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, 0)));
4903 static PyObject
*_wrap_PyShape_GetBoundingBoxMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4904 PyObject
*resultobj
;
4905 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4906 double *arg2
= (double *) 0 ;
4907 double *arg3
= (double *) 0 ;
4912 PyObject
* obj0
= 0 ;
4914 (char *) "self", NULL
4917 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
4918 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
4919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetBoundingBoxMin",kwnames
,&obj0
)) goto fail
;
4920 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
4921 if (SWIG_arg_fail(1)) SWIG_fail
;
4923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4924 (arg1
)->GetBoundingBoxMin(arg2
,arg3
);
4926 wxPyEndAllowThreads(__tstate
);
4927 if (PyErr_Occurred()) SWIG_fail
;
4929 Py_INCREF(Py_None
); resultobj
= Py_None
;
4930 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
4931 SWIG_From_double((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, 0)));
4932 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
4933 SWIG_From_double((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, 0)));
4940 static PyObject
*_wrap_PyShape_GetPerimeterPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4941 PyObject
*resultobj
;
4942 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
4947 double *arg6
= (double *) 0 ;
4948 double *arg7
= (double *) 0 ;
4954 PyObject
* obj0
= 0 ;
4955 PyObject
* obj1
= 0 ;
4956 PyObject
* obj2
= 0 ;
4957 PyObject
* obj3
= 0 ;
4958 PyObject
* obj4
= 0 ;
4960 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
4963 arg6
= &temp6
; res6
= SWIG_NEWOBJ
;
4964 arg7
= &temp7
; res7
= SWIG_NEWOBJ
;
4965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyShape_GetPerimeterPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4966 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
4967 if (SWIG_arg_fail(1)) SWIG_fail
;
4969 arg2
= (double)(SWIG_As_double(obj1
));
4970 if (SWIG_arg_fail(2)) SWIG_fail
;
4973 arg3
= (double)(SWIG_As_double(obj2
));
4974 if (SWIG_arg_fail(3)) SWIG_fail
;
4977 arg4
= (double)(SWIG_As_double(obj3
));
4978 if (SWIG_arg_fail(4)) SWIG_fail
;
4981 arg5
= (double)(SWIG_As_double(obj4
));
4982 if (SWIG_arg_fail(5)) SWIG_fail
;
4985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4986 result
= (bool)(arg1
)->GetPerimeterPoint(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
4988 wxPyEndAllowThreads(__tstate
);
4989 if (PyErr_Occurred()) SWIG_fail
;
4992 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4994 resultobj
= t_output_helper(resultobj
, ((res6
== SWIG_NEWOBJ
) ?
4995 SWIG_From_double((*arg6
)) : SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_double
, 0)));
4996 resultobj
= t_output_helper(resultobj
, ((res7
== SWIG_NEWOBJ
) ?
4997 SWIG_From_double((*arg7
)) : SWIG_NewPointerObj((void*)(arg7
), SWIGTYPE_p_double
, 0)));
5004 static PyObject
*_wrap_PyShape_GetCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5005 PyObject
*resultobj
;
5006 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5007 wxPyShapeCanvas
*result
;
5008 PyObject
* obj0
= 0 ;
5010 (char *) "self", NULL
5013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetCanvas",kwnames
,&obj0
)) goto fail
;
5014 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
5015 if (SWIG_arg_fail(1)) SWIG_fail
;
5017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5018 result
= (wxPyShapeCanvas
*)(arg1
)->GetCanvas();
5020 wxPyEndAllowThreads(__tstate
);
5021 if (PyErr_Occurred()) SWIG_fail
;
5024 resultobj
= wxPyMake_wxObject(result
, 0);
5032 static PyObject
*_wrap_PyShape_SetCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5033 PyObject
*resultobj
;
5034 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5035 wxPyShapeCanvas
*arg2
= (wxPyShapeCanvas
*) 0 ;
5036 PyObject
* obj0
= 0 ;
5037 PyObject
* obj1
= 0 ;
5039 (char *) "self",(char *) "the_canvas", NULL
5042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
5043 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
5044 if (SWIG_arg_fail(1)) SWIG_fail
;
5045 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyShapeCanvas
, SWIG_POINTER_EXCEPTION
| 0);
5046 if (SWIG_arg_fail(2)) SWIG_fail
;
5048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5049 (arg1
)->SetCanvas(arg2
);
5051 wxPyEndAllowThreads(__tstate
);
5052 if (PyErr_Occurred()) SWIG_fail
;
5054 Py_INCREF(Py_None
); resultobj
= Py_None
;
5061 static PyObject
*_wrap_PyShape_AddToCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5062 PyObject
*resultobj
;
5063 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5064 wxPyShapeCanvas
*arg2
= (wxPyShapeCanvas
*) 0 ;
5065 wxPyShape
*arg3
= (wxPyShape
*) NULL
;
5066 PyObject
* obj0
= 0 ;
5067 PyObject
* obj1
= 0 ;
5068 PyObject
* obj2
= 0 ;
5070 (char *) "self",(char *) "the_canvas",(char *) "addAfter", NULL
5073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShape_AddToCanvas",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5074 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
5075 if (SWIG_arg_fail(1)) SWIG_fail
;
5076 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyShapeCanvas
, SWIG_POINTER_EXCEPTION
| 0);
5077 if (SWIG_arg_fail(2)) SWIG_fail
;
5079 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
5080 if (SWIG_arg_fail(3)) SWIG_fail
;
5083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5084 (arg1
)->AddToCanvas(arg2
,arg3
);
5086 wxPyEndAllowThreads(__tstate
);
5087 if (PyErr_Occurred()) SWIG_fail
;
5089 Py_INCREF(Py_None
); resultobj
= Py_None
;
5096 static PyObject
*_wrap_PyShape_InsertInCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5097 PyObject
*resultobj
;
5098 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5099 wxPyShapeCanvas
*arg2
= (wxPyShapeCanvas
*) 0 ;
5100 PyObject
* obj0
= 0 ;
5101 PyObject
* obj1
= 0 ;
5103 (char *) "self",(char *) "the_canvas", NULL
5106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_InsertInCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
5107 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
5108 if (SWIG_arg_fail(1)) SWIG_fail
;
5109 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyShapeCanvas
, SWIG_POINTER_EXCEPTION
| 0);
5110 if (SWIG_arg_fail(2)) SWIG_fail
;
5112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5113 (arg1
)->InsertInCanvas(arg2
);
5115 wxPyEndAllowThreads(__tstate
);
5116 if (PyErr_Occurred()) SWIG_fail
;
5118 Py_INCREF(Py_None
); resultobj
= Py_None
;
5125 static PyObject
*_wrap_PyShape_RemoveFromCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5126 PyObject
*resultobj
;
5127 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5128 wxPyShapeCanvas
*arg2
= (wxPyShapeCanvas
*) 0 ;
5129 PyObject
* obj0
= 0 ;
5130 PyObject
* obj1
= 0 ;
5132 (char *) "self",(char *) "the_canvas", NULL
5135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_RemoveFromCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
5136 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
5137 if (SWIG_arg_fail(1)) SWIG_fail
;
5138 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyShapeCanvas
, SWIG_POINTER_EXCEPTION
| 0);
5139 if (SWIG_arg_fail(2)) SWIG_fail
;
5141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5142 (arg1
)->RemoveFromCanvas(arg2
);
5144 wxPyEndAllowThreads(__tstate
);
5145 if (PyErr_Occurred()) SWIG_fail
;
5147 Py_INCREF(Py_None
); resultobj
= Py_None
;
5154 static PyObject
*_wrap_PyShape_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5155 PyObject
*resultobj
;
5156 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5158 PyObject
* obj0
= 0 ;
5160 (char *) "self", NULL
5163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetX",kwnames
,&obj0
)) goto fail
;
5164 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
5165 if (SWIG_arg_fail(1)) SWIG_fail
;
5167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5168 result
= (double)(arg1
)->GetX();
5170 wxPyEndAllowThreads(__tstate
);
5171 if (PyErr_Occurred()) SWIG_fail
;
5174 resultobj
= SWIG_From_double((double)(result
));
5182 static PyObject
*_wrap_PyShape_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5183 PyObject
*resultobj
;
5184 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5186 PyObject
* obj0
= 0 ;
5188 (char *) "self", NULL
5191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetY",kwnames
,&obj0
)) goto fail
;
5192 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
5193 if (SWIG_arg_fail(1)) SWIG_fail
;
5195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5196 result
= (double)(arg1
)->GetY();
5198 wxPyEndAllowThreads(__tstate
);
5199 if (PyErr_Occurred()) SWIG_fail
;
5202 resultobj
= SWIG_From_double((double)(result
));
5210 static PyObject
*_wrap_PyShape_SetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5211 PyObject
*resultobj
;
5212 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5214 PyObject
* obj0
= 0 ;
5215 PyObject
* obj1
= 0 ;
5217 (char *) "self",(char *) "x", NULL
5220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetX",kwnames
,&obj0
,&obj1
)) goto fail
;
5221 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
5222 if (SWIG_arg_fail(1)) SWIG_fail
;
5224 arg2
= (double)(SWIG_As_double(obj1
));
5225 if (SWIG_arg_fail(2)) SWIG_fail
;
5228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5231 wxPyEndAllowThreads(__tstate
);
5232 if (PyErr_Occurred()) SWIG_fail
;
5234 Py_INCREF(Py_None
); resultobj
= Py_None
;
5241 static PyObject
*_wrap_PyShape_SetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5242 PyObject
*resultobj
;
5243 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5245 PyObject
* obj0
= 0 ;
5246 PyObject
* obj1
= 0 ;
5248 (char *) "self",(char *) "y", NULL
5251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetY",kwnames
,&obj0
,&obj1
)) goto fail
;
5252 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
5253 if (SWIG_arg_fail(1)) SWIG_fail
;
5255 arg2
= (double)(SWIG_As_double(obj1
));
5256 if (SWIG_arg_fail(2)) SWIG_fail
;
5259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5262 wxPyEndAllowThreads(__tstate
);
5263 if (PyErr_Occurred()) SWIG_fail
;
5265 Py_INCREF(Py_None
); resultobj
= Py_None
;
5272 static PyObject
*_wrap_PyShape_GetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5273 PyObject
*resultobj
;
5274 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5276 PyObject
* obj0
= 0 ;
5278 (char *) "self", NULL
5281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetParent",kwnames
,&obj0
)) goto fail
;
5282 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
5283 if (SWIG_arg_fail(1)) SWIG_fail
;
5285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5286 result
= (wxPyShape
*)(arg1
)->GetParent();
5288 wxPyEndAllowThreads(__tstate
);
5289 if (PyErr_Occurred()) SWIG_fail
;
5292 resultobj
= wxPyMake_wxShapeEvtHandler(result
, 0);
5300 static PyObject
*_wrap_PyShape_SetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5301 PyObject
*resultobj
;
5302 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5303 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
5304 PyObject
* obj0
= 0 ;
5305 PyObject
* obj1
= 0 ;
5307 (char *) "self",(char *) "p", NULL
5310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetParent",kwnames
,&obj0
,&obj1
)) goto fail
;
5311 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
5312 if (SWIG_arg_fail(1)) SWIG_fail
;
5313 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
5314 if (SWIG_arg_fail(2)) SWIG_fail
;
5316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5317 (arg1
)->SetParent(arg2
);
5319 wxPyEndAllowThreads(__tstate
);
5320 if (PyErr_Occurred()) SWIG_fail
;
5322 Py_INCREF(Py_None
); resultobj
= Py_None
;
5329 static PyObject
*_wrap_PyShape_GetTopAncestor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5330 PyObject
*resultobj
;
5331 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5333 PyObject
* obj0
= 0 ;
5335 (char *) "self", NULL
5338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetTopAncestor",kwnames
,&obj0
)) goto fail
;
5339 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
5340 if (SWIG_arg_fail(1)) SWIG_fail
;
5342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5343 result
= (wxPyShape
*)(arg1
)->GetTopAncestor();
5345 wxPyEndAllowThreads(__tstate
);
5346 if (PyErr_Occurred()) SWIG_fail
;
5349 resultobj
= wxPyMake_wxShapeEvtHandler(result
, 0);
5357 static PyObject
*_wrap_PyShape_GetChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5358 PyObject
*resultobj
;
5359 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5361 PyObject
* obj0
= 0 ;
5363 (char *) "self", NULL
5366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetChildren",kwnames
,&obj0
)) goto fail
;
5367 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
5368 if (SWIG_arg_fail(1)) SWIG_fail
;
5370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5371 result
= (PyObject
*)wxPyShape_GetChildren(arg1
);
5373 wxPyEndAllowThreads(__tstate
);
5374 if (PyErr_Occurred()) SWIG_fail
;
5383 static PyObject
*_wrap_PyShape_Unlink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5384 PyObject
*resultobj
;
5385 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5386 PyObject
* obj0
= 0 ;
5388 (char *) "self", NULL
5391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_Unlink",kwnames
,&obj0
)) goto fail
;
5392 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
5393 if (SWIG_arg_fail(1)) SWIG_fail
;
5395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5398 wxPyEndAllowThreads(__tstate
);
5399 if (PyErr_Occurred()) SWIG_fail
;
5401 Py_INCREF(Py_None
); resultobj
= Py_None
;
5408 static PyObject
*_wrap_PyShape_SetDrawHandles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5409 PyObject
*resultobj
;
5410 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5412 PyObject
* obj0
= 0 ;
5413 PyObject
* obj1
= 0 ;
5415 (char *) "self",(char *) "drawH", NULL
5418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetDrawHandles",kwnames
,&obj0
,&obj1
)) goto fail
;
5419 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
5420 if (SWIG_arg_fail(1)) SWIG_fail
;
5422 arg2
= (bool)(SWIG_As_bool(obj1
));
5423 if (SWIG_arg_fail(2)) SWIG_fail
;
5426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5427 (arg1
)->SetDrawHandles(arg2
);
5429 wxPyEndAllowThreads(__tstate
);
5430 if (PyErr_Occurred()) SWIG_fail
;
5432 Py_INCREF(Py_None
); resultobj
= Py_None
;
5439 static PyObject
*_wrap_PyShape_GetDrawHandles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5440 PyObject
*resultobj
;
5441 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5443 PyObject
* obj0
= 0 ;
5445 (char *) "self", NULL
5448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetDrawHandles",kwnames
,&obj0
)) goto fail
;
5449 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
5450 if (SWIG_arg_fail(1)) SWIG_fail
;
5452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5453 result
= (bool)(arg1
)->GetDrawHandles();
5455 wxPyEndAllowThreads(__tstate
);
5456 if (PyErr_Occurred()) SWIG_fail
;
5459 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5467 static PyObject
*_wrap_PyShape_MakeControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5468 PyObject
*resultobj
;
5469 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5470 PyObject
* obj0
= 0 ;
5472 (char *) "self", NULL
5475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_MakeControlPoints",kwnames
,&obj0
)) goto fail
;
5476 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
5477 if (SWIG_arg_fail(1)) SWIG_fail
;
5479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5480 (arg1
)->MakeControlPoints();
5482 wxPyEndAllowThreads(__tstate
);
5483 if (PyErr_Occurred()) SWIG_fail
;
5485 Py_INCREF(Py_None
); resultobj
= Py_None
;
5492 static PyObject
*_wrap_PyShape_DeleteControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5493 PyObject
*resultobj
;
5494 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5495 wxDC
*arg2
= (wxDC
*) NULL
;
5496 PyObject
* obj0
= 0 ;
5497 PyObject
* obj1
= 0 ;
5499 (char *) "self",(char *) "dc", NULL
5502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyShape_DeleteControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
5503 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
5504 if (SWIG_arg_fail(1)) SWIG_fail
;
5506 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
5507 if (SWIG_arg_fail(2)) SWIG_fail
;
5510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5511 (arg1
)->DeleteControlPoints(arg2
);
5513 wxPyEndAllowThreads(__tstate
);
5514 if (PyErr_Occurred()) SWIG_fail
;
5516 Py_INCREF(Py_None
); resultobj
= Py_None
;
5523 static PyObject
*_wrap_PyShape_ResetControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5524 PyObject
*resultobj
;
5525 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5526 PyObject
* obj0
= 0 ;
5528 (char *) "self", NULL
5531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_ResetControlPoints",kwnames
,&obj0
)) goto fail
;
5532 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
5533 if (SWIG_arg_fail(1)) SWIG_fail
;
5535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5536 (arg1
)->ResetControlPoints();
5538 wxPyEndAllowThreads(__tstate
);
5539 if (PyErr_Occurred()) SWIG_fail
;
5541 Py_INCREF(Py_None
); resultobj
= Py_None
;
5548 static PyObject
*_wrap_PyShape_GetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5549 PyObject
*resultobj
;
5550 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5551 wxPyShapeEvtHandler
*result
;
5552 PyObject
* obj0
= 0 ;
5554 (char *) "self", NULL
5557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetEventHandler",kwnames
,&obj0
)) goto fail
;
5558 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
5559 if (SWIG_arg_fail(1)) SWIG_fail
;
5561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5562 result
= (wxPyShapeEvtHandler
*)(arg1
)->GetEventHandler();
5564 wxPyEndAllowThreads(__tstate
);
5565 if (PyErr_Occurred()) SWIG_fail
;
5568 resultobj
= wxPyMake_wxShapeEvtHandler(result
, 0);
5576 static PyObject
*_wrap_PyShape_SetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5577 PyObject
*resultobj
;
5578 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5579 wxPyShapeEvtHandler
*arg2
= (wxPyShapeEvtHandler
*) 0 ;
5580 PyObject
* obj0
= 0 ;
5581 PyObject
* obj1
= 0 ;
5583 (char *) "self",(char *) "handler", NULL
5586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
5587 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
5588 if (SWIG_arg_fail(1)) SWIG_fail
;
5589 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyShapeEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
5590 if (SWIG_arg_fail(2)) SWIG_fail
;
5592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5593 (arg1
)->SetEventHandler(arg2
);
5595 wxPyEndAllowThreads(__tstate
);
5596 if (PyErr_Occurred()) SWIG_fail
;
5598 Py_INCREF(Py_None
); resultobj
= Py_None
;
5605 static PyObject
*_wrap_PyShape_MakeMandatoryControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5606 PyObject
*resultobj
;
5607 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5608 PyObject
* obj0
= 0 ;
5610 (char *) "self", NULL
5613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_MakeMandatoryControlPoints",kwnames
,&obj0
)) goto fail
;
5614 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
5615 if (SWIG_arg_fail(1)) SWIG_fail
;
5617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5618 (arg1
)->MakeMandatoryControlPoints();
5620 wxPyEndAllowThreads(__tstate
);
5621 if (PyErr_Occurred()) SWIG_fail
;
5623 Py_INCREF(Py_None
); resultobj
= Py_None
;
5630 static PyObject
*_wrap_PyShape_ResetMandatoryControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5631 PyObject
*resultobj
;
5632 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5633 PyObject
* obj0
= 0 ;
5635 (char *) "self", NULL
5638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_ResetMandatoryControlPoints",kwnames
,&obj0
)) goto fail
;
5639 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
5640 if (SWIG_arg_fail(1)) SWIG_fail
;
5642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5643 (arg1
)->ResetMandatoryControlPoints();
5645 wxPyEndAllowThreads(__tstate
);
5646 if (PyErr_Occurred()) SWIG_fail
;
5648 Py_INCREF(Py_None
); resultobj
= Py_None
;
5655 static PyObject
*_wrap_PyShape_Recompute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5656 PyObject
*resultobj
;
5657 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5659 PyObject
* obj0
= 0 ;
5661 (char *) "self", NULL
5664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_Recompute",kwnames
,&obj0
)) goto fail
;
5665 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
5666 if (SWIG_arg_fail(1)) SWIG_fail
;
5668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5669 result
= (bool)(arg1
)->Recompute();
5671 wxPyEndAllowThreads(__tstate
);
5672 if (PyErr_Occurred()) SWIG_fail
;
5675 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5683 static PyObject
*_wrap_PyShape_CalculateSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5684 PyObject
*resultobj
;
5685 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5686 PyObject
* obj0
= 0 ;
5688 (char *) "self", NULL
5691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_CalculateSize",kwnames
,&obj0
)) goto fail
;
5692 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
5693 if (SWIG_arg_fail(1)) SWIG_fail
;
5695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5696 (arg1
)->CalculateSize();
5698 wxPyEndAllowThreads(__tstate
);
5699 if (PyErr_Occurred()) SWIG_fail
;
5701 Py_INCREF(Py_None
); resultobj
= Py_None
;
5708 static PyObject
*_wrap_PyShape_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5709 PyObject
*resultobj
;
5710 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5711 bool arg2
= (bool) true ;
5712 wxDC
*arg3
= (wxDC
*) NULL
;
5713 PyObject
* obj0
= 0 ;
5714 PyObject
* obj1
= 0 ;
5715 PyObject
* obj2
= 0 ;
5717 (char *) "self",(char *) "select",(char *) "dc", NULL
5720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyShape_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5721 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
5722 if (SWIG_arg_fail(1)) SWIG_fail
;
5725 arg2
= (bool)(SWIG_As_bool(obj1
));
5726 if (SWIG_arg_fail(2)) SWIG_fail
;
5730 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
5731 if (SWIG_arg_fail(3)) SWIG_fail
;
5734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5735 (arg1
)->Select(arg2
,arg3
);
5737 wxPyEndAllowThreads(__tstate
);
5738 if (PyErr_Occurred()) SWIG_fail
;
5740 Py_INCREF(Py_None
); resultobj
= Py_None
;
5747 static PyObject
*_wrap_PyShape_SetHighlight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5748 PyObject
*resultobj
;
5749 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5750 bool arg2
= (bool) true ;
5751 bool arg3
= (bool) false ;
5752 PyObject
* obj0
= 0 ;
5753 PyObject
* obj1
= 0 ;
5754 PyObject
* obj2
= 0 ;
5756 (char *) "self",(char *) "hi",(char *) "recurse", NULL
5759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyShape_SetHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5760 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
5761 if (SWIG_arg_fail(1)) SWIG_fail
;
5764 arg2
= (bool)(SWIG_As_bool(obj1
));
5765 if (SWIG_arg_fail(2)) SWIG_fail
;
5770 arg3
= (bool)(SWIG_As_bool(obj2
));
5771 if (SWIG_arg_fail(3)) SWIG_fail
;
5775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5776 (arg1
)->SetHighlight(arg2
,arg3
);
5778 wxPyEndAllowThreads(__tstate
);
5779 if (PyErr_Occurred()) SWIG_fail
;
5781 Py_INCREF(Py_None
); resultobj
= Py_None
;
5788 static PyObject
*_wrap_PyShape_IsHighlighted(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5789 PyObject
*resultobj
;
5790 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5792 PyObject
* obj0
= 0 ;
5794 (char *) "self", NULL
5797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_IsHighlighted",kwnames
,&obj0
)) goto fail
;
5798 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
5799 if (SWIG_arg_fail(1)) SWIG_fail
;
5801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5802 result
= (bool)(arg1
)->IsHighlighted();
5804 wxPyEndAllowThreads(__tstate
);
5805 if (PyErr_Occurred()) SWIG_fail
;
5808 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5816 static PyObject
*_wrap_PyShape_Selected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5817 PyObject
*resultobj
;
5818 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5820 PyObject
* obj0
= 0 ;
5822 (char *) "self", NULL
5825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_Selected",kwnames
,&obj0
)) goto fail
;
5826 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
5827 if (SWIG_arg_fail(1)) SWIG_fail
;
5829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5830 result
= (bool)(arg1
)->Selected();
5832 wxPyEndAllowThreads(__tstate
);
5833 if (PyErr_Occurred()) SWIG_fail
;
5836 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5844 static PyObject
*_wrap_PyShape_AncestorSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5845 PyObject
*resultobj
;
5846 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5848 PyObject
* obj0
= 0 ;
5850 (char *) "self", NULL
5853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_AncestorSelected",kwnames
,&obj0
)) goto fail
;
5854 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
5855 if (SWIG_arg_fail(1)) SWIG_fail
;
5857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5858 result
= (bool)(arg1
)->AncestorSelected();
5860 wxPyEndAllowThreads(__tstate
);
5861 if (PyErr_Occurred()) SWIG_fail
;
5864 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5872 static PyObject
*_wrap_PyShape_SetSensitivityFilter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5873 PyObject
*resultobj
;
5874 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5875 int arg2
= (int) OP_ALL
;
5876 bool arg3
= (bool) false ;
5877 PyObject
* obj0
= 0 ;
5878 PyObject
* obj1
= 0 ;
5879 PyObject
* obj2
= 0 ;
5881 (char *) "self",(char *) "sens",(char *) "recursive", NULL
5884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyShape_SetSensitivityFilter",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5885 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
5886 if (SWIG_arg_fail(1)) SWIG_fail
;
5889 arg2
= (int)(SWIG_As_int(obj1
));
5890 if (SWIG_arg_fail(2)) SWIG_fail
;
5895 arg3
= (bool)(SWIG_As_bool(obj2
));
5896 if (SWIG_arg_fail(3)) SWIG_fail
;
5900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5901 (arg1
)->SetSensitivityFilter(arg2
,arg3
);
5903 wxPyEndAllowThreads(__tstate
);
5904 if (PyErr_Occurred()) SWIG_fail
;
5906 Py_INCREF(Py_None
); resultobj
= Py_None
;
5913 static PyObject
*_wrap_PyShape_GetSensitivityFilter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5914 PyObject
*resultobj
;
5915 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5917 PyObject
* obj0
= 0 ;
5919 (char *) "self", NULL
5922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetSensitivityFilter",kwnames
,&obj0
)) goto fail
;
5923 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
5924 if (SWIG_arg_fail(1)) SWIG_fail
;
5926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5927 result
= (int)(arg1
)->GetSensitivityFilter();
5929 wxPyEndAllowThreads(__tstate
);
5930 if (PyErr_Occurred()) SWIG_fail
;
5933 resultobj
= SWIG_From_int((int)(result
));
5941 static PyObject
*_wrap_PyShape_SetDraggable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5942 PyObject
*resultobj
;
5943 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5945 bool arg3
= (bool) false ;
5946 PyObject
* obj0
= 0 ;
5947 PyObject
* obj1
= 0 ;
5948 PyObject
* obj2
= 0 ;
5950 (char *) "self",(char *) "drag",(char *) "recursive", NULL
5953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShape_SetDraggable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5954 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
5955 if (SWIG_arg_fail(1)) SWIG_fail
;
5957 arg2
= (bool)(SWIG_As_bool(obj1
));
5958 if (SWIG_arg_fail(2)) SWIG_fail
;
5962 arg3
= (bool)(SWIG_As_bool(obj2
));
5963 if (SWIG_arg_fail(3)) SWIG_fail
;
5967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5968 (arg1
)->SetDraggable(arg2
,arg3
);
5970 wxPyEndAllowThreads(__tstate
);
5971 if (PyErr_Occurred()) SWIG_fail
;
5973 Py_INCREF(Py_None
); resultobj
= Py_None
;
5980 static PyObject
*_wrap_PyShape_SetFixedSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5981 PyObject
*resultobj
;
5982 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
5985 PyObject
* obj0
= 0 ;
5986 PyObject
* obj1
= 0 ;
5987 PyObject
* obj2
= 0 ;
5989 (char *) "self",(char *) "x",(char *) "y", NULL
5992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShape_SetFixedSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5993 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
5994 if (SWIG_arg_fail(1)) SWIG_fail
;
5996 arg2
= (bool)(SWIG_As_bool(obj1
));
5997 if (SWIG_arg_fail(2)) SWIG_fail
;
6000 arg3
= (bool)(SWIG_As_bool(obj2
));
6001 if (SWIG_arg_fail(3)) SWIG_fail
;
6004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6005 (arg1
)->SetFixedSize(arg2
,arg3
);
6007 wxPyEndAllowThreads(__tstate
);
6008 if (PyErr_Occurred()) SWIG_fail
;
6010 Py_INCREF(Py_None
); resultobj
= Py_None
;
6017 static PyObject
*_wrap_PyShape_GetFixedSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6018 PyObject
*resultobj
;
6019 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6020 bool *arg2
= (bool *) 0 ;
6021 bool *arg3
= (bool *) 0 ;
6026 PyObject
* obj0
= 0 ;
6028 (char *) "self", NULL
6031 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
6032 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
6033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetFixedSize",kwnames
,&obj0
)) goto fail
;
6034 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
6035 if (SWIG_arg_fail(1)) SWIG_fail
;
6037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6038 (arg1
)->GetFixedSize(arg2
,arg3
);
6040 wxPyEndAllowThreads(__tstate
);
6041 if (PyErr_Occurred()) SWIG_fail
;
6043 Py_INCREF(Py_None
); resultobj
= Py_None
;
6044 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
6045 SWIG_From_bool((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_bool
, 0)));
6046 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
6047 SWIG_From_bool((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_bool
, 0)));
6054 static PyObject
*_wrap_PyShape_GetFixedWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6055 PyObject
*resultobj
;
6056 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6058 PyObject
* obj0
= 0 ;
6060 (char *) "self", NULL
6063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetFixedWidth",kwnames
,&obj0
)) goto fail
;
6064 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
6065 if (SWIG_arg_fail(1)) SWIG_fail
;
6067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6068 result
= (bool)(arg1
)->GetFixedWidth();
6070 wxPyEndAllowThreads(__tstate
);
6071 if (PyErr_Occurred()) SWIG_fail
;
6074 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6082 static PyObject
*_wrap_PyShape_GetFixedHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6083 PyObject
*resultobj
;
6084 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6086 PyObject
* obj0
= 0 ;
6088 (char *) "self", NULL
6091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetFixedHeight",kwnames
,&obj0
)) goto fail
;
6092 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
6093 if (SWIG_arg_fail(1)) SWIG_fail
;
6095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6096 result
= (bool)(arg1
)->GetFixedHeight();
6098 wxPyEndAllowThreads(__tstate
);
6099 if (PyErr_Occurred()) SWIG_fail
;
6102 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6110 static PyObject
*_wrap_PyShape_SetSpaceAttachments(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6111 PyObject
*resultobj
;
6112 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6114 PyObject
* obj0
= 0 ;
6115 PyObject
* obj1
= 0 ;
6117 (char *) "self",(char *) "sp", NULL
6120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetSpaceAttachments",kwnames
,&obj0
,&obj1
)) goto fail
;
6121 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
6122 if (SWIG_arg_fail(1)) SWIG_fail
;
6124 arg2
= (bool)(SWIG_As_bool(obj1
));
6125 if (SWIG_arg_fail(2)) SWIG_fail
;
6128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6129 (arg1
)->SetSpaceAttachments(arg2
);
6131 wxPyEndAllowThreads(__tstate
);
6132 if (PyErr_Occurred()) SWIG_fail
;
6134 Py_INCREF(Py_None
); resultobj
= Py_None
;
6141 static PyObject
*_wrap_PyShape_GetSpaceAttachments(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6142 PyObject
*resultobj
;
6143 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6145 PyObject
* obj0
= 0 ;
6147 (char *) "self", NULL
6150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetSpaceAttachments",kwnames
,&obj0
)) goto fail
;
6151 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
6152 if (SWIG_arg_fail(1)) SWIG_fail
;
6154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6155 result
= (bool)(arg1
)->GetSpaceAttachments();
6157 wxPyEndAllowThreads(__tstate
);
6158 if (PyErr_Occurred()) SWIG_fail
;
6161 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6169 static PyObject
*_wrap_PyShape_SetShadowMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6170 PyObject
*resultobj
;
6171 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6173 bool arg3
= (bool) false ;
6174 PyObject
* obj0
= 0 ;
6175 PyObject
* obj1
= 0 ;
6176 PyObject
* obj2
= 0 ;
6178 (char *) "self",(char *) "mode",(char *) "redraw", NULL
6181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShape_SetShadowMode",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6182 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
6183 if (SWIG_arg_fail(1)) SWIG_fail
;
6185 arg2
= (int)(SWIG_As_int(obj1
));
6186 if (SWIG_arg_fail(2)) SWIG_fail
;
6190 arg3
= (bool)(SWIG_As_bool(obj2
));
6191 if (SWIG_arg_fail(3)) SWIG_fail
;
6195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6196 (arg1
)->SetShadowMode(arg2
,arg3
);
6198 wxPyEndAllowThreads(__tstate
);
6199 if (PyErr_Occurred()) SWIG_fail
;
6201 Py_INCREF(Py_None
); resultobj
= Py_None
;
6208 static PyObject
*_wrap_PyShape_GetShadowMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6209 PyObject
*resultobj
;
6210 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6212 PyObject
* obj0
= 0 ;
6214 (char *) "self", NULL
6217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetShadowMode",kwnames
,&obj0
)) goto fail
;
6218 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
6219 if (SWIG_arg_fail(1)) SWIG_fail
;
6221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6222 result
= (int)(arg1
)->GetShadowMode();
6224 wxPyEndAllowThreads(__tstate
);
6225 if (PyErr_Occurred()) SWIG_fail
;
6228 resultobj
= SWIG_From_int((int)(result
));
6236 static PyObject
*_wrap_PyShape_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6237 PyObject
*resultobj
;
6238 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6241 int *arg4
= (int *) 0 ;
6242 double *arg5
= (double *) 0 ;
6248 PyObject
* obj0
= 0 ;
6249 PyObject
* obj1
= 0 ;
6250 PyObject
* obj2
= 0 ;
6252 (char *) "self",(char *) "x",(char *) "y", NULL
6255 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
6256 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
6257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShape_HitTest",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6258 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
6259 if (SWIG_arg_fail(1)) SWIG_fail
;
6261 arg2
= (double)(SWIG_As_double(obj1
));
6262 if (SWIG_arg_fail(2)) SWIG_fail
;
6265 arg3
= (double)(SWIG_As_double(obj2
));
6266 if (SWIG_arg_fail(3)) SWIG_fail
;
6269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6270 result
= (bool)(arg1
)->HitTest(arg2
,arg3
,arg4
,arg5
);
6272 wxPyEndAllowThreads(__tstate
);
6273 if (PyErr_Occurred()) SWIG_fail
;
6276 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6278 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
6279 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
6280 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
6281 SWIG_From_double((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_double
, 0)));
6288 static PyObject
*_wrap_PyShape_SetCentreResize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6289 PyObject
*resultobj
;
6290 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6292 PyObject
* obj0
= 0 ;
6293 PyObject
* obj1
= 0 ;
6295 (char *) "self",(char *) "cr", NULL
6298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetCentreResize",kwnames
,&obj0
,&obj1
)) goto fail
;
6299 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
6300 if (SWIG_arg_fail(1)) SWIG_fail
;
6302 arg2
= (bool)(SWIG_As_bool(obj1
));
6303 if (SWIG_arg_fail(2)) SWIG_fail
;
6306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6307 (arg1
)->SetCentreResize(arg2
);
6309 wxPyEndAllowThreads(__tstate
);
6310 if (PyErr_Occurred()) SWIG_fail
;
6312 Py_INCREF(Py_None
); resultobj
= Py_None
;
6319 static PyObject
*_wrap_PyShape_GetCentreResize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6320 PyObject
*resultobj
;
6321 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6323 PyObject
* obj0
= 0 ;
6325 (char *) "self", NULL
6328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetCentreResize",kwnames
,&obj0
)) goto fail
;
6329 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
6330 if (SWIG_arg_fail(1)) SWIG_fail
;
6332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6333 result
= (bool)(arg1
)->GetCentreResize();
6335 wxPyEndAllowThreads(__tstate
);
6336 if (PyErr_Occurred()) SWIG_fail
;
6339 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6347 static PyObject
*_wrap_PyShape_SetMaintainAspectRatio(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6348 PyObject
*resultobj
;
6349 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6351 PyObject
* obj0
= 0 ;
6352 PyObject
* obj1
= 0 ;
6354 (char *) "self",(char *) "ar", NULL
6357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetMaintainAspectRatio",kwnames
,&obj0
,&obj1
)) goto fail
;
6358 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
6359 if (SWIG_arg_fail(1)) SWIG_fail
;
6361 arg2
= (bool)(SWIG_As_bool(obj1
));
6362 if (SWIG_arg_fail(2)) SWIG_fail
;
6365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6366 (arg1
)->SetMaintainAspectRatio(arg2
);
6368 wxPyEndAllowThreads(__tstate
);
6369 if (PyErr_Occurred()) SWIG_fail
;
6371 Py_INCREF(Py_None
); resultobj
= Py_None
;
6378 static PyObject
*_wrap_PyShape_GetMaintainAspectRatio(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6379 PyObject
*resultobj
;
6380 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6382 PyObject
* obj0
= 0 ;
6384 (char *) "self", NULL
6387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetMaintainAspectRatio",kwnames
,&obj0
)) goto fail
;
6388 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
6389 if (SWIG_arg_fail(1)) SWIG_fail
;
6391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6392 result
= (bool)(arg1
)->GetMaintainAspectRatio();
6394 wxPyEndAllowThreads(__tstate
);
6395 if (PyErr_Occurred()) SWIG_fail
;
6398 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6406 static PyObject
*_wrap_PyShape_GetLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6407 PyObject
*resultobj
;
6408 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6410 PyObject
* obj0
= 0 ;
6412 (char *) "self", NULL
6415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetLines",kwnames
,&obj0
)) goto fail
;
6416 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
6417 if (SWIG_arg_fail(1)) SWIG_fail
;
6419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6420 result
= (PyObject
*)wxPyShape_GetLines(arg1
);
6422 wxPyEndAllowThreads(__tstate
);
6423 if (PyErr_Occurred()) SWIG_fail
;
6432 static PyObject
*_wrap_PyShape_SetDisableLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6433 PyObject
*resultobj
;
6434 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6436 PyObject
* obj0
= 0 ;
6437 PyObject
* obj1
= 0 ;
6439 (char *) "self",(char *) "flag", NULL
6442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetDisableLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
6443 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
6444 if (SWIG_arg_fail(1)) SWIG_fail
;
6446 arg2
= (bool)(SWIG_As_bool(obj1
));
6447 if (SWIG_arg_fail(2)) SWIG_fail
;
6450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6451 (arg1
)->SetDisableLabel(arg2
);
6453 wxPyEndAllowThreads(__tstate
);
6454 if (PyErr_Occurred()) SWIG_fail
;
6456 Py_INCREF(Py_None
); resultobj
= Py_None
;
6463 static PyObject
*_wrap_PyShape_GetDisableLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6464 PyObject
*resultobj
;
6465 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6467 PyObject
* obj0
= 0 ;
6469 (char *) "self", NULL
6472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetDisableLabel",kwnames
,&obj0
)) goto fail
;
6473 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
6474 if (SWIG_arg_fail(1)) SWIG_fail
;
6476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6477 result
= (bool)(arg1
)->GetDisableLabel();
6479 wxPyEndAllowThreads(__tstate
);
6480 if (PyErr_Occurred()) SWIG_fail
;
6483 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6491 static PyObject
*_wrap_PyShape_SetAttachmentMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6492 PyObject
*resultobj
;
6493 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6495 PyObject
* obj0
= 0 ;
6496 PyObject
* obj1
= 0 ;
6498 (char *) "self",(char *) "mode", NULL
6501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetAttachmentMode",kwnames
,&obj0
,&obj1
)) goto fail
;
6502 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
6503 if (SWIG_arg_fail(1)) SWIG_fail
;
6505 arg2
= (int)(SWIG_As_int(obj1
));
6506 if (SWIG_arg_fail(2)) SWIG_fail
;
6509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6510 (arg1
)->SetAttachmentMode(arg2
);
6512 wxPyEndAllowThreads(__tstate
);
6513 if (PyErr_Occurred()) SWIG_fail
;
6515 Py_INCREF(Py_None
); resultobj
= Py_None
;
6522 static PyObject
*_wrap_PyShape_GetAttachmentMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6523 PyObject
*resultobj
;
6524 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6526 PyObject
* obj0
= 0 ;
6528 (char *) "self", NULL
6531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetAttachmentMode",kwnames
,&obj0
)) goto fail
;
6532 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
6533 if (SWIG_arg_fail(1)) SWIG_fail
;
6535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6536 result
= (int)(arg1
)->GetAttachmentMode();
6538 wxPyEndAllowThreads(__tstate
);
6539 if (PyErr_Occurred()) SWIG_fail
;
6542 resultobj
= SWIG_From_int((int)(result
));
6550 static PyObject
*_wrap_PyShape_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6551 PyObject
*resultobj
;
6552 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6554 PyObject
* obj0
= 0 ;
6555 PyObject
* obj1
= 0 ;
6557 (char *) "self",(char *) "i", NULL
6560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
6561 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
6562 if (SWIG_arg_fail(1)) SWIG_fail
;
6564 arg2
= (long)(SWIG_As_long(obj1
));
6565 if (SWIG_arg_fail(2)) SWIG_fail
;
6568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6569 (arg1
)->SetId(arg2
);
6571 wxPyEndAllowThreads(__tstate
);
6572 if (PyErr_Occurred()) SWIG_fail
;
6574 Py_INCREF(Py_None
); resultobj
= Py_None
;
6581 static PyObject
*_wrap_PyShape_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6582 PyObject
*resultobj
;
6583 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6585 PyObject
* obj0
= 0 ;
6587 (char *) "self", NULL
6590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetId",kwnames
,&obj0
)) goto fail
;
6591 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
6592 if (SWIG_arg_fail(1)) SWIG_fail
;
6594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6595 result
= (long)(arg1
)->GetId();
6597 wxPyEndAllowThreads(__tstate
);
6598 if (PyErr_Occurred()) SWIG_fail
;
6601 resultobj
= SWIG_From_long((long)(result
));
6609 static PyObject
*_wrap_PyShape_SetPen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6610 PyObject
*resultobj
;
6611 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6612 wxPen
*arg2
= (wxPen
*) 0 ;
6613 PyObject
* obj0
= 0 ;
6614 PyObject
* obj1
= 0 ;
6616 (char *) "self",(char *) "pen", NULL
6619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetPen",kwnames
,&obj0
,&obj1
)) goto fail
;
6620 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
6621 if (SWIG_arg_fail(1)) SWIG_fail
;
6625 if (obj1
== Py_None
) {
6628 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxPen"))) {
6629 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxPen.");
6634 arg2
= wxThePenList
->FindOrCreatePen(temp
->GetColour(),
6641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6642 (arg1
)->SetPen(arg2
);
6644 wxPyEndAllowThreads(__tstate
);
6645 if (PyErr_Occurred()) SWIG_fail
;
6647 Py_INCREF(Py_None
); resultobj
= Py_None
;
6654 static PyObject
*_wrap_PyShape_SetBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6655 PyObject
*resultobj
;
6656 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6657 wxBrush
*arg2
= (wxBrush
*) 0 ;
6658 PyObject
* obj0
= 0 ;
6659 PyObject
* obj1
= 0 ;
6661 (char *) "self",(char *) "brush", NULL
6664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
6665 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
6666 if (SWIG_arg_fail(1)) SWIG_fail
;
6670 if (obj1
== Py_None
) {
6673 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxBrush"))) {
6674 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxBrush.");
6679 arg2
= wxTheBrushList
->FindOrCreateBrush(temp
->GetColour(), temp
->GetStyle());
6684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6685 (arg1
)->SetBrush(arg2
);
6687 wxPyEndAllowThreads(__tstate
);
6688 if (PyErr_Occurred()) SWIG_fail
;
6690 Py_INCREF(Py_None
); resultobj
= Py_None
;
6697 static PyObject
*_wrap_PyShape_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6698 PyObject
*resultobj
;
6699 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6701 PyObject
* obj0
= 0 ;
6702 PyObject
* obj1
= 0 ;
6704 (char *) "self",(char *) "show", NULL
6707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
6708 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
6709 if (SWIG_arg_fail(1)) SWIG_fail
;
6711 arg2
= (bool)(SWIG_As_bool(obj1
));
6712 if (SWIG_arg_fail(2)) SWIG_fail
;
6715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6718 wxPyEndAllowThreads(__tstate
);
6719 if (PyErr_Occurred()) SWIG_fail
;
6721 Py_INCREF(Py_None
); resultobj
= Py_None
;
6728 static PyObject
*_wrap_PyShape_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6729 PyObject
*resultobj
;
6730 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6732 PyObject
* obj0
= 0 ;
6734 (char *) "self", NULL
6737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_IsShown",kwnames
,&obj0
)) goto fail
;
6738 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
6739 if (SWIG_arg_fail(1)) SWIG_fail
;
6741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6742 result
= (bool)(arg1
)->IsShown();
6744 wxPyEndAllowThreads(__tstate
);
6745 if (PyErr_Occurred()) SWIG_fail
;
6748 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6756 static PyObject
*_wrap_PyShape_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6757 PyObject
*resultobj
;
6758 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6762 bool arg5
= (bool) true ;
6763 PyObject
* obj0
= 0 ;
6764 PyObject
* obj1
= 0 ;
6765 PyObject
* obj2
= 0 ;
6766 PyObject
* obj3
= 0 ;
6767 PyObject
* obj4
= 0 ;
6769 (char *) "self",(char *) "dc",(char *) "x1",(char *) "y1",(char *) "display", NULL
6772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PyShape_Move",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6773 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
6774 if (SWIG_arg_fail(1)) SWIG_fail
;
6776 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
6777 if (SWIG_arg_fail(2)) SWIG_fail
;
6779 SWIG_null_ref("wxDC");
6781 if (SWIG_arg_fail(2)) SWIG_fail
;
6784 arg3
= (double)(SWIG_As_double(obj2
));
6785 if (SWIG_arg_fail(3)) SWIG_fail
;
6788 arg4
= (double)(SWIG_As_double(obj3
));
6789 if (SWIG_arg_fail(4)) SWIG_fail
;
6793 arg5
= (bool)(SWIG_As_bool(obj4
));
6794 if (SWIG_arg_fail(5)) SWIG_fail
;
6798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6799 (arg1
)->Move(*arg2
,arg3
,arg4
,arg5
);
6801 wxPyEndAllowThreads(__tstate
);
6802 if (PyErr_Occurred()) SWIG_fail
;
6804 Py_INCREF(Py_None
); resultobj
= Py_None
;
6811 static PyObject
*_wrap_PyShape_Erase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6812 PyObject
*resultobj
;
6813 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6815 PyObject
* obj0
= 0 ;
6816 PyObject
* obj1
= 0 ;
6818 (char *) "self",(char *) "dc", NULL
6821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_Erase",kwnames
,&obj0
,&obj1
)) goto fail
;
6822 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
6823 if (SWIG_arg_fail(1)) SWIG_fail
;
6825 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
6826 if (SWIG_arg_fail(2)) SWIG_fail
;
6828 SWIG_null_ref("wxDC");
6830 if (SWIG_arg_fail(2)) SWIG_fail
;
6833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6834 (arg1
)->Erase(*arg2
);
6836 wxPyEndAllowThreads(__tstate
);
6837 if (PyErr_Occurred()) SWIG_fail
;
6839 Py_INCREF(Py_None
); resultobj
= Py_None
;
6846 static PyObject
*_wrap_PyShape_EraseContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6847 PyObject
*resultobj
;
6848 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6850 PyObject
* obj0
= 0 ;
6851 PyObject
* obj1
= 0 ;
6853 (char *) "self",(char *) "dc", NULL
6856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_EraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
6857 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
6858 if (SWIG_arg_fail(1)) SWIG_fail
;
6860 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
6861 if (SWIG_arg_fail(2)) SWIG_fail
;
6863 SWIG_null_ref("wxDC");
6865 if (SWIG_arg_fail(2)) SWIG_fail
;
6868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6869 (arg1
)->EraseContents(*arg2
);
6871 wxPyEndAllowThreads(__tstate
);
6872 if (PyErr_Occurred()) SWIG_fail
;
6874 Py_INCREF(Py_None
); resultobj
= Py_None
;
6881 static PyObject
*_wrap_PyShape_Draw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6882 PyObject
*resultobj
;
6883 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6885 PyObject
* obj0
= 0 ;
6886 PyObject
* obj1
= 0 ;
6888 (char *) "self",(char *) "dc", NULL
6891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_Draw",kwnames
,&obj0
,&obj1
)) goto fail
;
6892 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
6893 if (SWIG_arg_fail(1)) SWIG_fail
;
6895 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
6896 if (SWIG_arg_fail(2)) SWIG_fail
;
6898 SWIG_null_ref("wxDC");
6900 if (SWIG_arg_fail(2)) SWIG_fail
;
6903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6904 (arg1
)->Draw(*arg2
);
6906 wxPyEndAllowThreads(__tstate
);
6907 if (PyErr_Occurred()) SWIG_fail
;
6909 Py_INCREF(Py_None
); resultobj
= Py_None
;
6916 static PyObject
*_wrap_PyShape_Flash(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6917 PyObject
*resultobj
;
6918 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6919 PyObject
* obj0
= 0 ;
6921 (char *) "self", NULL
6924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_Flash",kwnames
,&obj0
)) goto fail
;
6925 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
6926 if (SWIG_arg_fail(1)) SWIG_fail
;
6928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6931 wxPyEndAllowThreads(__tstate
);
6932 if (PyErr_Occurred()) SWIG_fail
;
6934 Py_INCREF(Py_None
); resultobj
= Py_None
;
6941 static PyObject
*_wrap_PyShape_MoveLinks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6942 PyObject
*resultobj
;
6943 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6945 PyObject
* obj0
= 0 ;
6946 PyObject
* obj1
= 0 ;
6948 (char *) "self",(char *) "dc", NULL
6951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_MoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
6952 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
6953 if (SWIG_arg_fail(1)) SWIG_fail
;
6955 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
6956 if (SWIG_arg_fail(2)) SWIG_fail
;
6958 SWIG_null_ref("wxDC");
6960 if (SWIG_arg_fail(2)) SWIG_fail
;
6963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6964 (arg1
)->MoveLinks(*arg2
);
6966 wxPyEndAllowThreads(__tstate
);
6967 if (PyErr_Occurred()) SWIG_fail
;
6969 Py_INCREF(Py_None
); resultobj
= Py_None
;
6976 static PyObject
*_wrap_PyShape_DrawContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6977 PyObject
*resultobj
;
6978 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
6980 PyObject
* obj0
= 0 ;
6981 PyObject
* obj1
= 0 ;
6983 (char *) "self",(char *) "dc", NULL
6986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_DrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
6987 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
6988 if (SWIG_arg_fail(1)) SWIG_fail
;
6990 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
6991 if (SWIG_arg_fail(2)) SWIG_fail
;
6993 SWIG_null_ref("wxDC");
6995 if (SWIG_arg_fail(2)) SWIG_fail
;
6998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6999 (arg1
)->DrawContents(*arg2
);
7001 wxPyEndAllowThreads(__tstate
);
7002 if (PyErr_Occurred()) SWIG_fail
;
7004 Py_INCREF(Py_None
); resultobj
= Py_None
;
7011 static PyObject
*_wrap_PyShape_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7012 PyObject
*resultobj
;
7013 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7016 bool arg4
= (bool) true ;
7017 PyObject
* obj0
= 0 ;
7018 PyObject
* obj1
= 0 ;
7019 PyObject
* obj2
= 0 ;
7020 PyObject
* obj3
= 0 ;
7022 (char *) "self",(char *) "x",(char *) "y",(char *) "recursive", NULL
7025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyShape_SetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7026 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
7027 if (SWIG_arg_fail(1)) SWIG_fail
;
7029 arg2
= (double)(SWIG_As_double(obj1
));
7030 if (SWIG_arg_fail(2)) SWIG_fail
;
7033 arg3
= (double)(SWIG_As_double(obj2
));
7034 if (SWIG_arg_fail(3)) SWIG_fail
;
7038 arg4
= (bool)(SWIG_As_bool(obj3
));
7039 if (SWIG_arg_fail(4)) SWIG_fail
;
7043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7044 (arg1
)->SetSize(arg2
,arg3
,arg4
);
7046 wxPyEndAllowThreads(__tstate
);
7047 if (PyErr_Occurred()) SWIG_fail
;
7049 Py_INCREF(Py_None
); resultobj
= Py_None
;
7056 static PyObject
*_wrap_PyShape_SetAttachmentSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7057 PyObject
*resultobj
;
7058 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7061 PyObject
* obj0
= 0 ;
7062 PyObject
* obj1
= 0 ;
7063 PyObject
* obj2
= 0 ;
7065 (char *) "self",(char *) "x",(char *) "y", NULL
7068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShape_SetAttachmentSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7069 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
7070 if (SWIG_arg_fail(1)) SWIG_fail
;
7072 arg2
= (double)(SWIG_As_double(obj1
));
7073 if (SWIG_arg_fail(2)) SWIG_fail
;
7076 arg3
= (double)(SWIG_As_double(obj2
));
7077 if (SWIG_arg_fail(3)) SWIG_fail
;
7080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7081 (arg1
)->SetAttachmentSize(arg2
,arg3
);
7083 wxPyEndAllowThreads(__tstate
);
7084 if (PyErr_Occurred()) SWIG_fail
;
7086 Py_INCREF(Py_None
); resultobj
= Py_None
;
7093 static PyObject
*_wrap_PyShape_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7094 PyObject
*resultobj
;
7095 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7096 wxPyShapeCanvas
*arg2
= (wxPyShapeCanvas
*) 0 ;
7097 PyObject
* obj0
= 0 ;
7098 PyObject
* obj1
= 0 ;
7100 (char *) "self",(char *) "can", NULL
7103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
7104 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
7105 if (SWIG_arg_fail(1)) SWIG_fail
;
7106 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyShapeCanvas
, SWIG_POINTER_EXCEPTION
| 0);
7107 if (SWIG_arg_fail(2)) SWIG_fail
;
7109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7110 (arg1
)->Attach(arg2
);
7112 wxPyEndAllowThreads(__tstate
);
7113 if (PyErr_Occurred()) SWIG_fail
;
7115 Py_INCREF(Py_None
); resultobj
= Py_None
;
7122 static PyObject
*_wrap_PyShape_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7123 PyObject
*resultobj
;
7124 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7125 PyObject
* obj0
= 0 ;
7127 (char *) "self", NULL
7130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_Detach",kwnames
,&obj0
)) goto fail
;
7131 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
7132 if (SWIG_arg_fail(1)) SWIG_fail
;
7134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7137 wxPyEndAllowThreads(__tstate
);
7138 if (PyErr_Occurred()) SWIG_fail
;
7140 Py_INCREF(Py_None
); resultobj
= Py_None
;
7147 static PyObject
*_wrap_PyShape_Constrain(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7148 PyObject
*resultobj
;
7149 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7151 PyObject
* obj0
= 0 ;
7153 (char *) "self", NULL
7156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_Constrain",kwnames
,&obj0
)) goto fail
;
7157 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
7158 if (SWIG_arg_fail(1)) SWIG_fail
;
7160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7161 result
= (bool)(arg1
)->Constrain();
7163 wxPyEndAllowThreads(__tstate
);
7164 if (PyErr_Occurred()) SWIG_fail
;
7167 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7175 static PyObject
*_wrap_PyShape_AddLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7176 PyObject
*resultobj
;
7177 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7178 wxPyLineShape
*arg2
= (wxPyLineShape
*) 0 ;
7179 wxPyShape
*arg3
= (wxPyShape
*) 0 ;
7180 int arg4
= (int) 0 ;
7181 int arg5
= (int) 0 ;
7182 int arg6
= (int) -1 ;
7183 int arg7
= (int) -1 ;
7184 PyObject
* obj0
= 0 ;
7185 PyObject
* obj1
= 0 ;
7186 PyObject
* obj2
= 0 ;
7187 PyObject
* obj3
= 0 ;
7188 PyObject
* obj4
= 0 ;
7189 PyObject
* obj5
= 0 ;
7190 PyObject
* obj6
= 0 ;
7192 (char *) "self",(char *) "line",(char *) "other",(char *) "attachFrom",(char *) "attachTo",(char *) "positionFrom",(char *) "positionTo", NULL
7195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:PyShape_AddLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
7196 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
7197 if (SWIG_arg_fail(1)) SWIG_fail
;
7198 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyLineShape
, SWIG_POINTER_EXCEPTION
| 0);
7199 if (SWIG_arg_fail(2)) SWIG_fail
;
7200 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
7201 if (SWIG_arg_fail(3)) SWIG_fail
;
7204 arg4
= (int)(SWIG_As_int(obj3
));
7205 if (SWIG_arg_fail(4)) SWIG_fail
;
7210 arg5
= (int)(SWIG_As_int(obj4
));
7211 if (SWIG_arg_fail(5)) SWIG_fail
;
7216 arg6
= (int)(SWIG_As_int(obj5
));
7217 if (SWIG_arg_fail(6)) SWIG_fail
;
7222 arg7
= (int)(SWIG_As_int(obj6
));
7223 if (SWIG_arg_fail(7)) SWIG_fail
;
7227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7228 (arg1
)->AddLine(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
7230 wxPyEndAllowThreads(__tstate
);
7231 if (PyErr_Occurred()) SWIG_fail
;
7233 Py_INCREF(Py_None
); resultobj
= Py_None
;
7240 static PyObject
*_wrap_PyShape_GetLinePosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7241 PyObject
*resultobj
;
7242 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7243 wxPyLineShape
*arg2
= (wxPyLineShape
*) 0 ;
7245 PyObject
* obj0
= 0 ;
7246 PyObject
* obj1
= 0 ;
7248 (char *) "self",(char *) "line", NULL
7251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_GetLinePosition",kwnames
,&obj0
,&obj1
)) goto fail
;
7252 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
7253 if (SWIG_arg_fail(1)) SWIG_fail
;
7254 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyLineShape
, SWIG_POINTER_EXCEPTION
| 0);
7255 if (SWIG_arg_fail(2)) SWIG_fail
;
7257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7258 result
= (int)(arg1
)->GetLinePosition(arg2
);
7260 wxPyEndAllowThreads(__tstate
);
7261 if (PyErr_Occurred()) SWIG_fail
;
7264 resultobj
= SWIG_From_int((int)(result
));
7272 static PyObject
*_wrap_PyShape_AddText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7273 PyObject
*resultobj
;
7274 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7275 wxString
*arg2
= 0 ;
7276 bool temp2
= false ;
7277 PyObject
* obj0
= 0 ;
7278 PyObject
* obj1
= 0 ;
7280 (char *) "self",(char *) "string", NULL
7283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_AddText",kwnames
,&obj0
,&obj1
)) goto fail
;
7284 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
7285 if (SWIG_arg_fail(1)) SWIG_fail
;
7287 arg2
= wxString_in_helper(obj1
);
7288 if (arg2
== NULL
) SWIG_fail
;
7292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7293 (arg1
)->AddText((wxString
const &)*arg2
);
7295 wxPyEndAllowThreads(__tstate
);
7296 if (PyErr_Occurred()) SWIG_fail
;
7298 Py_INCREF(Py_None
); resultobj
= Py_None
;
7313 static PyObject
*_wrap_PyShape_GetPen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7314 PyObject
*resultobj
;
7315 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7317 PyObject
* obj0
= 0 ;
7319 (char *) "self", NULL
7322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetPen",kwnames
,&obj0
)) goto fail
;
7323 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
7324 if (SWIG_arg_fail(1)) SWIG_fail
;
7326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7327 result
= (wxPen
*)(arg1
)->GetPen();
7329 wxPyEndAllowThreads(__tstate
);
7330 if (PyErr_Occurred()) SWIG_fail
;
7332 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 0);
7339 static PyObject
*_wrap_PyShape_GetBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7340 PyObject
*resultobj
;
7341 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7343 PyObject
* obj0
= 0 ;
7345 (char *) "self", NULL
7348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetBrush",kwnames
,&obj0
)) goto fail
;
7349 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
7350 if (SWIG_arg_fail(1)) SWIG_fail
;
7352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7353 result
= (wxBrush
*)(arg1
)->GetBrush();
7355 wxPyEndAllowThreads(__tstate
);
7356 if (PyErr_Occurred()) SWIG_fail
;
7358 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 0);
7365 static PyObject
*_wrap_PyShape_SetDefaultRegionSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7366 PyObject
*resultobj
;
7367 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7368 PyObject
* obj0
= 0 ;
7370 (char *) "self", NULL
7373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_SetDefaultRegionSize",kwnames
,&obj0
)) goto fail
;
7374 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
7375 if (SWIG_arg_fail(1)) SWIG_fail
;
7377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7378 (arg1
)->SetDefaultRegionSize();
7380 wxPyEndAllowThreads(__tstate
);
7381 if (PyErr_Occurred()) SWIG_fail
;
7383 Py_INCREF(Py_None
); resultobj
= Py_None
;
7390 static PyObject
*_wrap_PyShape_FormatText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7391 PyObject
*resultobj
;
7392 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7394 wxString
*arg3
= 0 ;
7395 int arg4
= (int) 0 ;
7396 bool temp3
= false ;
7397 PyObject
* obj0
= 0 ;
7398 PyObject
* obj1
= 0 ;
7399 PyObject
* obj2
= 0 ;
7400 PyObject
* obj3
= 0 ;
7402 (char *) "self",(char *) "dc",(char *) "s",(char *) "regionId", NULL
7405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyShape_FormatText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7406 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
7407 if (SWIG_arg_fail(1)) SWIG_fail
;
7409 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
7410 if (SWIG_arg_fail(2)) SWIG_fail
;
7412 SWIG_null_ref("wxDC");
7414 if (SWIG_arg_fail(2)) SWIG_fail
;
7417 arg3
= wxString_in_helper(obj2
);
7418 if (arg3
== NULL
) SWIG_fail
;
7423 arg4
= (int)(SWIG_As_int(obj3
));
7424 if (SWIG_arg_fail(4)) SWIG_fail
;
7428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7429 (arg1
)->FormatText(*arg2
,(wxString
const &)*arg3
,arg4
);
7431 wxPyEndAllowThreads(__tstate
);
7432 if (PyErr_Occurred()) SWIG_fail
;
7434 Py_INCREF(Py_None
); resultobj
= Py_None
;
7449 static PyObject
*_wrap_PyShape_SetFormatMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7450 PyObject
*resultobj
;
7451 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7453 int arg3
= (int) 0 ;
7454 PyObject
* obj0
= 0 ;
7455 PyObject
* obj1
= 0 ;
7456 PyObject
* obj2
= 0 ;
7458 (char *) "self",(char *) "mode",(char *) "regionId", NULL
7461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShape_SetFormatMode",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7462 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
7463 if (SWIG_arg_fail(1)) SWIG_fail
;
7465 arg2
= (int)(SWIG_As_int(obj1
));
7466 if (SWIG_arg_fail(2)) SWIG_fail
;
7470 arg3
= (int)(SWIG_As_int(obj2
));
7471 if (SWIG_arg_fail(3)) SWIG_fail
;
7475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7476 (arg1
)->SetFormatMode(arg2
,arg3
);
7478 wxPyEndAllowThreads(__tstate
);
7479 if (PyErr_Occurred()) SWIG_fail
;
7481 Py_INCREF(Py_None
); resultobj
= Py_None
;
7488 static PyObject
*_wrap_PyShape_GetFormatMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7489 PyObject
*resultobj
;
7490 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7491 int arg2
= (int) 0 ;
7493 PyObject
* obj0
= 0 ;
7494 PyObject
* obj1
= 0 ;
7496 (char *) "self",(char *) "regionId", NULL
7499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyShape_GetFormatMode",kwnames
,&obj0
,&obj1
)) goto fail
;
7500 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
7501 if (SWIG_arg_fail(1)) SWIG_fail
;
7504 arg2
= (int)(SWIG_As_int(obj1
));
7505 if (SWIG_arg_fail(2)) SWIG_fail
;
7509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7510 result
= (int)(arg1
)->GetFormatMode(arg2
);
7512 wxPyEndAllowThreads(__tstate
);
7513 if (PyErr_Occurred()) SWIG_fail
;
7516 resultobj
= SWIG_From_int((int)(result
));
7524 static PyObject
*_wrap_PyShape_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7525 PyObject
*resultobj
;
7526 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7527 wxFont
*arg2
= (wxFont
*) 0 ;
7528 int arg3
= (int) 0 ;
7529 PyObject
* obj0
= 0 ;
7530 PyObject
* obj1
= 0 ;
7531 PyObject
* obj2
= 0 ;
7533 (char *) "self",(char *) "font",(char *) "regionId", NULL
7536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShape_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7537 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
7538 if (SWIG_arg_fail(1)) SWIG_fail
;
7542 if (obj1
== Py_None
) {
7545 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxFont"))) {
7546 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxFont.");
7551 arg2
= wxTheFontList
->FindOrCreateFont(temp
->GetPointSize(),
7555 temp
->GetUnderlined(),
7556 temp
->GetFaceName(),
7557 temp
->GetEncoding());
7563 arg3
= (int)(SWIG_As_int(obj2
));
7564 if (SWIG_arg_fail(3)) SWIG_fail
;
7568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7569 (arg1
)->SetFont(arg2
,arg3
);
7571 wxPyEndAllowThreads(__tstate
);
7572 if (PyErr_Occurred()) SWIG_fail
;
7574 Py_INCREF(Py_None
); resultobj
= Py_None
;
7581 static PyObject
*_wrap_PyShape_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7582 PyObject
*resultobj
;
7583 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7584 int arg2
= (int) 0 ;
7586 PyObject
* obj0
= 0 ;
7587 PyObject
* obj1
= 0 ;
7589 (char *) "self",(char *) "regionId", NULL
7592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyShape_GetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
7593 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
7594 if (SWIG_arg_fail(1)) SWIG_fail
;
7597 arg2
= (int)(SWIG_As_int(obj1
));
7598 if (SWIG_arg_fail(2)) SWIG_fail
;
7602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7603 result
= (wxFont
*)(arg1
)->GetFont(arg2
);
7605 wxPyEndAllowThreads(__tstate
);
7606 if (PyErr_Occurred()) SWIG_fail
;
7608 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
7615 static PyObject
*_wrap_PyShape_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7616 PyObject
*resultobj
;
7617 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7618 wxString
*arg2
= 0 ;
7619 int arg3
= (int) 0 ;
7620 bool temp2
= false ;
7621 PyObject
* obj0
= 0 ;
7622 PyObject
* obj1
= 0 ;
7623 PyObject
* obj2
= 0 ;
7625 (char *) "self",(char *) "colour",(char *) "regionId", NULL
7628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShape_SetTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7629 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
7630 if (SWIG_arg_fail(1)) SWIG_fail
;
7632 arg2
= wxString_in_helper(obj1
);
7633 if (arg2
== NULL
) SWIG_fail
;
7638 arg3
= (int)(SWIG_As_int(obj2
));
7639 if (SWIG_arg_fail(3)) SWIG_fail
;
7643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7644 (arg1
)->SetTextColour((wxString
const &)*arg2
,arg3
);
7646 wxPyEndAllowThreads(__tstate
);
7647 if (PyErr_Occurred()) SWIG_fail
;
7649 Py_INCREF(Py_None
); resultobj
= Py_None
;
7664 static PyObject
*_wrap_PyShape_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7665 PyObject
*resultobj
;
7666 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7667 int arg2
= (int) 0 ;
7669 PyObject
* obj0
= 0 ;
7670 PyObject
* obj1
= 0 ;
7672 (char *) "self",(char *) "regionId", NULL
7675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyShape_GetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
7676 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
7677 if (SWIG_arg_fail(1)) SWIG_fail
;
7680 arg2
= (int)(SWIG_As_int(obj1
));
7681 if (SWIG_arg_fail(2)) SWIG_fail
;
7685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7686 result
= (arg1
)->GetTextColour(arg2
);
7688 wxPyEndAllowThreads(__tstate
);
7689 if (PyErr_Occurred()) SWIG_fail
;
7693 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7695 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7704 static PyObject
*_wrap_PyShape_GetNumberOfTextRegions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7705 PyObject
*resultobj
;
7706 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7708 PyObject
* obj0
= 0 ;
7710 (char *) "self", NULL
7713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetNumberOfTextRegions",kwnames
,&obj0
)) goto fail
;
7714 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
7715 if (SWIG_arg_fail(1)) SWIG_fail
;
7717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7718 result
= (int)(arg1
)->GetNumberOfTextRegions();
7720 wxPyEndAllowThreads(__tstate
);
7721 if (PyErr_Occurred()) SWIG_fail
;
7724 resultobj
= SWIG_From_int((int)(result
));
7732 static PyObject
*_wrap_PyShape_SetRegionName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7733 PyObject
*resultobj
;
7734 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7735 wxString
*arg2
= 0 ;
7736 int arg3
= (int) 0 ;
7737 bool temp2
= false ;
7738 PyObject
* obj0
= 0 ;
7739 PyObject
* obj1
= 0 ;
7740 PyObject
* obj2
= 0 ;
7742 (char *) "self",(char *) "name",(char *) "regionId", NULL
7745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShape_SetRegionName",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7746 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
7747 if (SWIG_arg_fail(1)) SWIG_fail
;
7749 arg2
= wxString_in_helper(obj1
);
7750 if (arg2
== NULL
) SWIG_fail
;
7755 arg3
= (int)(SWIG_As_int(obj2
));
7756 if (SWIG_arg_fail(3)) SWIG_fail
;
7760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7761 (arg1
)->SetRegionName((wxString
const &)*arg2
,arg3
);
7763 wxPyEndAllowThreads(__tstate
);
7764 if (PyErr_Occurred()) SWIG_fail
;
7766 Py_INCREF(Py_None
); resultobj
= Py_None
;
7781 static PyObject
*_wrap_PyShape_GetRegionName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7782 PyObject
*resultobj
;
7783 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7786 PyObject
* obj0
= 0 ;
7787 PyObject
* obj1
= 0 ;
7789 (char *) "self",(char *) "regionId", NULL
7792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_GetRegionName",kwnames
,&obj0
,&obj1
)) goto fail
;
7793 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
7794 if (SWIG_arg_fail(1)) SWIG_fail
;
7796 arg2
= (int)(SWIG_As_int(obj1
));
7797 if (SWIG_arg_fail(2)) SWIG_fail
;
7800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7801 result
= (arg1
)->GetRegionName(arg2
);
7803 wxPyEndAllowThreads(__tstate
);
7804 if (PyErr_Occurred()) SWIG_fail
;
7808 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7810 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7819 static PyObject
*_wrap_PyShape_GetRegionId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7820 PyObject
*resultobj
;
7821 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7822 wxString
*arg2
= 0 ;
7824 bool temp2
= false ;
7825 PyObject
* obj0
= 0 ;
7826 PyObject
* obj1
= 0 ;
7828 (char *) "self",(char *) "name", NULL
7831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_GetRegionId",kwnames
,&obj0
,&obj1
)) goto fail
;
7832 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
7833 if (SWIG_arg_fail(1)) SWIG_fail
;
7835 arg2
= wxString_in_helper(obj1
);
7836 if (arg2
== NULL
) SWIG_fail
;
7840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7841 result
= (int)(arg1
)->GetRegionId((wxString
const &)*arg2
);
7843 wxPyEndAllowThreads(__tstate
);
7844 if (PyErr_Occurred()) SWIG_fail
;
7847 resultobj
= SWIG_From_int((int)(result
));
7863 static PyObject
*_wrap_PyShape_NameRegions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7864 PyObject
*resultobj
;
7865 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7866 wxString
const &arg2_defvalue
= wxPyEmptyString
;
7867 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
7868 bool temp2
= false ;
7869 PyObject
* obj0
= 0 ;
7870 PyObject
* obj1
= 0 ;
7872 (char *) "self",(char *) "parentName", NULL
7875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyShape_NameRegions",kwnames
,&obj0
,&obj1
)) goto fail
;
7876 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
7877 if (SWIG_arg_fail(1)) SWIG_fail
;
7880 arg2
= wxString_in_helper(obj1
);
7881 if (arg2
== NULL
) SWIG_fail
;
7886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7887 (arg1
)->NameRegions((wxString
const &)*arg2
);
7889 wxPyEndAllowThreads(__tstate
);
7890 if (PyErr_Occurred()) SWIG_fail
;
7892 Py_INCREF(Py_None
); resultobj
= Py_None
;
7907 static PyObject
*_wrap_PyShape_GetRegions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7908 PyObject
*resultobj
;
7909 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7911 PyObject
* obj0
= 0 ;
7913 (char *) "self", NULL
7916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetRegions",kwnames
,&obj0
)) goto fail
;
7917 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
7918 if (SWIG_arg_fail(1)) SWIG_fail
;
7920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7921 result
= (PyObject
*)wxPyShape_GetRegions(arg1
);
7923 wxPyEndAllowThreads(__tstate
);
7924 if (PyErr_Occurred()) SWIG_fail
;
7933 static PyObject
*_wrap_PyShape_AddRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7934 PyObject
*resultobj
;
7935 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7936 wxShapeRegion
*arg2
= (wxShapeRegion
*) 0 ;
7937 PyObject
* obj0
= 0 ;
7938 PyObject
* obj1
= 0 ;
7940 (char *) "self",(char *) "region", NULL
7943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_AddRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
7944 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
7945 if (SWIG_arg_fail(1)) SWIG_fail
;
7946 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxShapeRegion
, SWIG_POINTER_EXCEPTION
| 0);
7947 if (SWIG_arg_fail(2)) SWIG_fail
;
7949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7950 (arg1
)->AddRegion(arg2
);
7952 wxPyEndAllowThreads(__tstate
);
7953 if (PyErr_Occurred()) SWIG_fail
;
7955 Py_INCREF(Py_None
); resultobj
= Py_None
;
7962 static PyObject
*_wrap_PyShape_ClearRegions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7963 PyObject
*resultobj
;
7964 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7965 PyObject
* obj0
= 0 ;
7967 (char *) "self", NULL
7970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_ClearRegions",kwnames
,&obj0
)) goto fail
;
7971 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
7972 if (SWIG_arg_fail(1)) SWIG_fail
;
7974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7975 (arg1
)->ClearRegions();
7977 wxPyEndAllowThreads(__tstate
);
7978 if (PyErr_Occurred()) SWIG_fail
;
7980 Py_INCREF(Py_None
); resultobj
= Py_None
;
7987 static PyObject
*_wrap_PyShape_AssignNewIds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7988 PyObject
*resultobj
;
7989 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
7990 PyObject
* obj0
= 0 ;
7992 (char *) "self", NULL
7995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_AssignNewIds",kwnames
,&obj0
)) goto fail
;
7996 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
7997 if (SWIG_arg_fail(1)) SWIG_fail
;
7999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8000 (arg1
)->AssignNewIds();
8002 wxPyEndAllowThreads(__tstate
);
8003 if (PyErr_Occurred()) SWIG_fail
;
8005 Py_INCREF(Py_None
); resultobj
= Py_None
;
8012 static PyObject
*_wrap_PyShape_FindRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8013 PyObject
*resultobj
;
8014 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8015 wxString
*arg2
= 0 ;
8016 int *arg3
= (int *) 0 ;
8018 bool temp2
= false ;
8021 PyObject
* obj0
= 0 ;
8022 PyObject
* obj1
= 0 ;
8024 (char *) "self",(char *) "regionName", NULL
8027 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
8028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_FindRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
8029 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
8030 if (SWIG_arg_fail(1)) SWIG_fail
;
8032 arg2
= wxString_in_helper(obj1
);
8033 if (arg2
== NULL
) SWIG_fail
;
8037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8038 result
= (wxPyShape
*)(arg1
)->FindRegion((wxString
const &)*arg2
,arg3
);
8040 wxPyEndAllowThreads(__tstate
);
8041 if (PyErr_Occurred()) SWIG_fail
;
8044 resultobj
= wxPyMake_wxShapeEvtHandler(result
, 0);
8046 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
8047 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
8062 static PyObject
*_wrap_PyShape_FindRegionNames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8063 PyObject
*resultobj
;
8064 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8065 wxStringList
*arg2
= 0 ;
8066 PyObject
* obj0
= 0 ;
8067 PyObject
* obj1
= 0 ;
8069 (char *) "self",(char *) "list", NULL
8072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_FindRegionNames",kwnames
,&obj0
,&obj1
)) goto fail
;
8073 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
8074 if (SWIG_arg_fail(1)) SWIG_fail
;
8076 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxStringList
, SWIG_POINTER_EXCEPTION
| 0);
8077 if (SWIG_arg_fail(2)) SWIG_fail
;
8079 SWIG_null_ref("wxStringList");
8081 if (SWIG_arg_fail(2)) SWIG_fail
;
8084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8085 (arg1
)->FindRegionNames(*arg2
);
8087 wxPyEndAllowThreads(__tstate
);
8088 if (PyErr_Occurred()) SWIG_fail
;
8090 Py_INCREF(Py_None
); resultobj
= Py_None
;
8097 static PyObject
*_wrap_PyShape_ClearText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8098 PyObject
*resultobj
;
8099 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8100 int arg2
= (int) 0 ;
8101 PyObject
* obj0
= 0 ;
8102 PyObject
* obj1
= 0 ;
8104 (char *) "self",(char *) "regionId", NULL
8107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyShape_ClearText",kwnames
,&obj0
,&obj1
)) goto fail
;
8108 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
8109 if (SWIG_arg_fail(1)) SWIG_fail
;
8112 arg2
= (int)(SWIG_As_int(obj1
));
8113 if (SWIG_arg_fail(2)) SWIG_fail
;
8117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8118 (arg1
)->ClearText(arg2
);
8120 wxPyEndAllowThreads(__tstate
);
8121 if (PyErr_Occurred()) SWIG_fail
;
8123 Py_INCREF(Py_None
); resultobj
= Py_None
;
8130 static PyObject
*_wrap_PyShape_RemoveLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8131 PyObject
*resultobj
;
8132 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8133 wxPyLineShape
*arg2
= (wxPyLineShape
*) 0 ;
8134 PyObject
* obj0
= 0 ;
8135 PyObject
* obj1
= 0 ;
8137 (char *) "self",(char *) "line", NULL
8140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_RemoveLine",kwnames
,&obj0
,&obj1
)) goto fail
;
8141 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
8142 if (SWIG_arg_fail(1)) SWIG_fail
;
8143 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyLineShape
, SWIG_POINTER_EXCEPTION
| 0);
8144 if (SWIG_arg_fail(2)) SWIG_fail
;
8146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8147 (arg1
)->RemoveLine(arg2
);
8149 wxPyEndAllowThreads(__tstate
);
8150 if (PyErr_Occurred()) SWIG_fail
;
8152 Py_INCREF(Py_None
); resultobj
= Py_None
;
8159 static PyObject
*_wrap_PyShape_GetAttachmentPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8160 PyObject
*resultobj
;
8161 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8163 double *arg3
= (double *) 0 ;
8164 double *arg4
= (double *) 0 ;
8165 int arg5
= (int) 0 ;
8166 int arg6
= (int) 1 ;
8167 wxPyLineShape
*arg7
= (wxPyLineShape
*) NULL
;
8173 PyObject
* obj0
= 0 ;
8174 PyObject
* obj1
= 0 ;
8175 PyObject
* obj2
= 0 ;
8176 PyObject
* obj3
= 0 ;
8177 PyObject
* obj4
= 0 ;
8179 (char *) "self",(char *) "attachment",(char *) "nth",(char *) "no_arcs",(char *) "line", NULL
8182 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
8183 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
8184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:PyShape_GetAttachmentPosition",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
8185 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
8186 if (SWIG_arg_fail(1)) SWIG_fail
;
8188 arg2
= (int)(SWIG_As_int(obj1
));
8189 if (SWIG_arg_fail(2)) SWIG_fail
;
8193 arg5
= (int)(SWIG_As_int(obj2
));
8194 if (SWIG_arg_fail(5)) SWIG_fail
;
8199 arg6
= (int)(SWIG_As_int(obj3
));
8200 if (SWIG_arg_fail(6)) SWIG_fail
;
8204 SWIG_Python_ConvertPtr(obj4
, (void **)&arg7
, SWIGTYPE_p_wxPyLineShape
, SWIG_POINTER_EXCEPTION
| 0);
8205 if (SWIG_arg_fail(7)) SWIG_fail
;
8208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8209 result
= (bool)(arg1
)->GetAttachmentPosition(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
8211 wxPyEndAllowThreads(__tstate
);
8212 if (PyErr_Occurred()) SWIG_fail
;
8215 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8217 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
8218 SWIG_From_double((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, 0)));
8219 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
8220 SWIG_From_double((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_double
, 0)));
8227 static PyObject
*_wrap_PyShape_GetNumberOfAttachments(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8228 PyObject
*resultobj
;
8229 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8231 PyObject
* obj0
= 0 ;
8233 (char *) "self", NULL
8236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetNumberOfAttachments",kwnames
,&obj0
)) goto fail
;
8237 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
8238 if (SWIG_arg_fail(1)) SWIG_fail
;
8240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8241 result
= (int)(arg1
)->GetNumberOfAttachments();
8243 wxPyEndAllowThreads(__tstate
);
8244 if (PyErr_Occurred()) SWIG_fail
;
8247 resultobj
= SWIG_From_int((int)(result
));
8255 static PyObject
*_wrap_PyShape_AttachmentIsValid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8256 PyObject
*resultobj
;
8257 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8260 PyObject
* obj0
= 0 ;
8261 PyObject
* obj1
= 0 ;
8263 (char *) "self",(char *) "attachment", NULL
8266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_AttachmentIsValid",kwnames
,&obj0
,&obj1
)) goto fail
;
8267 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
8268 if (SWIG_arg_fail(1)) SWIG_fail
;
8270 arg2
= (int)(SWIG_As_int(obj1
));
8271 if (SWIG_arg_fail(2)) SWIG_fail
;
8274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8275 result
= (bool)(arg1
)->AttachmentIsValid(arg2
);
8277 wxPyEndAllowThreads(__tstate
);
8278 if (PyErr_Occurred()) SWIG_fail
;
8281 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8289 static PyObject
*_wrap_PyShape_GetAttachments(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8290 PyObject
*resultobj
;
8291 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8293 PyObject
* obj0
= 0 ;
8295 (char *) "self", NULL
8298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetAttachments",kwnames
,&obj0
)) goto fail
;
8299 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
8300 if (SWIG_arg_fail(1)) SWIG_fail
;
8302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8303 result
= (PyObject
*)wxPyShape_GetAttachments(arg1
);
8305 wxPyEndAllowThreads(__tstate
);
8306 if (PyErr_Occurred()) SWIG_fail
;
8315 static PyObject
*_wrap_PyShape_GetAttachmentPositionEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8316 PyObject
*resultobj
;
8317 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8319 double *arg3
= (double *) 0 ;
8320 double *arg4
= (double *) 0 ;
8321 int arg5
= (int) 0 ;
8322 int arg6
= (int) 1 ;
8323 wxPyLineShape
*arg7
= (wxPyLineShape
*) NULL
;
8329 PyObject
* obj0
= 0 ;
8330 PyObject
* obj1
= 0 ;
8331 PyObject
* obj2
= 0 ;
8332 PyObject
* obj3
= 0 ;
8333 PyObject
* obj4
= 0 ;
8335 (char *) "self",(char *) "attachment",(char *) "nth",(char *) "no_arcs",(char *) "line", NULL
8338 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
8339 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
8340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:PyShape_GetAttachmentPositionEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
8341 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
8342 if (SWIG_arg_fail(1)) SWIG_fail
;
8344 arg2
= (int)(SWIG_As_int(obj1
));
8345 if (SWIG_arg_fail(2)) SWIG_fail
;
8349 arg5
= (int)(SWIG_As_int(obj2
));
8350 if (SWIG_arg_fail(5)) SWIG_fail
;
8355 arg6
= (int)(SWIG_As_int(obj3
));
8356 if (SWIG_arg_fail(6)) SWIG_fail
;
8360 SWIG_Python_ConvertPtr(obj4
, (void **)&arg7
, SWIGTYPE_p_wxPyLineShape
, SWIG_POINTER_EXCEPTION
| 0);
8361 if (SWIG_arg_fail(7)) SWIG_fail
;
8364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8365 result
= (bool)(arg1
)->GetAttachmentPositionEdge(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
8367 wxPyEndAllowThreads(__tstate
);
8368 if (PyErr_Occurred()) SWIG_fail
;
8371 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8373 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
8374 SWIG_From_double((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, 0)));
8375 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
8376 SWIG_From_double((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_double
, 0)));
8383 static PyObject
*_wrap_PyShape_CalcSimpleAttachment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8384 PyObject
*resultobj
;
8385 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8386 wxRealPoint
*arg2
= 0 ;
8387 wxRealPoint
*arg3
= 0 ;
8390 wxPyLineShape
*arg6
= (wxPyLineShape
*) 0 ;
8394 PyObject
* obj0
= 0 ;
8395 PyObject
* obj1
= 0 ;
8396 PyObject
* obj2
= 0 ;
8397 PyObject
* obj3
= 0 ;
8398 PyObject
* obj4
= 0 ;
8399 PyObject
* obj5
= 0 ;
8401 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "nth",(char *) "noArcs",(char *) "line", NULL
8404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyShape_CalcSimpleAttachment",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8405 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
8406 if (SWIG_arg_fail(1)) SWIG_fail
;
8409 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8413 if ( ! wxRealPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8416 arg4
= (int)(SWIG_As_int(obj3
));
8417 if (SWIG_arg_fail(4)) SWIG_fail
;
8420 arg5
= (int)(SWIG_As_int(obj4
));
8421 if (SWIG_arg_fail(5)) SWIG_fail
;
8423 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxPyLineShape
, SWIG_POINTER_EXCEPTION
| 0);
8424 if (SWIG_arg_fail(6)) SWIG_fail
;
8426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8427 result
= (arg1
)->CalcSimpleAttachment((wxRealPoint
const &)*arg2
,(wxRealPoint
const &)*arg3
,arg4
,arg5
,arg6
);
8429 wxPyEndAllowThreads(__tstate
);
8430 if (PyErr_Occurred()) SWIG_fail
;
8433 wxRealPoint
* resultptr
;
8434 resultptr
= new wxRealPoint((wxRealPoint
&)(result
));
8435 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
8443 static PyObject
*_wrap_PyShape_AttachmentSortTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8444 PyObject
*resultobj
;
8445 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8447 wxRealPoint
*arg3
= 0 ;
8448 wxRealPoint
*arg4
= 0 ;
8452 PyObject
* obj0
= 0 ;
8453 PyObject
* obj1
= 0 ;
8454 PyObject
* obj2
= 0 ;
8455 PyObject
* obj3
= 0 ;
8457 (char *) "self",(char *) "attachmentPoint",(char *) "pt1",(char *) "pt2", NULL
8460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyShape_AttachmentSortTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8461 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
8462 if (SWIG_arg_fail(1)) SWIG_fail
;
8464 arg2
= (int)(SWIG_As_int(obj1
));
8465 if (SWIG_arg_fail(2)) SWIG_fail
;
8469 if ( ! wxRealPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8473 if ( ! wxRealPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8477 result
= (bool)(arg1
)->AttachmentSortTest(arg2
,(wxRealPoint
const &)*arg3
,(wxRealPoint
const &)*arg4
);
8479 wxPyEndAllowThreads(__tstate
);
8480 if (PyErr_Occurred()) SWIG_fail
;
8483 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8491 static PyObject
*_wrap_PyShape_EraseLinks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8492 PyObject
*resultobj
;
8493 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8495 int arg3
= (int) -1 ;
8496 bool arg4
= (bool) false ;
8497 PyObject
* obj0
= 0 ;
8498 PyObject
* obj1
= 0 ;
8499 PyObject
* obj2
= 0 ;
8500 PyObject
* obj3
= 0 ;
8502 (char *) "self",(char *) "dc",(char *) "attachment",(char *) "recurse", NULL
8505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:PyShape_EraseLinks",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8506 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
8507 if (SWIG_arg_fail(1)) SWIG_fail
;
8509 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
8510 if (SWIG_arg_fail(2)) SWIG_fail
;
8512 SWIG_null_ref("wxDC");
8514 if (SWIG_arg_fail(2)) SWIG_fail
;
8518 arg3
= (int)(SWIG_As_int(obj2
));
8519 if (SWIG_arg_fail(3)) SWIG_fail
;
8524 arg4
= (bool)(SWIG_As_bool(obj3
));
8525 if (SWIG_arg_fail(4)) SWIG_fail
;
8529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8530 (arg1
)->EraseLinks(*arg2
,arg3
,arg4
);
8532 wxPyEndAllowThreads(__tstate
);
8533 if (PyErr_Occurred()) SWIG_fail
;
8535 Py_INCREF(Py_None
); resultobj
= Py_None
;
8542 static PyObject
*_wrap_PyShape_DrawLinks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8543 PyObject
*resultobj
;
8544 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8546 int arg3
= (int) -1 ;
8547 bool arg4
= (bool) false ;
8548 PyObject
* obj0
= 0 ;
8549 PyObject
* obj1
= 0 ;
8550 PyObject
* obj2
= 0 ;
8551 PyObject
* obj3
= 0 ;
8553 (char *) "self",(char *) "dc",(char *) "attachment",(char *) "recurse", NULL
8556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:PyShape_DrawLinks",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8557 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
8558 if (SWIG_arg_fail(1)) SWIG_fail
;
8560 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
8561 if (SWIG_arg_fail(2)) SWIG_fail
;
8563 SWIG_null_ref("wxDC");
8565 if (SWIG_arg_fail(2)) SWIG_fail
;
8569 arg3
= (int)(SWIG_As_int(obj2
));
8570 if (SWIG_arg_fail(3)) SWIG_fail
;
8575 arg4
= (bool)(SWIG_As_bool(obj3
));
8576 if (SWIG_arg_fail(4)) SWIG_fail
;
8580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8581 (arg1
)->DrawLinks(*arg2
,arg3
,arg4
);
8583 wxPyEndAllowThreads(__tstate
);
8584 if (PyErr_Occurred()) SWIG_fail
;
8586 Py_INCREF(Py_None
); resultobj
= Py_None
;
8593 static PyObject
*_wrap_PyShape_MoveLineToNewAttachment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8594 PyObject
*resultobj
;
8595 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8597 wxPyLineShape
*arg3
= (wxPyLineShape
*) 0 ;
8601 PyObject
* obj0
= 0 ;
8602 PyObject
* obj1
= 0 ;
8603 PyObject
* obj2
= 0 ;
8604 PyObject
* obj3
= 0 ;
8605 PyObject
* obj4
= 0 ;
8607 (char *) "self",(char *) "dc",(char *) "to_move",(char *) "x",(char *) "y", NULL
8610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyShape_MoveLineToNewAttachment",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
8611 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
8612 if (SWIG_arg_fail(1)) SWIG_fail
;
8614 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
8615 if (SWIG_arg_fail(2)) SWIG_fail
;
8617 SWIG_null_ref("wxDC");
8619 if (SWIG_arg_fail(2)) SWIG_fail
;
8621 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyLineShape
, SWIG_POINTER_EXCEPTION
| 0);
8622 if (SWIG_arg_fail(3)) SWIG_fail
;
8624 arg4
= (double)(SWIG_As_double(obj3
));
8625 if (SWIG_arg_fail(4)) SWIG_fail
;
8628 arg5
= (double)(SWIG_As_double(obj4
));
8629 if (SWIG_arg_fail(5)) SWIG_fail
;
8632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8633 result
= (bool)(arg1
)->MoveLineToNewAttachment(*arg2
,arg3
,arg4
,arg5
);
8635 wxPyEndAllowThreads(__tstate
);
8636 if (PyErr_Occurred()) SWIG_fail
;
8639 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8647 static PyObject
*_wrap_PyShape_ApplyAttachmentOrdering(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8648 PyObject
*resultobj
;
8649 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8650 PyObject
*arg2
= (PyObject
*) 0 ;
8651 PyObject
* obj0
= 0 ;
8652 PyObject
* obj1
= 0 ;
8654 (char *) "self",(char *) "linesToSort", NULL
8657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_ApplyAttachmentOrdering",kwnames
,&obj0
,&obj1
)) goto fail
;
8658 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
8659 if (SWIG_arg_fail(1)) SWIG_fail
;
8662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8663 wxPyShape_ApplyAttachmentOrdering(arg1
,arg2
);
8665 wxPyEndAllowThreads(__tstate
);
8666 if (PyErr_Occurred()) SWIG_fail
;
8668 Py_INCREF(Py_None
); resultobj
= Py_None
;
8675 static PyObject
*_wrap_PyShape_GetBranchingAttachmentRoot(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8676 PyObject
*resultobj
;
8677 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8680 PyObject
* obj0
= 0 ;
8681 PyObject
* obj1
= 0 ;
8683 (char *) "self",(char *) "attachment", NULL
8686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_GetBranchingAttachmentRoot",kwnames
,&obj0
,&obj1
)) goto fail
;
8687 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
8688 if (SWIG_arg_fail(1)) SWIG_fail
;
8690 arg2
= (int)(SWIG_As_int(obj1
));
8691 if (SWIG_arg_fail(2)) SWIG_fail
;
8694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8695 result
= (arg1
)->GetBranchingAttachmentRoot(arg2
);
8697 wxPyEndAllowThreads(__tstate
);
8698 if (PyErr_Occurred()) SWIG_fail
;
8701 wxRealPoint
* resultptr
;
8702 resultptr
= new wxRealPoint((wxRealPoint
&)(result
));
8703 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
8711 static PyObject
*_wrap_PyShape_GetBranchingAttachmentInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8712 PyObject
*resultobj
;
8713 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8715 wxRealPoint
*arg3
= 0 ;
8716 wxRealPoint
*arg4
= 0 ;
8717 wxRealPoint
*arg5
= 0 ;
8718 wxRealPoint
*arg6
= 0 ;
8724 PyObject
* obj0
= 0 ;
8725 PyObject
* obj1
= 0 ;
8726 PyObject
* obj2
= 0 ;
8727 PyObject
* obj3
= 0 ;
8728 PyObject
* obj4
= 0 ;
8729 PyObject
* obj5
= 0 ;
8731 (char *) "self",(char *) "attachment",(char *) "root",(char *) "neck",(char *) "shoulder1",(char *) "shoulder2", NULL
8734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyShape_GetBranchingAttachmentInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8735 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
8736 if (SWIG_arg_fail(1)) SWIG_fail
;
8738 arg2
= (int)(SWIG_As_int(obj1
));
8739 if (SWIG_arg_fail(2)) SWIG_fail
;
8743 if ( ! wxRealPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8747 if ( ! wxRealPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8751 if ( ! wxRealPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8755 if ( ! wxRealPoint_helper(obj5
, &arg6
)) SWIG_fail
;
8758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8759 result
= (bool)(arg1
)->GetBranchingAttachmentInfo(arg2
,*arg3
,*arg4
,*arg5
,*arg6
);
8761 wxPyEndAllowThreads(__tstate
);
8762 if (PyErr_Occurred()) SWIG_fail
;
8765 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8773 static PyObject
*_wrap_PyShape_GetBranchingAttachmentPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8774 PyObject
*resultobj
;
8775 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8778 wxRealPoint
*arg4
= 0 ;
8779 wxRealPoint
*arg5
= 0 ;
8783 PyObject
* obj0
= 0 ;
8784 PyObject
* obj1
= 0 ;
8785 PyObject
* obj2
= 0 ;
8786 PyObject
* obj3
= 0 ;
8787 PyObject
* obj4
= 0 ;
8789 (char *) "self",(char *) "attachment",(char *) "n",(char *) "attachmentPoint",(char *) "stemPoint", NULL
8792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyShape_GetBranchingAttachmentPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
8793 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
8794 if (SWIG_arg_fail(1)) SWIG_fail
;
8796 arg2
= (int)(SWIG_As_int(obj1
));
8797 if (SWIG_arg_fail(2)) SWIG_fail
;
8800 arg3
= (int)(SWIG_As_int(obj2
));
8801 if (SWIG_arg_fail(3)) SWIG_fail
;
8805 if ( ! wxRealPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8809 if ( ! wxRealPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8813 result
= (bool)(arg1
)->GetBranchingAttachmentPoint(arg2
,arg3
,*arg4
,*arg5
);
8815 wxPyEndAllowThreads(__tstate
);
8816 if (PyErr_Occurred()) SWIG_fail
;
8819 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8827 static PyObject
*_wrap_PyShape_GetAttachmentLineCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8828 PyObject
*resultobj
;
8829 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8832 PyObject
* obj0
= 0 ;
8833 PyObject
* obj1
= 0 ;
8835 (char *) "self",(char *) "attachment", NULL
8838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_GetAttachmentLineCount",kwnames
,&obj0
,&obj1
)) goto fail
;
8839 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
8840 if (SWIG_arg_fail(1)) SWIG_fail
;
8842 arg2
= (int)(SWIG_As_int(obj1
));
8843 if (SWIG_arg_fail(2)) SWIG_fail
;
8846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8847 result
= (int)(arg1
)->GetAttachmentLineCount(arg2
);
8849 wxPyEndAllowThreads(__tstate
);
8850 if (PyErr_Occurred()) SWIG_fail
;
8853 resultobj
= SWIG_From_int((int)(result
));
8861 static PyObject
*_wrap_PyShape_SetBranchNeckLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8862 PyObject
*resultobj
;
8863 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8865 PyObject
* obj0
= 0 ;
8866 PyObject
* obj1
= 0 ;
8868 (char *) "self",(char *) "len", NULL
8871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetBranchNeckLength",kwnames
,&obj0
,&obj1
)) goto fail
;
8872 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
8873 if (SWIG_arg_fail(1)) SWIG_fail
;
8875 arg2
= (int)(SWIG_As_int(obj1
));
8876 if (SWIG_arg_fail(2)) SWIG_fail
;
8879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8880 (arg1
)->SetBranchNeckLength(arg2
);
8882 wxPyEndAllowThreads(__tstate
);
8883 if (PyErr_Occurred()) SWIG_fail
;
8885 Py_INCREF(Py_None
); resultobj
= Py_None
;
8892 static PyObject
*_wrap_PyShape_GetBranchNeckLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8893 PyObject
*resultobj
;
8894 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8896 PyObject
* obj0
= 0 ;
8898 (char *) "self", NULL
8901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetBranchNeckLength",kwnames
,&obj0
)) goto fail
;
8902 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
8903 if (SWIG_arg_fail(1)) SWIG_fail
;
8905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8906 result
= (int)(arg1
)->GetBranchNeckLength();
8908 wxPyEndAllowThreads(__tstate
);
8909 if (PyErr_Occurred()) SWIG_fail
;
8912 resultobj
= SWIG_From_int((int)(result
));
8920 static PyObject
*_wrap_PyShape_SetBranchStemLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8921 PyObject
*resultobj
;
8922 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8924 PyObject
* obj0
= 0 ;
8925 PyObject
* obj1
= 0 ;
8927 (char *) "self",(char *) "len", NULL
8930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetBranchStemLength",kwnames
,&obj0
,&obj1
)) goto fail
;
8931 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
8932 if (SWIG_arg_fail(1)) SWIG_fail
;
8934 arg2
= (int)(SWIG_As_int(obj1
));
8935 if (SWIG_arg_fail(2)) SWIG_fail
;
8938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8939 (arg1
)->SetBranchStemLength(arg2
);
8941 wxPyEndAllowThreads(__tstate
);
8942 if (PyErr_Occurred()) SWIG_fail
;
8944 Py_INCREF(Py_None
); resultobj
= Py_None
;
8951 static PyObject
*_wrap_PyShape_GetBranchStemLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8952 PyObject
*resultobj
;
8953 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8955 PyObject
* obj0
= 0 ;
8957 (char *) "self", NULL
8960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetBranchStemLength",kwnames
,&obj0
)) goto fail
;
8961 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
8962 if (SWIG_arg_fail(1)) SWIG_fail
;
8964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8965 result
= (int)(arg1
)->GetBranchStemLength();
8967 wxPyEndAllowThreads(__tstate
);
8968 if (PyErr_Occurred()) SWIG_fail
;
8971 resultobj
= SWIG_From_int((int)(result
));
8979 static PyObject
*_wrap_PyShape_SetBranchSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8980 PyObject
*resultobj
;
8981 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
8983 PyObject
* obj0
= 0 ;
8984 PyObject
* obj1
= 0 ;
8986 (char *) "self",(char *) "len", NULL
8989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetBranchSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
8990 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
8991 if (SWIG_arg_fail(1)) SWIG_fail
;
8993 arg2
= (int)(SWIG_As_int(obj1
));
8994 if (SWIG_arg_fail(2)) SWIG_fail
;
8997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8998 (arg1
)->SetBranchSpacing(arg2
);
9000 wxPyEndAllowThreads(__tstate
);
9001 if (PyErr_Occurred()) SWIG_fail
;
9003 Py_INCREF(Py_None
); resultobj
= Py_None
;
9010 static PyObject
*_wrap_PyShape_GetBranchSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9011 PyObject
*resultobj
;
9012 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
9014 PyObject
* obj0
= 0 ;
9016 (char *) "self", NULL
9019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetBranchSpacing",kwnames
,&obj0
)) goto fail
;
9020 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
9021 if (SWIG_arg_fail(1)) SWIG_fail
;
9023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9024 result
= (int)(arg1
)->GetBranchSpacing();
9026 wxPyEndAllowThreads(__tstate
);
9027 if (PyErr_Occurred()) SWIG_fail
;
9030 resultobj
= SWIG_From_int((int)(result
));
9038 static PyObject
*_wrap_PyShape_SetBranchStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9039 PyObject
*resultobj
;
9040 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
9042 PyObject
* obj0
= 0 ;
9043 PyObject
* obj1
= 0 ;
9045 (char *) "self",(char *) "style", NULL
9048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetBranchStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
9049 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
9050 if (SWIG_arg_fail(1)) SWIG_fail
;
9052 arg2
= (long)(SWIG_As_long(obj1
));
9053 if (SWIG_arg_fail(2)) SWIG_fail
;
9056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9057 (arg1
)->SetBranchStyle(arg2
);
9059 wxPyEndAllowThreads(__tstate
);
9060 if (PyErr_Occurred()) SWIG_fail
;
9062 Py_INCREF(Py_None
); resultobj
= Py_None
;
9069 static PyObject
*_wrap_PyShape_GetBranchStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9070 PyObject
*resultobj
;
9071 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
9073 PyObject
* obj0
= 0 ;
9075 (char *) "self", NULL
9078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetBranchStyle",kwnames
,&obj0
)) goto fail
;
9079 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
9080 if (SWIG_arg_fail(1)) SWIG_fail
;
9082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9083 result
= (long)(arg1
)->GetBranchStyle();
9085 wxPyEndAllowThreads(__tstate
);
9086 if (PyErr_Occurred()) SWIG_fail
;
9089 resultobj
= SWIG_From_long((long)(result
));
9097 static PyObject
*_wrap_PyShape_PhysicalToLogicalAttachment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9098 PyObject
*resultobj
;
9099 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
9102 PyObject
* obj0
= 0 ;
9103 PyObject
* obj1
= 0 ;
9105 (char *) "self",(char *) "physicalAttachment", NULL
9108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_PhysicalToLogicalAttachment",kwnames
,&obj0
,&obj1
)) goto fail
;
9109 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
9110 if (SWIG_arg_fail(1)) SWIG_fail
;
9112 arg2
= (int)(SWIG_As_int(obj1
));
9113 if (SWIG_arg_fail(2)) SWIG_fail
;
9116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9117 result
= (int)(arg1
)->PhysicalToLogicalAttachment(arg2
);
9119 wxPyEndAllowThreads(__tstate
);
9120 if (PyErr_Occurred()) SWIG_fail
;
9123 resultobj
= SWIG_From_int((int)(result
));
9131 static PyObject
*_wrap_PyShape_LogicalToPhysicalAttachment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9132 PyObject
*resultobj
;
9133 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
9136 PyObject
* obj0
= 0 ;
9137 PyObject
* obj1
= 0 ;
9139 (char *) "self",(char *) "logicalAttachment", NULL
9142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_LogicalToPhysicalAttachment",kwnames
,&obj0
,&obj1
)) goto fail
;
9143 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
9144 if (SWIG_arg_fail(1)) SWIG_fail
;
9146 arg2
= (int)(SWIG_As_int(obj1
));
9147 if (SWIG_arg_fail(2)) SWIG_fail
;
9150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9151 result
= (int)(arg1
)->LogicalToPhysicalAttachment(arg2
);
9153 wxPyEndAllowThreads(__tstate
);
9154 if (PyErr_Occurred()) SWIG_fail
;
9157 resultobj
= SWIG_From_int((int)(result
));
9165 static PyObject
*_wrap_PyShape_Draggable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9166 PyObject
*resultobj
;
9167 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
9169 PyObject
* obj0
= 0 ;
9171 (char *) "self", NULL
9174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_Draggable",kwnames
,&obj0
)) goto fail
;
9175 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
9176 if (SWIG_arg_fail(1)) SWIG_fail
;
9178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9179 result
= (bool)(arg1
)->Draggable();
9181 wxPyEndAllowThreads(__tstate
);
9182 if (PyErr_Occurred()) SWIG_fail
;
9185 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9193 static PyObject
*_wrap_PyShape_HasDescendant(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9194 PyObject
*resultobj
;
9195 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
9196 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
9198 PyObject
* obj0
= 0 ;
9199 PyObject
* obj1
= 0 ;
9201 (char *) "self",(char *) "image", NULL
9204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_HasDescendant",kwnames
,&obj0
,&obj1
)) goto fail
;
9205 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
9206 if (SWIG_arg_fail(1)) SWIG_fail
;
9207 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
9208 if (SWIG_arg_fail(2)) SWIG_fail
;
9210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9211 result
= (bool)(arg1
)->HasDescendant(arg2
);
9213 wxPyEndAllowThreads(__tstate
);
9214 if (PyErr_Occurred()) SWIG_fail
;
9217 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9225 static PyObject
*_wrap_PyShape_CreateNewCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9226 PyObject
*resultobj
;
9227 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
9228 bool arg2
= (bool) true ;
9229 bool arg3
= (bool) true ;
9231 PyObject
* obj0
= 0 ;
9232 PyObject
* obj1
= 0 ;
9233 PyObject
* obj2
= 0 ;
9235 (char *) "self",(char *) "resetMapping",(char *) "recompute", NULL
9238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyShape_CreateNewCopy",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9239 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
9240 if (SWIG_arg_fail(1)) SWIG_fail
;
9243 arg2
= (bool)(SWIG_As_bool(obj1
));
9244 if (SWIG_arg_fail(2)) SWIG_fail
;
9249 arg3
= (bool)(SWIG_As_bool(obj2
));
9250 if (SWIG_arg_fail(3)) SWIG_fail
;
9254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9255 result
= (wxPyShape
*)(arg1
)->CreateNewCopy(arg2
,arg3
);
9257 wxPyEndAllowThreads(__tstate
);
9258 if (PyErr_Occurred()) SWIG_fail
;
9261 resultobj
= wxPyMake_wxShapeEvtHandler(result
, 0);
9269 static PyObject
*_wrap_PyShape_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9270 PyObject
*resultobj
;
9271 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
9272 wxPyShape
*arg2
= 0 ;
9273 PyObject
* obj0
= 0 ;
9274 PyObject
* obj1
= 0 ;
9276 (char *) "self",(char *) "copy", NULL
9279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_Copy",kwnames
,&obj0
,&obj1
)) goto fail
;
9280 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
9281 if (SWIG_arg_fail(1)) SWIG_fail
;
9283 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
9284 if (SWIG_arg_fail(2)) SWIG_fail
;
9286 SWIG_null_ref("wxPyShape");
9288 if (SWIG_arg_fail(2)) SWIG_fail
;
9291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9292 (arg1
)->Copy(*arg2
);
9294 wxPyEndAllowThreads(__tstate
);
9295 if (PyErr_Occurred()) SWIG_fail
;
9297 Py_INCREF(Py_None
); resultobj
= Py_None
;
9304 static PyObject
*_wrap_PyShape_CopyWithHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9305 PyObject
*resultobj
;
9306 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
9307 wxPyShape
*arg2
= 0 ;
9308 PyObject
* obj0
= 0 ;
9309 PyObject
* obj1
= 0 ;
9311 (char *) "self",(char *) "copy", NULL
9314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_CopyWithHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
9315 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
9316 if (SWIG_arg_fail(1)) SWIG_fail
;
9318 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
9319 if (SWIG_arg_fail(2)) SWIG_fail
;
9321 SWIG_null_ref("wxPyShape");
9323 if (SWIG_arg_fail(2)) SWIG_fail
;
9326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9327 (arg1
)->CopyWithHandler(*arg2
);
9329 wxPyEndAllowThreads(__tstate
);
9330 if (PyErr_Occurred()) SWIG_fail
;
9332 Py_INCREF(Py_None
); resultobj
= Py_None
;
9339 static PyObject
*_wrap_PyShape_Rotate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9340 PyObject
*resultobj
;
9341 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
9345 PyObject
* obj0
= 0 ;
9346 PyObject
* obj1
= 0 ;
9347 PyObject
* obj2
= 0 ;
9348 PyObject
* obj3
= 0 ;
9350 (char *) "self",(char *) "x",(char *) "y",(char *) "theta", NULL
9353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyShape_Rotate",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9354 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
9355 if (SWIG_arg_fail(1)) SWIG_fail
;
9357 arg2
= (double)(SWIG_As_double(obj1
));
9358 if (SWIG_arg_fail(2)) SWIG_fail
;
9361 arg3
= (double)(SWIG_As_double(obj2
));
9362 if (SWIG_arg_fail(3)) SWIG_fail
;
9365 arg4
= (double)(SWIG_As_double(obj3
));
9366 if (SWIG_arg_fail(4)) SWIG_fail
;
9369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9370 (arg1
)->Rotate(arg2
,arg3
,arg4
);
9372 wxPyEndAllowThreads(__tstate
);
9373 if (PyErr_Occurred()) SWIG_fail
;
9375 Py_INCREF(Py_None
); resultobj
= Py_None
;
9382 static PyObject
*_wrap_PyShape_GetRotation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9383 PyObject
*resultobj
;
9384 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
9386 PyObject
* obj0
= 0 ;
9388 (char *) "self", NULL
9391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetRotation",kwnames
,&obj0
)) goto fail
;
9392 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
9393 if (SWIG_arg_fail(1)) SWIG_fail
;
9395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9396 result
= (double)(arg1
)->GetRotation();
9398 wxPyEndAllowThreads(__tstate
);
9399 if (PyErr_Occurred()) SWIG_fail
;
9402 resultobj
= SWIG_From_double((double)(result
));
9410 static PyObject
*_wrap_PyShape_SetRotation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9411 PyObject
*resultobj
;
9412 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
9414 PyObject
* obj0
= 0 ;
9415 PyObject
* obj1
= 0 ;
9417 (char *) "self",(char *) "rotation", NULL
9420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_SetRotation",kwnames
,&obj0
,&obj1
)) goto fail
;
9421 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
9422 if (SWIG_arg_fail(1)) SWIG_fail
;
9424 arg2
= (double)(SWIG_As_double(obj1
));
9425 if (SWIG_arg_fail(2)) SWIG_fail
;
9428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9429 (arg1
)->SetRotation(arg2
);
9431 wxPyEndAllowThreads(__tstate
);
9432 if (PyErr_Occurred()) SWIG_fail
;
9434 Py_INCREF(Py_None
); resultobj
= Py_None
;
9441 static PyObject
*_wrap_PyShape_ClearAttachments(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9442 PyObject
*resultobj
;
9443 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
9444 PyObject
* obj0
= 0 ;
9446 (char *) "self", NULL
9449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_ClearAttachments",kwnames
,&obj0
)) goto fail
;
9450 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
9451 if (SWIG_arg_fail(1)) SWIG_fail
;
9453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9454 (arg1
)->ClearAttachments();
9456 wxPyEndAllowThreads(__tstate
);
9457 if (PyErr_Occurred()) SWIG_fail
;
9459 Py_INCREF(Py_None
); resultobj
= Py_None
;
9466 static PyObject
*_wrap_PyShape_Recentre(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9467 PyObject
*resultobj
;
9468 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
9470 PyObject
* obj0
= 0 ;
9471 PyObject
* obj1
= 0 ;
9473 (char *) "self",(char *) "dc", NULL
9476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_Recentre",kwnames
,&obj0
,&obj1
)) goto fail
;
9477 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
9478 if (SWIG_arg_fail(1)) SWIG_fail
;
9480 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
9481 if (SWIG_arg_fail(2)) SWIG_fail
;
9483 SWIG_null_ref("wxDC");
9485 if (SWIG_arg_fail(2)) SWIG_fail
;
9488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9489 (arg1
)->Recentre(*arg2
);
9491 wxPyEndAllowThreads(__tstate
);
9492 if (PyErr_Occurred()) SWIG_fail
;
9494 Py_INCREF(Py_None
); resultobj
= Py_None
;
9501 static PyObject
*_wrap_PyShape_ClearPointList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9502 PyObject
*resultobj
;
9503 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
9505 PyObject
* obj0
= 0 ;
9506 PyObject
* obj1
= 0 ;
9508 (char *) "self",(char *) "list", NULL
9511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_ClearPointList",kwnames
,&obj0
,&obj1
)) goto fail
;
9512 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
9513 if (SWIG_arg_fail(1)) SWIG_fail
;
9515 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxList
, SWIG_POINTER_EXCEPTION
| 0);
9516 if (SWIG_arg_fail(2)) SWIG_fail
;
9518 SWIG_null_ref("wxList");
9520 if (SWIG_arg_fail(2)) SWIG_fail
;
9523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9524 (arg1
)->ClearPointList(*arg2
);
9526 wxPyEndAllowThreads(__tstate
);
9527 if (PyErr_Occurred()) SWIG_fail
;
9529 Py_INCREF(Py_None
); resultobj
= Py_None
;
9536 static PyObject
*_wrap_PyShape_GetBackgroundPen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9537 PyObject
*resultobj
;
9538 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
9540 PyObject
* obj0
= 0 ;
9542 (char *) "self", NULL
9545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetBackgroundPen",kwnames
,&obj0
)) goto fail
;
9546 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
9547 if (SWIG_arg_fail(1)) SWIG_fail
;
9549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9550 result
= (arg1
)->GetBackgroundPen();
9552 wxPyEndAllowThreads(__tstate
);
9553 if (PyErr_Occurred()) SWIG_fail
;
9557 resultptr
= new wxPen((wxPen
&)(result
));
9558 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPen
, 1);
9566 static PyObject
*_wrap_PyShape_GetBackgroundBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9567 PyObject
*resultobj
;
9568 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
9570 PyObject
* obj0
= 0 ;
9572 (char *) "self", NULL
9575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_GetBackgroundBrush",kwnames
,&obj0
)) goto fail
;
9576 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
9577 if (SWIG_arg_fail(1)) SWIG_fail
;
9579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9580 result
= (arg1
)->GetBackgroundBrush();
9582 wxPyEndAllowThreads(__tstate
);
9583 if (PyErr_Occurred()) SWIG_fail
;
9586 wxBrush
* resultptr
;
9587 resultptr
= new wxBrush((wxBrush
&)(result
));
9588 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
9596 static PyObject
*_wrap_PyShape_base_OnDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9597 PyObject
*resultobj
;
9598 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
9599 PyObject
* obj0
= 0 ;
9601 (char *) "self", NULL
9604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShape_base_OnDelete",kwnames
,&obj0
)) goto fail
;
9605 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
9606 if (SWIG_arg_fail(1)) SWIG_fail
;
9608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9609 (arg1
)->base_OnDelete();
9611 wxPyEndAllowThreads(__tstate
);
9612 if (PyErr_Occurred()) SWIG_fail
;
9614 Py_INCREF(Py_None
); resultobj
= Py_None
;
9621 static PyObject
*_wrap_PyShape_base_OnDraw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9622 PyObject
*resultobj
;
9623 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
9625 PyObject
* obj0
= 0 ;
9626 PyObject
* obj1
= 0 ;
9628 (char *) "self",(char *) "dc", NULL
9631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
9632 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
9633 if (SWIG_arg_fail(1)) SWIG_fail
;
9635 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
9636 if (SWIG_arg_fail(2)) SWIG_fail
;
9638 SWIG_null_ref("wxDC");
9640 if (SWIG_arg_fail(2)) SWIG_fail
;
9643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9644 (arg1
)->base_OnDraw(*arg2
);
9646 wxPyEndAllowThreads(__tstate
);
9647 if (PyErr_Occurred()) SWIG_fail
;
9649 Py_INCREF(Py_None
); resultobj
= Py_None
;
9656 static PyObject
*_wrap_PyShape_base_OnDrawContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9657 PyObject
*resultobj
;
9658 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
9660 PyObject
* obj0
= 0 ;
9661 PyObject
* obj1
= 0 ;
9663 (char *) "self",(char *) "dc", NULL
9666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
9667 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
9668 if (SWIG_arg_fail(1)) SWIG_fail
;
9670 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
9671 if (SWIG_arg_fail(2)) SWIG_fail
;
9673 SWIG_null_ref("wxDC");
9675 if (SWIG_arg_fail(2)) SWIG_fail
;
9678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9679 (arg1
)->base_OnDrawContents(*arg2
);
9681 wxPyEndAllowThreads(__tstate
);
9682 if (PyErr_Occurred()) SWIG_fail
;
9684 Py_INCREF(Py_None
); resultobj
= Py_None
;
9691 static PyObject
*_wrap_PyShape_base_OnDrawBranches(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9692 PyObject
*resultobj
;
9693 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
9695 bool arg3
= (bool) false ;
9696 PyObject
* obj0
= 0 ;
9697 PyObject
* obj1
= 0 ;
9698 PyObject
* obj2
= 0 ;
9700 (char *) "self",(char *) "dc",(char *) "erase", NULL
9703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9704 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
9705 if (SWIG_arg_fail(1)) SWIG_fail
;
9707 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
9708 if (SWIG_arg_fail(2)) SWIG_fail
;
9710 SWIG_null_ref("wxDC");
9712 if (SWIG_arg_fail(2)) SWIG_fail
;
9716 arg3
= (bool)(SWIG_As_bool(obj2
));
9717 if (SWIG_arg_fail(3)) SWIG_fail
;
9721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9722 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
9724 wxPyEndAllowThreads(__tstate
);
9725 if (PyErr_Occurred()) SWIG_fail
;
9727 Py_INCREF(Py_None
); resultobj
= Py_None
;
9734 static PyObject
*_wrap_PyShape_base_OnMoveLinks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9735 PyObject
*resultobj
;
9736 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
9738 PyObject
* obj0
= 0 ;
9739 PyObject
* obj1
= 0 ;
9741 (char *) "self",(char *) "dc", NULL
9744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
9745 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
9746 if (SWIG_arg_fail(1)) SWIG_fail
;
9748 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
9749 if (SWIG_arg_fail(2)) SWIG_fail
;
9751 SWIG_null_ref("wxDC");
9753 if (SWIG_arg_fail(2)) SWIG_fail
;
9756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9757 (arg1
)->base_OnMoveLinks(*arg2
);
9759 wxPyEndAllowThreads(__tstate
);
9760 if (PyErr_Occurred()) SWIG_fail
;
9762 Py_INCREF(Py_None
); resultobj
= Py_None
;
9769 static PyObject
*_wrap_PyShape_base_OnErase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9770 PyObject
*resultobj
;
9771 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
9773 PyObject
* obj0
= 0 ;
9774 PyObject
* obj1
= 0 ;
9776 (char *) "self",(char *) "dc", NULL
9779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
9780 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
9781 if (SWIG_arg_fail(1)) SWIG_fail
;
9783 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
9784 if (SWIG_arg_fail(2)) SWIG_fail
;
9786 SWIG_null_ref("wxDC");
9788 if (SWIG_arg_fail(2)) SWIG_fail
;
9791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9792 (arg1
)->base_OnErase(*arg2
);
9794 wxPyEndAllowThreads(__tstate
);
9795 if (PyErr_Occurred()) SWIG_fail
;
9797 Py_INCREF(Py_None
); resultobj
= Py_None
;
9804 static PyObject
*_wrap_PyShape_base_OnEraseContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9805 PyObject
*resultobj
;
9806 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
9808 PyObject
* obj0
= 0 ;
9809 PyObject
* obj1
= 0 ;
9811 (char *) "self",(char *) "dc", NULL
9814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
9815 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
9816 if (SWIG_arg_fail(1)) SWIG_fail
;
9818 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
9819 if (SWIG_arg_fail(2)) SWIG_fail
;
9821 SWIG_null_ref("wxDC");
9823 if (SWIG_arg_fail(2)) SWIG_fail
;
9826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9827 (arg1
)->base_OnEraseContents(*arg2
);
9829 wxPyEndAllowThreads(__tstate
);
9830 if (PyErr_Occurred()) SWIG_fail
;
9832 Py_INCREF(Py_None
); resultobj
= Py_None
;
9839 static PyObject
*_wrap_PyShape_base_OnHighlight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9840 PyObject
*resultobj
;
9841 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
9843 PyObject
* obj0
= 0 ;
9844 PyObject
* obj1
= 0 ;
9846 (char *) "self",(char *) "dc", NULL
9849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
9850 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
9851 if (SWIG_arg_fail(1)) SWIG_fail
;
9853 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
9854 if (SWIG_arg_fail(2)) SWIG_fail
;
9856 SWIG_null_ref("wxDC");
9858 if (SWIG_arg_fail(2)) SWIG_fail
;
9861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9862 (arg1
)->base_OnHighlight(*arg2
);
9864 wxPyEndAllowThreads(__tstate
);
9865 if (PyErr_Occurred()) SWIG_fail
;
9867 Py_INCREF(Py_None
); resultobj
= Py_None
;
9874 static PyObject
*_wrap_PyShape_base_OnLeftClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9875 PyObject
*resultobj
;
9876 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
9879 int arg4
= (int) 0 ;
9880 int arg5
= (int) 0 ;
9881 PyObject
* obj0
= 0 ;
9882 PyObject
* obj1
= 0 ;
9883 PyObject
* obj2
= 0 ;
9884 PyObject
* obj3
= 0 ;
9885 PyObject
* obj4
= 0 ;
9887 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
9890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShape_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
9891 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
9892 if (SWIG_arg_fail(1)) SWIG_fail
;
9894 arg2
= (double)(SWIG_As_double(obj1
));
9895 if (SWIG_arg_fail(2)) SWIG_fail
;
9898 arg3
= (double)(SWIG_As_double(obj2
));
9899 if (SWIG_arg_fail(3)) SWIG_fail
;
9903 arg4
= (int)(SWIG_As_int(obj3
));
9904 if (SWIG_arg_fail(4)) SWIG_fail
;
9909 arg5
= (int)(SWIG_As_int(obj4
));
9910 if (SWIG_arg_fail(5)) SWIG_fail
;
9914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9915 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
9917 wxPyEndAllowThreads(__tstate
);
9918 if (PyErr_Occurred()) SWIG_fail
;
9920 Py_INCREF(Py_None
); resultobj
= Py_None
;
9927 static PyObject
*_wrap_PyShape_base_OnLeftDoubleClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9928 PyObject
*resultobj
;
9929 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
9932 int arg4
= (int) 0 ;
9933 int arg5
= (int) 0 ;
9934 PyObject
* obj0
= 0 ;
9935 PyObject
* obj1
= 0 ;
9936 PyObject
* obj2
= 0 ;
9937 PyObject
* obj3
= 0 ;
9938 PyObject
* obj4
= 0 ;
9940 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
9943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
9944 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
9945 if (SWIG_arg_fail(1)) SWIG_fail
;
9947 arg2
= (double)(SWIG_As_double(obj1
));
9948 if (SWIG_arg_fail(2)) SWIG_fail
;
9951 arg3
= (double)(SWIG_As_double(obj2
));
9952 if (SWIG_arg_fail(3)) SWIG_fail
;
9956 arg4
= (int)(SWIG_As_int(obj3
));
9957 if (SWIG_arg_fail(4)) SWIG_fail
;
9962 arg5
= (int)(SWIG_As_int(obj4
));
9963 if (SWIG_arg_fail(5)) SWIG_fail
;
9967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9968 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
9970 wxPyEndAllowThreads(__tstate
);
9971 if (PyErr_Occurred()) SWIG_fail
;
9973 Py_INCREF(Py_None
); resultobj
= Py_None
;
9980 static PyObject
*_wrap_PyShape_base_OnRightClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9981 PyObject
*resultobj
;
9982 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
9985 int arg4
= (int) 0 ;
9986 int arg5
= (int) 0 ;
9987 PyObject
* obj0
= 0 ;
9988 PyObject
* obj1
= 0 ;
9989 PyObject
* obj2
= 0 ;
9990 PyObject
* obj3
= 0 ;
9991 PyObject
* obj4
= 0 ;
9993 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
9996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShape_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
9997 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
9998 if (SWIG_arg_fail(1)) SWIG_fail
;
10000 arg2
= (double)(SWIG_As_double(obj1
));
10001 if (SWIG_arg_fail(2)) SWIG_fail
;
10004 arg3
= (double)(SWIG_As_double(obj2
));
10005 if (SWIG_arg_fail(3)) SWIG_fail
;
10009 arg4
= (int)(SWIG_As_int(obj3
));
10010 if (SWIG_arg_fail(4)) SWIG_fail
;
10015 arg5
= (int)(SWIG_As_int(obj4
));
10016 if (SWIG_arg_fail(5)) SWIG_fail
;
10020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10021 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
10023 wxPyEndAllowThreads(__tstate
);
10024 if (PyErr_Occurred()) SWIG_fail
;
10026 Py_INCREF(Py_None
); resultobj
= Py_None
;
10033 static PyObject
*_wrap_PyShape_base_OnSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10034 PyObject
*resultobj
;
10035 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
10038 PyObject
* obj0
= 0 ;
10039 PyObject
* obj1
= 0 ;
10040 PyObject
* obj2
= 0 ;
10041 char *kwnames
[] = {
10042 (char *) "self",(char *) "x",(char *) "y", NULL
10045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShape_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10046 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
10047 if (SWIG_arg_fail(1)) SWIG_fail
;
10049 arg2
= (double)(SWIG_As_double(obj1
));
10050 if (SWIG_arg_fail(2)) SWIG_fail
;
10053 arg3
= (double)(SWIG_As_double(obj2
));
10054 if (SWIG_arg_fail(3)) SWIG_fail
;
10057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10058 (arg1
)->base_OnSize(arg2
,arg3
);
10060 wxPyEndAllowThreads(__tstate
);
10061 if (PyErr_Occurred()) SWIG_fail
;
10063 Py_INCREF(Py_None
); resultobj
= Py_None
;
10070 static PyObject
*_wrap_PyShape_base_OnMovePre(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10071 PyObject
*resultobj
;
10072 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
10078 bool arg7
= (bool) true ;
10080 PyObject
* obj0
= 0 ;
10081 PyObject
* obj1
= 0 ;
10082 PyObject
* obj2
= 0 ;
10083 PyObject
* obj3
= 0 ;
10084 PyObject
* obj4
= 0 ;
10085 PyObject
* obj5
= 0 ;
10086 PyObject
* obj6
= 0 ;
10087 char *kwnames
[] = {
10088 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
10091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10092 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
10093 if (SWIG_arg_fail(1)) SWIG_fail
;
10095 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
10096 if (SWIG_arg_fail(2)) SWIG_fail
;
10097 if (arg2
== NULL
) {
10098 SWIG_null_ref("wxDC");
10100 if (SWIG_arg_fail(2)) SWIG_fail
;
10103 arg3
= (double)(SWIG_As_double(obj2
));
10104 if (SWIG_arg_fail(3)) SWIG_fail
;
10107 arg4
= (double)(SWIG_As_double(obj3
));
10108 if (SWIG_arg_fail(4)) SWIG_fail
;
10111 arg5
= (double)(SWIG_As_double(obj4
));
10112 if (SWIG_arg_fail(5)) SWIG_fail
;
10115 arg6
= (double)(SWIG_As_double(obj5
));
10116 if (SWIG_arg_fail(6)) SWIG_fail
;
10120 arg7
= (bool)(SWIG_As_bool(obj6
));
10121 if (SWIG_arg_fail(7)) SWIG_fail
;
10125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10126 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10128 wxPyEndAllowThreads(__tstate
);
10129 if (PyErr_Occurred()) SWIG_fail
;
10132 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10140 static PyObject
*_wrap_PyShape_base_OnMovePost(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10141 PyObject
*resultobj
;
10142 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
10148 bool arg7
= (bool) true ;
10149 PyObject
* obj0
= 0 ;
10150 PyObject
* obj1
= 0 ;
10151 PyObject
* obj2
= 0 ;
10152 PyObject
* obj3
= 0 ;
10153 PyObject
* obj4
= 0 ;
10154 PyObject
* obj5
= 0 ;
10155 PyObject
* obj6
= 0 ;
10156 char *kwnames
[] = {
10157 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
10160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10161 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
10162 if (SWIG_arg_fail(1)) SWIG_fail
;
10164 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
10165 if (SWIG_arg_fail(2)) SWIG_fail
;
10166 if (arg2
== NULL
) {
10167 SWIG_null_ref("wxDC");
10169 if (SWIG_arg_fail(2)) SWIG_fail
;
10172 arg3
= (double)(SWIG_As_double(obj2
));
10173 if (SWIG_arg_fail(3)) SWIG_fail
;
10176 arg4
= (double)(SWIG_As_double(obj3
));
10177 if (SWIG_arg_fail(4)) SWIG_fail
;
10180 arg5
= (double)(SWIG_As_double(obj4
));
10181 if (SWIG_arg_fail(5)) SWIG_fail
;
10184 arg6
= (double)(SWIG_As_double(obj5
));
10185 if (SWIG_arg_fail(6)) SWIG_fail
;
10189 arg7
= (bool)(SWIG_As_bool(obj6
));
10190 if (SWIG_arg_fail(7)) SWIG_fail
;
10194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10195 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10197 wxPyEndAllowThreads(__tstate
);
10198 if (PyErr_Occurred()) SWIG_fail
;
10200 Py_INCREF(Py_None
); resultobj
= Py_None
;
10207 static PyObject
*_wrap_PyShape_base_OnDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10208 PyObject
*resultobj
;
10209 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
10213 int arg5
= (int) 0 ;
10214 int arg6
= (int) 0 ;
10215 PyObject
* obj0
= 0 ;
10216 PyObject
* obj1
= 0 ;
10217 PyObject
* obj2
= 0 ;
10218 PyObject
* obj3
= 0 ;
10219 PyObject
* obj4
= 0 ;
10220 PyObject
* obj5
= 0 ;
10221 char *kwnames
[] = {
10222 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
10225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10226 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
10227 if (SWIG_arg_fail(1)) SWIG_fail
;
10229 arg2
= (bool)(SWIG_As_bool(obj1
));
10230 if (SWIG_arg_fail(2)) SWIG_fail
;
10233 arg3
= (double)(SWIG_As_double(obj2
));
10234 if (SWIG_arg_fail(3)) SWIG_fail
;
10237 arg4
= (double)(SWIG_As_double(obj3
));
10238 if (SWIG_arg_fail(4)) SWIG_fail
;
10242 arg5
= (int)(SWIG_As_int(obj4
));
10243 if (SWIG_arg_fail(5)) SWIG_fail
;
10248 arg6
= (int)(SWIG_As_int(obj5
));
10249 if (SWIG_arg_fail(6)) SWIG_fail
;
10253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10254 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
10256 wxPyEndAllowThreads(__tstate
);
10257 if (PyErr_Occurred()) SWIG_fail
;
10259 Py_INCREF(Py_None
); resultobj
= Py_None
;
10266 static PyObject
*_wrap_PyShape_base_OnBeginDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10267 PyObject
*resultobj
;
10268 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
10271 int arg4
= (int) 0 ;
10272 int arg5
= (int) 0 ;
10273 PyObject
* obj0
= 0 ;
10274 PyObject
* obj1
= 0 ;
10275 PyObject
* obj2
= 0 ;
10276 PyObject
* obj3
= 0 ;
10277 PyObject
* obj4
= 0 ;
10278 char *kwnames
[] = {
10279 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
10282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShape_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10283 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
10284 if (SWIG_arg_fail(1)) SWIG_fail
;
10286 arg2
= (double)(SWIG_As_double(obj1
));
10287 if (SWIG_arg_fail(2)) SWIG_fail
;
10290 arg3
= (double)(SWIG_As_double(obj2
));
10291 if (SWIG_arg_fail(3)) SWIG_fail
;
10295 arg4
= (int)(SWIG_As_int(obj3
));
10296 if (SWIG_arg_fail(4)) SWIG_fail
;
10301 arg5
= (int)(SWIG_As_int(obj4
));
10302 if (SWIG_arg_fail(5)) SWIG_fail
;
10306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10307 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
10309 wxPyEndAllowThreads(__tstate
);
10310 if (PyErr_Occurred()) SWIG_fail
;
10312 Py_INCREF(Py_None
); resultobj
= Py_None
;
10319 static PyObject
*_wrap_PyShape_base_OnEndDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10320 PyObject
*resultobj
;
10321 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
10324 int arg4
= (int) 0 ;
10325 int arg5
= (int) 0 ;
10326 PyObject
* obj0
= 0 ;
10327 PyObject
* obj1
= 0 ;
10328 PyObject
* obj2
= 0 ;
10329 PyObject
* obj3
= 0 ;
10330 PyObject
* obj4
= 0 ;
10331 char *kwnames
[] = {
10332 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
10335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShape_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10336 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
10337 if (SWIG_arg_fail(1)) SWIG_fail
;
10339 arg2
= (double)(SWIG_As_double(obj1
));
10340 if (SWIG_arg_fail(2)) SWIG_fail
;
10343 arg3
= (double)(SWIG_As_double(obj2
));
10344 if (SWIG_arg_fail(3)) SWIG_fail
;
10348 arg4
= (int)(SWIG_As_int(obj3
));
10349 if (SWIG_arg_fail(4)) SWIG_fail
;
10354 arg5
= (int)(SWIG_As_int(obj4
));
10355 if (SWIG_arg_fail(5)) SWIG_fail
;
10359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10360 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
10362 wxPyEndAllowThreads(__tstate
);
10363 if (PyErr_Occurred()) SWIG_fail
;
10365 Py_INCREF(Py_None
); resultobj
= Py_None
;
10372 static PyObject
*_wrap_PyShape_base_OnDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10373 PyObject
*resultobj
;
10374 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
10378 int arg5
= (int) 0 ;
10379 int arg6
= (int) 0 ;
10380 PyObject
* obj0
= 0 ;
10381 PyObject
* obj1
= 0 ;
10382 PyObject
* obj2
= 0 ;
10383 PyObject
* obj3
= 0 ;
10384 PyObject
* obj4
= 0 ;
10385 PyObject
* obj5
= 0 ;
10386 char *kwnames
[] = {
10387 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
10390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10391 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
10392 if (SWIG_arg_fail(1)) SWIG_fail
;
10394 arg2
= (bool)(SWIG_As_bool(obj1
));
10395 if (SWIG_arg_fail(2)) SWIG_fail
;
10398 arg3
= (double)(SWIG_As_double(obj2
));
10399 if (SWIG_arg_fail(3)) SWIG_fail
;
10402 arg4
= (double)(SWIG_As_double(obj3
));
10403 if (SWIG_arg_fail(4)) SWIG_fail
;
10407 arg5
= (int)(SWIG_As_int(obj4
));
10408 if (SWIG_arg_fail(5)) SWIG_fail
;
10413 arg6
= (int)(SWIG_As_int(obj5
));
10414 if (SWIG_arg_fail(6)) SWIG_fail
;
10418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10419 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
10421 wxPyEndAllowThreads(__tstate
);
10422 if (PyErr_Occurred()) SWIG_fail
;
10424 Py_INCREF(Py_None
); resultobj
= Py_None
;
10431 static PyObject
*_wrap_PyShape_base_OnBeginDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10432 PyObject
*resultobj
;
10433 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
10436 int arg4
= (int) 0 ;
10437 int arg5
= (int) 0 ;
10438 PyObject
* obj0
= 0 ;
10439 PyObject
* obj1
= 0 ;
10440 PyObject
* obj2
= 0 ;
10441 PyObject
* obj3
= 0 ;
10442 PyObject
* obj4
= 0 ;
10443 char *kwnames
[] = {
10444 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
10447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShape_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10448 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
10449 if (SWIG_arg_fail(1)) SWIG_fail
;
10451 arg2
= (double)(SWIG_As_double(obj1
));
10452 if (SWIG_arg_fail(2)) SWIG_fail
;
10455 arg3
= (double)(SWIG_As_double(obj2
));
10456 if (SWIG_arg_fail(3)) SWIG_fail
;
10460 arg4
= (int)(SWIG_As_int(obj3
));
10461 if (SWIG_arg_fail(4)) SWIG_fail
;
10466 arg5
= (int)(SWIG_As_int(obj4
));
10467 if (SWIG_arg_fail(5)) SWIG_fail
;
10471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10472 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
10474 wxPyEndAllowThreads(__tstate
);
10475 if (PyErr_Occurred()) SWIG_fail
;
10477 Py_INCREF(Py_None
); resultobj
= Py_None
;
10484 static PyObject
*_wrap_PyShape_base_OnEndDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10485 PyObject
*resultobj
;
10486 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
10489 int arg4
= (int) 0 ;
10490 int arg5
= (int) 0 ;
10491 PyObject
* obj0
= 0 ;
10492 PyObject
* obj1
= 0 ;
10493 PyObject
* obj2
= 0 ;
10494 PyObject
* obj3
= 0 ;
10495 PyObject
* obj4
= 0 ;
10496 char *kwnames
[] = {
10497 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
10500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShape_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10501 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
10502 if (SWIG_arg_fail(1)) SWIG_fail
;
10504 arg2
= (double)(SWIG_As_double(obj1
));
10505 if (SWIG_arg_fail(2)) SWIG_fail
;
10508 arg3
= (double)(SWIG_As_double(obj2
));
10509 if (SWIG_arg_fail(3)) SWIG_fail
;
10513 arg4
= (int)(SWIG_As_int(obj3
));
10514 if (SWIG_arg_fail(4)) SWIG_fail
;
10519 arg5
= (int)(SWIG_As_int(obj4
));
10520 if (SWIG_arg_fail(5)) SWIG_fail
;
10524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10525 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
10527 wxPyEndAllowThreads(__tstate
);
10528 if (PyErr_Occurred()) SWIG_fail
;
10530 Py_INCREF(Py_None
); resultobj
= Py_None
;
10537 static PyObject
*_wrap_PyShape_base_OnDrawOutline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10538 PyObject
*resultobj
;
10539 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
10545 PyObject
* obj0
= 0 ;
10546 PyObject
* obj1
= 0 ;
10547 PyObject
* obj2
= 0 ;
10548 PyObject
* obj3
= 0 ;
10549 PyObject
* obj4
= 0 ;
10550 PyObject
* obj5
= 0 ;
10551 char *kwnames
[] = {
10552 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
10555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10556 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
10557 if (SWIG_arg_fail(1)) SWIG_fail
;
10559 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
10560 if (SWIG_arg_fail(2)) SWIG_fail
;
10561 if (arg2
== NULL
) {
10562 SWIG_null_ref("wxDC");
10564 if (SWIG_arg_fail(2)) SWIG_fail
;
10567 arg3
= (double)(SWIG_As_double(obj2
));
10568 if (SWIG_arg_fail(3)) SWIG_fail
;
10571 arg4
= (double)(SWIG_As_double(obj3
));
10572 if (SWIG_arg_fail(4)) SWIG_fail
;
10575 arg5
= (double)(SWIG_As_double(obj4
));
10576 if (SWIG_arg_fail(5)) SWIG_fail
;
10579 arg6
= (double)(SWIG_As_double(obj5
));
10580 if (SWIG_arg_fail(6)) SWIG_fail
;
10583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10584 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
10586 wxPyEndAllowThreads(__tstate
);
10587 if (PyErr_Occurred()) SWIG_fail
;
10589 Py_INCREF(Py_None
); resultobj
= Py_None
;
10596 static PyObject
*_wrap_PyShape_base_OnDrawControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10597 PyObject
*resultobj
;
10598 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
10600 PyObject
* obj0
= 0 ;
10601 PyObject
* obj1
= 0 ;
10602 char *kwnames
[] = {
10603 (char *) "self",(char *) "dc", NULL
10606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
10607 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
10608 if (SWIG_arg_fail(1)) SWIG_fail
;
10610 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
10611 if (SWIG_arg_fail(2)) SWIG_fail
;
10612 if (arg2
== NULL
) {
10613 SWIG_null_ref("wxDC");
10615 if (SWIG_arg_fail(2)) SWIG_fail
;
10618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10619 (arg1
)->base_OnDrawControlPoints(*arg2
);
10621 wxPyEndAllowThreads(__tstate
);
10622 if (PyErr_Occurred()) SWIG_fail
;
10624 Py_INCREF(Py_None
); resultobj
= Py_None
;
10631 static PyObject
*_wrap_PyShape_base_OnEraseControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10632 PyObject
*resultobj
;
10633 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
10635 PyObject
* obj0
= 0 ;
10636 PyObject
* obj1
= 0 ;
10637 char *kwnames
[] = {
10638 (char *) "self",(char *) "dc", NULL
10641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
10642 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
10643 if (SWIG_arg_fail(1)) SWIG_fail
;
10645 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
10646 if (SWIG_arg_fail(2)) SWIG_fail
;
10647 if (arg2
== NULL
) {
10648 SWIG_null_ref("wxDC");
10650 if (SWIG_arg_fail(2)) SWIG_fail
;
10653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10654 (arg1
)->base_OnEraseControlPoints(*arg2
);
10656 wxPyEndAllowThreads(__tstate
);
10657 if (PyErr_Occurred()) SWIG_fail
;
10659 Py_INCREF(Py_None
); resultobj
= Py_None
;
10666 static PyObject
*_wrap_PyShape_base_OnMoveLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10667 PyObject
*resultobj
;
10668 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
10670 bool arg3
= (bool) true ;
10671 PyObject
* obj0
= 0 ;
10672 PyObject
* obj1
= 0 ;
10673 PyObject
* obj2
= 0 ;
10674 char *kwnames
[] = {
10675 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
10678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10679 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
10680 if (SWIG_arg_fail(1)) SWIG_fail
;
10682 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
10683 if (SWIG_arg_fail(2)) SWIG_fail
;
10684 if (arg2
== NULL
) {
10685 SWIG_null_ref("wxDC");
10687 if (SWIG_arg_fail(2)) SWIG_fail
;
10691 arg3
= (bool)(SWIG_As_bool(obj2
));
10692 if (SWIG_arg_fail(3)) SWIG_fail
;
10696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10697 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
10699 wxPyEndAllowThreads(__tstate
);
10700 if (PyErr_Occurred()) SWIG_fail
;
10702 Py_INCREF(Py_None
); resultobj
= Py_None
;
10709 static PyObject
*_wrap_PyShape_base_OnSizingDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10710 PyObject
*resultobj
;
10711 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
10712 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
10716 int arg6
= (int) 0 ;
10717 int arg7
= (int) 0 ;
10718 PyObject
* obj0
= 0 ;
10719 PyObject
* obj1
= 0 ;
10720 PyObject
* obj2
= 0 ;
10721 PyObject
* obj3
= 0 ;
10722 PyObject
* obj4
= 0 ;
10723 PyObject
* obj5
= 0 ;
10724 PyObject
* obj6
= 0 ;
10725 char *kwnames
[] = {
10726 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
10729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10730 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
10731 if (SWIG_arg_fail(1)) SWIG_fail
;
10732 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyControlPoint
, SWIG_POINTER_EXCEPTION
| 0);
10733 if (SWIG_arg_fail(2)) SWIG_fail
;
10735 arg3
= (bool)(SWIG_As_bool(obj2
));
10736 if (SWIG_arg_fail(3)) SWIG_fail
;
10739 arg4
= (double)(SWIG_As_double(obj3
));
10740 if (SWIG_arg_fail(4)) SWIG_fail
;
10743 arg5
= (double)(SWIG_As_double(obj4
));
10744 if (SWIG_arg_fail(5)) SWIG_fail
;
10748 arg6
= (int)(SWIG_As_int(obj5
));
10749 if (SWIG_arg_fail(6)) SWIG_fail
;
10754 arg7
= (int)(SWIG_As_int(obj6
));
10755 if (SWIG_arg_fail(7)) SWIG_fail
;
10759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10760 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10762 wxPyEndAllowThreads(__tstate
);
10763 if (PyErr_Occurred()) SWIG_fail
;
10765 Py_INCREF(Py_None
); resultobj
= Py_None
;
10772 static PyObject
*_wrap_PyShape_base_OnSizingBeginDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10773 PyObject
*resultobj
;
10774 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
10775 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
10778 int arg5
= (int) 0 ;
10779 int arg6
= (int) 0 ;
10780 PyObject
* obj0
= 0 ;
10781 PyObject
* obj1
= 0 ;
10782 PyObject
* obj2
= 0 ;
10783 PyObject
* obj3
= 0 ;
10784 PyObject
* obj4
= 0 ;
10785 PyObject
* obj5
= 0 ;
10786 char *kwnames
[] = {
10787 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
10790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10791 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
10792 if (SWIG_arg_fail(1)) SWIG_fail
;
10793 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyControlPoint
, SWIG_POINTER_EXCEPTION
| 0);
10794 if (SWIG_arg_fail(2)) SWIG_fail
;
10796 arg3
= (double)(SWIG_As_double(obj2
));
10797 if (SWIG_arg_fail(3)) SWIG_fail
;
10800 arg4
= (double)(SWIG_As_double(obj3
));
10801 if (SWIG_arg_fail(4)) SWIG_fail
;
10805 arg5
= (int)(SWIG_As_int(obj4
));
10806 if (SWIG_arg_fail(5)) SWIG_fail
;
10811 arg6
= (int)(SWIG_As_int(obj5
));
10812 if (SWIG_arg_fail(6)) SWIG_fail
;
10816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10817 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
10819 wxPyEndAllowThreads(__tstate
);
10820 if (PyErr_Occurred()) SWIG_fail
;
10822 Py_INCREF(Py_None
); resultobj
= Py_None
;
10829 static PyObject
*_wrap_PyShape_base_OnSizingEndDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10830 PyObject
*resultobj
;
10831 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
10832 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
10835 int arg5
= (int) 0 ;
10836 int arg6
= (int) 0 ;
10837 PyObject
* obj0
= 0 ;
10838 PyObject
* obj1
= 0 ;
10839 PyObject
* obj2
= 0 ;
10840 PyObject
* obj3
= 0 ;
10841 PyObject
* obj4
= 0 ;
10842 PyObject
* obj5
= 0 ;
10843 char *kwnames
[] = {
10844 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
10847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10848 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
10849 if (SWIG_arg_fail(1)) SWIG_fail
;
10850 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyControlPoint
, SWIG_POINTER_EXCEPTION
| 0);
10851 if (SWIG_arg_fail(2)) SWIG_fail
;
10853 arg3
= (double)(SWIG_As_double(obj2
));
10854 if (SWIG_arg_fail(3)) SWIG_fail
;
10857 arg4
= (double)(SWIG_As_double(obj3
));
10858 if (SWIG_arg_fail(4)) SWIG_fail
;
10862 arg5
= (int)(SWIG_As_int(obj4
));
10863 if (SWIG_arg_fail(5)) SWIG_fail
;
10868 arg6
= (int)(SWIG_As_int(obj5
));
10869 if (SWIG_arg_fail(6)) SWIG_fail
;
10873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10874 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
10876 wxPyEndAllowThreads(__tstate
);
10877 if (PyErr_Occurred()) SWIG_fail
;
10879 Py_INCREF(Py_None
); resultobj
= Py_None
;
10886 static PyObject
*_wrap_PyShape_base_OnBeginSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10887 PyObject
*resultobj
;
10888 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
10891 PyObject
* obj0
= 0 ;
10892 PyObject
* obj1
= 0 ;
10893 PyObject
* obj2
= 0 ;
10894 char *kwnames
[] = {
10895 (char *) "self",(char *) "w",(char *) "h", NULL
10898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShape_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10899 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
10900 if (SWIG_arg_fail(1)) SWIG_fail
;
10902 arg2
= (double)(SWIG_As_double(obj1
));
10903 if (SWIG_arg_fail(2)) SWIG_fail
;
10906 arg3
= (double)(SWIG_As_double(obj2
));
10907 if (SWIG_arg_fail(3)) SWIG_fail
;
10910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10911 (arg1
)->base_OnBeginSize(arg2
,arg3
);
10913 wxPyEndAllowThreads(__tstate
);
10914 if (PyErr_Occurred()) SWIG_fail
;
10916 Py_INCREF(Py_None
); resultobj
= Py_None
;
10923 static PyObject
*_wrap_PyShape_base_OnEndSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10924 PyObject
*resultobj
;
10925 wxPyShape
*arg1
= (wxPyShape
*) 0 ;
10928 PyObject
* obj0
= 0 ;
10929 PyObject
* obj1
= 0 ;
10930 PyObject
* obj2
= 0 ;
10931 char *kwnames
[] = {
10932 (char *) "self",(char *) "w",(char *) "h", NULL
10935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShape_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10936 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
10937 if (SWIG_arg_fail(1)) SWIG_fail
;
10939 arg2
= (double)(SWIG_As_double(obj1
));
10940 if (SWIG_arg_fail(2)) SWIG_fail
;
10943 arg3
= (double)(SWIG_As_double(obj2
));
10944 if (SWIG_arg_fail(3)) SWIG_fail
;
10947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10948 (arg1
)->base_OnEndSize(arg2
,arg3
);
10950 wxPyEndAllowThreads(__tstate
);
10951 if (PyErr_Occurred()) SWIG_fail
;
10953 Py_INCREF(Py_None
); resultobj
= Py_None
;
10960 static PyObject
* PyShape_swigregister(PyObject
*, PyObject
*args
) {
10962 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10963 SWIG_TypeClientData(SWIGTYPE_p_wxPyShape
, obj
);
10965 return Py_BuildValue((char *)"");
10967 static PyObject
*_wrap_new_PseudoMetaFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10968 PyObject
*resultobj
;
10969 wxPseudoMetaFile
*result
;
10970 char *kwnames
[] = {
10974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PseudoMetaFile",kwnames
)) goto fail
;
10976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10977 result
= (wxPseudoMetaFile
*)new wxPseudoMetaFile();
10979 wxPyEndAllowThreads(__tstate
);
10980 if (PyErr_Occurred()) SWIG_fail
;
10983 resultobj
= wxPyMake_wxObject(result
, 1);
10991 static PyObject
*_wrap_delete_PseudoMetaFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10992 PyObject
*resultobj
;
10993 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
10994 PyObject
* obj0
= 0 ;
10995 char *kwnames
[] = {
10996 (char *) "self", NULL
10999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PseudoMetaFile",kwnames
,&obj0
)) goto fail
;
11000 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPseudoMetaFile
, SWIG_POINTER_EXCEPTION
| 0);
11001 if (SWIG_arg_fail(1)) SWIG_fail
;
11003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11006 wxPyEndAllowThreads(__tstate
);
11007 if (PyErr_Occurred()) SWIG_fail
;
11009 Py_INCREF(Py_None
); resultobj
= Py_None
;
11016 static PyObject
*_wrap_PseudoMetaFile_Draw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11017 PyObject
*resultobj
;
11018 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
11022 PyObject
* obj0
= 0 ;
11023 PyObject
* obj1
= 0 ;
11024 PyObject
* obj2
= 0 ;
11025 PyObject
* obj3
= 0 ;
11026 char *kwnames
[] = {
11027 (char *) "self",(char *) "dc",(char *) "xoffset",(char *) "yoffset", NULL
11030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoMetaFile_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11031 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPseudoMetaFile
, SWIG_POINTER_EXCEPTION
| 0);
11032 if (SWIG_arg_fail(1)) SWIG_fail
;
11034 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
11035 if (SWIG_arg_fail(2)) SWIG_fail
;
11036 if (arg2
== NULL
) {
11037 SWIG_null_ref("wxDC");
11039 if (SWIG_arg_fail(2)) SWIG_fail
;
11042 arg3
= (double)(SWIG_As_double(obj2
));
11043 if (SWIG_arg_fail(3)) SWIG_fail
;
11046 arg4
= (double)(SWIG_As_double(obj3
));
11047 if (SWIG_arg_fail(4)) SWIG_fail
;
11050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11051 (arg1
)->Draw(*arg2
,arg3
,arg4
);
11053 wxPyEndAllowThreads(__tstate
);
11054 if (PyErr_Occurred()) SWIG_fail
;
11056 Py_INCREF(Py_None
); resultobj
= Py_None
;
11063 static PyObject
*_wrap_PseudoMetaFile_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11064 PyObject
*resultobj
;
11065 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
11066 PyObject
* obj0
= 0 ;
11067 char *kwnames
[] = {
11068 (char *) "self", NULL
11071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PseudoMetaFile_Clear",kwnames
,&obj0
)) goto fail
;
11072 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPseudoMetaFile
, SWIG_POINTER_EXCEPTION
| 0);
11073 if (SWIG_arg_fail(1)) SWIG_fail
;
11075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11078 wxPyEndAllowThreads(__tstate
);
11079 if (PyErr_Occurred()) SWIG_fail
;
11081 Py_INCREF(Py_None
); resultobj
= Py_None
;
11088 static PyObject
*_wrap_PseudoMetaFile_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11089 PyObject
*resultobj
;
11090 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
11091 wxPseudoMetaFile
*arg2
= 0 ;
11092 PyObject
* obj0
= 0 ;
11093 PyObject
* obj1
= 0 ;
11094 char *kwnames
[] = {
11095 (char *) "self",(char *) "copy", NULL
11098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_Copy",kwnames
,&obj0
,&obj1
)) goto fail
;
11099 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPseudoMetaFile
, SWIG_POINTER_EXCEPTION
| 0);
11100 if (SWIG_arg_fail(1)) SWIG_fail
;
11102 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPseudoMetaFile
, SWIG_POINTER_EXCEPTION
| 0);
11103 if (SWIG_arg_fail(2)) SWIG_fail
;
11104 if (arg2
== NULL
) {
11105 SWIG_null_ref("wxPseudoMetaFile");
11107 if (SWIG_arg_fail(2)) SWIG_fail
;
11110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11111 (arg1
)->Copy(*arg2
);
11113 wxPyEndAllowThreads(__tstate
);
11114 if (PyErr_Occurred()) SWIG_fail
;
11116 Py_INCREF(Py_None
); resultobj
= Py_None
;
11123 static PyObject
*_wrap_PseudoMetaFile_Scale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11124 PyObject
*resultobj
;
11125 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
11128 PyObject
* obj0
= 0 ;
11129 PyObject
* obj1
= 0 ;
11130 PyObject
* obj2
= 0 ;
11131 char *kwnames
[] = {
11132 (char *) "self",(char *) "sx",(char *) "sy", NULL
11135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoMetaFile_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11136 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPseudoMetaFile
, SWIG_POINTER_EXCEPTION
| 0);
11137 if (SWIG_arg_fail(1)) SWIG_fail
;
11139 arg2
= (double)(SWIG_As_double(obj1
));
11140 if (SWIG_arg_fail(2)) SWIG_fail
;
11143 arg3
= (double)(SWIG_As_double(obj2
));
11144 if (SWIG_arg_fail(3)) SWIG_fail
;
11147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11148 (arg1
)->Scale(arg2
,arg3
);
11150 wxPyEndAllowThreads(__tstate
);
11151 if (PyErr_Occurred()) SWIG_fail
;
11153 Py_INCREF(Py_None
); resultobj
= Py_None
;
11160 static PyObject
*_wrap_PseudoMetaFile_ScaleTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11161 PyObject
*resultobj
;
11162 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
11165 PyObject
* obj0
= 0 ;
11166 PyObject
* obj1
= 0 ;
11167 PyObject
* obj2
= 0 ;
11168 char *kwnames
[] = {
11169 (char *) "self",(char *) "w",(char *) "h", NULL
11172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoMetaFile_ScaleTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11173 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPseudoMetaFile
, SWIG_POINTER_EXCEPTION
| 0);
11174 if (SWIG_arg_fail(1)) SWIG_fail
;
11176 arg2
= (double)(SWIG_As_double(obj1
));
11177 if (SWIG_arg_fail(2)) SWIG_fail
;
11180 arg3
= (double)(SWIG_As_double(obj2
));
11181 if (SWIG_arg_fail(3)) SWIG_fail
;
11184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11185 (arg1
)->ScaleTo(arg2
,arg3
);
11187 wxPyEndAllowThreads(__tstate
);
11188 if (PyErr_Occurred()) SWIG_fail
;
11190 Py_INCREF(Py_None
); resultobj
= Py_None
;
11197 static PyObject
*_wrap_PseudoMetaFile_Translate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11198 PyObject
*resultobj
;
11199 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
11202 PyObject
* obj0
= 0 ;
11203 PyObject
* obj1
= 0 ;
11204 PyObject
* obj2
= 0 ;
11205 char *kwnames
[] = {
11206 (char *) "self",(char *) "x",(char *) "y", NULL
11209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoMetaFile_Translate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11210 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPseudoMetaFile
, SWIG_POINTER_EXCEPTION
| 0);
11211 if (SWIG_arg_fail(1)) SWIG_fail
;
11213 arg2
= (double)(SWIG_As_double(obj1
));
11214 if (SWIG_arg_fail(2)) SWIG_fail
;
11217 arg3
= (double)(SWIG_As_double(obj2
));
11218 if (SWIG_arg_fail(3)) SWIG_fail
;
11221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11222 (arg1
)->Translate(arg2
,arg3
);
11224 wxPyEndAllowThreads(__tstate
);
11225 if (PyErr_Occurred()) SWIG_fail
;
11227 Py_INCREF(Py_None
); resultobj
= Py_None
;
11234 static PyObject
*_wrap_PseudoMetaFile_Rotate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11235 PyObject
*resultobj
;
11236 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
11240 PyObject
* obj0
= 0 ;
11241 PyObject
* obj1
= 0 ;
11242 PyObject
* obj2
= 0 ;
11243 PyObject
* obj3
= 0 ;
11244 char *kwnames
[] = {
11245 (char *) "self",(char *) "x",(char *) "y",(char *) "theta", NULL
11248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoMetaFile_Rotate",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11249 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPseudoMetaFile
, SWIG_POINTER_EXCEPTION
| 0);
11250 if (SWIG_arg_fail(1)) SWIG_fail
;
11252 arg2
= (double)(SWIG_As_double(obj1
));
11253 if (SWIG_arg_fail(2)) SWIG_fail
;
11256 arg3
= (double)(SWIG_As_double(obj2
));
11257 if (SWIG_arg_fail(3)) SWIG_fail
;
11260 arg4
= (double)(SWIG_As_double(obj3
));
11261 if (SWIG_arg_fail(4)) SWIG_fail
;
11264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11265 (arg1
)->Rotate(arg2
,arg3
,arg4
);
11267 wxPyEndAllowThreads(__tstate
);
11268 if (PyErr_Occurred()) SWIG_fail
;
11270 Py_INCREF(Py_None
); resultobj
= Py_None
;
11277 static PyObject
*_wrap_PseudoMetaFile_LoadFromMetaFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11278 PyObject
*resultobj
;
11279 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
11280 wxString
*arg2
= 0 ;
11281 double *arg3
= (double *) 0 ;
11282 double *arg4
= (double *) 0 ;
11284 bool temp2
= false ;
11285 PyObject
* obj0
= 0 ;
11286 PyObject
* obj1
= 0 ;
11287 PyObject
* obj2
= 0 ;
11288 PyObject
* obj3
= 0 ;
11289 char *kwnames
[] = {
11290 (char *) "self",(char *) "filename",(char *) "width",(char *) "height", NULL
11293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoMetaFile_LoadFromMetaFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11294 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPseudoMetaFile
, SWIG_POINTER_EXCEPTION
| 0);
11295 if (SWIG_arg_fail(1)) SWIG_fail
;
11297 arg2
= wxString_in_helper(obj1
);
11298 if (arg2
== NULL
) SWIG_fail
;
11301 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_double
, SWIG_POINTER_EXCEPTION
| 0);
11302 if (SWIG_arg_fail(3)) SWIG_fail
;
11303 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_double
, SWIG_POINTER_EXCEPTION
| 0);
11304 if (SWIG_arg_fail(4)) SWIG_fail
;
11306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11307 result
= (bool)(arg1
)->LoadFromMetaFile((wxString
const &)*arg2
,arg3
,arg4
);
11309 wxPyEndAllowThreads(__tstate
);
11310 if (PyErr_Occurred()) SWIG_fail
;
11313 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11329 static PyObject
*_wrap_PseudoMetaFile_GetBounds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11330 PyObject
*resultobj
;
11331 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
11332 double *arg2
= (double *) 0 ;
11333 double *arg3
= (double *) 0 ;
11334 double *arg4
= (double *) 0 ;
11335 double *arg5
= (double *) 0 ;
11336 PyObject
* obj0
= 0 ;
11337 PyObject
* obj1
= 0 ;
11338 PyObject
* obj2
= 0 ;
11339 PyObject
* obj3
= 0 ;
11340 PyObject
* obj4
= 0 ;
11341 char *kwnames
[] = {
11342 (char *) "self",(char *) "minX",(char *) "minY",(char *) "maxX",(char *) "maxY", NULL
11345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoMetaFile_GetBounds",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11346 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPseudoMetaFile
, SWIG_POINTER_EXCEPTION
| 0);
11347 if (SWIG_arg_fail(1)) SWIG_fail
;
11348 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_double
, SWIG_POINTER_EXCEPTION
| 0);
11349 if (SWIG_arg_fail(2)) SWIG_fail
;
11350 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_double
, SWIG_POINTER_EXCEPTION
| 0);
11351 if (SWIG_arg_fail(3)) SWIG_fail
;
11352 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_double
, SWIG_POINTER_EXCEPTION
| 0);
11353 if (SWIG_arg_fail(4)) SWIG_fail
;
11354 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_double
, SWIG_POINTER_EXCEPTION
| 0);
11355 if (SWIG_arg_fail(5)) SWIG_fail
;
11357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11358 (arg1
)->GetBounds(arg2
,arg3
,arg4
,arg5
);
11360 wxPyEndAllowThreads(__tstate
);
11361 if (PyErr_Occurred()) SWIG_fail
;
11363 Py_INCREF(Py_None
); resultobj
= Py_None
;
11370 static PyObject
*_wrap_PseudoMetaFile_CalculateSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11371 PyObject
*resultobj
;
11372 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
11373 wxPyDrawnShape
*arg2
= (wxPyDrawnShape
*) 0 ;
11374 PyObject
* obj0
= 0 ;
11375 PyObject
* obj1
= 0 ;
11376 char *kwnames
[] = {
11377 (char *) "self",(char *) "shape", NULL
11380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_CalculateSize",kwnames
,&obj0
,&obj1
)) goto fail
;
11381 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPseudoMetaFile
, SWIG_POINTER_EXCEPTION
| 0);
11382 if (SWIG_arg_fail(1)) SWIG_fail
;
11383 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyDrawnShape
, SWIG_POINTER_EXCEPTION
| 0);
11384 if (SWIG_arg_fail(2)) SWIG_fail
;
11386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11387 (arg1
)->CalculateSize(arg2
);
11389 wxPyEndAllowThreads(__tstate
);
11390 if (PyErr_Occurred()) SWIG_fail
;
11392 Py_INCREF(Py_None
); resultobj
= Py_None
;
11399 static PyObject
*_wrap_PseudoMetaFile_SetRotateable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11400 PyObject
*resultobj
;
11401 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
11403 PyObject
* obj0
= 0 ;
11404 PyObject
* obj1
= 0 ;
11405 char *kwnames
[] = {
11406 (char *) "self",(char *) "rot", NULL
11409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_SetRotateable",kwnames
,&obj0
,&obj1
)) goto fail
;
11410 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPseudoMetaFile
, SWIG_POINTER_EXCEPTION
| 0);
11411 if (SWIG_arg_fail(1)) SWIG_fail
;
11413 arg2
= (bool)(SWIG_As_bool(obj1
));
11414 if (SWIG_arg_fail(2)) SWIG_fail
;
11417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11418 (arg1
)->SetRotateable(arg2
);
11420 wxPyEndAllowThreads(__tstate
);
11421 if (PyErr_Occurred()) SWIG_fail
;
11423 Py_INCREF(Py_None
); resultobj
= Py_None
;
11430 static PyObject
*_wrap_PseudoMetaFile_GetRotateable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11431 PyObject
*resultobj
;
11432 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
11434 PyObject
* obj0
= 0 ;
11435 char *kwnames
[] = {
11436 (char *) "self", NULL
11439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PseudoMetaFile_GetRotateable",kwnames
,&obj0
)) goto fail
;
11440 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPseudoMetaFile
, SWIG_POINTER_EXCEPTION
| 0);
11441 if (SWIG_arg_fail(1)) SWIG_fail
;
11443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11444 result
= (bool)(arg1
)->GetRotateable();
11446 wxPyEndAllowThreads(__tstate
);
11447 if (PyErr_Occurred()) SWIG_fail
;
11450 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11458 static PyObject
*_wrap_PseudoMetaFile_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11459 PyObject
*resultobj
;
11460 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
11463 PyObject
* obj0
= 0 ;
11464 PyObject
* obj1
= 0 ;
11465 PyObject
* obj2
= 0 ;
11466 char *kwnames
[] = {
11467 (char *) "self",(char *) "w",(char *) "h", NULL
11470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoMetaFile_SetSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11471 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPseudoMetaFile
, SWIG_POINTER_EXCEPTION
| 0);
11472 if (SWIG_arg_fail(1)) SWIG_fail
;
11474 arg2
= (double)(SWIG_As_double(obj1
));
11475 if (SWIG_arg_fail(2)) SWIG_fail
;
11478 arg3
= (double)(SWIG_As_double(obj2
));
11479 if (SWIG_arg_fail(3)) SWIG_fail
;
11482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11483 (arg1
)->SetSize(arg2
,arg3
);
11485 wxPyEndAllowThreads(__tstate
);
11486 if (PyErr_Occurred()) SWIG_fail
;
11488 Py_INCREF(Py_None
); resultobj
= Py_None
;
11495 static PyObject
*_wrap_PseudoMetaFile_SetFillBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11496 PyObject
*resultobj
;
11497 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
11498 wxBrush
*arg2
= (wxBrush
*) 0 ;
11499 PyObject
* obj0
= 0 ;
11500 PyObject
* obj1
= 0 ;
11501 char *kwnames
[] = {
11502 (char *) "self",(char *) "brush", NULL
11505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_SetFillBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
11506 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPseudoMetaFile
, SWIG_POINTER_EXCEPTION
| 0);
11507 if (SWIG_arg_fail(1)) SWIG_fail
;
11511 if (obj1
== Py_None
) {
11514 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxBrush"))) {
11515 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxBrush.");
11520 arg2
= wxTheBrushList
->FindOrCreateBrush(temp
->GetColour(), temp
->GetStyle());
11525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11526 (arg1
)->SetFillBrush(arg2
);
11528 wxPyEndAllowThreads(__tstate
);
11529 if (PyErr_Occurred()) SWIG_fail
;
11531 Py_INCREF(Py_None
); resultobj
= Py_None
;
11538 static PyObject
*_wrap_PseudoMetaFile_GetFillBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11539 PyObject
*resultobj
;
11540 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
11542 PyObject
* obj0
= 0 ;
11543 char *kwnames
[] = {
11544 (char *) "self", NULL
11547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PseudoMetaFile_GetFillBrush",kwnames
,&obj0
)) goto fail
;
11548 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPseudoMetaFile
, SWIG_POINTER_EXCEPTION
| 0);
11549 if (SWIG_arg_fail(1)) SWIG_fail
;
11551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11552 result
= (wxBrush
*)(arg1
)->GetFillBrush();
11554 wxPyEndAllowThreads(__tstate
);
11555 if (PyErr_Occurred()) SWIG_fail
;
11557 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 0);
11564 static PyObject
*_wrap_PseudoMetaFile_SetOutlinePen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11565 PyObject
*resultobj
;
11566 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
11567 wxPen
*arg2
= (wxPen
*) 0 ;
11568 PyObject
* obj0
= 0 ;
11569 PyObject
* obj1
= 0 ;
11570 char *kwnames
[] = {
11571 (char *) "self",(char *) "pen", NULL
11574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_SetOutlinePen",kwnames
,&obj0
,&obj1
)) goto fail
;
11575 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPseudoMetaFile
, SWIG_POINTER_EXCEPTION
| 0);
11576 if (SWIG_arg_fail(1)) SWIG_fail
;
11580 if (obj1
== Py_None
) {
11583 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxPen"))) {
11584 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxPen.");
11589 arg2
= wxThePenList
->FindOrCreatePen(temp
->GetColour(),
11596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11597 (arg1
)->SetOutlinePen(arg2
);
11599 wxPyEndAllowThreads(__tstate
);
11600 if (PyErr_Occurred()) SWIG_fail
;
11602 Py_INCREF(Py_None
); resultobj
= Py_None
;
11609 static PyObject
*_wrap_PseudoMetaFile_GetOutlinePen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11610 PyObject
*resultobj
;
11611 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
11613 PyObject
* obj0
= 0 ;
11614 char *kwnames
[] = {
11615 (char *) "self", NULL
11618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PseudoMetaFile_GetOutlinePen",kwnames
,&obj0
)) goto fail
;
11619 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPseudoMetaFile
, SWIG_POINTER_EXCEPTION
| 0);
11620 if (SWIG_arg_fail(1)) SWIG_fail
;
11622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11623 result
= (wxPen
*)(arg1
)->GetOutlinePen();
11625 wxPyEndAllowThreads(__tstate
);
11626 if (PyErr_Occurred()) SWIG_fail
;
11628 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 0);
11635 static PyObject
*_wrap_PseudoMetaFile_SetOutlineOp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11636 PyObject
*resultobj
;
11637 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
11639 PyObject
* obj0
= 0 ;
11640 PyObject
* obj1
= 0 ;
11641 char *kwnames
[] = {
11642 (char *) "self",(char *) "op", NULL
11645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_SetOutlineOp",kwnames
,&obj0
,&obj1
)) goto fail
;
11646 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPseudoMetaFile
, SWIG_POINTER_EXCEPTION
| 0);
11647 if (SWIG_arg_fail(1)) SWIG_fail
;
11649 arg2
= (int)(SWIG_As_int(obj1
));
11650 if (SWIG_arg_fail(2)) SWIG_fail
;
11653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11654 (arg1
)->SetOutlineOp(arg2
);
11656 wxPyEndAllowThreads(__tstate
);
11657 if (PyErr_Occurred()) SWIG_fail
;
11659 Py_INCREF(Py_None
); resultobj
= Py_None
;
11666 static PyObject
*_wrap_PseudoMetaFile_GetOutlineOp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11667 PyObject
*resultobj
;
11668 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
11670 PyObject
* obj0
= 0 ;
11671 char *kwnames
[] = {
11672 (char *) "self", NULL
11675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PseudoMetaFile_GetOutlineOp",kwnames
,&obj0
)) goto fail
;
11676 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPseudoMetaFile
, SWIG_POINTER_EXCEPTION
| 0);
11677 if (SWIG_arg_fail(1)) SWIG_fail
;
11679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11680 result
= (int)(arg1
)->GetOutlineOp();
11682 wxPyEndAllowThreads(__tstate
);
11683 if (PyErr_Occurred()) SWIG_fail
;
11686 resultobj
= SWIG_From_int((int)(result
));
11694 static PyObject
*_wrap_PseudoMetaFile_IsValid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11695 PyObject
*resultobj
;
11696 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
11698 PyObject
* obj0
= 0 ;
11699 char *kwnames
[] = {
11700 (char *) "self", NULL
11703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PseudoMetaFile_IsValid",kwnames
,&obj0
)) goto fail
;
11704 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPseudoMetaFile
, SWIG_POINTER_EXCEPTION
| 0);
11705 if (SWIG_arg_fail(1)) SWIG_fail
;
11707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11708 result
= (bool)(arg1
)->IsValid();
11710 wxPyEndAllowThreads(__tstate
);
11711 if (PyErr_Occurred()) SWIG_fail
;
11714 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11722 static PyObject
*_wrap_PseudoMetaFile_DrawLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11723 PyObject
*resultobj
;
11724 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
11725 wxPoint
*arg2
= 0 ;
11726 wxPoint
*arg3
= 0 ;
11729 PyObject
* obj0
= 0 ;
11730 PyObject
* obj1
= 0 ;
11731 PyObject
* obj2
= 0 ;
11732 char *kwnames
[] = {
11733 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
11736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoMetaFile_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11737 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPseudoMetaFile
, SWIG_POINTER_EXCEPTION
| 0);
11738 if (SWIG_arg_fail(1)) SWIG_fail
;
11741 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11745 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11749 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
11751 wxPyEndAllowThreads(__tstate
);
11752 if (PyErr_Occurred()) SWIG_fail
;
11754 Py_INCREF(Py_None
); resultobj
= Py_None
;
11761 static PyObject
*_wrap_PseudoMetaFile_DrawRectangle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11762 PyObject
*resultobj
;
11763 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
11766 PyObject
* obj0
= 0 ;
11767 PyObject
* obj1
= 0 ;
11768 char *kwnames
[] = {
11769 (char *) "self",(char *) "rect", NULL
11772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_DrawRectangle",kwnames
,&obj0
,&obj1
)) goto fail
;
11773 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPseudoMetaFile
, SWIG_POINTER_EXCEPTION
| 0);
11774 if (SWIG_arg_fail(1)) SWIG_fail
;
11777 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11781 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
11783 wxPyEndAllowThreads(__tstate
);
11784 if (PyErr_Occurred()) SWIG_fail
;
11786 Py_INCREF(Py_None
); resultobj
= Py_None
;
11793 static PyObject
*_wrap_PseudoMetaFile_DrawRoundedRectangle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11794 PyObject
*resultobj
;
11795 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
11799 PyObject
* obj0
= 0 ;
11800 PyObject
* obj1
= 0 ;
11801 PyObject
* obj2
= 0 ;
11802 char *kwnames
[] = {
11803 (char *) "self",(char *) "rect",(char *) "radius", NULL
11806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoMetaFile_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11807 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPseudoMetaFile
, SWIG_POINTER_EXCEPTION
| 0);
11808 if (SWIG_arg_fail(1)) SWIG_fail
;
11811 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11814 arg3
= (double)(SWIG_As_double(obj2
));
11815 if (SWIG_arg_fail(3)) SWIG_fail
;
11818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11819 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
11821 wxPyEndAllowThreads(__tstate
);
11822 if (PyErr_Occurred()) SWIG_fail
;
11824 Py_INCREF(Py_None
); resultobj
= Py_None
;
11831 static PyObject
*_wrap_PseudoMetaFile_DrawArc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11832 PyObject
*resultobj
;
11833 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
11834 wxPoint
*arg2
= 0 ;
11835 wxPoint
*arg3
= 0 ;
11836 wxPoint
*arg4
= 0 ;
11840 PyObject
* obj0
= 0 ;
11841 PyObject
* obj1
= 0 ;
11842 PyObject
* obj2
= 0 ;
11843 PyObject
* obj3
= 0 ;
11844 char *kwnames
[] = {
11845 (char *) "self",(char *) "centrePt",(char *) "startPt",(char *) "endPt", NULL
11848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoMetaFile_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11849 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPseudoMetaFile
, SWIG_POINTER_EXCEPTION
| 0);
11850 if (SWIG_arg_fail(1)) SWIG_fail
;
11853 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11857 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11861 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11865 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
11867 wxPyEndAllowThreads(__tstate
);
11868 if (PyErr_Occurred()) SWIG_fail
;
11870 Py_INCREF(Py_None
); resultobj
= Py_None
;
11877 static PyObject
*_wrap_PseudoMetaFile_DrawEllipticArc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11878 PyObject
*resultobj
;
11879 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
11884 PyObject
* obj0
= 0 ;
11885 PyObject
* obj1
= 0 ;
11886 PyObject
* obj2
= 0 ;
11887 PyObject
* obj3
= 0 ;
11888 char *kwnames
[] = {
11889 (char *) "self",(char *) "rect",(char *) "startAngle",(char *) "endAngle", NULL
11892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoMetaFile_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11893 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPseudoMetaFile
, SWIG_POINTER_EXCEPTION
| 0);
11894 if (SWIG_arg_fail(1)) SWIG_fail
;
11897 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11900 arg3
= (double)(SWIG_As_double(obj2
));
11901 if (SWIG_arg_fail(3)) SWIG_fail
;
11904 arg4
= (double)(SWIG_As_double(obj3
));
11905 if (SWIG_arg_fail(4)) SWIG_fail
;
11908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11909 (arg1
)->DrawEllipticArc((wxRect
const &)*arg2
,arg3
,arg4
);
11911 wxPyEndAllowThreads(__tstate
);
11912 if (PyErr_Occurred()) SWIG_fail
;
11914 Py_INCREF(Py_None
); resultobj
= Py_None
;
11921 static PyObject
*_wrap_PseudoMetaFile_DrawEllipse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11922 PyObject
*resultobj
;
11923 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
11926 PyObject
* obj0
= 0 ;
11927 PyObject
* obj1
= 0 ;
11928 char *kwnames
[] = {
11929 (char *) "self",(char *) "rect", NULL
11932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_DrawEllipse",kwnames
,&obj0
,&obj1
)) goto fail
;
11933 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPseudoMetaFile
, SWIG_POINTER_EXCEPTION
| 0);
11934 if (SWIG_arg_fail(1)) SWIG_fail
;
11937 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11941 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
11943 wxPyEndAllowThreads(__tstate
);
11944 if (PyErr_Occurred()) SWIG_fail
;
11946 Py_INCREF(Py_None
); resultobj
= Py_None
;
11953 static PyObject
*_wrap_PseudoMetaFile_DrawPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11954 PyObject
*resultobj
;
11955 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
11956 wxPoint
*arg2
= 0 ;
11958 PyObject
* obj0
= 0 ;
11959 PyObject
* obj1
= 0 ;
11960 char *kwnames
[] = {
11961 (char *) "self",(char *) "pt", NULL
11964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_DrawPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
11965 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPseudoMetaFile
, SWIG_POINTER_EXCEPTION
| 0);
11966 if (SWIG_arg_fail(1)) SWIG_fail
;
11969 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11973 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
11975 wxPyEndAllowThreads(__tstate
);
11976 if (PyErr_Occurred()) SWIG_fail
;
11978 Py_INCREF(Py_None
); resultobj
= Py_None
;
11985 static PyObject
*_wrap_PseudoMetaFile_DrawText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11986 PyObject
*resultobj
;
11987 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
11988 wxString
*arg2
= 0 ;
11989 wxPoint
*arg3
= 0 ;
11990 bool temp2
= false ;
11992 PyObject
* obj0
= 0 ;
11993 PyObject
* obj1
= 0 ;
11994 PyObject
* obj2
= 0 ;
11995 char *kwnames
[] = {
11996 (char *) "self",(char *) "text",(char *) "pt", NULL
11999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoMetaFile_DrawText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12000 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPseudoMetaFile
, SWIG_POINTER_EXCEPTION
| 0);
12001 if (SWIG_arg_fail(1)) SWIG_fail
;
12003 arg2
= wxString_in_helper(obj1
);
12004 if (arg2
== NULL
) SWIG_fail
;
12009 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12013 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
12015 wxPyEndAllowThreads(__tstate
);
12016 if (PyErr_Occurred()) SWIG_fail
;
12018 Py_INCREF(Py_None
); resultobj
= Py_None
;
12033 static PyObject
*_wrap_PseudoMetaFile_DrawLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12034 PyObject
*resultobj
;
12035 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
12037 wxPoint
*arg3
= (wxPoint
*) 0 ;
12038 PyObject
* obj0
= 0 ;
12039 PyObject
* obj1
= 0 ;
12040 char *kwnames
[] = {
12041 (char *) "self",(char *) "points", NULL
12044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_DrawLines",kwnames
,&obj0
,&obj1
)) goto fail
;
12045 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPseudoMetaFile
, SWIG_POINTER_EXCEPTION
| 0);
12046 if (SWIG_arg_fail(1)) SWIG_fail
;
12048 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
12049 if (arg3
== NULL
) SWIG_fail
;
12052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12053 (arg1
)->DrawLines(arg2
,arg3
);
12055 wxPyEndAllowThreads(__tstate
);
12056 if (PyErr_Occurred()) SWIG_fail
;
12058 Py_INCREF(Py_None
); resultobj
= Py_None
;
12060 if (arg3
) delete [] arg3
;
12065 if (arg3
) delete [] arg3
;
12071 static PyObject
*_wrap_PseudoMetaFile_DrawPolygon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12072 PyObject
*resultobj
;
12073 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
12075 wxPoint
*arg3
= (wxPoint
*) 0 ;
12076 int arg4
= (int) 0 ;
12077 PyObject
* obj0
= 0 ;
12078 PyObject
* obj1
= 0 ;
12079 PyObject
* obj2
= 0 ;
12080 char *kwnames
[] = {
12081 (char *) "self",(char *) "points",(char *) "flags", NULL
12084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PseudoMetaFile_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12085 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPseudoMetaFile
, SWIG_POINTER_EXCEPTION
| 0);
12086 if (SWIG_arg_fail(1)) SWIG_fail
;
12088 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
12089 if (arg3
== NULL
) SWIG_fail
;
12093 arg4
= (int)(SWIG_As_int(obj2
));
12094 if (SWIG_arg_fail(4)) SWIG_fail
;
12098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12099 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
);
12101 wxPyEndAllowThreads(__tstate
);
12102 if (PyErr_Occurred()) SWIG_fail
;
12104 Py_INCREF(Py_None
); resultobj
= Py_None
;
12106 if (arg3
) delete [] arg3
;
12111 if (arg3
) delete [] arg3
;
12117 static PyObject
*_wrap_PseudoMetaFile_DrawSpline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12118 PyObject
*resultobj
;
12119 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
12121 wxPoint
*arg3
= (wxPoint
*) 0 ;
12122 PyObject
* obj0
= 0 ;
12123 PyObject
* obj1
= 0 ;
12124 char *kwnames
[] = {
12125 (char *) "self",(char *) "points", NULL
12128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_DrawSpline",kwnames
,&obj0
,&obj1
)) goto fail
;
12129 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPseudoMetaFile
, SWIG_POINTER_EXCEPTION
| 0);
12130 if (SWIG_arg_fail(1)) SWIG_fail
;
12132 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
12133 if (arg3
== NULL
) SWIG_fail
;
12136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12137 (arg1
)->DrawSpline(arg2
,arg3
);
12139 wxPyEndAllowThreads(__tstate
);
12140 if (PyErr_Occurred()) SWIG_fail
;
12142 Py_INCREF(Py_None
); resultobj
= Py_None
;
12144 if (arg3
) delete [] arg3
;
12149 if (arg3
) delete [] arg3
;
12155 static PyObject
*_wrap_PseudoMetaFile_SetClippingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12156 PyObject
*resultobj
;
12157 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
12160 PyObject
* obj0
= 0 ;
12161 PyObject
* obj1
= 0 ;
12162 char *kwnames
[] = {
12163 (char *) "self",(char *) "rect", NULL
12166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_SetClippingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
12167 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPseudoMetaFile
, SWIG_POINTER_EXCEPTION
| 0);
12168 if (SWIG_arg_fail(1)) SWIG_fail
;
12171 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12175 (arg1
)->SetClippingRect((wxRect
const &)*arg2
);
12177 wxPyEndAllowThreads(__tstate
);
12178 if (PyErr_Occurred()) SWIG_fail
;
12180 Py_INCREF(Py_None
); resultobj
= Py_None
;
12187 static PyObject
*_wrap_PseudoMetaFile_DestroyClippingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12188 PyObject
*resultobj
;
12189 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
12190 PyObject
* obj0
= 0 ;
12191 char *kwnames
[] = {
12192 (char *) "self", NULL
12195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PseudoMetaFile_DestroyClippingRect",kwnames
,&obj0
)) goto fail
;
12196 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPseudoMetaFile
, SWIG_POINTER_EXCEPTION
| 0);
12197 if (SWIG_arg_fail(1)) SWIG_fail
;
12199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12200 (arg1
)->DestroyClippingRect();
12202 wxPyEndAllowThreads(__tstate
);
12203 if (PyErr_Occurred()) SWIG_fail
;
12205 Py_INCREF(Py_None
); resultobj
= Py_None
;
12212 static PyObject
*_wrap_PseudoMetaFile_SetPen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12213 PyObject
*resultobj
;
12214 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
12215 wxPen
*arg2
= (wxPen
*) 0 ;
12216 bool arg3
= (bool) FALSE
;
12217 PyObject
* obj0
= 0 ;
12218 PyObject
* obj1
= 0 ;
12219 PyObject
* obj2
= 0 ;
12220 char *kwnames
[] = {
12221 (char *) "self",(char *) "pen",(char *) "isOutline", NULL
12224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PseudoMetaFile_SetPen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12225 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPseudoMetaFile
, SWIG_POINTER_EXCEPTION
| 0);
12226 if (SWIG_arg_fail(1)) SWIG_fail
;
12230 if (obj1
== Py_None
) {
12233 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxPen"))) {
12234 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxPen.");
12239 arg2
= wxThePenList
->FindOrCreatePen(temp
->GetColour(),
12247 arg3
= (bool)(SWIG_As_bool(obj2
));
12248 if (SWIG_arg_fail(3)) SWIG_fail
;
12252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12253 (arg1
)->SetPen(arg2
,arg3
);
12255 wxPyEndAllowThreads(__tstate
);
12256 if (PyErr_Occurred()) SWIG_fail
;
12258 Py_INCREF(Py_None
); resultobj
= Py_None
;
12265 static PyObject
*_wrap_PseudoMetaFile_SetBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12266 PyObject
*resultobj
;
12267 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
12268 wxBrush
*arg2
= (wxBrush
*) 0 ;
12269 bool arg3
= (bool) FALSE
;
12270 PyObject
* obj0
= 0 ;
12271 PyObject
* obj1
= 0 ;
12272 PyObject
* obj2
= 0 ;
12273 char *kwnames
[] = {
12274 (char *) "self",(char *) "brush",(char *) "isFill", NULL
12277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PseudoMetaFile_SetBrush",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12278 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPseudoMetaFile
, SWIG_POINTER_EXCEPTION
| 0);
12279 if (SWIG_arg_fail(1)) SWIG_fail
;
12283 if (obj1
== Py_None
) {
12286 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxBrush"))) {
12287 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxBrush.");
12292 arg2
= wxTheBrushList
->FindOrCreateBrush(temp
->GetColour(), temp
->GetStyle());
12298 arg3
= (bool)(SWIG_As_bool(obj2
));
12299 if (SWIG_arg_fail(3)) SWIG_fail
;
12303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12304 (arg1
)->SetBrush(arg2
,arg3
);
12306 wxPyEndAllowThreads(__tstate
);
12307 if (PyErr_Occurred()) SWIG_fail
;
12309 Py_INCREF(Py_None
); resultobj
= Py_None
;
12316 static PyObject
*_wrap_PseudoMetaFile_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12317 PyObject
*resultobj
;
12318 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
12319 wxFont
*arg2
= (wxFont
*) 0 ;
12320 PyObject
* obj0
= 0 ;
12321 PyObject
* obj1
= 0 ;
12322 char *kwnames
[] = {
12323 (char *) "self",(char *) "font", NULL
12326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
12327 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPseudoMetaFile
, SWIG_POINTER_EXCEPTION
| 0);
12328 if (SWIG_arg_fail(1)) SWIG_fail
;
12332 if (obj1
== Py_None
) {
12335 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxFont"))) {
12336 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxFont.");
12341 arg2
= wxTheFontList
->FindOrCreateFont(temp
->GetPointSize(),
12345 temp
->GetUnderlined(),
12346 temp
->GetFaceName(),
12347 temp
->GetEncoding());
12352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12353 (arg1
)->SetFont(arg2
);
12355 wxPyEndAllowThreads(__tstate
);
12356 if (PyErr_Occurred()) SWIG_fail
;
12358 Py_INCREF(Py_None
); resultobj
= Py_None
;
12365 static PyObject
*_wrap_PseudoMetaFile_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12366 PyObject
*resultobj
;
12367 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
12368 wxColour
*arg2
= 0 ;
12370 PyObject
* obj0
= 0 ;
12371 PyObject
* obj1
= 0 ;
12372 char *kwnames
[] = {
12373 (char *) "self",(char *) "colour", NULL
12376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
12377 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPseudoMetaFile
, SWIG_POINTER_EXCEPTION
| 0);
12378 if (SWIG_arg_fail(1)) SWIG_fail
;
12381 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
12384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12385 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
12387 wxPyEndAllowThreads(__tstate
);
12388 if (PyErr_Occurred()) SWIG_fail
;
12390 Py_INCREF(Py_None
); resultobj
= Py_None
;
12397 static PyObject
*_wrap_PseudoMetaFile_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12398 PyObject
*resultobj
;
12399 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
12400 wxColour
*arg2
= 0 ;
12402 PyObject
* obj0
= 0 ;
12403 PyObject
* obj1
= 0 ;
12404 char *kwnames
[] = {
12405 (char *) "self",(char *) "colour", NULL
12408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
12409 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPseudoMetaFile
, SWIG_POINTER_EXCEPTION
| 0);
12410 if (SWIG_arg_fail(1)) SWIG_fail
;
12413 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
12416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12417 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
12419 wxPyEndAllowThreads(__tstate
);
12420 if (PyErr_Occurred()) SWIG_fail
;
12422 Py_INCREF(Py_None
); resultobj
= Py_None
;
12429 static PyObject
*_wrap_PseudoMetaFile_SetBackgroundMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12430 PyObject
*resultobj
;
12431 wxPseudoMetaFile
*arg1
= (wxPseudoMetaFile
*) 0 ;
12433 PyObject
* obj0
= 0 ;
12434 PyObject
* obj1
= 0 ;
12435 char *kwnames
[] = {
12436 (char *) "self",(char *) "mode", NULL
12439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoMetaFile_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) goto fail
;
12440 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPseudoMetaFile
, SWIG_POINTER_EXCEPTION
| 0);
12441 if (SWIG_arg_fail(1)) SWIG_fail
;
12443 arg2
= (int)(SWIG_As_int(obj1
));
12444 if (SWIG_arg_fail(2)) SWIG_fail
;
12447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12448 (arg1
)->SetBackgroundMode(arg2
);
12450 wxPyEndAllowThreads(__tstate
);
12451 if (PyErr_Occurred()) SWIG_fail
;
12453 Py_INCREF(Py_None
); resultobj
= Py_None
;
12460 static PyObject
* PseudoMetaFile_swigregister(PyObject
*, PyObject
*args
) {
12462 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12463 SWIG_TypeClientData(SWIGTYPE_p_wxPseudoMetaFile
, obj
);
12465 return Py_BuildValue((char *)"");
12467 static PyObject
*_wrap_new_PyRectangleShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12468 PyObject
*resultobj
;
12469 double arg1
= (double) 0.0 ;
12470 double arg2
= (double) 0.0 ;
12471 wxPyRectangleShape
*result
;
12472 PyObject
* obj0
= 0 ;
12473 PyObject
* obj1
= 0 ;
12474 char *kwnames
[] = {
12475 (char *) "width",(char *) "height", NULL
12478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyRectangleShape",kwnames
,&obj0
,&obj1
)) goto fail
;
12481 arg1
= (double)(SWIG_As_double(obj0
));
12482 if (SWIG_arg_fail(1)) SWIG_fail
;
12487 arg2
= (double)(SWIG_As_double(obj1
));
12488 if (SWIG_arg_fail(2)) SWIG_fail
;
12492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12493 result
= (wxPyRectangleShape
*)new wxPyRectangleShape(arg1
,arg2
);
12495 wxPyEndAllowThreads(__tstate
);
12496 if (PyErr_Occurred()) SWIG_fail
;
12498 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyRectangleShape
, 1);
12505 static PyObject
*_wrap_PyRectangleShape__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12506 PyObject
*resultobj
;
12507 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
12508 PyObject
*arg2
= (PyObject
*) 0 ;
12509 PyObject
*arg3
= (PyObject
*) 0 ;
12510 PyObject
* obj0
= 0 ;
12511 PyObject
* obj1
= 0 ;
12512 PyObject
* obj2
= 0 ;
12513 char *kwnames
[] = {
12514 (char *) "self",(char *) "self",(char *) "_class", NULL
12517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyRectangleShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12518 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyRectangleShape
, SWIG_POINTER_EXCEPTION
| 0);
12519 if (SWIG_arg_fail(1)) SWIG_fail
;
12523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12524 (arg1
)->_setCallbackInfo(arg2
,arg3
);
12526 wxPyEndAllowThreads(__tstate
);
12527 if (PyErr_Occurred()) SWIG_fail
;
12529 Py_INCREF(Py_None
); resultobj
= Py_None
;
12536 static PyObject
*_wrap_PyRectangleShape_SetCornerRadius(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12537 PyObject
*resultobj
;
12538 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
12540 PyObject
* obj0
= 0 ;
12541 PyObject
* obj1
= 0 ;
12542 char *kwnames
[] = {
12543 (char *) "self",(char *) "radius", NULL
12546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyRectangleShape_SetCornerRadius",kwnames
,&obj0
,&obj1
)) goto fail
;
12547 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyRectangleShape
, SWIG_POINTER_EXCEPTION
| 0);
12548 if (SWIG_arg_fail(1)) SWIG_fail
;
12550 arg2
= (double)(SWIG_As_double(obj1
));
12551 if (SWIG_arg_fail(2)) SWIG_fail
;
12554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12555 (arg1
)->SetCornerRadius(arg2
);
12557 wxPyEndAllowThreads(__tstate
);
12558 if (PyErr_Occurred()) SWIG_fail
;
12560 Py_INCREF(Py_None
); resultobj
= Py_None
;
12567 static PyObject
*_wrap_PyRectangleShape_GetCornerRadius(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12568 PyObject
*resultobj
;
12569 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
12571 PyObject
* obj0
= 0 ;
12572 char *kwnames
[] = {
12573 (char *) "self", NULL
12576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyRectangleShape_GetCornerRadius",kwnames
,&obj0
)) goto fail
;
12577 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyRectangleShape
, SWIG_POINTER_EXCEPTION
| 0);
12578 if (SWIG_arg_fail(1)) SWIG_fail
;
12580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12581 result
= (double)(arg1
)->GetCornerRadius();
12583 wxPyEndAllowThreads(__tstate
);
12584 if (PyErr_Occurred()) SWIG_fail
;
12587 resultobj
= SWIG_From_double((double)(result
));
12595 static PyObject
*_wrap_PyRectangleShape_base_OnDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12596 PyObject
*resultobj
;
12597 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
12598 PyObject
* obj0
= 0 ;
12599 char *kwnames
[] = {
12600 (char *) "self", NULL
12603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyRectangleShape_base_OnDelete",kwnames
,&obj0
)) goto fail
;
12604 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyRectangleShape
, SWIG_POINTER_EXCEPTION
| 0);
12605 if (SWIG_arg_fail(1)) SWIG_fail
;
12607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12608 (arg1
)->base_OnDelete();
12610 wxPyEndAllowThreads(__tstate
);
12611 if (PyErr_Occurred()) SWIG_fail
;
12613 Py_INCREF(Py_None
); resultobj
= Py_None
;
12620 static PyObject
*_wrap_PyRectangleShape_base_OnDraw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12621 PyObject
*resultobj
;
12622 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
12624 PyObject
* obj0
= 0 ;
12625 PyObject
* obj1
= 0 ;
12626 char *kwnames
[] = {
12627 (char *) "self",(char *) "dc", NULL
12630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyRectangleShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
12631 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyRectangleShape
, SWIG_POINTER_EXCEPTION
| 0);
12632 if (SWIG_arg_fail(1)) SWIG_fail
;
12634 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12635 if (SWIG_arg_fail(2)) SWIG_fail
;
12636 if (arg2
== NULL
) {
12637 SWIG_null_ref("wxDC");
12639 if (SWIG_arg_fail(2)) SWIG_fail
;
12642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12643 (arg1
)->base_OnDraw(*arg2
);
12645 wxPyEndAllowThreads(__tstate
);
12646 if (PyErr_Occurred()) SWIG_fail
;
12648 Py_INCREF(Py_None
); resultobj
= Py_None
;
12655 static PyObject
*_wrap_PyRectangleShape_base_OnDrawContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12656 PyObject
*resultobj
;
12657 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
12659 PyObject
* obj0
= 0 ;
12660 PyObject
* obj1
= 0 ;
12661 char *kwnames
[] = {
12662 (char *) "self",(char *) "dc", NULL
12665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyRectangleShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
12666 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyRectangleShape
, SWIG_POINTER_EXCEPTION
| 0);
12667 if (SWIG_arg_fail(1)) SWIG_fail
;
12669 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12670 if (SWIG_arg_fail(2)) SWIG_fail
;
12671 if (arg2
== NULL
) {
12672 SWIG_null_ref("wxDC");
12674 if (SWIG_arg_fail(2)) SWIG_fail
;
12677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12678 (arg1
)->base_OnDrawContents(*arg2
);
12680 wxPyEndAllowThreads(__tstate
);
12681 if (PyErr_Occurred()) SWIG_fail
;
12683 Py_INCREF(Py_None
); resultobj
= Py_None
;
12690 static PyObject
*_wrap_PyRectangleShape_base_OnDrawBranches(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12691 PyObject
*resultobj
;
12692 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
12694 bool arg3
= (bool) FALSE
;
12695 PyObject
* obj0
= 0 ;
12696 PyObject
* obj1
= 0 ;
12697 PyObject
* obj2
= 0 ;
12698 char *kwnames
[] = {
12699 (char *) "self",(char *) "dc",(char *) "erase", NULL
12702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyRectangleShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12703 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyRectangleShape
, SWIG_POINTER_EXCEPTION
| 0);
12704 if (SWIG_arg_fail(1)) SWIG_fail
;
12706 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12707 if (SWIG_arg_fail(2)) SWIG_fail
;
12708 if (arg2
== NULL
) {
12709 SWIG_null_ref("wxDC");
12711 if (SWIG_arg_fail(2)) SWIG_fail
;
12715 arg3
= (bool)(SWIG_As_bool(obj2
));
12716 if (SWIG_arg_fail(3)) SWIG_fail
;
12720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12721 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
12723 wxPyEndAllowThreads(__tstate
);
12724 if (PyErr_Occurred()) SWIG_fail
;
12726 Py_INCREF(Py_None
); resultobj
= Py_None
;
12733 static PyObject
*_wrap_PyRectangleShape_base_OnMoveLinks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12734 PyObject
*resultobj
;
12735 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
12737 PyObject
* obj0
= 0 ;
12738 PyObject
* obj1
= 0 ;
12739 char *kwnames
[] = {
12740 (char *) "self",(char *) "dc", NULL
12743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyRectangleShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
12744 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyRectangleShape
, SWIG_POINTER_EXCEPTION
| 0);
12745 if (SWIG_arg_fail(1)) SWIG_fail
;
12747 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12748 if (SWIG_arg_fail(2)) SWIG_fail
;
12749 if (arg2
== NULL
) {
12750 SWIG_null_ref("wxDC");
12752 if (SWIG_arg_fail(2)) SWIG_fail
;
12755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12756 (arg1
)->base_OnMoveLinks(*arg2
);
12758 wxPyEndAllowThreads(__tstate
);
12759 if (PyErr_Occurred()) SWIG_fail
;
12761 Py_INCREF(Py_None
); resultobj
= Py_None
;
12768 static PyObject
*_wrap_PyRectangleShape_base_OnErase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12769 PyObject
*resultobj
;
12770 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
12772 PyObject
* obj0
= 0 ;
12773 PyObject
* obj1
= 0 ;
12774 char *kwnames
[] = {
12775 (char *) "self",(char *) "dc", NULL
12778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyRectangleShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
12779 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyRectangleShape
, SWIG_POINTER_EXCEPTION
| 0);
12780 if (SWIG_arg_fail(1)) SWIG_fail
;
12782 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12783 if (SWIG_arg_fail(2)) SWIG_fail
;
12784 if (arg2
== NULL
) {
12785 SWIG_null_ref("wxDC");
12787 if (SWIG_arg_fail(2)) SWIG_fail
;
12790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12791 (arg1
)->base_OnErase(*arg2
);
12793 wxPyEndAllowThreads(__tstate
);
12794 if (PyErr_Occurred()) SWIG_fail
;
12796 Py_INCREF(Py_None
); resultobj
= Py_None
;
12803 static PyObject
*_wrap_PyRectangleShape_base_OnEraseContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12804 PyObject
*resultobj
;
12805 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
12807 PyObject
* obj0
= 0 ;
12808 PyObject
* obj1
= 0 ;
12809 char *kwnames
[] = {
12810 (char *) "self",(char *) "dc", NULL
12813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyRectangleShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
12814 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyRectangleShape
, SWIG_POINTER_EXCEPTION
| 0);
12815 if (SWIG_arg_fail(1)) SWIG_fail
;
12817 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12818 if (SWIG_arg_fail(2)) SWIG_fail
;
12819 if (arg2
== NULL
) {
12820 SWIG_null_ref("wxDC");
12822 if (SWIG_arg_fail(2)) SWIG_fail
;
12825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12826 (arg1
)->base_OnEraseContents(*arg2
);
12828 wxPyEndAllowThreads(__tstate
);
12829 if (PyErr_Occurred()) SWIG_fail
;
12831 Py_INCREF(Py_None
); resultobj
= Py_None
;
12838 static PyObject
*_wrap_PyRectangleShape_base_OnHighlight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12839 PyObject
*resultobj
;
12840 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
12842 PyObject
* obj0
= 0 ;
12843 PyObject
* obj1
= 0 ;
12844 char *kwnames
[] = {
12845 (char *) "self",(char *) "dc", NULL
12848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyRectangleShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
12849 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyRectangleShape
, SWIG_POINTER_EXCEPTION
| 0);
12850 if (SWIG_arg_fail(1)) SWIG_fail
;
12852 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
12853 if (SWIG_arg_fail(2)) SWIG_fail
;
12854 if (arg2
== NULL
) {
12855 SWIG_null_ref("wxDC");
12857 if (SWIG_arg_fail(2)) SWIG_fail
;
12860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12861 (arg1
)->base_OnHighlight(*arg2
);
12863 wxPyEndAllowThreads(__tstate
);
12864 if (PyErr_Occurred()) SWIG_fail
;
12866 Py_INCREF(Py_None
); resultobj
= Py_None
;
12873 static PyObject
*_wrap_PyRectangleShape_base_OnLeftClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12874 PyObject
*resultobj
;
12875 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
12878 int arg4
= (int) 0 ;
12879 int arg5
= (int) 0 ;
12880 PyObject
* obj0
= 0 ;
12881 PyObject
* obj1
= 0 ;
12882 PyObject
* obj2
= 0 ;
12883 PyObject
* obj3
= 0 ;
12884 PyObject
* obj4
= 0 ;
12885 char *kwnames
[] = {
12886 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyRectangleShape_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12890 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyRectangleShape
, SWIG_POINTER_EXCEPTION
| 0);
12891 if (SWIG_arg_fail(1)) SWIG_fail
;
12893 arg2
= (double)(SWIG_As_double(obj1
));
12894 if (SWIG_arg_fail(2)) SWIG_fail
;
12897 arg3
= (double)(SWIG_As_double(obj2
));
12898 if (SWIG_arg_fail(3)) SWIG_fail
;
12902 arg4
= (int)(SWIG_As_int(obj3
));
12903 if (SWIG_arg_fail(4)) SWIG_fail
;
12908 arg5
= (int)(SWIG_As_int(obj4
));
12909 if (SWIG_arg_fail(5)) SWIG_fail
;
12913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12914 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
12916 wxPyEndAllowThreads(__tstate
);
12917 if (PyErr_Occurred()) SWIG_fail
;
12919 Py_INCREF(Py_None
); resultobj
= Py_None
;
12926 static PyObject
*_wrap_PyRectangleShape_base_OnLeftDoubleClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12927 PyObject
*resultobj
;
12928 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
12931 int arg4
= (int) 0 ;
12932 int arg5
= (int) 0 ;
12933 PyObject
* obj0
= 0 ;
12934 PyObject
* obj1
= 0 ;
12935 PyObject
* obj2
= 0 ;
12936 PyObject
* obj3
= 0 ;
12937 PyObject
* obj4
= 0 ;
12938 char *kwnames
[] = {
12939 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyRectangleShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12943 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyRectangleShape
, SWIG_POINTER_EXCEPTION
| 0);
12944 if (SWIG_arg_fail(1)) SWIG_fail
;
12946 arg2
= (double)(SWIG_As_double(obj1
));
12947 if (SWIG_arg_fail(2)) SWIG_fail
;
12950 arg3
= (double)(SWIG_As_double(obj2
));
12951 if (SWIG_arg_fail(3)) SWIG_fail
;
12955 arg4
= (int)(SWIG_As_int(obj3
));
12956 if (SWIG_arg_fail(4)) SWIG_fail
;
12961 arg5
= (int)(SWIG_As_int(obj4
));
12962 if (SWIG_arg_fail(5)) SWIG_fail
;
12966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12967 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
12969 wxPyEndAllowThreads(__tstate
);
12970 if (PyErr_Occurred()) SWIG_fail
;
12972 Py_INCREF(Py_None
); resultobj
= Py_None
;
12979 static PyObject
*_wrap_PyRectangleShape_base_OnRightClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12980 PyObject
*resultobj
;
12981 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
12984 int arg4
= (int) 0 ;
12985 int arg5
= (int) 0 ;
12986 PyObject
* obj0
= 0 ;
12987 PyObject
* obj1
= 0 ;
12988 PyObject
* obj2
= 0 ;
12989 PyObject
* obj3
= 0 ;
12990 PyObject
* obj4
= 0 ;
12991 char *kwnames
[] = {
12992 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyRectangleShape_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12996 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyRectangleShape
, SWIG_POINTER_EXCEPTION
| 0);
12997 if (SWIG_arg_fail(1)) SWIG_fail
;
12999 arg2
= (double)(SWIG_As_double(obj1
));
13000 if (SWIG_arg_fail(2)) SWIG_fail
;
13003 arg3
= (double)(SWIG_As_double(obj2
));
13004 if (SWIG_arg_fail(3)) SWIG_fail
;
13008 arg4
= (int)(SWIG_As_int(obj3
));
13009 if (SWIG_arg_fail(4)) SWIG_fail
;
13014 arg5
= (int)(SWIG_As_int(obj4
));
13015 if (SWIG_arg_fail(5)) SWIG_fail
;
13019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13020 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
13022 wxPyEndAllowThreads(__tstate
);
13023 if (PyErr_Occurred()) SWIG_fail
;
13025 Py_INCREF(Py_None
); resultobj
= Py_None
;
13032 static PyObject
*_wrap_PyRectangleShape_base_OnSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13033 PyObject
*resultobj
;
13034 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
13037 PyObject
* obj0
= 0 ;
13038 PyObject
* obj1
= 0 ;
13039 PyObject
* obj2
= 0 ;
13040 char *kwnames
[] = {
13041 (char *) "self",(char *) "x",(char *) "y", NULL
13044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyRectangleShape_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13045 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyRectangleShape
, SWIG_POINTER_EXCEPTION
| 0);
13046 if (SWIG_arg_fail(1)) SWIG_fail
;
13048 arg2
= (double)(SWIG_As_double(obj1
));
13049 if (SWIG_arg_fail(2)) SWIG_fail
;
13052 arg3
= (double)(SWIG_As_double(obj2
));
13053 if (SWIG_arg_fail(3)) SWIG_fail
;
13056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13057 (arg1
)->base_OnSize(arg2
,arg3
);
13059 wxPyEndAllowThreads(__tstate
);
13060 if (PyErr_Occurred()) SWIG_fail
;
13062 Py_INCREF(Py_None
); resultobj
= Py_None
;
13069 static PyObject
*_wrap_PyRectangleShape_base_OnMovePre(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13070 PyObject
*resultobj
;
13071 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
13077 bool arg7
= (bool) true ;
13079 PyObject
* obj0
= 0 ;
13080 PyObject
* obj1
= 0 ;
13081 PyObject
* obj2
= 0 ;
13082 PyObject
* obj3
= 0 ;
13083 PyObject
* obj4
= 0 ;
13084 PyObject
* obj5
= 0 ;
13085 PyObject
* obj6
= 0 ;
13086 char *kwnames
[] = {
13087 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
13090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyRectangleShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
13091 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyRectangleShape
, SWIG_POINTER_EXCEPTION
| 0);
13092 if (SWIG_arg_fail(1)) SWIG_fail
;
13094 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13095 if (SWIG_arg_fail(2)) SWIG_fail
;
13096 if (arg2
== NULL
) {
13097 SWIG_null_ref("wxDC");
13099 if (SWIG_arg_fail(2)) SWIG_fail
;
13102 arg3
= (double)(SWIG_As_double(obj2
));
13103 if (SWIG_arg_fail(3)) SWIG_fail
;
13106 arg4
= (double)(SWIG_As_double(obj3
));
13107 if (SWIG_arg_fail(4)) SWIG_fail
;
13110 arg5
= (double)(SWIG_As_double(obj4
));
13111 if (SWIG_arg_fail(5)) SWIG_fail
;
13114 arg6
= (double)(SWIG_As_double(obj5
));
13115 if (SWIG_arg_fail(6)) SWIG_fail
;
13119 arg7
= (bool)(SWIG_As_bool(obj6
));
13120 if (SWIG_arg_fail(7)) SWIG_fail
;
13124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13125 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
13127 wxPyEndAllowThreads(__tstate
);
13128 if (PyErr_Occurred()) SWIG_fail
;
13131 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13139 static PyObject
*_wrap_PyRectangleShape_base_OnMovePost(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13140 PyObject
*resultobj
;
13141 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
13147 bool arg7
= (bool) true ;
13148 PyObject
* obj0
= 0 ;
13149 PyObject
* obj1
= 0 ;
13150 PyObject
* obj2
= 0 ;
13151 PyObject
* obj3
= 0 ;
13152 PyObject
* obj4
= 0 ;
13153 PyObject
* obj5
= 0 ;
13154 PyObject
* obj6
= 0 ;
13155 char *kwnames
[] = {
13156 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
13159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyRectangleShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
13160 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyRectangleShape
, SWIG_POINTER_EXCEPTION
| 0);
13161 if (SWIG_arg_fail(1)) SWIG_fail
;
13163 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13164 if (SWIG_arg_fail(2)) SWIG_fail
;
13165 if (arg2
== NULL
) {
13166 SWIG_null_ref("wxDC");
13168 if (SWIG_arg_fail(2)) SWIG_fail
;
13171 arg3
= (double)(SWIG_As_double(obj2
));
13172 if (SWIG_arg_fail(3)) SWIG_fail
;
13175 arg4
= (double)(SWIG_As_double(obj3
));
13176 if (SWIG_arg_fail(4)) SWIG_fail
;
13179 arg5
= (double)(SWIG_As_double(obj4
));
13180 if (SWIG_arg_fail(5)) SWIG_fail
;
13183 arg6
= (double)(SWIG_As_double(obj5
));
13184 if (SWIG_arg_fail(6)) SWIG_fail
;
13188 arg7
= (bool)(SWIG_As_bool(obj6
));
13189 if (SWIG_arg_fail(7)) SWIG_fail
;
13193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13194 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
13196 wxPyEndAllowThreads(__tstate
);
13197 if (PyErr_Occurred()) SWIG_fail
;
13199 Py_INCREF(Py_None
); resultobj
= Py_None
;
13206 static PyObject
*_wrap_PyRectangleShape_base_OnDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13207 PyObject
*resultobj
;
13208 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
13212 int arg5
= (int) 0 ;
13213 int arg6
= (int) 0 ;
13214 PyObject
* obj0
= 0 ;
13215 PyObject
* obj1
= 0 ;
13216 PyObject
* obj2
= 0 ;
13217 PyObject
* obj3
= 0 ;
13218 PyObject
* obj4
= 0 ;
13219 PyObject
* obj5
= 0 ;
13220 char *kwnames
[] = {
13221 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyRectangleShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
13225 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyRectangleShape
, SWIG_POINTER_EXCEPTION
| 0);
13226 if (SWIG_arg_fail(1)) SWIG_fail
;
13228 arg2
= (bool)(SWIG_As_bool(obj1
));
13229 if (SWIG_arg_fail(2)) SWIG_fail
;
13232 arg3
= (double)(SWIG_As_double(obj2
));
13233 if (SWIG_arg_fail(3)) SWIG_fail
;
13236 arg4
= (double)(SWIG_As_double(obj3
));
13237 if (SWIG_arg_fail(4)) SWIG_fail
;
13241 arg5
= (int)(SWIG_As_int(obj4
));
13242 if (SWIG_arg_fail(5)) SWIG_fail
;
13247 arg6
= (int)(SWIG_As_int(obj5
));
13248 if (SWIG_arg_fail(6)) SWIG_fail
;
13252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13253 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
13255 wxPyEndAllowThreads(__tstate
);
13256 if (PyErr_Occurred()) SWIG_fail
;
13258 Py_INCREF(Py_None
); resultobj
= Py_None
;
13265 static PyObject
*_wrap_PyRectangleShape_base_OnBeginDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13266 PyObject
*resultobj
;
13267 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
13270 int arg4
= (int) 0 ;
13271 int arg5
= (int) 0 ;
13272 PyObject
* obj0
= 0 ;
13273 PyObject
* obj1
= 0 ;
13274 PyObject
* obj2
= 0 ;
13275 PyObject
* obj3
= 0 ;
13276 PyObject
* obj4
= 0 ;
13277 char *kwnames
[] = {
13278 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyRectangleShape_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13282 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyRectangleShape
, SWIG_POINTER_EXCEPTION
| 0);
13283 if (SWIG_arg_fail(1)) SWIG_fail
;
13285 arg2
= (double)(SWIG_As_double(obj1
));
13286 if (SWIG_arg_fail(2)) SWIG_fail
;
13289 arg3
= (double)(SWIG_As_double(obj2
));
13290 if (SWIG_arg_fail(3)) SWIG_fail
;
13294 arg4
= (int)(SWIG_As_int(obj3
));
13295 if (SWIG_arg_fail(4)) SWIG_fail
;
13300 arg5
= (int)(SWIG_As_int(obj4
));
13301 if (SWIG_arg_fail(5)) SWIG_fail
;
13305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13306 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
13308 wxPyEndAllowThreads(__tstate
);
13309 if (PyErr_Occurred()) SWIG_fail
;
13311 Py_INCREF(Py_None
); resultobj
= Py_None
;
13318 static PyObject
*_wrap_PyRectangleShape_base_OnEndDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13319 PyObject
*resultobj
;
13320 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
13323 int arg4
= (int) 0 ;
13324 int arg5
= (int) 0 ;
13325 PyObject
* obj0
= 0 ;
13326 PyObject
* obj1
= 0 ;
13327 PyObject
* obj2
= 0 ;
13328 PyObject
* obj3
= 0 ;
13329 PyObject
* obj4
= 0 ;
13330 char *kwnames
[] = {
13331 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyRectangleShape_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13335 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyRectangleShape
, SWIG_POINTER_EXCEPTION
| 0);
13336 if (SWIG_arg_fail(1)) SWIG_fail
;
13338 arg2
= (double)(SWIG_As_double(obj1
));
13339 if (SWIG_arg_fail(2)) SWIG_fail
;
13342 arg3
= (double)(SWIG_As_double(obj2
));
13343 if (SWIG_arg_fail(3)) SWIG_fail
;
13347 arg4
= (int)(SWIG_As_int(obj3
));
13348 if (SWIG_arg_fail(4)) SWIG_fail
;
13353 arg5
= (int)(SWIG_As_int(obj4
));
13354 if (SWIG_arg_fail(5)) SWIG_fail
;
13358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13359 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
13361 wxPyEndAllowThreads(__tstate
);
13362 if (PyErr_Occurred()) SWIG_fail
;
13364 Py_INCREF(Py_None
); resultobj
= Py_None
;
13371 static PyObject
*_wrap_PyRectangleShape_base_OnDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13372 PyObject
*resultobj
;
13373 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
13377 int arg5
= (int) 0 ;
13378 int arg6
= (int) 0 ;
13379 PyObject
* obj0
= 0 ;
13380 PyObject
* obj1
= 0 ;
13381 PyObject
* obj2
= 0 ;
13382 PyObject
* obj3
= 0 ;
13383 PyObject
* obj4
= 0 ;
13384 PyObject
* obj5
= 0 ;
13385 char *kwnames
[] = {
13386 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyRectangleShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
13390 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyRectangleShape
, SWIG_POINTER_EXCEPTION
| 0);
13391 if (SWIG_arg_fail(1)) SWIG_fail
;
13393 arg2
= (bool)(SWIG_As_bool(obj1
));
13394 if (SWIG_arg_fail(2)) SWIG_fail
;
13397 arg3
= (double)(SWIG_As_double(obj2
));
13398 if (SWIG_arg_fail(3)) SWIG_fail
;
13401 arg4
= (double)(SWIG_As_double(obj3
));
13402 if (SWIG_arg_fail(4)) SWIG_fail
;
13406 arg5
= (int)(SWIG_As_int(obj4
));
13407 if (SWIG_arg_fail(5)) SWIG_fail
;
13412 arg6
= (int)(SWIG_As_int(obj5
));
13413 if (SWIG_arg_fail(6)) SWIG_fail
;
13417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13418 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
13420 wxPyEndAllowThreads(__tstate
);
13421 if (PyErr_Occurred()) SWIG_fail
;
13423 Py_INCREF(Py_None
); resultobj
= Py_None
;
13430 static PyObject
*_wrap_PyRectangleShape_base_OnBeginDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13431 PyObject
*resultobj
;
13432 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
13435 int arg4
= (int) 0 ;
13436 int arg5
= (int) 0 ;
13437 PyObject
* obj0
= 0 ;
13438 PyObject
* obj1
= 0 ;
13439 PyObject
* obj2
= 0 ;
13440 PyObject
* obj3
= 0 ;
13441 PyObject
* obj4
= 0 ;
13442 char *kwnames
[] = {
13443 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyRectangleShape_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13447 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyRectangleShape
, SWIG_POINTER_EXCEPTION
| 0);
13448 if (SWIG_arg_fail(1)) SWIG_fail
;
13450 arg2
= (double)(SWIG_As_double(obj1
));
13451 if (SWIG_arg_fail(2)) SWIG_fail
;
13454 arg3
= (double)(SWIG_As_double(obj2
));
13455 if (SWIG_arg_fail(3)) SWIG_fail
;
13459 arg4
= (int)(SWIG_As_int(obj3
));
13460 if (SWIG_arg_fail(4)) SWIG_fail
;
13465 arg5
= (int)(SWIG_As_int(obj4
));
13466 if (SWIG_arg_fail(5)) SWIG_fail
;
13470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13471 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
13473 wxPyEndAllowThreads(__tstate
);
13474 if (PyErr_Occurred()) SWIG_fail
;
13476 Py_INCREF(Py_None
); resultobj
= Py_None
;
13483 static PyObject
*_wrap_PyRectangleShape_base_OnEndDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13484 PyObject
*resultobj
;
13485 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
13488 int arg4
= (int) 0 ;
13489 int arg5
= (int) 0 ;
13490 PyObject
* obj0
= 0 ;
13491 PyObject
* obj1
= 0 ;
13492 PyObject
* obj2
= 0 ;
13493 PyObject
* obj3
= 0 ;
13494 PyObject
* obj4
= 0 ;
13495 char *kwnames
[] = {
13496 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyRectangleShape_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13500 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyRectangleShape
, SWIG_POINTER_EXCEPTION
| 0);
13501 if (SWIG_arg_fail(1)) SWIG_fail
;
13503 arg2
= (double)(SWIG_As_double(obj1
));
13504 if (SWIG_arg_fail(2)) SWIG_fail
;
13507 arg3
= (double)(SWIG_As_double(obj2
));
13508 if (SWIG_arg_fail(3)) SWIG_fail
;
13512 arg4
= (int)(SWIG_As_int(obj3
));
13513 if (SWIG_arg_fail(4)) SWIG_fail
;
13518 arg5
= (int)(SWIG_As_int(obj4
));
13519 if (SWIG_arg_fail(5)) SWIG_fail
;
13523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13524 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
13526 wxPyEndAllowThreads(__tstate
);
13527 if (PyErr_Occurred()) SWIG_fail
;
13529 Py_INCREF(Py_None
); resultobj
= Py_None
;
13536 static PyObject
*_wrap_PyRectangleShape_base_OnDrawOutline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13537 PyObject
*resultobj
;
13538 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
13544 PyObject
* obj0
= 0 ;
13545 PyObject
* obj1
= 0 ;
13546 PyObject
* obj2
= 0 ;
13547 PyObject
* obj3
= 0 ;
13548 PyObject
* obj4
= 0 ;
13549 PyObject
* obj5
= 0 ;
13550 char *kwnames
[] = {
13551 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
13554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyRectangleShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
13555 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyRectangleShape
, SWIG_POINTER_EXCEPTION
| 0);
13556 if (SWIG_arg_fail(1)) SWIG_fail
;
13558 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13559 if (SWIG_arg_fail(2)) SWIG_fail
;
13560 if (arg2
== NULL
) {
13561 SWIG_null_ref("wxDC");
13563 if (SWIG_arg_fail(2)) SWIG_fail
;
13566 arg3
= (double)(SWIG_As_double(obj2
));
13567 if (SWIG_arg_fail(3)) SWIG_fail
;
13570 arg4
= (double)(SWIG_As_double(obj3
));
13571 if (SWIG_arg_fail(4)) SWIG_fail
;
13574 arg5
= (double)(SWIG_As_double(obj4
));
13575 if (SWIG_arg_fail(5)) SWIG_fail
;
13578 arg6
= (double)(SWIG_As_double(obj5
));
13579 if (SWIG_arg_fail(6)) SWIG_fail
;
13582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13583 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
13585 wxPyEndAllowThreads(__tstate
);
13586 if (PyErr_Occurred()) SWIG_fail
;
13588 Py_INCREF(Py_None
); resultobj
= Py_None
;
13595 static PyObject
*_wrap_PyRectangleShape_base_OnDrawControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13596 PyObject
*resultobj
;
13597 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
13599 PyObject
* obj0
= 0 ;
13600 PyObject
* obj1
= 0 ;
13601 char *kwnames
[] = {
13602 (char *) "self",(char *) "dc", NULL
13605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyRectangleShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
13606 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyRectangleShape
, SWIG_POINTER_EXCEPTION
| 0);
13607 if (SWIG_arg_fail(1)) SWIG_fail
;
13609 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13610 if (SWIG_arg_fail(2)) SWIG_fail
;
13611 if (arg2
== NULL
) {
13612 SWIG_null_ref("wxDC");
13614 if (SWIG_arg_fail(2)) SWIG_fail
;
13617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13618 (arg1
)->base_OnDrawControlPoints(*arg2
);
13620 wxPyEndAllowThreads(__tstate
);
13621 if (PyErr_Occurred()) SWIG_fail
;
13623 Py_INCREF(Py_None
); resultobj
= Py_None
;
13630 static PyObject
*_wrap_PyRectangleShape_base_OnEraseControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13631 PyObject
*resultobj
;
13632 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
13634 PyObject
* obj0
= 0 ;
13635 PyObject
* obj1
= 0 ;
13636 char *kwnames
[] = {
13637 (char *) "self",(char *) "dc", NULL
13640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyRectangleShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
13641 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyRectangleShape
, SWIG_POINTER_EXCEPTION
| 0);
13642 if (SWIG_arg_fail(1)) SWIG_fail
;
13644 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13645 if (SWIG_arg_fail(2)) SWIG_fail
;
13646 if (arg2
== NULL
) {
13647 SWIG_null_ref("wxDC");
13649 if (SWIG_arg_fail(2)) SWIG_fail
;
13652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13653 (arg1
)->base_OnEraseControlPoints(*arg2
);
13655 wxPyEndAllowThreads(__tstate
);
13656 if (PyErr_Occurred()) SWIG_fail
;
13658 Py_INCREF(Py_None
); resultobj
= Py_None
;
13665 static PyObject
*_wrap_PyRectangleShape_base_OnMoveLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13666 PyObject
*resultobj
;
13667 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
13669 bool arg3
= (bool) true ;
13670 PyObject
* obj0
= 0 ;
13671 PyObject
* obj1
= 0 ;
13672 PyObject
* obj2
= 0 ;
13673 char *kwnames
[] = {
13674 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
13677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyRectangleShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13678 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyRectangleShape
, SWIG_POINTER_EXCEPTION
| 0);
13679 if (SWIG_arg_fail(1)) SWIG_fail
;
13681 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
13682 if (SWIG_arg_fail(2)) SWIG_fail
;
13683 if (arg2
== NULL
) {
13684 SWIG_null_ref("wxDC");
13686 if (SWIG_arg_fail(2)) SWIG_fail
;
13690 arg3
= (bool)(SWIG_As_bool(obj2
));
13691 if (SWIG_arg_fail(3)) SWIG_fail
;
13695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13696 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
13698 wxPyEndAllowThreads(__tstate
);
13699 if (PyErr_Occurred()) SWIG_fail
;
13701 Py_INCREF(Py_None
); resultobj
= Py_None
;
13708 static PyObject
*_wrap_PyRectangleShape_base_OnSizingDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13709 PyObject
*resultobj
;
13710 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
13711 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
13715 int arg6
= (int) 0 ;
13716 int arg7
= (int) 0 ;
13717 PyObject
* obj0
= 0 ;
13718 PyObject
* obj1
= 0 ;
13719 PyObject
* obj2
= 0 ;
13720 PyObject
* obj3
= 0 ;
13721 PyObject
* obj4
= 0 ;
13722 PyObject
* obj5
= 0 ;
13723 PyObject
* obj6
= 0 ;
13724 char *kwnames
[] = {
13725 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyRectangleShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
13729 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyRectangleShape
, SWIG_POINTER_EXCEPTION
| 0);
13730 if (SWIG_arg_fail(1)) SWIG_fail
;
13731 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyControlPoint
, SWIG_POINTER_EXCEPTION
| 0);
13732 if (SWIG_arg_fail(2)) SWIG_fail
;
13734 arg3
= (bool)(SWIG_As_bool(obj2
));
13735 if (SWIG_arg_fail(3)) SWIG_fail
;
13738 arg4
= (double)(SWIG_As_double(obj3
));
13739 if (SWIG_arg_fail(4)) SWIG_fail
;
13742 arg5
= (double)(SWIG_As_double(obj4
));
13743 if (SWIG_arg_fail(5)) SWIG_fail
;
13747 arg6
= (int)(SWIG_As_int(obj5
));
13748 if (SWIG_arg_fail(6)) SWIG_fail
;
13753 arg7
= (int)(SWIG_As_int(obj6
));
13754 if (SWIG_arg_fail(7)) SWIG_fail
;
13758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13759 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
13761 wxPyEndAllowThreads(__tstate
);
13762 if (PyErr_Occurred()) SWIG_fail
;
13764 Py_INCREF(Py_None
); resultobj
= Py_None
;
13771 static PyObject
*_wrap_PyRectangleShape_base_OnSizingBeginDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13772 PyObject
*resultobj
;
13773 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
13774 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
13777 int arg5
= (int) 0 ;
13778 int arg6
= (int) 0 ;
13779 PyObject
* obj0
= 0 ;
13780 PyObject
* obj1
= 0 ;
13781 PyObject
* obj2
= 0 ;
13782 PyObject
* obj3
= 0 ;
13783 PyObject
* obj4
= 0 ;
13784 PyObject
* obj5
= 0 ;
13785 char *kwnames
[] = {
13786 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyRectangleShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
13790 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyRectangleShape
, SWIG_POINTER_EXCEPTION
| 0);
13791 if (SWIG_arg_fail(1)) SWIG_fail
;
13792 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyControlPoint
, SWIG_POINTER_EXCEPTION
| 0);
13793 if (SWIG_arg_fail(2)) SWIG_fail
;
13795 arg3
= (double)(SWIG_As_double(obj2
));
13796 if (SWIG_arg_fail(3)) SWIG_fail
;
13799 arg4
= (double)(SWIG_As_double(obj3
));
13800 if (SWIG_arg_fail(4)) SWIG_fail
;
13804 arg5
= (int)(SWIG_As_int(obj4
));
13805 if (SWIG_arg_fail(5)) SWIG_fail
;
13810 arg6
= (int)(SWIG_As_int(obj5
));
13811 if (SWIG_arg_fail(6)) SWIG_fail
;
13815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13816 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
13818 wxPyEndAllowThreads(__tstate
);
13819 if (PyErr_Occurred()) SWIG_fail
;
13821 Py_INCREF(Py_None
); resultobj
= Py_None
;
13828 static PyObject
*_wrap_PyRectangleShape_base_OnSizingEndDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13829 PyObject
*resultobj
;
13830 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
13831 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
13834 int arg5
= (int) 0 ;
13835 int arg6
= (int) 0 ;
13836 PyObject
* obj0
= 0 ;
13837 PyObject
* obj1
= 0 ;
13838 PyObject
* obj2
= 0 ;
13839 PyObject
* obj3
= 0 ;
13840 PyObject
* obj4
= 0 ;
13841 PyObject
* obj5
= 0 ;
13842 char *kwnames
[] = {
13843 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyRectangleShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
13847 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyRectangleShape
, SWIG_POINTER_EXCEPTION
| 0);
13848 if (SWIG_arg_fail(1)) SWIG_fail
;
13849 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyControlPoint
, SWIG_POINTER_EXCEPTION
| 0);
13850 if (SWIG_arg_fail(2)) SWIG_fail
;
13852 arg3
= (double)(SWIG_As_double(obj2
));
13853 if (SWIG_arg_fail(3)) SWIG_fail
;
13856 arg4
= (double)(SWIG_As_double(obj3
));
13857 if (SWIG_arg_fail(4)) SWIG_fail
;
13861 arg5
= (int)(SWIG_As_int(obj4
));
13862 if (SWIG_arg_fail(5)) SWIG_fail
;
13867 arg6
= (int)(SWIG_As_int(obj5
));
13868 if (SWIG_arg_fail(6)) SWIG_fail
;
13872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13873 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
13875 wxPyEndAllowThreads(__tstate
);
13876 if (PyErr_Occurred()) SWIG_fail
;
13878 Py_INCREF(Py_None
); resultobj
= Py_None
;
13885 static PyObject
*_wrap_PyRectangleShape_base_OnBeginSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13886 PyObject
*resultobj
;
13887 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
13890 PyObject
* obj0
= 0 ;
13891 PyObject
* obj1
= 0 ;
13892 PyObject
* obj2
= 0 ;
13893 char *kwnames
[] = {
13894 (char *) "self",(char *) "w",(char *) "h", NULL
13897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyRectangleShape_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13898 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyRectangleShape
, SWIG_POINTER_EXCEPTION
| 0);
13899 if (SWIG_arg_fail(1)) SWIG_fail
;
13901 arg2
= (double)(SWIG_As_double(obj1
));
13902 if (SWIG_arg_fail(2)) SWIG_fail
;
13905 arg3
= (double)(SWIG_As_double(obj2
));
13906 if (SWIG_arg_fail(3)) SWIG_fail
;
13909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13910 (arg1
)->base_OnBeginSize(arg2
,arg3
);
13912 wxPyEndAllowThreads(__tstate
);
13913 if (PyErr_Occurred()) SWIG_fail
;
13915 Py_INCREF(Py_None
); resultobj
= Py_None
;
13922 static PyObject
*_wrap_PyRectangleShape_base_OnEndSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13923 PyObject
*resultobj
;
13924 wxPyRectangleShape
*arg1
= (wxPyRectangleShape
*) 0 ;
13927 PyObject
* obj0
= 0 ;
13928 PyObject
* obj1
= 0 ;
13929 PyObject
* obj2
= 0 ;
13930 char *kwnames
[] = {
13931 (char *) "self",(char *) "w",(char *) "h", NULL
13934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyRectangleShape_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13935 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyRectangleShape
, SWIG_POINTER_EXCEPTION
| 0);
13936 if (SWIG_arg_fail(1)) SWIG_fail
;
13938 arg2
= (double)(SWIG_As_double(obj1
));
13939 if (SWIG_arg_fail(2)) SWIG_fail
;
13942 arg3
= (double)(SWIG_As_double(obj2
));
13943 if (SWIG_arg_fail(3)) SWIG_fail
;
13946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13947 (arg1
)->base_OnEndSize(arg2
,arg3
);
13949 wxPyEndAllowThreads(__tstate
);
13950 if (PyErr_Occurred()) SWIG_fail
;
13952 Py_INCREF(Py_None
); resultobj
= Py_None
;
13959 static PyObject
* PyRectangleShape_swigregister(PyObject
*, PyObject
*args
) {
13961 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13962 SWIG_TypeClientData(SWIGTYPE_p_wxPyRectangleShape
, obj
);
13964 return Py_BuildValue((char *)"");
13966 static PyObject
*_wrap_new_PyControlPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13967 PyObject
*resultobj
;
13968 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) NULL
;
13969 wxPyShape
*arg2
= (wxPyShape
*) NULL
;
13970 double arg3
= (double) 0.0 ;
13971 double arg4
= (double) 0.0 ;
13972 double arg5
= (double) 0.0 ;
13973 int arg6
= (int) 0 ;
13974 wxPyControlPoint
*result
;
13975 PyObject
* obj0
= 0 ;
13976 PyObject
* obj1
= 0 ;
13977 PyObject
* obj2
= 0 ;
13978 PyObject
* obj3
= 0 ;
13979 PyObject
* obj4
= 0 ;
13980 PyObject
* obj5
= 0 ;
13981 char *kwnames
[] = {
13982 (char *) "the_canvas",(char *) "object",(char *) "size",(char *) "the_xoffset",(char *) "the_yoffset",(char *) "the_type", NULL
13985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOO:new_PyControlPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
13987 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShapeCanvas
, SWIG_POINTER_EXCEPTION
| 0);
13988 if (SWIG_arg_fail(1)) SWIG_fail
;
13991 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
13992 if (SWIG_arg_fail(2)) SWIG_fail
;
13996 arg3
= (double)(SWIG_As_double(obj2
));
13997 if (SWIG_arg_fail(3)) SWIG_fail
;
14002 arg4
= (double)(SWIG_As_double(obj3
));
14003 if (SWIG_arg_fail(4)) SWIG_fail
;
14008 arg5
= (double)(SWIG_As_double(obj4
));
14009 if (SWIG_arg_fail(5)) SWIG_fail
;
14014 arg6
= (int)(SWIG_As_int(obj5
));
14015 if (SWIG_arg_fail(6)) SWIG_fail
;
14019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14020 result
= (wxPyControlPoint
*)new wxPyControlPoint(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
14022 wxPyEndAllowThreads(__tstate
);
14023 if (PyErr_Occurred()) SWIG_fail
;
14025 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControlPoint
, 1);
14032 static PyObject
*_wrap_PyControlPoint__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14033 PyObject
*resultobj
;
14034 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
14035 PyObject
*arg2
= (PyObject
*) 0 ;
14036 PyObject
*arg3
= (PyObject
*) 0 ;
14037 PyObject
* obj0
= 0 ;
14038 PyObject
* obj1
= 0 ;
14039 PyObject
* obj2
= 0 ;
14040 char *kwnames
[] = {
14041 (char *) "self",(char *) "self",(char *) "_class", NULL
14044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControlPoint__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14045 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControlPoint
, SWIG_POINTER_EXCEPTION
| 0);
14046 if (SWIG_arg_fail(1)) SWIG_fail
;
14050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14051 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14053 wxPyEndAllowThreads(__tstate
);
14054 if (PyErr_Occurred()) SWIG_fail
;
14056 Py_INCREF(Py_None
); resultobj
= Py_None
;
14063 static PyObject
*_wrap_PyControlPoint_SetCornerRadius(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14064 PyObject
*resultobj
;
14065 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
14067 PyObject
* obj0
= 0 ;
14068 PyObject
* obj1
= 0 ;
14069 char *kwnames
[] = {
14070 (char *) "self",(char *) "radius", NULL
14073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControlPoint_SetCornerRadius",kwnames
,&obj0
,&obj1
)) goto fail
;
14074 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControlPoint
, SWIG_POINTER_EXCEPTION
| 0);
14075 if (SWIG_arg_fail(1)) SWIG_fail
;
14077 arg2
= (double)(SWIG_As_double(obj1
));
14078 if (SWIG_arg_fail(2)) SWIG_fail
;
14081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14082 (arg1
)->SetCornerRadius(arg2
);
14084 wxPyEndAllowThreads(__tstate
);
14085 if (PyErr_Occurred()) SWIG_fail
;
14087 Py_INCREF(Py_None
); resultobj
= Py_None
;
14094 static PyObject
*_wrap_PyControlPoint_base_OnDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14095 PyObject
*resultobj
;
14096 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
14097 PyObject
* obj0
= 0 ;
14098 char *kwnames
[] = {
14099 (char *) "self", NULL
14102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControlPoint_base_OnDelete",kwnames
,&obj0
)) goto fail
;
14103 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControlPoint
, SWIG_POINTER_EXCEPTION
| 0);
14104 if (SWIG_arg_fail(1)) SWIG_fail
;
14106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14107 (arg1
)->base_OnDelete();
14109 wxPyEndAllowThreads(__tstate
);
14110 if (PyErr_Occurred()) SWIG_fail
;
14112 Py_INCREF(Py_None
); resultobj
= Py_None
;
14119 static PyObject
*_wrap_PyControlPoint_base_OnDraw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14120 PyObject
*resultobj
;
14121 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
14123 PyObject
* obj0
= 0 ;
14124 PyObject
* obj1
= 0 ;
14125 char *kwnames
[] = {
14126 (char *) "self",(char *) "dc", NULL
14129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControlPoint_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
14130 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControlPoint
, SWIG_POINTER_EXCEPTION
| 0);
14131 if (SWIG_arg_fail(1)) SWIG_fail
;
14133 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14134 if (SWIG_arg_fail(2)) SWIG_fail
;
14135 if (arg2
== NULL
) {
14136 SWIG_null_ref("wxDC");
14138 if (SWIG_arg_fail(2)) SWIG_fail
;
14141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14142 (arg1
)->base_OnDraw(*arg2
);
14144 wxPyEndAllowThreads(__tstate
);
14145 if (PyErr_Occurred()) SWIG_fail
;
14147 Py_INCREF(Py_None
); resultobj
= Py_None
;
14154 static PyObject
*_wrap_PyControlPoint_base_OnDrawContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14155 PyObject
*resultobj
;
14156 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
14158 PyObject
* obj0
= 0 ;
14159 PyObject
* obj1
= 0 ;
14160 char *kwnames
[] = {
14161 (char *) "self",(char *) "dc", NULL
14164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControlPoint_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
14165 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControlPoint
, SWIG_POINTER_EXCEPTION
| 0);
14166 if (SWIG_arg_fail(1)) SWIG_fail
;
14168 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14169 if (SWIG_arg_fail(2)) SWIG_fail
;
14170 if (arg2
== NULL
) {
14171 SWIG_null_ref("wxDC");
14173 if (SWIG_arg_fail(2)) SWIG_fail
;
14176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14177 (arg1
)->base_OnDrawContents(*arg2
);
14179 wxPyEndAllowThreads(__tstate
);
14180 if (PyErr_Occurred()) SWIG_fail
;
14182 Py_INCREF(Py_None
); resultobj
= Py_None
;
14189 static PyObject
*_wrap_PyControlPoint_base_OnDrawBranches(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14190 PyObject
*resultobj
;
14191 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
14193 bool arg3
= (bool) FALSE
;
14194 PyObject
* obj0
= 0 ;
14195 PyObject
* obj1
= 0 ;
14196 PyObject
* obj2
= 0 ;
14197 char *kwnames
[] = {
14198 (char *) "self",(char *) "dc",(char *) "erase", NULL
14201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyControlPoint_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14202 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControlPoint
, SWIG_POINTER_EXCEPTION
| 0);
14203 if (SWIG_arg_fail(1)) SWIG_fail
;
14205 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14206 if (SWIG_arg_fail(2)) SWIG_fail
;
14207 if (arg2
== NULL
) {
14208 SWIG_null_ref("wxDC");
14210 if (SWIG_arg_fail(2)) SWIG_fail
;
14214 arg3
= (bool)(SWIG_As_bool(obj2
));
14215 if (SWIG_arg_fail(3)) SWIG_fail
;
14219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14220 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
14222 wxPyEndAllowThreads(__tstate
);
14223 if (PyErr_Occurred()) SWIG_fail
;
14225 Py_INCREF(Py_None
); resultobj
= Py_None
;
14232 static PyObject
*_wrap_PyControlPoint_base_OnMoveLinks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14233 PyObject
*resultobj
;
14234 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
14236 PyObject
* obj0
= 0 ;
14237 PyObject
* obj1
= 0 ;
14238 char *kwnames
[] = {
14239 (char *) "self",(char *) "dc", NULL
14242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControlPoint_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
14243 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControlPoint
, SWIG_POINTER_EXCEPTION
| 0);
14244 if (SWIG_arg_fail(1)) SWIG_fail
;
14246 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14247 if (SWIG_arg_fail(2)) SWIG_fail
;
14248 if (arg2
== NULL
) {
14249 SWIG_null_ref("wxDC");
14251 if (SWIG_arg_fail(2)) SWIG_fail
;
14254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14255 (arg1
)->base_OnMoveLinks(*arg2
);
14257 wxPyEndAllowThreads(__tstate
);
14258 if (PyErr_Occurred()) SWIG_fail
;
14260 Py_INCREF(Py_None
); resultobj
= Py_None
;
14267 static PyObject
*_wrap_PyControlPoint_base_OnErase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14268 PyObject
*resultobj
;
14269 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
14271 PyObject
* obj0
= 0 ;
14272 PyObject
* obj1
= 0 ;
14273 char *kwnames
[] = {
14274 (char *) "self",(char *) "dc", NULL
14277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControlPoint_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
14278 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControlPoint
, SWIG_POINTER_EXCEPTION
| 0);
14279 if (SWIG_arg_fail(1)) SWIG_fail
;
14281 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14282 if (SWIG_arg_fail(2)) SWIG_fail
;
14283 if (arg2
== NULL
) {
14284 SWIG_null_ref("wxDC");
14286 if (SWIG_arg_fail(2)) SWIG_fail
;
14289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14290 (arg1
)->base_OnErase(*arg2
);
14292 wxPyEndAllowThreads(__tstate
);
14293 if (PyErr_Occurred()) SWIG_fail
;
14295 Py_INCREF(Py_None
); resultobj
= Py_None
;
14302 static PyObject
*_wrap_PyControlPoint_base_OnEraseContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14303 PyObject
*resultobj
;
14304 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
14306 PyObject
* obj0
= 0 ;
14307 PyObject
* obj1
= 0 ;
14308 char *kwnames
[] = {
14309 (char *) "self",(char *) "dc", NULL
14312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControlPoint_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
14313 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControlPoint
, SWIG_POINTER_EXCEPTION
| 0);
14314 if (SWIG_arg_fail(1)) SWIG_fail
;
14316 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14317 if (SWIG_arg_fail(2)) SWIG_fail
;
14318 if (arg2
== NULL
) {
14319 SWIG_null_ref("wxDC");
14321 if (SWIG_arg_fail(2)) SWIG_fail
;
14324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14325 (arg1
)->base_OnEraseContents(*arg2
);
14327 wxPyEndAllowThreads(__tstate
);
14328 if (PyErr_Occurred()) SWIG_fail
;
14330 Py_INCREF(Py_None
); resultobj
= Py_None
;
14337 static PyObject
*_wrap_PyControlPoint_base_OnHighlight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14338 PyObject
*resultobj
;
14339 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
14341 PyObject
* obj0
= 0 ;
14342 PyObject
* obj1
= 0 ;
14343 char *kwnames
[] = {
14344 (char *) "self",(char *) "dc", NULL
14347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControlPoint_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
14348 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControlPoint
, SWIG_POINTER_EXCEPTION
| 0);
14349 if (SWIG_arg_fail(1)) SWIG_fail
;
14351 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14352 if (SWIG_arg_fail(2)) SWIG_fail
;
14353 if (arg2
== NULL
) {
14354 SWIG_null_ref("wxDC");
14356 if (SWIG_arg_fail(2)) SWIG_fail
;
14359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14360 (arg1
)->base_OnHighlight(*arg2
);
14362 wxPyEndAllowThreads(__tstate
);
14363 if (PyErr_Occurred()) SWIG_fail
;
14365 Py_INCREF(Py_None
); resultobj
= Py_None
;
14372 static PyObject
*_wrap_PyControlPoint_base_OnLeftClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14373 PyObject
*resultobj
;
14374 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
14377 int arg4
= (int) 0 ;
14378 int arg5
= (int) 0 ;
14379 PyObject
* obj0
= 0 ;
14380 PyObject
* obj1
= 0 ;
14381 PyObject
* obj2
= 0 ;
14382 PyObject
* obj3
= 0 ;
14383 PyObject
* obj4
= 0 ;
14384 char *kwnames
[] = {
14385 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyControlPoint_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14389 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControlPoint
, SWIG_POINTER_EXCEPTION
| 0);
14390 if (SWIG_arg_fail(1)) SWIG_fail
;
14392 arg2
= (double)(SWIG_As_double(obj1
));
14393 if (SWIG_arg_fail(2)) SWIG_fail
;
14396 arg3
= (double)(SWIG_As_double(obj2
));
14397 if (SWIG_arg_fail(3)) SWIG_fail
;
14401 arg4
= (int)(SWIG_As_int(obj3
));
14402 if (SWIG_arg_fail(4)) SWIG_fail
;
14407 arg5
= (int)(SWIG_As_int(obj4
));
14408 if (SWIG_arg_fail(5)) SWIG_fail
;
14412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14413 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
14415 wxPyEndAllowThreads(__tstate
);
14416 if (PyErr_Occurred()) SWIG_fail
;
14418 Py_INCREF(Py_None
); resultobj
= Py_None
;
14425 static PyObject
*_wrap_PyControlPoint_base_OnLeftDoubleClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14426 PyObject
*resultobj
;
14427 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
14430 int arg4
= (int) 0 ;
14431 int arg5
= (int) 0 ;
14432 PyObject
* obj0
= 0 ;
14433 PyObject
* obj1
= 0 ;
14434 PyObject
* obj2
= 0 ;
14435 PyObject
* obj3
= 0 ;
14436 PyObject
* obj4
= 0 ;
14437 char *kwnames
[] = {
14438 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyControlPoint_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14442 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControlPoint
, SWIG_POINTER_EXCEPTION
| 0);
14443 if (SWIG_arg_fail(1)) SWIG_fail
;
14445 arg2
= (double)(SWIG_As_double(obj1
));
14446 if (SWIG_arg_fail(2)) SWIG_fail
;
14449 arg3
= (double)(SWIG_As_double(obj2
));
14450 if (SWIG_arg_fail(3)) SWIG_fail
;
14454 arg4
= (int)(SWIG_As_int(obj3
));
14455 if (SWIG_arg_fail(4)) SWIG_fail
;
14460 arg5
= (int)(SWIG_As_int(obj4
));
14461 if (SWIG_arg_fail(5)) SWIG_fail
;
14465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14466 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
14468 wxPyEndAllowThreads(__tstate
);
14469 if (PyErr_Occurred()) SWIG_fail
;
14471 Py_INCREF(Py_None
); resultobj
= Py_None
;
14478 static PyObject
*_wrap_PyControlPoint_base_OnRightClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14479 PyObject
*resultobj
;
14480 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
14483 int arg4
= (int) 0 ;
14484 int arg5
= (int) 0 ;
14485 PyObject
* obj0
= 0 ;
14486 PyObject
* obj1
= 0 ;
14487 PyObject
* obj2
= 0 ;
14488 PyObject
* obj3
= 0 ;
14489 PyObject
* obj4
= 0 ;
14490 char *kwnames
[] = {
14491 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyControlPoint_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14495 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControlPoint
, SWIG_POINTER_EXCEPTION
| 0);
14496 if (SWIG_arg_fail(1)) SWIG_fail
;
14498 arg2
= (double)(SWIG_As_double(obj1
));
14499 if (SWIG_arg_fail(2)) SWIG_fail
;
14502 arg3
= (double)(SWIG_As_double(obj2
));
14503 if (SWIG_arg_fail(3)) SWIG_fail
;
14507 arg4
= (int)(SWIG_As_int(obj3
));
14508 if (SWIG_arg_fail(4)) SWIG_fail
;
14513 arg5
= (int)(SWIG_As_int(obj4
));
14514 if (SWIG_arg_fail(5)) SWIG_fail
;
14518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14519 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
14521 wxPyEndAllowThreads(__tstate
);
14522 if (PyErr_Occurred()) SWIG_fail
;
14524 Py_INCREF(Py_None
); resultobj
= Py_None
;
14531 static PyObject
*_wrap_PyControlPoint_base_OnSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14532 PyObject
*resultobj
;
14533 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
14536 PyObject
* obj0
= 0 ;
14537 PyObject
* obj1
= 0 ;
14538 PyObject
* obj2
= 0 ;
14539 char *kwnames
[] = {
14540 (char *) "self",(char *) "x",(char *) "y", NULL
14543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControlPoint_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14544 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControlPoint
, SWIG_POINTER_EXCEPTION
| 0);
14545 if (SWIG_arg_fail(1)) SWIG_fail
;
14547 arg2
= (double)(SWIG_As_double(obj1
));
14548 if (SWIG_arg_fail(2)) SWIG_fail
;
14551 arg3
= (double)(SWIG_As_double(obj2
));
14552 if (SWIG_arg_fail(3)) SWIG_fail
;
14555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14556 (arg1
)->base_OnSize(arg2
,arg3
);
14558 wxPyEndAllowThreads(__tstate
);
14559 if (PyErr_Occurred()) SWIG_fail
;
14561 Py_INCREF(Py_None
); resultobj
= Py_None
;
14568 static PyObject
*_wrap_PyControlPoint_base_OnMovePre(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14569 PyObject
*resultobj
;
14570 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
14576 bool arg7
= (bool) true ;
14578 PyObject
* obj0
= 0 ;
14579 PyObject
* obj1
= 0 ;
14580 PyObject
* obj2
= 0 ;
14581 PyObject
* obj3
= 0 ;
14582 PyObject
* obj4
= 0 ;
14583 PyObject
* obj5
= 0 ;
14584 PyObject
* obj6
= 0 ;
14585 char *kwnames
[] = {
14586 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
14589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyControlPoint_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14590 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControlPoint
, SWIG_POINTER_EXCEPTION
| 0);
14591 if (SWIG_arg_fail(1)) SWIG_fail
;
14593 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14594 if (SWIG_arg_fail(2)) SWIG_fail
;
14595 if (arg2
== NULL
) {
14596 SWIG_null_ref("wxDC");
14598 if (SWIG_arg_fail(2)) SWIG_fail
;
14601 arg3
= (double)(SWIG_As_double(obj2
));
14602 if (SWIG_arg_fail(3)) SWIG_fail
;
14605 arg4
= (double)(SWIG_As_double(obj3
));
14606 if (SWIG_arg_fail(4)) SWIG_fail
;
14609 arg5
= (double)(SWIG_As_double(obj4
));
14610 if (SWIG_arg_fail(5)) SWIG_fail
;
14613 arg6
= (double)(SWIG_As_double(obj5
));
14614 if (SWIG_arg_fail(6)) SWIG_fail
;
14618 arg7
= (bool)(SWIG_As_bool(obj6
));
14619 if (SWIG_arg_fail(7)) SWIG_fail
;
14623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14624 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
14626 wxPyEndAllowThreads(__tstate
);
14627 if (PyErr_Occurred()) SWIG_fail
;
14630 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14638 static PyObject
*_wrap_PyControlPoint_base_OnMovePost(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14639 PyObject
*resultobj
;
14640 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
14646 bool arg7
= (bool) true ;
14647 PyObject
* obj0
= 0 ;
14648 PyObject
* obj1
= 0 ;
14649 PyObject
* obj2
= 0 ;
14650 PyObject
* obj3
= 0 ;
14651 PyObject
* obj4
= 0 ;
14652 PyObject
* obj5
= 0 ;
14653 PyObject
* obj6
= 0 ;
14654 char *kwnames
[] = {
14655 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
14658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyControlPoint_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14659 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControlPoint
, SWIG_POINTER_EXCEPTION
| 0);
14660 if (SWIG_arg_fail(1)) SWIG_fail
;
14662 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
14663 if (SWIG_arg_fail(2)) SWIG_fail
;
14664 if (arg2
== NULL
) {
14665 SWIG_null_ref("wxDC");
14667 if (SWIG_arg_fail(2)) SWIG_fail
;
14670 arg3
= (double)(SWIG_As_double(obj2
));
14671 if (SWIG_arg_fail(3)) SWIG_fail
;
14674 arg4
= (double)(SWIG_As_double(obj3
));
14675 if (SWIG_arg_fail(4)) SWIG_fail
;
14678 arg5
= (double)(SWIG_As_double(obj4
));
14679 if (SWIG_arg_fail(5)) SWIG_fail
;
14682 arg6
= (double)(SWIG_As_double(obj5
));
14683 if (SWIG_arg_fail(6)) SWIG_fail
;
14687 arg7
= (bool)(SWIG_As_bool(obj6
));
14688 if (SWIG_arg_fail(7)) SWIG_fail
;
14692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14693 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
14695 wxPyEndAllowThreads(__tstate
);
14696 if (PyErr_Occurred()) SWIG_fail
;
14698 Py_INCREF(Py_None
); resultobj
= Py_None
;
14705 static PyObject
*_wrap_PyControlPoint_base_OnDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14706 PyObject
*resultobj
;
14707 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
14711 int arg5
= (int) 0 ;
14712 int arg6
= (int) 0 ;
14713 PyObject
* obj0
= 0 ;
14714 PyObject
* obj1
= 0 ;
14715 PyObject
* obj2
= 0 ;
14716 PyObject
* obj3
= 0 ;
14717 PyObject
* obj4
= 0 ;
14718 PyObject
* obj5
= 0 ;
14719 char *kwnames
[] = {
14720 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyControlPoint_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14724 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControlPoint
, SWIG_POINTER_EXCEPTION
| 0);
14725 if (SWIG_arg_fail(1)) SWIG_fail
;
14727 arg2
= (bool)(SWIG_As_bool(obj1
));
14728 if (SWIG_arg_fail(2)) SWIG_fail
;
14731 arg3
= (double)(SWIG_As_double(obj2
));
14732 if (SWIG_arg_fail(3)) SWIG_fail
;
14735 arg4
= (double)(SWIG_As_double(obj3
));
14736 if (SWIG_arg_fail(4)) SWIG_fail
;
14740 arg5
= (int)(SWIG_As_int(obj4
));
14741 if (SWIG_arg_fail(5)) SWIG_fail
;
14746 arg6
= (int)(SWIG_As_int(obj5
));
14747 if (SWIG_arg_fail(6)) SWIG_fail
;
14751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14752 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
14754 wxPyEndAllowThreads(__tstate
);
14755 if (PyErr_Occurred()) SWIG_fail
;
14757 Py_INCREF(Py_None
); resultobj
= Py_None
;
14764 static PyObject
*_wrap_PyControlPoint_base_OnBeginDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14765 PyObject
*resultobj
;
14766 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
14769 int arg4
= (int) 0 ;
14770 int arg5
= (int) 0 ;
14771 PyObject
* obj0
= 0 ;
14772 PyObject
* obj1
= 0 ;
14773 PyObject
* obj2
= 0 ;
14774 PyObject
* obj3
= 0 ;
14775 PyObject
* obj4
= 0 ;
14776 char *kwnames
[] = {
14777 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyControlPoint_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14781 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControlPoint
, SWIG_POINTER_EXCEPTION
| 0);
14782 if (SWIG_arg_fail(1)) SWIG_fail
;
14784 arg2
= (double)(SWIG_As_double(obj1
));
14785 if (SWIG_arg_fail(2)) SWIG_fail
;
14788 arg3
= (double)(SWIG_As_double(obj2
));
14789 if (SWIG_arg_fail(3)) SWIG_fail
;
14793 arg4
= (int)(SWIG_As_int(obj3
));
14794 if (SWIG_arg_fail(4)) SWIG_fail
;
14799 arg5
= (int)(SWIG_As_int(obj4
));
14800 if (SWIG_arg_fail(5)) SWIG_fail
;
14804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14805 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
14807 wxPyEndAllowThreads(__tstate
);
14808 if (PyErr_Occurred()) SWIG_fail
;
14810 Py_INCREF(Py_None
); resultobj
= Py_None
;
14817 static PyObject
*_wrap_PyControlPoint_base_OnEndDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14818 PyObject
*resultobj
;
14819 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
14822 int arg4
= (int) 0 ;
14823 int arg5
= (int) 0 ;
14824 PyObject
* obj0
= 0 ;
14825 PyObject
* obj1
= 0 ;
14826 PyObject
* obj2
= 0 ;
14827 PyObject
* obj3
= 0 ;
14828 PyObject
* obj4
= 0 ;
14829 char *kwnames
[] = {
14830 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyControlPoint_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14834 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControlPoint
, SWIG_POINTER_EXCEPTION
| 0);
14835 if (SWIG_arg_fail(1)) SWIG_fail
;
14837 arg2
= (double)(SWIG_As_double(obj1
));
14838 if (SWIG_arg_fail(2)) SWIG_fail
;
14841 arg3
= (double)(SWIG_As_double(obj2
));
14842 if (SWIG_arg_fail(3)) SWIG_fail
;
14846 arg4
= (int)(SWIG_As_int(obj3
));
14847 if (SWIG_arg_fail(4)) SWIG_fail
;
14852 arg5
= (int)(SWIG_As_int(obj4
));
14853 if (SWIG_arg_fail(5)) SWIG_fail
;
14857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14858 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
14860 wxPyEndAllowThreads(__tstate
);
14861 if (PyErr_Occurred()) SWIG_fail
;
14863 Py_INCREF(Py_None
); resultobj
= Py_None
;
14870 static PyObject
*_wrap_PyControlPoint_base_OnDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14871 PyObject
*resultobj
;
14872 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
14876 int arg5
= (int) 0 ;
14877 int arg6
= (int) 0 ;
14878 PyObject
* obj0
= 0 ;
14879 PyObject
* obj1
= 0 ;
14880 PyObject
* obj2
= 0 ;
14881 PyObject
* obj3
= 0 ;
14882 PyObject
* obj4
= 0 ;
14883 PyObject
* obj5
= 0 ;
14884 char *kwnames
[] = {
14885 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyControlPoint_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14889 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControlPoint
, SWIG_POINTER_EXCEPTION
| 0);
14890 if (SWIG_arg_fail(1)) SWIG_fail
;
14892 arg2
= (bool)(SWIG_As_bool(obj1
));
14893 if (SWIG_arg_fail(2)) SWIG_fail
;
14896 arg3
= (double)(SWIG_As_double(obj2
));
14897 if (SWIG_arg_fail(3)) SWIG_fail
;
14900 arg4
= (double)(SWIG_As_double(obj3
));
14901 if (SWIG_arg_fail(4)) SWIG_fail
;
14905 arg5
= (int)(SWIG_As_int(obj4
));
14906 if (SWIG_arg_fail(5)) SWIG_fail
;
14911 arg6
= (int)(SWIG_As_int(obj5
));
14912 if (SWIG_arg_fail(6)) SWIG_fail
;
14916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14917 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
14919 wxPyEndAllowThreads(__tstate
);
14920 if (PyErr_Occurred()) SWIG_fail
;
14922 Py_INCREF(Py_None
); resultobj
= Py_None
;
14929 static PyObject
*_wrap_PyControlPoint_base_OnBeginDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14930 PyObject
*resultobj
;
14931 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
14934 int arg4
= (int) 0 ;
14935 int arg5
= (int) 0 ;
14936 PyObject
* obj0
= 0 ;
14937 PyObject
* obj1
= 0 ;
14938 PyObject
* obj2
= 0 ;
14939 PyObject
* obj3
= 0 ;
14940 PyObject
* obj4
= 0 ;
14941 char *kwnames
[] = {
14942 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyControlPoint_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14946 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControlPoint
, SWIG_POINTER_EXCEPTION
| 0);
14947 if (SWIG_arg_fail(1)) SWIG_fail
;
14949 arg2
= (double)(SWIG_As_double(obj1
));
14950 if (SWIG_arg_fail(2)) SWIG_fail
;
14953 arg3
= (double)(SWIG_As_double(obj2
));
14954 if (SWIG_arg_fail(3)) SWIG_fail
;
14958 arg4
= (int)(SWIG_As_int(obj3
));
14959 if (SWIG_arg_fail(4)) SWIG_fail
;
14964 arg5
= (int)(SWIG_As_int(obj4
));
14965 if (SWIG_arg_fail(5)) SWIG_fail
;
14969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14970 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
14972 wxPyEndAllowThreads(__tstate
);
14973 if (PyErr_Occurred()) SWIG_fail
;
14975 Py_INCREF(Py_None
); resultobj
= Py_None
;
14982 static PyObject
*_wrap_PyControlPoint_base_OnEndDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14983 PyObject
*resultobj
;
14984 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
14987 int arg4
= (int) 0 ;
14988 int arg5
= (int) 0 ;
14989 PyObject
* obj0
= 0 ;
14990 PyObject
* obj1
= 0 ;
14991 PyObject
* obj2
= 0 ;
14992 PyObject
* obj3
= 0 ;
14993 PyObject
* obj4
= 0 ;
14994 char *kwnames
[] = {
14995 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyControlPoint_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14999 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControlPoint
, SWIG_POINTER_EXCEPTION
| 0);
15000 if (SWIG_arg_fail(1)) SWIG_fail
;
15002 arg2
= (double)(SWIG_As_double(obj1
));
15003 if (SWIG_arg_fail(2)) SWIG_fail
;
15006 arg3
= (double)(SWIG_As_double(obj2
));
15007 if (SWIG_arg_fail(3)) SWIG_fail
;
15011 arg4
= (int)(SWIG_As_int(obj3
));
15012 if (SWIG_arg_fail(4)) SWIG_fail
;
15017 arg5
= (int)(SWIG_As_int(obj4
));
15018 if (SWIG_arg_fail(5)) SWIG_fail
;
15022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15023 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
15025 wxPyEndAllowThreads(__tstate
);
15026 if (PyErr_Occurred()) SWIG_fail
;
15028 Py_INCREF(Py_None
); resultobj
= Py_None
;
15035 static PyObject
*_wrap_PyControlPoint_base_OnDrawOutline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15036 PyObject
*resultobj
;
15037 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
15043 PyObject
* obj0
= 0 ;
15044 PyObject
* obj1
= 0 ;
15045 PyObject
* obj2
= 0 ;
15046 PyObject
* obj3
= 0 ;
15047 PyObject
* obj4
= 0 ;
15048 PyObject
* obj5
= 0 ;
15049 char *kwnames
[] = {
15050 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
15053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyControlPoint_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15054 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControlPoint
, SWIG_POINTER_EXCEPTION
| 0);
15055 if (SWIG_arg_fail(1)) SWIG_fail
;
15057 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15058 if (SWIG_arg_fail(2)) SWIG_fail
;
15059 if (arg2
== NULL
) {
15060 SWIG_null_ref("wxDC");
15062 if (SWIG_arg_fail(2)) SWIG_fail
;
15065 arg3
= (double)(SWIG_As_double(obj2
));
15066 if (SWIG_arg_fail(3)) SWIG_fail
;
15069 arg4
= (double)(SWIG_As_double(obj3
));
15070 if (SWIG_arg_fail(4)) SWIG_fail
;
15073 arg5
= (double)(SWIG_As_double(obj4
));
15074 if (SWIG_arg_fail(5)) SWIG_fail
;
15077 arg6
= (double)(SWIG_As_double(obj5
));
15078 if (SWIG_arg_fail(6)) SWIG_fail
;
15081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15082 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
15084 wxPyEndAllowThreads(__tstate
);
15085 if (PyErr_Occurred()) SWIG_fail
;
15087 Py_INCREF(Py_None
); resultobj
= Py_None
;
15094 static PyObject
*_wrap_PyControlPoint_base_OnDrawControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15095 PyObject
*resultobj
;
15096 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
15098 PyObject
* obj0
= 0 ;
15099 PyObject
* obj1
= 0 ;
15100 char *kwnames
[] = {
15101 (char *) "self",(char *) "dc", NULL
15104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControlPoint_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
15105 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControlPoint
, SWIG_POINTER_EXCEPTION
| 0);
15106 if (SWIG_arg_fail(1)) SWIG_fail
;
15108 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15109 if (SWIG_arg_fail(2)) SWIG_fail
;
15110 if (arg2
== NULL
) {
15111 SWIG_null_ref("wxDC");
15113 if (SWIG_arg_fail(2)) SWIG_fail
;
15116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15117 (arg1
)->base_OnDrawControlPoints(*arg2
);
15119 wxPyEndAllowThreads(__tstate
);
15120 if (PyErr_Occurred()) SWIG_fail
;
15122 Py_INCREF(Py_None
); resultobj
= Py_None
;
15129 static PyObject
*_wrap_PyControlPoint_base_OnEraseControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15130 PyObject
*resultobj
;
15131 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
15133 PyObject
* obj0
= 0 ;
15134 PyObject
* obj1
= 0 ;
15135 char *kwnames
[] = {
15136 (char *) "self",(char *) "dc", NULL
15139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControlPoint_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
15140 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControlPoint
, SWIG_POINTER_EXCEPTION
| 0);
15141 if (SWIG_arg_fail(1)) SWIG_fail
;
15143 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15144 if (SWIG_arg_fail(2)) SWIG_fail
;
15145 if (arg2
== NULL
) {
15146 SWIG_null_ref("wxDC");
15148 if (SWIG_arg_fail(2)) SWIG_fail
;
15151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15152 (arg1
)->base_OnEraseControlPoints(*arg2
);
15154 wxPyEndAllowThreads(__tstate
);
15155 if (PyErr_Occurred()) SWIG_fail
;
15157 Py_INCREF(Py_None
); resultobj
= Py_None
;
15164 static PyObject
*_wrap_PyControlPoint_base_OnMoveLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15165 PyObject
*resultobj
;
15166 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
15168 bool arg3
= (bool) true ;
15169 PyObject
* obj0
= 0 ;
15170 PyObject
* obj1
= 0 ;
15171 PyObject
* obj2
= 0 ;
15172 char *kwnames
[] = {
15173 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
15176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyControlPoint_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15177 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControlPoint
, SWIG_POINTER_EXCEPTION
| 0);
15178 if (SWIG_arg_fail(1)) SWIG_fail
;
15180 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15181 if (SWIG_arg_fail(2)) SWIG_fail
;
15182 if (arg2
== NULL
) {
15183 SWIG_null_ref("wxDC");
15185 if (SWIG_arg_fail(2)) SWIG_fail
;
15189 arg3
= (bool)(SWIG_As_bool(obj2
));
15190 if (SWIG_arg_fail(3)) SWIG_fail
;
15194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15195 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
15197 wxPyEndAllowThreads(__tstate
);
15198 if (PyErr_Occurred()) SWIG_fail
;
15200 Py_INCREF(Py_None
); resultobj
= Py_None
;
15207 static PyObject
*_wrap_PyControlPoint_base_OnSizingDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15208 PyObject
*resultobj
;
15209 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
15210 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
15214 int arg6
= (int) 0 ;
15215 int arg7
= (int) 0 ;
15216 PyObject
* obj0
= 0 ;
15217 PyObject
* obj1
= 0 ;
15218 PyObject
* obj2
= 0 ;
15219 PyObject
* obj3
= 0 ;
15220 PyObject
* obj4
= 0 ;
15221 PyObject
* obj5
= 0 ;
15222 PyObject
* obj6
= 0 ;
15223 char *kwnames
[] = {
15224 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
15227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyControlPoint_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
15228 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControlPoint
, SWIG_POINTER_EXCEPTION
| 0);
15229 if (SWIG_arg_fail(1)) SWIG_fail
;
15230 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyControlPoint
, SWIG_POINTER_EXCEPTION
| 0);
15231 if (SWIG_arg_fail(2)) SWIG_fail
;
15233 arg3
= (bool)(SWIG_As_bool(obj2
));
15234 if (SWIG_arg_fail(3)) SWIG_fail
;
15237 arg4
= (double)(SWIG_As_double(obj3
));
15238 if (SWIG_arg_fail(4)) SWIG_fail
;
15241 arg5
= (double)(SWIG_As_double(obj4
));
15242 if (SWIG_arg_fail(5)) SWIG_fail
;
15246 arg6
= (int)(SWIG_As_int(obj5
));
15247 if (SWIG_arg_fail(6)) SWIG_fail
;
15252 arg7
= (int)(SWIG_As_int(obj6
));
15253 if (SWIG_arg_fail(7)) SWIG_fail
;
15257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15258 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
15260 wxPyEndAllowThreads(__tstate
);
15261 if (PyErr_Occurred()) SWIG_fail
;
15263 Py_INCREF(Py_None
); resultobj
= Py_None
;
15270 static PyObject
*_wrap_PyControlPoint_base_OnSizingBeginDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15271 PyObject
*resultobj
;
15272 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
15273 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
15276 int arg5
= (int) 0 ;
15277 int arg6
= (int) 0 ;
15278 PyObject
* obj0
= 0 ;
15279 PyObject
* obj1
= 0 ;
15280 PyObject
* obj2
= 0 ;
15281 PyObject
* obj3
= 0 ;
15282 PyObject
* obj4
= 0 ;
15283 PyObject
* obj5
= 0 ;
15284 char *kwnames
[] = {
15285 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
15288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyControlPoint_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15289 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControlPoint
, SWIG_POINTER_EXCEPTION
| 0);
15290 if (SWIG_arg_fail(1)) SWIG_fail
;
15291 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyControlPoint
, SWIG_POINTER_EXCEPTION
| 0);
15292 if (SWIG_arg_fail(2)) SWIG_fail
;
15294 arg3
= (double)(SWIG_As_double(obj2
));
15295 if (SWIG_arg_fail(3)) SWIG_fail
;
15298 arg4
= (double)(SWIG_As_double(obj3
));
15299 if (SWIG_arg_fail(4)) SWIG_fail
;
15303 arg5
= (int)(SWIG_As_int(obj4
));
15304 if (SWIG_arg_fail(5)) SWIG_fail
;
15309 arg6
= (int)(SWIG_As_int(obj5
));
15310 if (SWIG_arg_fail(6)) SWIG_fail
;
15314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15315 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
15317 wxPyEndAllowThreads(__tstate
);
15318 if (PyErr_Occurred()) SWIG_fail
;
15320 Py_INCREF(Py_None
); resultobj
= Py_None
;
15327 static PyObject
*_wrap_PyControlPoint_base_OnSizingEndDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15328 PyObject
*resultobj
;
15329 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
15330 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
15333 int arg5
= (int) 0 ;
15334 int arg6
= (int) 0 ;
15335 PyObject
* obj0
= 0 ;
15336 PyObject
* obj1
= 0 ;
15337 PyObject
* obj2
= 0 ;
15338 PyObject
* obj3
= 0 ;
15339 PyObject
* obj4
= 0 ;
15340 PyObject
* obj5
= 0 ;
15341 char *kwnames
[] = {
15342 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
15345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyControlPoint_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15346 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControlPoint
, SWIG_POINTER_EXCEPTION
| 0);
15347 if (SWIG_arg_fail(1)) SWIG_fail
;
15348 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyControlPoint
, SWIG_POINTER_EXCEPTION
| 0);
15349 if (SWIG_arg_fail(2)) SWIG_fail
;
15351 arg3
= (double)(SWIG_As_double(obj2
));
15352 if (SWIG_arg_fail(3)) SWIG_fail
;
15355 arg4
= (double)(SWIG_As_double(obj3
));
15356 if (SWIG_arg_fail(4)) SWIG_fail
;
15360 arg5
= (int)(SWIG_As_int(obj4
));
15361 if (SWIG_arg_fail(5)) SWIG_fail
;
15366 arg6
= (int)(SWIG_As_int(obj5
));
15367 if (SWIG_arg_fail(6)) SWIG_fail
;
15371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15372 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
15374 wxPyEndAllowThreads(__tstate
);
15375 if (PyErr_Occurred()) SWIG_fail
;
15377 Py_INCREF(Py_None
); resultobj
= Py_None
;
15384 static PyObject
*_wrap_PyControlPoint_base_OnBeginSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15385 PyObject
*resultobj
;
15386 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
15389 PyObject
* obj0
= 0 ;
15390 PyObject
* obj1
= 0 ;
15391 PyObject
* obj2
= 0 ;
15392 char *kwnames
[] = {
15393 (char *) "self",(char *) "w",(char *) "h", NULL
15396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControlPoint_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15397 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControlPoint
, SWIG_POINTER_EXCEPTION
| 0);
15398 if (SWIG_arg_fail(1)) SWIG_fail
;
15400 arg2
= (double)(SWIG_As_double(obj1
));
15401 if (SWIG_arg_fail(2)) SWIG_fail
;
15404 arg3
= (double)(SWIG_As_double(obj2
));
15405 if (SWIG_arg_fail(3)) SWIG_fail
;
15408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15409 (arg1
)->base_OnBeginSize(arg2
,arg3
);
15411 wxPyEndAllowThreads(__tstate
);
15412 if (PyErr_Occurred()) SWIG_fail
;
15414 Py_INCREF(Py_None
); resultobj
= Py_None
;
15421 static PyObject
*_wrap_PyControlPoint_base_OnEndSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15422 PyObject
*resultobj
;
15423 wxPyControlPoint
*arg1
= (wxPyControlPoint
*) 0 ;
15426 PyObject
* obj0
= 0 ;
15427 PyObject
* obj1
= 0 ;
15428 PyObject
* obj2
= 0 ;
15429 char *kwnames
[] = {
15430 (char *) "self",(char *) "w",(char *) "h", NULL
15433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControlPoint_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15434 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControlPoint
, SWIG_POINTER_EXCEPTION
| 0);
15435 if (SWIG_arg_fail(1)) SWIG_fail
;
15437 arg2
= (double)(SWIG_As_double(obj1
));
15438 if (SWIG_arg_fail(2)) SWIG_fail
;
15441 arg3
= (double)(SWIG_As_double(obj2
));
15442 if (SWIG_arg_fail(3)) SWIG_fail
;
15445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15446 (arg1
)->base_OnEndSize(arg2
,arg3
);
15448 wxPyEndAllowThreads(__tstate
);
15449 if (PyErr_Occurred()) SWIG_fail
;
15451 Py_INCREF(Py_None
); resultobj
= Py_None
;
15458 static PyObject
* PyControlPoint_swigregister(PyObject
*, PyObject
*args
) {
15460 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15461 SWIG_TypeClientData(SWIGTYPE_p_wxPyControlPoint
, obj
);
15463 return Py_BuildValue((char *)"");
15465 static PyObject
*_wrap_new_PyBitmapShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15466 PyObject
*resultobj
;
15467 wxPyBitmapShape
*result
;
15468 char *kwnames
[] = {
15472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyBitmapShape",kwnames
)) goto fail
;
15474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15475 result
= (wxPyBitmapShape
*)new wxPyBitmapShape();
15477 wxPyEndAllowThreads(__tstate
);
15478 if (PyErr_Occurred()) SWIG_fail
;
15480 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyBitmapShape
, 1);
15487 static PyObject
*_wrap_PyBitmapShape__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15488 PyObject
*resultobj
;
15489 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
15490 PyObject
*arg2
= (PyObject
*) 0 ;
15491 PyObject
*arg3
= (PyObject
*) 0 ;
15492 PyObject
* obj0
= 0 ;
15493 PyObject
* obj1
= 0 ;
15494 PyObject
* obj2
= 0 ;
15495 char *kwnames
[] = {
15496 (char *) "self",(char *) "self",(char *) "_class", NULL
15499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15500 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyBitmapShape
, SWIG_POINTER_EXCEPTION
| 0);
15501 if (SWIG_arg_fail(1)) SWIG_fail
;
15505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15506 (arg1
)->_setCallbackInfo(arg2
,arg3
);
15508 wxPyEndAllowThreads(__tstate
);
15509 if (PyErr_Occurred()) SWIG_fail
;
15511 Py_INCREF(Py_None
); resultobj
= Py_None
;
15518 static PyObject
*_wrap_PyBitmapShape_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15519 PyObject
*resultobj
;
15520 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
15522 PyObject
* obj0
= 0 ;
15523 char *kwnames
[] = {
15524 (char *) "self", NULL
15527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyBitmapShape_GetBitmap",kwnames
,&obj0
)) goto fail
;
15528 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyBitmapShape
, SWIG_POINTER_EXCEPTION
| 0);
15529 if (SWIG_arg_fail(1)) SWIG_fail
;
15531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15533 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
15534 result
= (wxBitmap
*) &_result_ref
;
15537 wxPyEndAllowThreads(__tstate
);
15538 if (PyErr_Occurred()) SWIG_fail
;
15541 wxBitmap
* resultptr
= new wxBitmap(*result
);
15542 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
15550 static PyObject
*_wrap_PyBitmapShape_GetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15551 PyObject
*resultobj
;
15552 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
15554 PyObject
* obj0
= 0 ;
15555 char *kwnames
[] = {
15556 (char *) "self", NULL
15559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyBitmapShape_GetFilename",kwnames
,&obj0
)) goto fail
;
15560 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyBitmapShape
, SWIG_POINTER_EXCEPTION
| 0);
15561 if (SWIG_arg_fail(1)) SWIG_fail
;
15563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15564 result
= (arg1
)->GetFilename();
15566 wxPyEndAllowThreads(__tstate
);
15567 if (PyErr_Occurred()) SWIG_fail
;
15571 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15573 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15582 static PyObject
*_wrap_PyBitmapShape_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15583 PyObject
*resultobj
;
15584 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
15585 wxBitmap
*arg2
= 0 ;
15586 PyObject
* obj0
= 0 ;
15587 PyObject
* obj1
= 0 ;
15588 char *kwnames
[] = {
15589 (char *) "self",(char *) "bitmap", NULL
15592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
15593 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyBitmapShape
, SWIG_POINTER_EXCEPTION
| 0);
15594 if (SWIG_arg_fail(1)) SWIG_fail
;
15596 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
15597 if (SWIG_arg_fail(2)) SWIG_fail
;
15598 if (arg2
== NULL
) {
15599 SWIG_null_ref("wxBitmap");
15601 if (SWIG_arg_fail(2)) SWIG_fail
;
15604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15605 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
15607 wxPyEndAllowThreads(__tstate
);
15608 if (PyErr_Occurred()) SWIG_fail
;
15610 Py_INCREF(Py_None
); resultobj
= Py_None
;
15617 static PyObject
*_wrap_PyBitmapShape_SetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15618 PyObject
*resultobj
;
15619 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
15620 wxString
*arg2
= 0 ;
15621 bool temp2
= false ;
15622 PyObject
* obj0
= 0 ;
15623 PyObject
* obj1
= 0 ;
15624 char *kwnames
[] = {
15625 (char *) "self",(char *) "filename", NULL
15628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
15629 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyBitmapShape
, SWIG_POINTER_EXCEPTION
| 0);
15630 if (SWIG_arg_fail(1)) SWIG_fail
;
15632 arg2
= wxString_in_helper(obj1
);
15633 if (arg2
== NULL
) SWIG_fail
;
15637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15638 (arg1
)->SetFilename((wxString
const &)*arg2
);
15640 wxPyEndAllowThreads(__tstate
);
15641 if (PyErr_Occurred()) SWIG_fail
;
15643 Py_INCREF(Py_None
); resultobj
= Py_None
;
15658 static PyObject
*_wrap_PyBitmapShape_base_OnDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15659 PyObject
*resultobj
;
15660 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
15661 PyObject
* obj0
= 0 ;
15662 char *kwnames
[] = {
15663 (char *) "self", NULL
15666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyBitmapShape_base_OnDelete",kwnames
,&obj0
)) goto fail
;
15667 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyBitmapShape
, SWIG_POINTER_EXCEPTION
| 0);
15668 if (SWIG_arg_fail(1)) SWIG_fail
;
15670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15671 (arg1
)->base_OnDelete();
15673 wxPyEndAllowThreads(__tstate
);
15674 if (PyErr_Occurred()) SWIG_fail
;
15676 Py_INCREF(Py_None
); resultobj
= Py_None
;
15683 static PyObject
*_wrap_PyBitmapShape_base_OnDraw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15684 PyObject
*resultobj
;
15685 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
15687 PyObject
* obj0
= 0 ;
15688 PyObject
* obj1
= 0 ;
15689 char *kwnames
[] = {
15690 (char *) "self",(char *) "dc", NULL
15693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
15694 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyBitmapShape
, SWIG_POINTER_EXCEPTION
| 0);
15695 if (SWIG_arg_fail(1)) SWIG_fail
;
15697 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15698 if (SWIG_arg_fail(2)) SWIG_fail
;
15699 if (arg2
== NULL
) {
15700 SWIG_null_ref("wxDC");
15702 if (SWIG_arg_fail(2)) SWIG_fail
;
15705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15706 (arg1
)->base_OnDraw(*arg2
);
15708 wxPyEndAllowThreads(__tstate
);
15709 if (PyErr_Occurred()) SWIG_fail
;
15711 Py_INCREF(Py_None
); resultobj
= Py_None
;
15718 static PyObject
*_wrap_PyBitmapShape_base_OnDrawContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15719 PyObject
*resultobj
;
15720 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
15722 PyObject
* obj0
= 0 ;
15723 PyObject
* obj1
= 0 ;
15724 char *kwnames
[] = {
15725 (char *) "self",(char *) "dc", NULL
15728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
15729 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyBitmapShape
, SWIG_POINTER_EXCEPTION
| 0);
15730 if (SWIG_arg_fail(1)) SWIG_fail
;
15732 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15733 if (SWIG_arg_fail(2)) SWIG_fail
;
15734 if (arg2
== NULL
) {
15735 SWIG_null_ref("wxDC");
15737 if (SWIG_arg_fail(2)) SWIG_fail
;
15740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15741 (arg1
)->base_OnDrawContents(*arg2
);
15743 wxPyEndAllowThreads(__tstate
);
15744 if (PyErr_Occurred()) SWIG_fail
;
15746 Py_INCREF(Py_None
); resultobj
= Py_None
;
15753 static PyObject
*_wrap_PyBitmapShape_base_OnDrawBranches(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15754 PyObject
*resultobj
;
15755 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
15757 bool arg3
= (bool) FALSE
;
15758 PyObject
* obj0
= 0 ;
15759 PyObject
* obj1
= 0 ;
15760 PyObject
* obj2
= 0 ;
15761 char *kwnames
[] = {
15762 (char *) "self",(char *) "dc",(char *) "erase", NULL
15765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyBitmapShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15766 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyBitmapShape
, SWIG_POINTER_EXCEPTION
| 0);
15767 if (SWIG_arg_fail(1)) SWIG_fail
;
15769 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15770 if (SWIG_arg_fail(2)) SWIG_fail
;
15771 if (arg2
== NULL
) {
15772 SWIG_null_ref("wxDC");
15774 if (SWIG_arg_fail(2)) SWIG_fail
;
15778 arg3
= (bool)(SWIG_As_bool(obj2
));
15779 if (SWIG_arg_fail(3)) SWIG_fail
;
15783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15784 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
15786 wxPyEndAllowThreads(__tstate
);
15787 if (PyErr_Occurred()) SWIG_fail
;
15789 Py_INCREF(Py_None
); resultobj
= Py_None
;
15796 static PyObject
*_wrap_PyBitmapShape_base_OnMoveLinks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15797 PyObject
*resultobj
;
15798 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
15800 PyObject
* obj0
= 0 ;
15801 PyObject
* obj1
= 0 ;
15802 char *kwnames
[] = {
15803 (char *) "self",(char *) "dc", NULL
15806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
15807 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyBitmapShape
, SWIG_POINTER_EXCEPTION
| 0);
15808 if (SWIG_arg_fail(1)) SWIG_fail
;
15810 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15811 if (SWIG_arg_fail(2)) SWIG_fail
;
15812 if (arg2
== NULL
) {
15813 SWIG_null_ref("wxDC");
15815 if (SWIG_arg_fail(2)) SWIG_fail
;
15818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15819 (arg1
)->base_OnMoveLinks(*arg2
);
15821 wxPyEndAllowThreads(__tstate
);
15822 if (PyErr_Occurred()) SWIG_fail
;
15824 Py_INCREF(Py_None
); resultobj
= Py_None
;
15831 static PyObject
*_wrap_PyBitmapShape_base_OnErase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15832 PyObject
*resultobj
;
15833 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
15835 PyObject
* obj0
= 0 ;
15836 PyObject
* obj1
= 0 ;
15837 char *kwnames
[] = {
15838 (char *) "self",(char *) "dc", NULL
15841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
15842 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyBitmapShape
, SWIG_POINTER_EXCEPTION
| 0);
15843 if (SWIG_arg_fail(1)) SWIG_fail
;
15845 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15846 if (SWIG_arg_fail(2)) SWIG_fail
;
15847 if (arg2
== NULL
) {
15848 SWIG_null_ref("wxDC");
15850 if (SWIG_arg_fail(2)) SWIG_fail
;
15853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15854 (arg1
)->base_OnErase(*arg2
);
15856 wxPyEndAllowThreads(__tstate
);
15857 if (PyErr_Occurred()) SWIG_fail
;
15859 Py_INCREF(Py_None
); resultobj
= Py_None
;
15866 static PyObject
*_wrap_PyBitmapShape_base_OnEraseContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15867 PyObject
*resultobj
;
15868 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
15870 PyObject
* obj0
= 0 ;
15871 PyObject
* obj1
= 0 ;
15872 char *kwnames
[] = {
15873 (char *) "self",(char *) "dc", NULL
15876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
15877 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyBitmapShape
, SWIG_POINTER_EXCEPTION
| 0);
15878 if (SWIG_arg_fail(1)) SWIG_fail
;
15880 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15881 if (SWIG_arg_fail(2)) SWIG_fail
;
15882 if (arg2
== NULL
) {
15883 SWIG_null_ref("wxDC");
15885 if (SWIG_arg_fail(2)) SWIG_fail
;
15888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15889 (arg1
)->base_OnEraseContents(*arg2
);
15891 wxPyEndAllowThreads(__tstate
);
15892 if (PyErr_Occurred()) SWIG_fail
;
15894 Py_INCREF(Py_None
); resultobj
= Py_None
;
15901 static PyObject
*_wrap_PyBitmapShape_base_OnHighlight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15902 PyObject
*resultobj
;
15903 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
15905 PyObject
* obj0
= 0 ;
15906 PyObject
* obj1
= 0 ;
15907 char *kwnames
[] = {
15908 (char *) "self",(char *) "dc", NULL
15911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
15912 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyBitmapShape
, SWIG_POINTER_EXCEPTION
| 0);
15913 if (SWIG_arg_fail(1)) SWIG_fail
;
15915 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
15916 if (SWIG_arg_fail(2)) SWIG_fail
;
15917 if (arg2
== NULL
) {
15918 SWIG_null_ref("wxDC");
15920 if (SWIG_arg_fail(2)) SWIG_fail
;
15923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15924 (arg1
)->base_OnHighlight(*arg2
);
15926 wxPyEndAllowThreads(__tstate
);
15927 if (PyErr_Occurred()) SWIG_fail
;
15929 Py_INCREF(Py_None
); resultobj
= Py_None
;
15936 static PyObject
*_wrap_PyBitmapShape_base_OnLeftClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15937 PyObject
*resultobj
;
15938 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
15941 int arg4
= (int) 0 ;
15942 int arg5
= (int) 0 ;
15943 PyObject
* obj0
= 0 ;
15944 PyObject
* obj1
= 0 ;
15945 PyObject
* obj2
= 0 ;
15946 PyObject
* obj3
= 0 ;
15947 PyObject
* obj4
= 0 ;
15948 char *kwnames
[] = {
15949 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
15952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyBitmapShape_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15953 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyBitmapShape
, SWIG_POINTER_EXCEPTION
| 0);
15954 if (SWIG_arg_fail(1)) SWIG_fail
;
15956 arg2
= (double)(SWIG_As_double(obj1
));
15957 if (SWIG_arg_fail(2)) SWIG_fail
;
15960 arg3
= (double)(SWIG_As_double(obj2
));
15961 if (SWIG_arg_fail(3)) SWIG_fail
;
15965 arg4
= (int)(SWIG_As_int(obj3
));
15966 if (SWIG_arg_fail(4)) SWIG_fail
;
15971 arg5
= (int)(SWIG_As_int(obj4
));
15972 if (SWIG_arg_fail(5)) SWIG_fail
;
15976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15977 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
15979 wxPyEndAllowThreads(__tstate
);
15980 if (PyErr_Occurred()) SWIG_fail
;
15982 Py_INCREF(Py_None
); resultobj
= Py_None
;
15989 static PyObject
*_wrap_PyBitmapShape_base_OnLeftDoubleClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15990 PyObject
*resultobj
;
15991 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
15994 int arg4
= (int) 0 ;
15995 int arg5
= (int) 0 ;
15996 PyObject
* obj0
= 0 ;
15997 PyObject
* obj1
= 0 ;
15998 PyObject
* obj2
= 0 ;
15999 PyObject
* obj3
= 0 ;
16000 PyObject
* obj4
= 0 ;
16001 char *kwnames
[] = {
16002 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyBitmapShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16006 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyBitmapShape
, SWIG_POINTER_EXCEPTION
| 0);
16007 if (SWIG_arg_fail(1)) SWIG_fail
;
16009 arg2
= (double)(SWIG_As_double(obj1
));
16010 if (SWIG_arg_fail(2)) SWIG_fail
;
16013 arg3
= (double)(SWIG_As_double(obj2
));
16014 if (SWIG_arg_fail(3)) SWIG_fail
;
16018 arg4
= (int)(SWIG_As_int(obj3
));
16019 if (SWIG_arg_fail(4)) SWIG_fail
;
16024 arg5
= (int)(SWIG_As_int(obj4
));
16025 if (SWIG_arg_fail(5)) SWIG_fail
;
16029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16030 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
16032 wxPyEndAllowThreads(__tstate
);
16033 if (PyErr_Occurred()) SWIG_fail
;
16035 Py_INCREF(Py_None
); resultobj
= Py_None
;
16042 static PyObject
*_wrap_PyBitmapShape_base_OnRightClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16043 PyObject
*resultobj
;
16044 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
16047 int arg4
= (int) 0 ;
16048 int arg5
= (int) 0 ;
16049 PyObject
* obj0
= 0 ;
16050 PyObject
* obj1
= 0 ;
16051 PyObject
* obj2
= 0 ;
16052 PyObject
* obj3
= 0 ;
16053 PyObject
* obj4
= 0 ;
16054 char *kwnames
[] = {
16055 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyBitmapShape_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16059 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyBitmapShape
, SWIG_POINTER_EXCEPTION
| 0);
16060 if (SWIG_arg_fail(1)) SWIG_fail
;
16062 arg2
= (double)(SWIG_As_double(obj1
));
16063 if (SWIG_arg_fail(2)) SWIG_fail
;
16066 arg3
= (double)(SWIG_As_double(obj2
));
16067 if (SWIG_arg_fail(3)) SWIG_fail
;
16071 arg4
= (int)(SWIG_As_int(obj3
));
16072 if (SWIG_arg_fail(4)) SWIG_fail
;
16077 arg5
= (int)(SWIG_As_int(obj4
));
16078 if (SWIG_arg_fail(5)) SWIG_fail
;
16082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16083 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
16085 wxPyEndAllowThreads(__tstate
);
16086 if (PyErr_Occurred()) SWIG_fail
;
16088 Py_INCREF(Py_None
); resultobj
= Py_None
;
16095 static PyObject
*_wrap_PyBitmapShape_base_OnSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16096 PyObject
*resultobj
;
16097 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
16100 PyObject
* obj0
= 0 ;
16101 PyObject
* obj1
= 0 ;
16102 PyObject
* obj2
= 0 ;
16103 char *kwnames
[] = {
16104 (char *) "self",(char *) "x",(char *) "y", NULL
16107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapShape_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16108 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyBitmapShape
, SWIG_POINTER_EXCEPTION
| 0);
16109 if (SWIG_arg_fail(1)) SWIG_fail
;
16111 arg2
= (double)(SWIG_As_double(obj1
));
16112 if (SWIG_arg_fail(2)) SWIG_fail
;
16115 arg3
= (double)(SWIG_As_double(obj2
));
16116 if (SWIG_arg_fail(3)) SWIG_fail
;
16119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16120 (arg1
)->base_OnSize(arg2
,arg3
);
16122 wxPyEndAllowThreads(__tstate
);
16123 if (PyErr_Occurred()) SWIG_fail
;
16125 Py_INCREF(Py_None
); resultobj
= Py_None
;
16132 static PyObject
*_wrap_PyBitmapShape_base_OnMovePre(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16133 PyObject
*resultobj
;
16134 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
16140 bool arg7
= (bool) true ;
16142 PyObject
* obj0
= 0 ;
16143 PyObject
* obj1
= 0 ;
16144 PyObject
* obj2
= 0 ;
16145 PyObject
* obj3
= 0 ;
16146 PyObject
* obj4
= 0 ;
16147 PyObject
* obj5
= 0 ;
16148 PyObject
* obj6
= 0 ;
16149 char *kwnames
[] = {
16150 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
16153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyBitmapShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
16154 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyBitmapShape
, SWIG_POINTER_EXCEPTION
| 0);
16155 if (SWIG_arg_fail(1)) SWIG_fail
;
16157 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16158 if (SWIG_arg_fail(2)) SWIG_fail
;
16159 if (arg2
== NULL
) {
16160 SWIG_null_ref("wxDC");
16162 if (SWIG_arg_fail(2)) SWIG_fail
;
16165 arg3
= (double)(SWIG_As_double(obj2
));
16166 if (SWIG_arg_fail(3)) SWIG_fail
;
16169 arg4
= (double)(SWIG_As_double(obj3
));
16170 if (SWIG_arg_fail(4)) SWIG_fail
;
16173 arg5
= (double)(SWIG_As_double(obj4
));
16174 if (SWIG_arg_fail(5)) SWIG_fail
;
16177 arg6
= (double)(SWIG_As_double(obj5
));
16178 if (SWIG_arg_fail(6)) SWIG_fail
;
16182 arg7
= (bool)(SWIG_As_bool(obj6
));
16183 if (SWIG_arg_fail(7)) SWIG_fail
;
16187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16188 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
16190 wxPyEndAllowThreads(__tstate
);
16191 if (PyErr_Occurred()) SWIG_fail
;
16194 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16202 static PyObject
*_wrap_PyBitmapShape_base_OnMovePost(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16203 PyObject
*resultobj
;
16204 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
16210 bool arg7
= (bool) true ;
16211 PyObject
* obj0
= 0 ;
16212 PyObject
* obj1
= 0 ;
16213 PyObject
* obj2
= 0 ;
16214 PyObject
* obj3
= 0 ;
16215 PyObject
* obj4
= 0 ;
16216 PyObject
* obj5
= 0 ;
16217 PyObject
* obj6
= 0 ;
16218 char *kwnames
[] = {
16219 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
16222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyBitmapShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
16223 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyBitmapShape
, SWIG_POINTER_EXCEPTION
| 0);
16224 if (SWIG_arg_fail(1)) SWIG_fail
;
16226 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16227 if (SWIG_arg_fail(2)) SWIG_fail
;
16228 if (arg2
== NULL
) {
16229 SWIG_null_ref("wxDC");
16231 if (SWIG_arg_fail(2)) SWIG_fail
;
16234 arg3
= (double)(SWIG_As_double(obj2
));
16235 if (SWIG_arg_fail(3)) SWIG_fail
;
16238 arg4
= (double)(SWIG_As_double(obj3
));
16239 if (SWIG_arg_fail(4)) SWIG_fail
;
16242 arg5
= (double)(SWIG_As_double(obj4
));
16243 if (SWIG_arg_fail(5)) SWIG_fail
;
16246 arg6
= (double)(SWIG_As_double(obj5
));
16247 if (SWIG_arg_fail(6)) SWIG_fail
;
16251 arg7
= (bool)(SWIG_As_bool(obj6
));
16252 if (SWIG_arg_fail(7)) SWIG_fail
;
16256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16257 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
16259 wxPyEndAllowThreads(__tstate
);
16260 if (PyErr_Occurred()) SWIG_fail
;
16262 Py_INCREF(Py_None
); resultobj
= Py_None
;
16269 static PyObject
*_wrap_PyBitmapShape_base_OnDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16270 PyObject
*resultobj
;
16271 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
16275 int arg5
= (int) 0 ;
16276 int arg6
= (int) 0 ;
16277 PyObject
* obj0
= 0 ;
16278 PyObject
* obj1
= 0 ;
16279 PyObject
* obj2
= 0 ;
16280 PyObject
* obj3
= 0 ;
16281 PyObject
* obj4
= 0 ;
16282 PyObject
* obj5
= 0 ;
16283 char *kwnames
[] = {
16284 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyBitmapShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16288 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyBitmapShape
, SWIG_POINTER_EXCEPTION
| 0);
16289 if (SWIG_arg_fail(1)) SWIG_fail
;
16291 arg2
= (bool)(SWIG_As_bool(obj1
));
16292 if (SWIG_arg_fail(2)) SWIG_fail
;
16295 arg3
= (double)(SWIG_As_double(obj2
));
16296 if (SWIG_arg_fail(3)) SWIG_fail
;
16299 arg4
= (double)(SWIG_As_double(obj3
));
16300 if (SWIG_arg_fail(4)) SWIG_fail
;
16304 arg5
= (int)(SWIG_As_int(obj4
));
16305 if (SWIG_arg_fail(5)) SWIG_fail
;
16310 arg6
= (int)(SWIG_As_int(obj5
));
16311 if (SWIG_arg_fail(6)) SWIG_fail
;
16315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16316 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
16318 wxPyEndAllowThreads(__tstate
);
16319 if (PyErr_Occurred()) SWIG_fail
;
16321 Py_INCREF(Py_None
); resultobj
= Py_None
;
16328 static PyObject
*_wrap_PyBitmapShape_base_OnBeginDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16329 PyObject
*resultobj
;
16330 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
16333 int arg4
= (int) 0 ;
16334 int arg5
= (int) 0 ;
16335 PyObject
* obj0
= 0 ;
16336 PyObject
* obj1
= 0 ;
16337 PyObject
* obj2
= 0 ;
16338 PyObject
* obj3
= 0 ;
16339 PyObject
* obj4
= 0 ;
16340 char *kwnames
[] = {
16341 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyBitmapShape_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16345 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyBitmapShape
, SWIG_POINTER_EXCEPTION
| 0);
16346 if (SWIG_arg_fail(1)) SWIG_fail
;
16348 arg2
= (double)(SWIG_As_double(obj1
));
16349 if (SWIG_arg_fail(2)) SWIG_fail
;
16352 arg3
= (double)(SWIG_As_double(obj2
));
16353 if (SWIG_arg_fail(3)) SWIG_fail
;
16357 arg4
= (int)(SWIG_As_int(obj3
));
16358 if (SWIG_arg_fail(4)) SWIG_fail
;
16363 arg5
= (int)(SWIG_As_int(obj4
));
16364 if (SWIG_arg_fail(5)) SWIG_fail
;
16368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16369 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
16371 wxPyEndAllowThreads(__tstate
);
16372 if (PyErr_Occurred()) SWIG_fail
;
16374 Py_INCREF(Py_None
); resultobj
= Py_None
;
16381 static PyObject
*_wrap_PyBitmapShape_base_OnEndDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16382 PyObject
*resultobj
;
16383 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
16386 int arg4
= (int) 0 ;
16387 int arg5
= (int) 0 ;
16388 PyObject
* obj0
= 0 ;
16389 PyObject
* obj1
= 0 ;
16390 PyObject
* obj2
= 0 ;
16391 PyObject
* obj3
= 0 ;
16392 PyObject
* obj4
= 0 ;
16393 char *kwnames
[] = {
16394 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyBitmapShape_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16398 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyBitmapShape
, SWIG_POINTER_EXCEPTION
| 0);
16399 if (SWIG_arg_fail(1)) SWIG_fail
;
16401 arg2
= (double)(SWIG_As_double(obj1
));
16402 if (SWIG_arg_fail(2)) SWIG_fail
;
16405 arg3
= (double)(SWIG_As_double(obj2
));
16406 if (SWIG_arg_fail(3)) SWIG_fail
;
16410 arg4
= (int)(SWIG_As_int(obj3
));
16411 if (SWIG_arg_fail(4)) SWIG_fail
;
16416 arg5
= (int)(SWIG_As_int(obj4
));
16417 if (SWIG_arg_fail(5)) SWIG_fail
;
16421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16422 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
16424 wxPyEndAllowThreads(__tstate
);
16425 if (PyErr_Occurred()) SWIG_fail
;
16427 Py_INCREF(Py_None
); resultobj
= Py_None
;
16434 static PyObject
*_wrap_PyBitmapShape_base_OnDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16435 PyObject
*resultobj
;
16436 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
16440 int arg5
= (int) 0 ;
16441 int arg6
= (int) 0 ;
16442 PyObject
* obj0
= 0 ;
16443 PyObject
* obj1
= 0 ;
16444 PyObject
* obj2
= 0 ;
16445 PyObject
* obj3
= 0 ;
16446 PyObject
* obj4
= 0 ;
16447 PyObject
* obj5
= 0 ;
16448 char *kwnames
[] = {
16449 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyBitmapShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16453 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyBitmapShape
, SWIG_POINTER_EXCEPTION
| 0);
16454 if (SWIG_arg_fail(1)) SWIG_fail
;
16456 arg2
= (bool)(SWIG_As_bool(obj1
));
16457 if (SWIG_arg_fail(2)) SWIG_fail
;
16460 arg3
= (double)(SWIG_As_double(obj2
));
16461 if (SWIG_arg_fail(3)) SWIG_fail
;
16464 arg4
= (double)(SWIG_As_double(obj3
));
16465 if (SWIG_arg_fail(4)) SWIG_fail
;
16469 arg5
= (int)(SWIG_As_int(obj4
));
16470 if (SWIG_arg_fail(5)) SWIG_fail
;
16475 arg6
= (int)(SWIG_As_int(obj5
));
16476 if (SWIG_arg_fail(6)) SWIG_fail
;
16480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16481 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
16483 wxPyEndAllowThreads(__tstate
);
16484 if (PyErr_Occurred()) SWIG_fail
;
16486 Py_INCREF(Py_None
); resultobj
= Py_None
;
16493 static PyObject
*_wrap_PyBitmapShape_base_OnBeginDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16494 PyObject
*resultobj
;
16495 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
16498 int arg4
= (int) 0 ;
16499 int arg5
= (int) 0 ;
16500 PyObject
* obj0
= 0 ;
16501 PyObject
* obj1
= 0 ;
16502 PyObject
* obj2
= 0 ;
16503 PyObject
* obj3
= 0 ;
16504 PyObject
* obj4
= 0 ;
16505 char *kwnames
[] = {
16506 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyBitmapShape_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16510 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyBitmapShape
, SWIG_POINTER_EXCEPTION
| 0);
16511 if (SWIG_arg_fail(1)) SWIG_fail
;
16513 arg2
= (double)(SWIG_As_double(obj1
));
16514 if (SWIG_arg_fail(2)) SWIG_fail
;
16517 arg3
= (double)(SWIG_As_double(obj2
));
16518 if (SWIG_arg_fail(3)) SWIG_fail
;
16522 arg4
= (int)(SWIG_As_int(obj3
));
16523 if (SWIG_arg_fail(4)) SWIG_fail
;
16528 arg5
= (int)(SWIG_As_int(obj4
));
16529 if (SWIG_arg_fail(5)) SWIG_fail
;
16533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16534 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
16536 wxPyEndAllowThreads(__tstate
);
16537 if (PyErr_Occurred()) SWIG_fail
;
16539 Py_INCREF(Py_None
); resultobj
= Py_None
;
16546 static PyObject
*_wrap_PyBitmapShape_base_OnEndDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16547 PyObject
*resultobj
;
16548 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
16551 int arg4
= (int) 0 ;
16552 int arg5
= (int) 0 ;
16553 PyObject
* obj0
= 0 ;
16554 PyObject
* obj1
= 0 ;
16555 PyObject
* obj2
= 0 ;
16556 PyObject
* obj3
= 0 ;
16557 PyObject
* obj4
= 0 ;
16558 char *kwnames
[] = {
16559 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyBitmapShape_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16563 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyBitmapShape
, SWIG_POINTER_EXCEPTION
| 0);
16564 if (SWIG_arg_fail(1)) SWIG_fail
;
16566 arg2
= (double)(SWIG_As_double(obj1
));
16567 if (SWIG_arg_fail(2)) SWIG_fail
;
16570 arg3
= (double)(SWIG_As_double(obj2
));
16571 if (SWIG_arg_fail(3)) SWIG_fail
;
16575 arg4
= (int)(SWIG_As_int(obj3
));
16576 if (SWIG_arg_fail(4)) SWIG_fail
;
16581 arg5
= (int)(SWIG_As_int(obj4
));
16582 if (SWIG_arg_fail(5)) SWIG_fail
;
16586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16587 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
16589 wxPyEndAllowThreads(__tstate
);
16590 if (PyErr_Occurred()) SWIG_fail
;
16592 Py_INCREF(Py_None
); resultobj
= Py_None
;
16599 static PyObject
*_wrap_PyBitmapShape_base_OnDrawOutline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16600 PyObject
*resultobj
;
16601 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
16607 PyObject
* obj0
= 0 ;
16608 PyObject
* obj1
= 0 ;
16609 PyObject
* obj2
= 0 ;
16610 PyObject
* obj3
= 0 ;
16611 PyObject
* obj4
= 0 ;
16612 PyObject
* obj5
= 0 ;
16613 char *kwnames
[] = {
16614 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
16617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyBitmapShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16618 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyBitmapShape
, SWIG_POINTER_EXCEPTION
| 0);
16619 if (SWIG_arg_fail(1)) SWIG_fail
;
16621 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16622 if (SWIG_arg_fail(2)) SWIG_fail
;
16623 if (arg2
== NULL
) {
16624 SWIG_null_ref("wxDC");
16626 if (SWIG_arg_fail(2)) SWIG_fail
;
16629 arg3
= (double)(SWIG_As_double(obj2
));
16630 if (SWIG_arg_fail(3)) SWIG_fail
;
16633 arg4
= (double)(SWIG_As_double(obj3
));
16634 if (SWIG_arg_fail(4)) SWIG_fail
;
16637 arg5
= (double)(SWIG_As_double(obj4
));
16638 if (SWIG_arg_fail(5)) SWIG_fail
;
16641 arg6
= (double)(SWIG_As_double(obj5
));
16642 if (SWIG_arg_fail(6)) SWIG_fail
;
16645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16646 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
16648 wxPyEndAllowThreads(__tstate
);
16649 if (PyErr_Occurred()) SWIG_fail
;
16651 Py_INCREF(Py_None
); resultobj
= Py_None
;
16658 static PyObject
*_wrap_PyBitmapShape_base_OnDrawControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16659 PyObject
*resultobj
;
16660 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
16662 PyObject
* obj0
= 0 ;
16663 PyObject
* obj1
= 0 ;
16664 char *kwnames
[] = {
16665 (char *) "self",(char *) "dc", NULL
16668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
16669 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyBitmapShape
, SWIG_POINTER_EXCEPTION
| 0);
16670 if (SWIG_arg_fail(1)) SWIG_fail
;
16672 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16673 if (SWIG_arg_fail(2)) SWIG_fail
;
16674 if (arg2
== NULL
) {
16675 SWIG_null_ref("wxDC");
16677 if (SWIG_arg_fail(2)) SWIG_fail
;
16680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16681 (arg1
)->base_OnDrawControlPoints(*arg2
);
16683 wxPyEndAllowThreads(__tstate
);
16684 if (PyErr_Occurred()) SWIG_fail
;
16686 Py_INCREF(Py_None
); resultobj
= Py_None
;
16693 static PyObject
*_wrap_PyBitmapShape_base_OnEraseControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16694 PyObject
*resultobj
;
16695 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
16697 PyObject
* obj0
= 0 ;
16698 PyObject
* obj1
= 0 ;
16699 char *kwnames
[] = {
16700 (char *) "self",(char *) "dc", NULL
16703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyBitmapShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
16704 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyBitmapShape
, SWIG_POINTER_EXCEPTION
| 0);
16705 if (SWIG_arg_fail(1)) SWIG_fail
;
16707 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16708 if (SWIG_arg_fail(2)) SWIG_fail
;
16709 if (arg2
== NULL
) {
16710 SWIG_null_ref("wxDC");
16712 if (SWIG_arg_fail(2)) SWIG_fail
;
16715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16716 (arg1
)->base_OnEraseControlPoints(*arg2
);
16718 wxPyEndAllowThreads(__tstate
);
16719 if (PyErr_Occurred()) SWIG_fail
;
16721 Py_INCREF(Py_None
); resultobj
= Py_None
;
16728 static PyObject
*_wrap_PyBitmapShape_base_OnMoveLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16729 PyObject
*resultobj
;
16730 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
16732 bool arg3
= (bool) true ;
16733 PyObject
* obj0
= 0 ;
16734 PyObject
* obj1
= 0 ;
16735 PyObject
* obj2
= 0 ;
16736 char *kwnames
[] = {
16737 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
16740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyBitmapShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16741 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyBitmapShape
, SWIG_POINTER_EXCEPTION
| 0);
16742 if (SWIG_arg_fail(1)) SWIG_fail
;
16744 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16745 if (SWIG_arg_fail(2)) SWIG_fail
;
16746 if (arg2
== NULL
) {
16747 SWIG_null_ref("wxDC");
16749 if (SWIG_arg_fail(2)) SWIG_fail
;
16753 arg3
= (bool)(SWIG_As_bool(obj2
));
16754 if (SWIG_arg_fail(3)) SWIG_fail
;
16758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16759 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
16761 wxPyEndAllowThreads(__tstate
);
16762 if (PyErr_Occurred()) SWIG_fail
;
16764 Py_INCREF(Py_None
); resultobj
= Py_None
;
16771 static PyObject
*_wrap_PyBitmapShape_base_OnSizingDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16772 PyObject
*resultobj
;
16773 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
16774 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
16778 int arg6
= (int) 0 ;
16779 int arg7
= (int) 0 ;
16780 PyObject
* obj0
= 0 ;
16781 PyObject
* obj1
= 0 ;
16782 PyObject
* obj2
= 0 ;
16783 PyObject
* obj3
= 0 ;
16784 PyObject
* obj4
= 0 ;
16785 PyObject
* obj5
= 0 ;
16786 PyObject
* obj6
= 0 ;
16787 char *kwnames
[] = {
16788 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyBitmapShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
16792 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyBitmapShape
, SWIG_POINTER_EXCEPTION
| 0);
16793 if (SWIG_arg_fail(1)) SWIG_fail
;
16794 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyControlPoint
, SWIG_POINTER_EXCEPTION
| 0);
16795 if (SWIG_arg_fail(2)) SWIG_fail
;
16797 arg3
= (bool)(SWIG_As_bool(obj2
));
16798 if (SWIG_arg_fail(3)) SWIG_fail
;
16801 arg4
= (double)(SWIG_As_double(obj3
));
16802 if (SWIG_arg_fail(4)) SWIG_fail
;
16805 arg5
= (double)(SWIG_As_double(obj4
));
16806 if (SWIG_arg_fail(5)) SWIG_fail
;
16810 arg6
= (int)(SWIG_As_int(obj5
));
16811 if (SWIG_arg_fail(6)) SWIG_fail
;
16816 arg7
= (int)(SWIG_As_int(obj6
));
16817 if (SWIG_arg_fail(7)) SWIG_fail
;
16821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16822 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
16824 wxPyEndAllowThreads(__tstate
);
16825 if (PyErr_Occurred()) SWIG_fail
;
16827 Py_INCREF(Py_None
); resultobj
= Py_None
;
16834 static PyObject
*_wrap_PyBitmapShape_base_OnSizingBeginDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16835 PyObject
*resultobj
;
16836 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
16837 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
16840 int arg5
= (int) 0 ;
16841 int arg6
= (int) 0 ;
16842 PyObject
* obj0
= 0 ;
16843 PyObject
* obj1
= 0 ;
16844 PyObject
* obj2
= 0 ;
16845 PyObject
* obj3
= 0 ;
16846 PyObject
* obj4
= 0 ;
16847 PyObject
* obj5
= 0 ;
16848 char *kwnames
[] = {
16849 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyBitmapShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16853 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyBitmapShape
, SWIG_POINTER_EXCEPTION
| 0);
16854 if (SWIG_arg_fail(1)) SWIG_fail
;
16855 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyControlPoint
, SWIG_POINTER_EXCEPTION
| 0);
16856 if (SWIG_arg_fail(2)) SWIG_fail
;
16858 arg3
= (double)(SWIG_As_double(obj2
));
16859 if (SWIG_arg_fail(3)) SWIG_fail
;
16862 arg4
= (double)(SWIG_As_double(obj3
));
16863 if (SWIG_arg_fail(4)) SWIG_fail
;
16867 arg5
= (int)(SWIG_As_int(obj4
));
16868 if (SWIG_arg_fail(5)) SWIG_fail
;
16873 arg6
= (int)(SWIG_As_int(obj5
));
16874 if (SWIG_arg_fail(6)) SWIG_fail
;
16878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16879 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
16881 wxPyEndAllowThreads(__tstate
);
16882 if (PyErr_Occurred()) SWIG_fail
;
16884 Py_INCREF(Py_None
); resultobj
= Py_None
;
16891 static PyObject
*_wrap_PyBitmapShape_base_OnSizingEndDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16892 PyObject
*resultobj
;
16893 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
16894 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
16897 int arg5
= (int) 0 ;
16898 int arg6
= (int) 0 ;
16899 PyObject
* obj0
= 0 ;
16900 PyObject
* obj1
= 0 ;
16901 PyObject
* obj2
= 0 ;
16902 PyObject
* obj3
= 0 ;
16903 PyObject
* obj4
= 0 ;
16904 PyObject
* obj5
= 0 ;
16905 char *kwnames
[] = {
16906 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyBitmapShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16910 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyBitmapShape
, SWIG_POINTER_EXCEPTION
| 0);
16911 if (SWIG_arg_fail(1)) SWIG_fail
;
16912 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyControlPoint
, SWIG_POINTER_EXCEPTION
| 0);
16913 if (SWIG_arg_fail(2)) SWIG_fail
;
16915 arg3
= (double)(SWIG_As_double(obj2
));
16916 if (SWIG_arg_fail(3)) SWIG_fail
;
16919 arg4
= (double)(SWIG_As_double(obj3
));
16920 if (SWIG_arg_fail(4)) SWIG_fail
;
16924 arg5
= (int)(SWIG_As_int(obj4
));
16925 if (SWIG_arg_fail(5)) SWIG_fail
;
16930 arg6
= (int)(SWIG_As_int(obj5
));
16931 if (SWIG_arg_fail(6)) SWIG_fail
;
16935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16936 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
16938 wxPyEndAllowThreads(__tstate
);
16939 if (PyErr_Occurred()) SWIG_fail
;
16941 Py_INCREF(Py_None
); resultobj
= Py_None
;
16948 static PyObject
*_wrap_PyBitmapShape_base_OnBeginSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16949 PyObject
*resultobj
;
16950 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
16953 PyObject
* obj0
= 0 ;
16954 PyObject
* obj1
= 0 ;
16955 PyObject
* obj2
= 0 ;
16956 char *kwnames
[] = {
16957 (char *) "self",(char *) "w",(char *) "h", NULL
16960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapShape_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16961 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyBitmapShape
, SWIG_POINTER_EXCEPTION
| 0);
16962 if (SWIG_arg_fail(1)) SWIG_fail
;
16964 arg2
= (double)(SWIG_As_double(obj1
));
16965 if (SWIG_arg_fail(2)) SWIG_fail
;
16968 arg3
= (double)(SWIG_As_double(obj2
));
16969 if (SWIG_arg_fail(3)) SWIG_fail
;
16972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16973 (arg1
)->base_OnBeginSize(arg2
,arg3
);
16975 wxPyEndAllowThreads(__tstate
);
16976 if (PyErr_Occurred()) SWIG_fail
;
16978 Py_INCREF(Py_None
); resultobj
= Py_None
;
16985 static PyObject
*_wrap_PyBitmapShape_base_OnEndSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16986 PyObject
*resultobj
;
16987 wxPyBitmapShape
*arg1
= (wxPyBitmapShape
*) 0 ;
16990 PyObject
* obj0
= 0 ;
16991 PyObject
* obj1
= 0 ;
16992 PyObject
* obj2
= 0 ;
16993 char *kwnames
[] = {
16994 (char *) "self",(char *) "w",(char *) "h", NULL
16997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapShape_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16998 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyBitmapShape
, SWIG_POINTER_EXCEPTION
| 0);
16999 if (SWIG_arg_fail(1)) SWIG_fail
;
17001 arg2
= (double)(SWIG_As_double(obj1
));
17002 if (SWIG_arg_fail(2)) SWIG_fail
;
17005 arg3
= (double)(SWIG_As_double(obj2
));
17006 if (SWIG_arg_fail(3)) SWIG_fail
;
17009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17010 (arg1
)->base_OnEndSize(arg2
,arg3
);
17012 wxPyEndAllowThreads(__tstate
);
17013 if (PyErr_Occurred()) SWIG_fail
;
17015 Py_INCREF(Py_None
); resultobj
= Py_None
;
17022 static PyObject
* PyBitmapShape_swigregister(PyObject
*, PyObject
*args
) {
17024 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17025 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapShape
, obj
);
17027 return Py_BuildValue((char *)"");
17029 static PyObject
*_wrap_new_PyDrawnShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17030 PyObject
*resultobj
;
17031 wxPyDrawnShape
*result
;
17032 char *kwnames
[] = {
17036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyDrawnShape",kwnames
)) goto fail
;
17038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17039 result
= (wxPyDrawnShape
*)new wxPyDrawnShape();
17041 wxPyEndAllowThreads(__tstate
);
17042 if (PyErr_Occurred()) SWIG_fail
;
17044 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDrawnShape
, 1);
17051 static PyObject
*_wrap_PyDrawnShape__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17052 PyObject
*resultobj
;
17053 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
17054 PyObject
*arg2
= (PyObject
*) 0 ;
17055 PyObject
*arg3
= (PyObject
*) 0 ;
17056 PyObject
* obj0
= 0 ;
17057 PyObject
* obj1
= 0 ;
17058 PyObject
* obj2
= 0 ;
17059 char *kwnames
[] = {
17060 (char *) "self",(char *) "self",(char *) "_class", NULL
17063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDrawnShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17064 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDrawnShape
, SWIG_POINTER_EXCEPTION
| 0);
17065 if (SWIG_arg_fail(1)) SWIG_fail
;
17069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17070 (arg1
)->_setCallbackInfo(arg2
,arg3
);
17072 wxPyEndAllowThreads(__tstate
);
17073 if (PyErr_Occurred()) SWIG_fail
;
17075 Py_INCREF(Py_None
); resultobj
= Py_None
;
17082 static PyObject
*_wrap_PyDrawnShape_CalculateSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17083 PyObject
*resultobj
;
17084 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
17085 PyObject
* obj0
= 0 ;
17086 char *kwnames
[] = {
17087 (char *) "self", NULL
17090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDrawnShape_CalculateSize",kwnames
,&obj0
)) goto fail
;
17091 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDrawnShape
, SWIG_POINTER_EXCEPTION
| 0);
17092 if (SWIG_arg_fail(1)) SWIG_fail
;
17094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17095 (arg1
)->CalculateSize();
17097 wxPyEndAllowThreads(__tstate
);
17098 if (PyErr_Occurred()) SWIG_fail
;
17100 Py_INCREF(Py_None
); resultobj
= Py_None
;
17107 static PyObject
*_wrap_PyDrawnShape_DestroyClippingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17108 PyObject
*resultobj
;
17109 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
17110 PyObject
* obj0
= 0 ;
17111 char *kwnames
[] = {
17112 (char *) "self", NULL
17115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDrawnShape_DestroyClippingRect",kwnames
,&obj0
)) goto fail
;
17116 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDrawnShape
, SWIG_POINTER_EXCEPTION
| 0);
17117 if (SWIG_arg_fail(1)) SWIG_fail
;
17119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17120 (arg1
)->DestroyClippingRect();
17122 wxPyEndAllowThreads(__tstate
);
17123 if (PyErr_Occurred()) SWIG_fail
;
17125 Py_INCREF(Py_None
); resultobj
= Py_None
;
17132 static PyObject
*_wrap_PyDrawnShape_DrawArc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17133 PyObject
*resultobj
;
17134 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
17135 wxPoint
*arg2
= 0 ;
17136 wxPoint
*arg3
= 0 ;
17137 wxPoint
*arg4
= 0 ;
17141 PyObject
* obj0
= 0 ;
17142 PyObject
* obj1
= 0 ;
17143 PyObject
* obj2
= 0 ;
17144 PyObject
* obj3
= 0 ;
17145 char *kwnames
[] = {
17146 (char *) "self",(char *) "centrePoint",(char *) "startPoint",(char *) "endPoint", NULL
17149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyDrawnShape_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17150 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDrawnShape
, SWIG_POINTER_EXCEPTION
| 0);
17151 if (SWIG_arg_fail(1)) SWIG_fail
;
17154 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17158 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17162 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17166 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
17168 wxPyEndAllowThreads(__tstate
);
17169 if (PyErr_Occurred()) SWIG_fail
;
17171 Py_INCREF(Py_None
); resultobj
= Py_None
;
17178 static PyObject
*_wrap_PyDrawnShape_DrawAtAngle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17179 PyObject
*resultobj
;
17180 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
17182 PyObject
* obj0
= 0 ;
17183 PyObject
* obj1
= 0 ;
17184 char *kwnames
[] = {
17185 (char *) "self",(char *) "angle", NULL
17188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_DrawAtAngle",kwnames
,&obj0
,&obj1
)) goto fail
;
17189 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDrawnShape
, SWIG_POINTER_EXCEPTION
| 0);
17190 if (SWIG_arg_fail(1)) SWIG_fail
;
17192 arg2
= (int)(SWIG_As_int(obj1
));
17193 if (SWIG_arg_fail(2)) SWIG_fail
;
17196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17197 (arg1
)->DrawAtAngle(arg2
);
17199 wxPyEndAllowThreads(__tstate
);
17200 if (PyErr_Occurred()) SWIG_fail
;
17202 Py_INCREF(Py_None
); resultobj
= Py_None
;
17209 static PyObject
*_wrap_PyDrawnShape_DrawEllipticArc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17210 PyObject
*resultobj
;
17211 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
17216 PyObject
* obj0
= 0 ;
17217 PyObject
* obj1
= 0 ;
17218 PyObject
* obj2
= 0 ;
17219 PyObject
* obj3
= 0 ;
17220 char *kwnames
[] = {
17221 (char *) "self",(char *) "rect",(char *) "startAngle",(char *) "endAngle", NULL
17224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyDrawnShape_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17225 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDrawnShape
, SWIG_POINTER_EXCEPTION
| 0);
17226 if (SWIG_arg_fail(1)) SWIG_fail
;
17229 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17232 arg3
= (double)(SWIG_As_double(obj2
));
17233 if (SWIG_arg_fail(3)) SWIG_fail
;
17236 arg4
= (double)(SWIG_As_double(obj3
));
17237 if (SWIG_arg_fail(4)) SWIG_fail
;
17240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17241 (arg1
)->DrawEllipticArc((wxRect
const &)*arg2
,arg3
,arg4
);
17243 wxPyEndAllowThreads(__tstate
);
17244 if (PyErr_Occurred()) SWIG_fail
;
17246 Py_INCREF(Py_None
); resultobj
= Py_None
;
17253 static PyObject
*_wrap_PyDrawnShape_DrawLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17254 PyObject
*resultobj
;
17255 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
17256 wxPoint
*arg2
= 0 ;
17257 wxPoint
*arg3
= 0 ;
17260 PyObject
* obj0
= 0 ;
17261 PyObject
* obj1
= 0 ;
17262 PyObject
* obj2
= 0 ;
17263 char *kwnames
[] = {
17264 (char *) "self",(char *) "point1",(char *) "point2", NULL
17267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDrawnShape_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17268 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDrawnShape
, SWIG_POINTER_EXCEPTION
| 0);
17269 if (SWIG_arg_fail(1)) SWIG_fail
;
17272 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17276 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17280 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
17282 wxPyEndAllowThreads(__tstate
);
17283 if (PyErr_Occurred()) SWIG_fail
;
17285 Py_INCREF(Py_None
); resultobj
= Py_None
;
17292 static PyObject
*_wrap_PyDrawnShape_DrawLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17293 PyObject
*resultobj
;
17294 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
17296 wxPoint
*arg3
= (wxPoint
*) 0 ;
17297 PyObject
* obj0
= 0 ;
17298 PyObject
* obj1
= 0 ;
17299 char *kwnames
[] = {
17300 (char *) "self",(char *) "points", NULL
17303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_DrawLines",kwnames
,&obj0
,&obj1
)) goto fail
;
17304 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDrawnShape
, SWIG_POINTER_EXCEPTION
| 0);
17305 if (SWIG_arg_fail(1)) SWIG_fail
;
17307 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
17308 if (arg3
== NULL
) SWIG_fail
;
17311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17312 (arg1
)->DrawLines(arg2
,arg3
);
17314 wxPyEndAllowThreads(__tstate
);
17315 if (PyErr_Occurred()) SWIG_fail
;
17317 Py_INCREF(Py_None
); resultobj
= Py_None
;
17319 if (arg3
) delete [] arg3
;
17324 if (arg3
) delete [] arg3
;
17330 static PyObject
*_wrap_PyDrawnShape_DrawPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17331 PyObject
*resultobj
;
17332 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
17333 wxPoint
*arg2
= 0 ;
17335 PyObject
* obj0
= 0 ;
17336 PyObject
* obj1
= 0 ;
17337 char *kwnames
[] = {
17338 (char *) "self",(char *) "point", NULL
17341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_DrawPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
17342 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDrawnShape
, SWIG_POINTER_EXCEPTION
| 0);
17343 if (SWIG_arg_fail(1)) SWIG_fail
;
17346 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17350 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
17352 wxPyEndAllowThreads(__tstate
);
17353 if (PyErr_Occurred()) SWIG_fail
;
17355 Py_INCREF(Py_None
); resultobj
= Py_None
;
17362 static PyObject
*_wrap_PyDrawnShape_DrawPolygon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17363 PyObject
*resultobj
;
17364 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
17366 wxPoint
*arg3
= (wxPoint
*) 0 ;
17367 int arg4
= (int) 0 ;
17368 PyObject
* obj0
= 0 ;
17369 PyObject
* obj1
= 0 ;
17370 PyObject
* obj2
= 0 ;
17371 char *kwnames
[] = {
17372 (char *) "self",(char *) "points",(char *) "flags", NULL
17375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyDrawnShape_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17376 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDrawnShape
, SWIG_POINTER_EXCEPTION
| 0);
17377 if (SWIG_arg_fail(1)) SWIG_fail
;
17379 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
17380 if (arg3
== NULL
) SWIG_fail
;
17384 arg4
= (int)(SWIG_As_int(obj2
));
17385 if (SWIG_arg_fail(4)) SWIG_fail
;
17389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17390 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
);
17392 wxPyEndAllowThreads(__tstate
);
17393 if (PyErr_Occurred()) SWIG_fail
;
17395 Py_INCREF(Py_None
); resultobj
= Py_None
;
17397 if (arg3
) delete [] arg3
;
17402 if (arg3
) delete [] arg3
;
17408 static PyObject
*_wrap_PyDrawnShape_DrawRectangle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17409 PyObject
*resultobj
;
17410 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
17413 PyObject
* obj0
= 0 ;
17414 PyObject
* obj1
= 0 ;
17415 char *kwnames
[] = {
17416 (char *) "self",(char *) "rect", NULL
17419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_DrawRectangle",kwnames
,&obj0
,&obj1
)) goto fail
;
17420 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDrawnShape
, SWIG_POINTER_EXCEPTION
| 0);
17421 if (SWIG_arg_fail(1)) SWIG_fail
;
17424 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17428 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
17430 wxPyEndAllowThreads(__tstate
);
17431 if (PyErr_Occurred()) SWIG_fail
;
17433 Py_INCREF(Py_None
); resultobj
= Py_None
;
17440 static PyObject
*_wrap_PyDrawnShape_DrawRoundedRectangle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17441 PyObject
*resultobj
;
17442 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
17446 PyObject
* obj0
= 0 ;
17447 PyObject
* obj1
= 0 ;
17448 PyObject
* obj2
= 0 ;
17449 char *kwnames
[] = {
17450 (char *) "self",(char *) "rect",(char *) "radius", NULL
17453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDrawnShape_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17454 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDrawnShape
, SWIG_POINTER_EXCEPTION
| 0);
17455 if (SWIG_arg_fail(1)) SWIG_fail
;
17458 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17461 arg3
= (double)(SWIG_As_double(obj2
));
17462 if (SWIG_arg_fail(3)) SWIG_fail
;
17465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17466 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
17468 wxPyEndAllowThreads(__tstate
);
17469 if (PyErr_Occurred()) SWIG_fail
;
17471 Py_INCREF(Py_None
); resultobj
= Py_None
;
17478 static PyObject
*_wrap_PyDrawnShape_DrawSpline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17479 PyObject
*resultobj
;
17480 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
17482 wxPoint
*arg3
= (wxPoint
*) 0 ;
17483 PyObject
* obj0
= 0 ;
17484 PyObject
* obj1
= 0 ;
17485 char *kwnames
[] = {
17486 (char *) "self",(char *) "points", NULL
17489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_DrawSpline",kwnames
,&obj0
,&obj1
)) goto fail
;
17490 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDrawnShape
, SWIG_POINTER_EXCEPTION
| 0);
17491 if (SWIG_arg_fail(1)) SWIG_fail
;
17493 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
17494 if (arg3
== NULL
) SWIG_fail
;
17497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17498 (arg1
)->DrawSpline(arg2
,arg3
);
17500 wxPyEndAllowThreads(__tstate
);
17501 if (PyErr_Occurred()) SWIG_fail
;
17503 Py_INCREF(Py_None
); resultobj
= Py_None
;
17505 if (arg3
) delete [] arg3
;
17510 if (arg3
) delete [] arg3
;
17516 static PyObject
*_wrap_PyDrawnShape_DrawText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17517 PyObject
*resultobj
;
17518 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
17519 wxString
*arg2
= 0 ;
17520 wxPoint
*arg3
= 0 ;
17521 bool temp2
= false ;
17523 PyObject
* obj0
= 0 ;
17524 PyObject
* obj1
= 0 ;
17525 PyObject
* obj2
= 0 ;
17526 char *kwnames
[] = {
17527 (char *) "self",(char *) "text",(char *) "point", NULL
17530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDrawnShape_DrawText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17531 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDrawnShape
, SWIG_POINTER_EXCEPTION
| 0);
17532 if (SWIG_arg_fail(1)) SWIG_fail
;
17534 arg2
= wxString_in_helper(obj1
);
17535 if (arg2
== NULL
) SWIG_fail
;
17540 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17544 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
17546 wxPyEndAllowThreads(__tstate
);
17547 if (PyErr_Occurred()) SWIG_fail
;
17549 Py_INCREF(Py_None
); resultobj
= Py_None
;
17564 static PyObject
*_wrap_PyDrawnShape_GetAngle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17565 PyObject
*resultobj
;
17566 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
17568 PyObject
* obj0
= 0 ;
17569 char *kwnames
[] = {
17570 (char *) "self", NULL
17573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDrawnShape_GetAngle",kwnames
,&obj0
)) goto fail
;
17574 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDrawnShape
, SWIG_POINTER_EXCEPTION
| 0);
17575 if (SWIG_arg_fail(1)) SWIG_fail
;
17577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17578 result
= (int)(arg1
)->GetAngle();
17580 wxPyEndAllowThreads(__tstate
);
17581 if (PyErr_Occurred()) SWIG_fail
;
17584 resultobj
= SWIG_From_int((int)(result
));
17592 static PyObject
*_wrap_PyDrawnShape_GetMetaFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17593 PyObject
*resultobj
;
17594 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
17595 wxPseudoMetaFile
*result
;
17596 PyObject
* obj0
= 0 ;
17597 char *kwnames
[] = {
17598 (char *) "self", NULL
17601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDrawnShape_GetMetaFile",kwnames
,&obj0
)) goto fail
;
17602 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDrawnShape
, SWIG_POINTER_EXCEPTION
| 0);
17603 if (SWIG_arg_fail(1)) SWIG_fail
;
17605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17607 wxPseudoMetaFile
&_result_ref
= (arg1
)->GetMetaFile();
17608 result
= (wxPseudoMetaFile
*) &_result_ref
;
17611 wxPyEndAllowThreads(__tstate
);
17612 if (PyErr_Occurred()) SWIG_fail
;
17614 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPseudoMetaFile
, 0);
17621 static PyObject
*_wrap_PyDrawnShape_GetRotation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17622 PyObject
*resultobj
;
17623 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
17625 PyObject
* obj0
= 0 ;
17626 char *kwnames
[] = {
17627 (char *) "self", NULL
17630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDrawnShape_GetRotation",kwnames
,&obj0
)) goto fail
;
17631 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDrawnShape
, SWIG_POINTER_EXCEPTION
| 0);
17632 if (SWIG_arg_fail(1)) SWIG_fail
;
17634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17635 result
= (double)(arg1
)->GetRotation();
17637 wxPyEndAllowThreads(__tstate
);
17638 if (PyErr_Occurred()) SWIG_fail
;
17641 resultobj
= SWIG_From_double((double)(result
));
17649 static PyObject
*_wrap_PyDrawnShape_LoadFromMetaFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17650 PyObject
*resultobj
;
17651 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
17652 wxString
*arg2
= 0 ;
17654 bool temp2
= false ;
17655 PyObject
* obj0
= 0 ;
17656 PyObject
* obj1
= 0 ;
17657 char *kwnames
[] = {
17658 (char *) "self",(char *) "filename", NULL
17661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_LoadFromMetaFile",kwnames
,&obj0
,&obj1
)) goto fail
;
17662 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDrawnShape
, SWIG_POINTER_EXCEPTION
| 0);
17663 if (SWIG_arg_fail(1)) SWIG_fail
;
17665 arg2
= wxString_in_helper(obj1
);
17666 if (arg2
== NULL
) SWIG_fail
;
17670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17671 result
= (bool)(arg1
)->LoadFromMetaFile((wxString
const &)*arg2
);
17673 wxPyEndAllowThreads(__tstate
);
17674 if (PyErr_Occurred()) SWIG_fail
;
17677 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17693 static PyObject
*_wrap_PyDrawnShape_Rotate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17694 PyObject
*resultobj
;
17695 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
17699 PyObject
* obj0
= 0 ;
17700 PyObject
* obj1
= 0 ;
17701 PyObject
* obj2
= 0 ;
17702 PyObject
* obj3
= 0 ;
17703 char *kwnames
[] = {
17704 (char *) "self",(char *) "x",(char *) "y",(char *) "theta", NULL
17707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyDrawnShape_Rotate",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17708 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDrawnShape
, SWIG_POINTER_EXCEPTION
| 0);
17709 if (SWIG_arg_fail(1)) SWIG_fail
;
17711 arg2
= (double)(SWIG_As_double(obj1
));
17712 if (SWIG_arg_fail(2)) SWIG_fail
;
17715 arg3
= (double)(SWIG_As_double(obj2
));
17716 if (SWIG_arg_fail(3)) SWIG_fail
;
17719 arg4
= (double)(SWIG_As_double(obj3
));
17720 if (SWIG_arg_fail(4)) SWIG_fail
;
17723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17724 (arg1
)->Rotate(arg2
,arg3
,arg4
);
17726 wxPyEndAllowThreads(__tstate
);
17727 if (PyErr_Occurred()) SWIG_fail
;
17729 Py_INCREF(Py_None
); resultobj
= Py_None
;
17736 static PyObject
*_wrap_PyDrawnShape_SetClippingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17737 PyObject
*resultobj
;
17738 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
17741 PyObject
* obj0
= 0 ;
17742 PyObject
* obj1
= 0 ;
17743 char *kwnames
[] = {
17744 (char *) "self",(char *) "rect", NULL
17747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_SetClippingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
17748 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDrawnShape
, SWIG_POINTER_EXCEPTION
| 0);
17749 if (SWIG_arg_fail(1)) SWIG_fail
;
17752 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17756 (arg1
)->SetClippingRect((wxRect
const &)*arg2
);
17758 wxPyEndAllowThreads(__tstate
);
17759 if (PyErr_Occurred()) SWIG_fail
;
17761 Py_INCREF(Py_None
); resultobj
= Py_None
;
17768 static PyObject
*_wrap_PyDrawnShape_SetDrawnBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17769 PyObject
*resultobj
;
17770 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
17771 wxColour
*arg2
= 0 ;
17773 PyObject
* obj0
= 0 ;
17774 PyObject
* obj1
= 0 ;
17775 char *kwnames
[] = {
17776 (char *) "self",(char *) "colour", NULL
17779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_SetDrawnBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17780 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDrawnShape
, SWIG_POINTER_EXCEPTION
| 0);
17781 if (SWIG_arg_fail(1)) SWIG_fail
;
17784 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17788 (arg1
)->SetDrawnBackgroundColour((wxColour
const &)*arg2
);
17790 wxPyEndAllowThreads(__tstate
);
17791 if (PyErr_Occurred()) SWIG_fail
;
17793 Py_INCREF(Py_None
); resultobj
= Py_None
;
17800 static PyObject
*_wrap_PyDrawnShape_SetDrawnBackgroundMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17801 PyObject
*resultobj
;
17802 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
17804 PyObject
* obj0
= 0 ;
17805 PyObject
* obj1
= 0 ;
17806 char *kwnames
[] = {
17807 (char *) "self",(char *) "mode", NULL
17810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_SetDrawnBackgroundMode",kwnames
,&obj0
,&obj1
)) goto fail
;
17811 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDrawnShape
, SWIG_POINTER_EXCEPTION
| 0);
17812 if (SWIG_arg_fail(1)) SWIG_fail
;
17814 arg2
= (int)(SWIG_As_int(obj1
));
17815 if (SWIG_arg_fail(2)) SWIG_fail
;
17818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17819 (arg1
)->SetDrawnBackgroundMode(arg2
);
17821 wxPyEndAllowThreads(__tstate
);
17822 if (PyErr_Occurred()) SWIG_fail
;
17824 Py_INCREF(Py_None
); resultobj
= Py_None
;
17831 static PyObject
*_wrap_PyDrawnShape_SetDrawnBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17832 PyObject
*resultobj
;
17833 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
17834 wxBrush
*arg2
= (wxBrush
*) 0 ;
17835 bool arg3
= (bool) FALSE
;
17836 PyObject
* obj0
= 0 ;
17837 PyObject
* obj1
= 0 ;
17838 PyObject
* obj2
= 0 ;
17839 char *kwnames
[] = {
17840 (char *) "self",(char *) "pen",(char *) "isOutline", NULL
17843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyDrawnShape_SetDrawnBrush",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17844 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDrawnShape
, SWIG_POINTER_EXCEPTION
| 0);
17845 if (SWIG_arg_fail(1)) SWIG_fail
;
17849 if (obj1
== Py_None
) {
17852 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxBrush"))) {
17853 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxBrush.");
17858 arg2
= wxTheBrushList
->FindOrCreateBrush(temp
->GetColour(), temp
->GetStyle());
17864 arg3
= (bool)(SWIG_As_bool(obj2
));
17865 if (SWIG_arg_fail(3)) SWIG_fail
;
17869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17870 (arg1
)->SetDrawnBrush(arg2
,arg3
);
17872 wxPyEndAllowThreads(__tstate
);
17873 if (PyErr_Occurred()) SWIG_fail
;
17875 Py_INCREF(Py_None
); resultobj
= Py_None
;
17882 static PyObject
*_wrap_PyDrawnShape_SetDrawnFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17883 PyObject
*resultobj
;
17884 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
17885 wxFont
*arg2
= (wxFont
*) 0 ;
17886 PyObject
* obj0
= 0 ;
17887 PyObject
* obj1
= 0 ;
17888 char *kwnames
[] = {
17889 (char *) "self",(char *) "font", NULL
17892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_SetDrawnFont",kwnames
,&obj0
,&obj1
)) goto fail
;
17893 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDrawnShape
, SWIG_POINTER_EXCEPTION
| 0);
17894 if (SWIG_arg_fail(1)) SWIG_fail
;
17898 if (obj1
== Py_None
) {
17901 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxFont"))) {
17902 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxFont.");
17907 arg2
= wxTheFontList
->FindOrCreateFont(temp
->GetPointSize(),
17911 temp
->GetUnderlined(),
17912 temp
->GetFaceName(),
17913 temp
->GetEncoding());
17918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17919 (arg1
)->SetDrawnFont(arg2
);
17921 wxPyEndAllowThreads(__tstate
);
17922 if (PyErr_Occurred()) SWIG_fail
;
17924 Py_INCREF(Py_None
); resultobj
= Py_None
;
17931 static PyObject
*_wrap_PyDrawnShape_SetDrawnPen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17932 PyObject
*resultobj
;
17933 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
17934 wxPen
*arg2
= (wxPen
*) 0 ;
17935 bool arg3
= (bool) FALSE
;
17936 PyObject
* obj0
= 0 ;
17937 PyObject
* obj1
= 0 ;
17938 PyObject
* obj2
= 0 ;
17939 char *kwnames
[] = {
17940 (char *) "self",(char *) "pen",(char *) "isOutline", NULL
17943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyDrawnShape_SetDrawnPen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17944 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDrawnShape
, SWIG_POINTER_EXCEPTION
| 0);
17945 if (SWIG_arg_fail(1)) SWIG_fail
;
17949 if (obj1
== Py_None
) {
17952 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxPen"))) {
17953 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxPen.");
17958 arg2
= wxThePenList
->FindOrCreatePen(temp
->GetColour(),
17966 arg3
= (bool)(SWIG_As_bool(obj2
));
17967 if (SWIG_arg_fail(3)) SWIG_fail
;
17971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17972 (arg1
)->SetDrawnPen(arg2
,arg3
);
17974 wxPyEndAllowThreads(__tstate
);
17975 if (PyErr_Occurred()) SWIG_fail
;
17977 Py_INCREF(Py_None
); resultobj
= Py_None
;
17984 static PyObject
*_wrap_PyDrawnShape_SetDrawnTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17985 PyObject
*resultobj
;
17986 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
17987 wxColour
*arg2
= 0 ;
17989 PyObject
* obj0
= 0 ;
17990 PyObject
* obj1
= 0 ;
17991 char *kwnames
[] = {
17992 (char *) "self",(char *) "colour", NULL
17995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_SetDrawnTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17996 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDrawnShape
, SWIG_POINTER_EXCEPTION
| 0);
17997 if (SWIG_arg_fail(1)) SWIG_fail
;
18000 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18004 (arg1
)->SetDrawnTextColour((wxColour
const &)*arg2
);
18006 wxPyEndAllowThreads(__tstate
);
18007 if (PyErr_Occurred()) SWIG_fail
;
18009 Py_INCREF(Py_None
); resultobj
= Py_None
;
18016 static PyObject
*_wrap_PyDrawnShape_Scale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18017 PyObject
*resultobj
;
18018 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
18021 PyObject
* obj0
= 0 ;
18022 PyObject
* obj1
= 0 ;
18023 PyObject
* obj2
= 0 ;
18024 char *kwnames
[] = {
18025 (char *) "self",(char *) "sx",(char *) "sy", NULL
18028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDrawnShape_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18029 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDrawnShape
, SWIG_POINTER_EXCEPTION
| 0);
18030 if (SWIG_arg_fail(1)) SWIG_fail
;
18032 arg2
= (double)(SWIG_As_double(obj1
));
18033 if (SWIG_arg_fail(2)) SWIG_fail
;
18036 arg3
= (double)(SWIG_As_double(obj2
));
18037 if (SWIG_arg_fail(3)) SWIG_fail
;
18040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18041 (arg1
)->Scale(arg2
,arg3
);
18043 wxPyEndAllowThreads(__tstate
);
18044 if (PyErr_Occurred()) SWIG_fail
;
18046 Py_INCREF(Py_None
); resultobj
= Py_None
;
18053 static PyObject
*_wrap_PyDrawnShape_SetSaveToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18054 PyObject
*resultobj
;
18055 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
18057 PyObject
* obj0
= 0 ;
18058 PyObject
* obj1
= 0 ;
18059 char *kwnames
[] = {
18060 (char *) "self",(char *) "save", NULL
18063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_SetSaveToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
18064 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDrawnShape
, SWIG_POINTER_EXCEPTION
| 0);
18065 if (SWIG_arg_fail(1)) SWIG_fail
;
18067 arg2
= (bool)(SWIG_As_bool(obj1
));
18068 if (SWIG_arg_fail(2)) SWIG_fail
;
18071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18072 (arg1
)->SetSaveToFile(arg2
);
18074 wxPyEndAllowThreads(__tstate
);
18075 if (PyErr_Occurred()) SWIG_fail
;
18077 Py_INCREF(Py_None
); resultobj
= Py_None
;
18084 static PyObject
*_wrap_PyDrawnShape_Translate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18085 PyObject
*resultobj
;
18086 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
18089 PyObject
* obj0
= 0 ;
18090 PyObject
* obj1
= 0 ;
18091 PyObject
* obj2
= 0 ;
18092 char *kwnames
[] = {
18093 (char *) "self",(char *) "x",(char *) "y", NULL
18096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDrawnShape_Translate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18097 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDrawnShape
, SWIG_POINTER_EXCEPTION
| 0);
18098 if (SWIG_arg_fail(1)) SWIG_fail
;
18100 arg2
= (double)(SWIG_As_double(obj1
));
18101 if (SWIG_arg_fail(2)) SWIG_fail
;
18104 arg3
= (double)(SWIG_As_double(obj2
));
18105 if (SWIG_arg_fail(3)) SWIG_fail
;
18108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18109 (arg1
)->Translate(arg2
,arg3
);
18111 wxPyEndAllowThreads(__tstate
);
18112 if (PyErr_Occurred()) SWIG_fail
;
18114 Py_INCREF(Py_None
); resultobj
= Py_None
;
18121 static PyObject
*_wrap_PyDrawnShape_base_OnDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18122 PyObject
*resultobj
;
18123 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
18124 PyObject
* obj0
= 0 ;
18125 char *kwnames
[] = {
18126 (char *) "self", NULL
18129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDrawnShape_base_OnDelete",kwnames
,&obj0
)) goto fail
;
18130 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDrawnShape
, SWIG_POINTER_EXCEPTION
| 0);
18131 if (SWIG_arg_fail(1)) SWIG_fail
;
18133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18134 (arg1
)->base_OnDelete();
18136 wxPyEndAllowThreads(__tstate
);
18137 if (PyErr_Occurred()) SWIG_fail
;
18139 Py_INCREF(Py_None
); resultobj
= Py_None
;
18146 static PyObject
*_wrap_PyDrawnShape_base_OnDraw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18147 PyObject
*resultobj
;
18148 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
18150 PyObject
* obj0
= 0 ;
18151 PyObject
* obj1
= 0 ;
18152 char *kwnames
[] = {
18153 (char *) "self",(char *) "dc", NULL
18156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
18157 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDrawnShape
, SWIG_POINTER_EXCEPTION
| 0);
18158 if (SWIG_arg_fail(1)) SWIG_fail
;
18160 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
18161 if (SWIG_arg_fail(2)) SWIG_fail
;
18162 if (arg2
== NULL
) {
18163 SWIG_null_ref("wxDC");
18165 if (SWIG_arg_fail(2)) SWIG_fail
;
18168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18169 (arg1
)->base_OnDraw(*arg2
);
18171 wxPyEndAllowThreads(__tstate
);
18172 if (PyErr_Occurred()) SWIG_fail
;
18174 Py_INCREF(Py_None
); resultobj
= Py_None
;
18181 static PyObject
*_wrap_PyDrawnShape_base_OnDrawContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18182 PyObject
*resultobj
;
18183 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
18185 PyObject
* obj0
= 0 ;
18186 PyObject
* obj1
= 0 ;
18187 char *kwnames
[] = {
18188 (char *) "self",(char *) "dc", NULL
18191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
18192 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDrawnShape
, SWIG_POINTER_EXCEPTION
| 0);
18193 if (SWIG_arg_fail(1)) SWIG_fail
;
18195 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
18196 if (SWIG_arg_fail(2)) SWIG_fail
;
18197 if (arg2
== NULL
) {
18198 SWIG_null_ref("wxDC");
18200 if (SWIG_arg_fail(2)) SWIG_fail
;
18203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18204 (arg1
)->base_OnDrawContents(*arg2
);
18206 wxPyEndAllowThreads(__tstate
);
18207 if (PyErr_Occurred()) SWIG_fail
;
18209 Py_INCREF(Py_None
); resultobj
= Py_None
;
18216 static PyObject
*_wrap_PyDrawnShape_base_OnDrawBranches(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18217 PyObject
*resultobj
;
18218 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
18220 bool arg3
= (bool) FALSE
;
18221 PyObject
* obj0
= 0 ;
18222 PyObject
* obj1
= 0 ;
18223 PyObject
* obj2
= 0 ;
18224 char *kwnames
[] = {
18225 (char *) "self",(char *) "dc",(char *) "erase", NULL
18228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyDrawnShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18229 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDrawnShape
, SWIG_POINTER_EXCEPTION
| 0);
18230 if (SWIG_arg_fail(1)) SWIG_fail
;
18232 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
18233 if (SWIG_arg_fail(2)) SWIG_fail
;
18234 if (arg2
== NULL
) {
18235 SWIG_null_ref("wxDC");
18237 if (SWIG_arg_fail(2)) SWIG_fail
;
18241 arg3
= (bool)(SWIG_As_bool(obj2
));
18242 if (SWIG_arg_fail(3)) SWIG_fail
;
18246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18247 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
18249 wxPyEndAllowThreads(__tstate
);
18250 if (PyErr_Occurred()) SWIG_fail
;
18252 Py_INCREF(Py_None
); resultobj
= Py_None
;
18259 static PyObject
*_wrap_PyDrawnShape_base_OnMoveLinks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18260 PyObject
*resultobj
;
18261 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
18263 PyObject
* obj0
= 0 ;
18264 PyObject
* obj1
= 0 ;
18265 char *kwnames
[] = {
18266 (char *) "self",(char *) "dc", NULL
18269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
18270 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDrawnShape
, SWIG_POINTER_EXCEPTION
| 0);
18271 if (SWIG_arg_fail(1)) SWIG_fail
;
18273 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
18274 if (SWIG_arg_fail(2)) SWIG_fail
;
18275 if (arg2
== NULL
) {
18276 SWIG_null_ref("wxDC");
18278 if (SWIG_arg_fail(2)) SWIG_fail
;
18281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18282 (arg1
)->base_OnMoveLinks(*arg2
);
18284 wxPyEndAllowThreads(__tstate
);
18285 if (PyErr_Occurred()) SWIG_fail
;
18287 Py_INCREF(Py_None
); resultobj
= Py_None
;
18294 static PyObject
*_wrap_PyDrawnShape_base_OnErase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18295 PyObject
*resultobj
;
18296 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
18298 PyObject
* obj0
= 0 ;
18299 PyObject
* obj1
= 0 ;
18300 char *kwnames
[] = {
18301 (char *) "self",(char *) "dc", NULL
18304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
18305 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDrawnShape
, SWIG_POINTER_EXCEPTION
| 0);
18306 if (SWIG_arg_fail(1)) SWIG_fail
;
18308 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
18309 if (SWIG_arg_fail(2)) SWIG_fail
;
18310 if (arg2
== NULL
) {
18311 SWIG_null_ref("wxDC");
18313 if (SWIG_arg_fail(2)) SWIG_fail
;
18316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18317 (arg1
)->base_OnErase(*arg2
);
18319 wxPyEndAllowThreads(__tstate
);
18320 if (PyErr_Occurred()) SWIG_fail
;
18322 Py_INCREF(Py_None
); resultobj
= Py_None
;
18329 static PyObject
*_wrap_PyDrawnShape_base_OnEraseContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18330 PyObject
*resultobj
;
18331 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
18333 PyObject
* obj0
= 0 ;
18334 PyObject
* obj1
= 0 ;
18335 char *kwnames
[] = {
18336 (char *) "self",(char *) "dc", NULL
18339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
18340 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDrawnShape
, SWIG_POINTER_EXCEPTION
| 0);
18341 if (SWIG_arg_fail(1)) SWIG_fail
;
18343 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
18344 if (SWIG_arg_fail(2)) SWIG_fail
;
18345 if (arg2
== NULL
) {
18346 SWIG_null_ref("wxDC");
18348 if (SWIG_arg_fail(2)) SWIG_fail
;
18351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18352 (arg1
)->base_OnEraseContents(*arg2
);
18354 wxPyEndAllowThreads(__tstate
);
18355 if (PyErr_Occurred()) SWIG_fail
;
18357 Py_INCREF(Py_None
); resultobj
= Py_None
;
18364 static PyObject
*_wrap_PyDrawnShape_base_OnHighlight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18365 PyObject
*resultobj
;
18366 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
18368 PyObject
* obj0
= 0 ;
18369 PyObject
* obj1
= 0 ;
18370 char *kwnames
[] = {
18371 (char *) "self",(char *) "dc", NULL
18374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
18375 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDrawnShape
, SWIG_POINTER_EXCEPTION
| 0);
18376 if (SWIG_arg_fail(1)) SWIG_fail
;
18378 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
18379 if (SWIG_arg_fail(2)) SWIG_fail
;
18380 if (arg2
== NULL
) {
18381 SWIG_null_ref("wxDC");
18383 if (SWIG_arg_fail(2)) SWIG_fail
;
18386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18387 (arg1
)->base_OnHighlight(*arg2
);
18389 wxPyEndAllowThreads(__tstate
);
18390 if (PyErr_Occurred()) SWIG_fail
;
18392 Py_INCREF(Py_None
); resultobj
= Py_None
;
18399 static PyObject
*_wrap_PyDrawnShape_base_OnLeftClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18400 PyObject
*resultobj
;
18401 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
18404 int arg4
= (int) 0 ;
18405 int arg5
= (int) 0 ;
18406 PyObject
* obj0
= 0 ;
18407 PyObject
* obj1
= 0 ;
18408 PyObject
* obj2
= 0 ;
18409 PyObject
* obj3
= 0 ;
18410 PyObject
* obj4
= 0 ;
18411 char *kwnames
[] = {
18412 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDrawnShape_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18416 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDrawnShape
, SWIG_POINTER_EXCEPTION
| 0);
18417 if (SWIG_arg_fail(1)) SWIG_fail
;
18419 arg2
= (double)(SWIG_As_double(obj1
));
18420 if (SWIG_arg_fail(2)) SWIG_fail
;
18423 arg3
= (double)(SWIG_As_double(obj2
));
18424 if (SWIG_arg_fail(3)) SWIG_fail
;
18428 arg4
= (int)(SWIG_As_int(obj3
));
18429 if (SWIG_arg_fail(4)) SWIG_fail
;
18434 arg5
= (int)(SWIG_As_int(obj4
));
18435 if (SWIG_arg_fail(5)) SWIG_fail
;
18439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18440 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
18442 wxPyEndAllowThreads(__tstate
);
18443 if (PyErr_Occurred()) SWIG_fail
;
18445 Py_INCREF(Py_None
); resultobj
= Py_None
;
18452 static PyObject
*_wrap_PyDrawnShape_base_OnLeftDoubleClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18453 PyObject
*resultobj
;
18454 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
18457 int arg4
= (int) 0 ;
18458 int arg5
= (int) 0 ;
18459 PyObject
* obj0
= 0 ;
18460 PyObject
* obj1
= 0 ;
18461 PyObject
* obj2
= 0 ;
18462 PyObject
* obj3
= 0 ;
18463 PyObject
* obj4
= 0 ;
18464 char *kwnames
[] = {
18465 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDrawnShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18469 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDrawnShape
, SWIG_POINTER_EXCEPTION
| 0);
18470 if (SWIG_arg_fail(1)) SWIG_fail
;
18472 arg2
= (double)(SWIG_As_double(obj1
));
18473 if (SWIG_arg_fail(2)) SWIG_fail
;
18476 arg3
= (double)(SWIG_As_double(obj2
));
18477 if (SWIG_arg_fail(3)) SWIG_fail
;
18481 arg4
= (int)(SWIG_As_int(obj3
));
18482 if (SWIG_arg_fail(4)) SWIG_fail
;
18487 arg5
= (int)(SWIG_As_int(obj4
));
18488 if (SWIG_arg_fail(5)) SWIG_fail
;
18492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18493 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
18495 wxPyEndAllowThreads(__tstate
);
18496 if (PyErr_Occurred()) SWIG_fail
;
18498 Py_INCREF(Py_None
); resultobj
= Py_None
;
18505 static PyObject
*_wrap_PyDrawnShape_base_OnRightClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18506 PyObject
*resultobj
;
18507 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
18510 int arg4
= (int) 0 ;
18511 int arg5
= (int) 0 ;
18512 PyObject
* obj0
= 0 ;
18513 PyObject
* obj1
= 0 ;
18514 PyObject
* obj2
= 0 ;
18515 PyObject
* obj3
= 0 ;
18516 PyObject
* obj4
= 0 ;
18517 char *kwnames
[] = {
18518 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDrawnShape_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18522 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDrawnShape
, SWIG_POINTER_EXCEPTION
| 0);
18523 if (SWIG_arg_fail(1)) SWIG_fail
;
18525 arg2
= (double)(SWIG_As_double(obj1
));
18526 if (SWIG_arg_fail(2)) SWIG_fail
;
18529 arg3
= (double)(SWIG_As_double(obj2
));
18530 if (SWIG_arg_fail(3)) SWIG_fail
;
18534 arg4
= (int)(SWIG_As_int(obj3
));
18535 if (SWIG_arg_fail(4)) SWIG_fail
;
18540 arg5
= (int)(SWIG_As_int(obj4
));
18541 if (SWIG_arg_fail(5)) SWIG_fail
;
18545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18546 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
18548 wxPyEndAllowThreads(__tstate
);
18549 if (PyErr_Occurred()) SWIG_fail
;
18551 Py_INCREF(Py_None
); resultobj
= Py_None
;
18558 static PyObject
*_wrap_PyDrawnShape_base_OnSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18559 PyObject
*resultobj
;
18560 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
18563 PyObject
* obj0
= 0 ;
18564 PyObject
* obj1
= 0 ;
18565 PyObject
* obj2
= 0 ;
18566 char *kwnames
[] = {
18567 (char *) "self",(char *) "x",(char *) "y", NULL
18570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDrawnShape_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18571 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDrawnShape
, SWIG_POINTER_EXCEPTION
| 0);
18572 if (SWIG_arg_fail(1)) SWIG_fail
;
18574 arg2
= (double)(SWIG_As_double(obj1
));
18575 if (SWIG_arg_fail(2)) SWIG_fail
;
18578 arg3
= (double)(SWIG_As_double(obj2
));
18579 if (SWIG_arg_fail(3)) SWIG_fail
;
18582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18583 (arg1
)->base_OnSize(arg2
,arg3
);
18585 wxPyEndAllowThreads(__tstate
);
18586 if (PyErr_Occurred()) SWIG_fail
;
18588 Py_INCREF(Py_None
); resultobj
= Py_None
;
18595 static PyObject
*_wrap_PyDrawnShape_base_OnMovePre(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18596 PyObject
*resultobj
;
18597 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
18603 bool arg7
= (bool) true ;
18605 PyObject
* obj0
= 0 ;
18606 PyObject
* obj1
= 0 ;
18607 PyObject
* obj2
= 0 ;
18608 PyObject
* obj3
= 0 ;
18609 PyObject
* obj4
= 0 ;
18610 PyObject
* obj5
= 0 ;
18611 PyObject
* obj6
= 0 ;
18612 char *kwnames
[] = {
18613 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
18616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyDrawnShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
18617 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDrawnShape
, SWIG_POINTER_EXCEPTION
| 0);
18618 if (SWIG_arg_fail(1)) SWIG_fail
;
18620 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
18621 if (SWIG_arg_fail(2)) SWIG_fail
;
18622 if (arg2
== NULL
) {
18623 SWIG_null_ref("wxDC");
18625 if (SWIG_arg_fail(2)) SWIG_fail
;
18628 arg3
= (double)(SWIG_As_double(obj2
));
18629 if (SWIG_arg_fail(3)) SWIG_fail
;
18632 arg4
= (double)(SWIG_As_double(obj3
));
18633 if (SWIG_arg_fail(4)) SWIG_fail
;
18636 arg5
= (double)(SWIG_As_double(obj4
));
18637 if (SWIG_arg_fail(5)) SWIG_fail
;
18640 arg6
= (double)(SWIG_As_double(obj5
));
18641 if (SWIG_arg_fail(6)) SWIG_fail
;
18645 arg7
= (bool)(SWIG_As_bool(obj6
));
18646 if (SWIG_arg_fail(7)) SWIG_fail
;
18650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18651 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18653 wxPyEndAllowThreads(__tstate
);
18654 if (PyErr_Occurred()) SWIG_fail
;
18657 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18665 static PyObject
*_wrap_PyDrawnShape_base_OnMovePost(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18666 PyObject
*resultobj
;
18667 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
18673 bool arg7
= (bool) true ;
18674 PyObject
* obj0
= 0 ;
18675 PyObject
* obj1
= 0 ;
18676 PyObject
* obj2
= 0 ;
18677 PyObject
* obj3
= 0 ;
18678 PyObject
* obj4
= 0 ;
18679 PyObject
* obj5
= 0 ;
18680 PyObject
* obj6
= 0 ;
18681 char *kwnames
[] = {
18682 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
18685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyDrawnShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
18686 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDrawnShape
, SWIG_POINTER_EXCEPTION
| 0);
18687 if (SWIG_arg_fail(1)) SWIG_fail
;
18689 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
18690 if (SWIG_arg_fail(2)) SWIG_fail
;
18691 if (arg2
== NULL
) {
18692 SWIG_null_ref("wxDC");
18694 if (SWIG_arg_fail(2)) SWIG_fail
;
18697 arg3
= (double)(SWIG_As_double(obj2
));
18698 if (SWIG_arg_fail(3)) SWIG_fail
;
18701 arg4
= (double)(SWIG_As_double(obj3
));
18702 if (SWIG_arg_fail(4)) SWIG_fail
;
18705 arg5
= (double)(SWIG_As_double(obj4
));
18706 if (SWIG_arg_fail(5)) SWIG_fail
;
18709 arg6
= (double)(SWIG_As_double(obj5
));
18710 if (SWIG_arg_fail(6)) SWIG_fail
;
18714 arg7
= (bool)(SWIG_As_bool(obj6
));
18715 if (SWIG_arg_fail(7)) SWIG_fail
;
18719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18720 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18722 wxPyEndAllowThreads(__tstate
);
18723 if (PyErr_Occurred()) SWIG_fail
;
18725 Py_INCREF(Py_None
); resultobj
= Py_None
;
18732 static PyObject
*_wrap_PyDrawnShape_base_OnDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18733 PyObject
*resultobj
;
18734 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
18738 int arg5
= (int) 0 ;
18739 int arg6
= (int) 0 ;
18740 PyObject
* obj0
= 0 ;
18741 PyObject
* obj1
= 0 ;
18742 PyObject
* obj2
= 0 ;
18743 PyObject
* obj3
= 0 ;
18744 PyObject
* obj4
= 0 ;
18745 PyObject
* obj5
= 0 ;
18746 char *kwnames
[] = {
18747 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyDrawnShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18751 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDrawnShape
, SWIG_POINTER_EXCEPTION
| 0);
18752 if (SWIG_arg_fail(1)) SWIG_fail
;
18754 arg2
= (bool)(SWIG_As_bool(obj1
));
18755 if (SWIG_arg_fail(2)) SWIG_fail
;
18758 arg3
= (double)(SWIG_As_double(obj2
));
18759 if (SWIG_arg_fail(3)) SWIG_fail
;
18762 arg4
= (double)(SWIG_As_double(obj3
));
18763 if (SWIG_arg_fail(4)) SWIG_fail
;
18767 arg5
= (int)(SWIG_As_int(obj4
));
18768 if (SWIG_arg_fail(5)) SWIG_fail
;
18773 arg6
= (int)(SWIG_As_int(obj5
));
18774 if (SWIG_arg_fail(6)) SWIG_fail
;
18778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18779 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
18781 wxPyEndAllowThreads(__tstate
);
18782 if (PyErr_Occurred()) SWIG_fail
;
18784 Py_INCREF(Py_None
); resultobj
= Py_None
;
18791 static PyObject
*_wrap_PyDrawnShape_base_OnBeginDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18792 PyObject
*resultobj
;
18793 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
18796 int arg4
= (int) 0 ;
18797 int arg5
= (int) 0 ;
18798 PyObject
* obj0
= 0 ;
18799 PyObject
* obj1
= 0 ;
18800 PyObject
* obj2
= 0 ;
18801 PyObject
* obj3
= 0 ;
18802 PyObject
* obj4
= 0 ;
18803 char *kwnames
[] = {
18804 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDrawnShape_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18808 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDrawnShape
, SWIG_POINTER_EXCEPTION
| 0);
18809 if (SWIG_arg_fail(1)) SWIG_fail
;
18811 arg2
= (double)(SWIG_As_double(obj1
));
18812 if (SWIG_arg_fail(2)) SWIG_fail
;
18815 arg3
= (double)(SWIG_As_double(obj2
));
18816 if (SWIG_arg_fail(3)) SWIG_fail
;
18820 arg4
= (int)(SWIG_As_int(obj3
));
18821 if (SWIG_arg_fail(4)) SWIG_fail
;
18826 arg5
= (int)(SWIG_As_int(obj4
));
18827 if (SWIG_arg_fail(5)) SWIG_fail
;
18831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18832 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
18834 wxPyEndAllowThreads(__tstate
);
18835 if (PyErr_Occurred()) SWIG_fail
;
18837 Py_INCREF(Py_None
); resultobj
= Py_None
;
18844 static PyObject
*_wrap_PyDrawnShape_base_OnEndDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18845 PyObject
*resultobj
;
18846 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
18849 int arg4
= (int) 0 ;
18850 int arg5
= (int) 0 ;
18851 PyObject
* obj0
= 0 ;
18852 PyObject
* obj1
= 0 ;
18853 PyObject
* obj2
= 0 ;
18854 PyObject
* obj3
= 0 ;
18855 PyObject
* obj4
= 0 ;
18856 char *kwnames
[] = {
18857 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDrawnShape_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18861 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDrawnShape
, SWIG_POINTER_EXCEPTION
| 0);
18862 if (SWIG_arg_fail(1)) SWIG_fail
;
18864 arg2
= (double)(SWIG_As_double(obj1
));
18865 if (SWIG_arg_fail(2)) SWIG_fail
;
18868 arg3
= (double)(SWIG_As_double(obj2
));
18869 if (SWIG_arg_fail(3)) SWIG_fail
;
18873 arg4
= (int)(SWIG_As_int(obj3
));
18874 if (SWIG_arg_fail(4)) SWIG_fail
;
18879 arg5
= (int)(SWIG_As_int(obj4
));
18880 if (SWIG_arg_fail(5)) SWIG_fail
;
18884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18885 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
18887 wxPyEndAllowThreads(__tstate
);
18888 if (PyErr_Occurred()) SWIG_fail
;
18890 Py_INCREF(Py_None
); resultobj
= Py_None
;
18897 static PyObject
*_wrap_PyDrawnShape_base_OnDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18898 PyObject
*resultobj
;
18899 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
18903 int arg5
= (int) 0 ;
18904 int arg6
= (int) 0 ;
18905 PyObject
* obj0
= 0 ;
18906 PyObject
* obj1
= 0 ;
18907 PyObject
* obj2
= 0 ;
18908 PyObject
* obj3
= 0 ;
18909 PyObject
* obj4
= 0 ;
18910 PyObject
* obj5
= 0 ;
18911 char *kwnames
[] = {
18912 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyDrawnShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18916 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDrawnShape
, SWIG_POINTER_EXCEPTION
| 0);
18917 if (SWIG_arg_fail(1)) SWIG_fail
;
18919 arg2
= (bool)(SWIG_As_bool(obj1
));
18920 if (SWIG_arg_fail(2)) SWIG_fail
;
18923 arg3
= (double)(SWIG_As_double(obj2
));
18924 if (SWIG_arg_fail(3)) SWIG_fail
;
18927 arg4
= (double)(SWIG_As_double(obj3
));
18928 if (SWIG_arg_fail(4)) SWIG_fail
;
18932 arg5
= (int)(SWIG_As_int(obj4
));
18933 if (SWIG_arg_fail(5)) SWIG_fail
;
18938 arg6
= (int)(SWIG_As_int(obj5
));
18939 if (SWIG_arg_fail(6)) SWIG_fail
;
18943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18944 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
18946 wxPyEndAllowThreads(__tstate
);
18947 if (PyErr_Occurred()) SWIG_fail
;
18949 Py_INCREF(Py_None
); resultobj
= Py_None
;
18956 static PyObject
*_wrap_PyDrawnShape_base_OnBeginDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18957 PyObject
*resultobj
;
18958 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
18961 int arg4
= (int) 0 ;
18962 int arg5
= (int) 0 ;
18963 PyObject
* obj0
= 0 ;
18964 PyObject
* obj1
= 0 ;
18965 PyObject
* obj2
= 0 ;
18966 PyObject
* obj3
= 0 ;
18967 PyObject
* obj4
= 0 ;
18968 char *kwnames
[] = {
18969 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDrawnShape_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18973 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDrawnShape
, SWIG_POINTER_EXCEPTION
| 0);
18974 if (SWIG_arg_fail(1)) SWIG_fail
;
18976 arg2
= (double)(SWIG_As_double(obj1
));
18977 if (SWIG_arg_fail(2)) SWIG_fail
;
18980 arg3
= (double)(SWIG_As_double(obj2
));
18981 if (SWIG_arg_fail(3)) SWIG_fail
;
18985 arg4
= (int)(SWIG_As_int(obj3
));
18986 if (SWIG_arg_fail(4)) SWIG_fail
;
18991 arg5
= (int)(SWIG_As_int(obj4
));
18992 if (SWIG_arg_fail(5)) SWIG_fail
;
18996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18997 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
18999 wxPyEndAllowThreads(__tstate
);
19000 if (PyErr_Occurred()) SWIG_fail
;
19002 Py_INCREF(Py_None
); resultobj
= Py_None
;
19009 static PyObject
*_wrap_PyDrawnShape_base_OnEndDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19010 PyObject
*resultobj
;
19011 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
19014 int arg4
= (int) 0 ;
19015 int arg5
= (int) 0 ;
19016 PyObject
* obj0
= 0 ;
19017 PyObject
* obj1
= 0 ;
19018 PyObject
* obj2
= 0 ;
19019 PyObject
* obj3
= 0 ;
19020 PyObject
* obj4
= 0 ;
19021 char *kwnames
[] = {
19022 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDrawnShape_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
19026 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDrawnShape
, SWIG_POINTER_EXCEPTION
| 0);
19027 if (SWIG_arg_fail(1)) SWIG_fail
;
19029 arg2
= (double)(SWIG_As_double(obj1
));
19030 if (SWIG_arg_fail(2)) SWIG_fail
;
19033 arg3
= (double)(SWIG_As_double(obj2
));
19034 if (SWIG_arg_fail(3)) SWIG_fail
;
19038 arg4
= (int)(SWIG_As_int(obj3
));
19039 if (SWIG_arg_fail(4)) SWIG_fail
;
19044 arg5
= (int)(SWIG_As_int(obj4
));
19045 if (SWIG_arg_fail(5)) SWIG_fail
;
19049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19050 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
19052 wxPyEndAllowThreads(__tstate
);
19053 if (PyErr_Occurred()) SWIG_fail
;
19055 Py_INCREF(Py_None
); resultobj
= Py_None
;
19062 static PyObject
*_wrap_PyDrawnShape_base_OnDrawOutline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19063 PyObject
*resultobj
;
19064 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
19070 PyObject
* obj0
= 0 ;
19071 PyObject
* obj1
= 0 ;
19072 PyObject
* obj2
= 0 ;
19073 PyObject
* obj3
= 0 ;
19074 PyObject
* obj4
= 0 ;
19075 PyObject
* obj5
= 0 ;
19076 char *kwnames
[] = {
19077 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
19080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyDrawnShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
19081 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDrawnShape
, SWIG_POINTER_EXCEPTION
| 0);
19082 if (SWIG_arg_fail(1)) SWIG_fail
;
19084 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
19085 if (SWIG_arg_fail(2)) SWIG_fail
;
19086 if (arg2
== NULL
) {
19087 SWIG_null_ref("wxDC");
19089 if (SWIG_arg_fail(2)) SWIG_fail
;
19092 arg3
= (double)(SWIG_As_double(obj2
));
19093 if (SWIG_arg_fail(3)) SWIG_fail
;
19096 arg4
= (double)(SWIG_As_double(obj3
));
19097 if (SWIG_arg_fail(4)) SWIG_fail
;
19100 arg5
= (double)(SWIG_As_double(obj4
));
19101 if (SWIG_arg_fail(5)) SWIG_fail
;
19104 arg6
= (double)(SWIG_As_double(obj5
));
19105 if (SWIG_arg_fail(6)) SWIG_fail
;
19108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19109 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
19111 wxPyEndAllowThreads(__tstate
);
19112 if (PyErr_Occurred()) SWIG_fail
;
19114 Py_INCREF(Py_None
); resultobj
= Py_None
;
19121 static PyObject
*_wrap_PyDrawnShape_base_OnDrawControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19122 PyObject
*resultobj
;
19123 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
19125 PyObject
* obj0
= 0 ;
19126 PyObject
* obj1
= 0 ;
19127 char *kwnames
[] = {
19128 (char *) "self",(char *) "dc", NULL
19131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
19132 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDrawnShape
, SWIG_POINTER_EXCEPTION
| 0);
19133 if (SWIG_arg_fail(1)) SWIG_fail
;
19135 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
19136 if (SWIG_arg_fail(2)) SWIG_fail
;
19137 if (arg2
== NULL
) {
19138 SWIG_null_ref("wxDC");
19140 if (SWIG_arg_fail(2)) SWIG_fail
;
19143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19144 (arg1
)->base_OnDrawControlPoints(*arg2
);
19146 wxPyEndAllowThreads(__tstate
);
19147 if (PyErr_Occurred()) SWIG_fail
;
19149 Py_INCREF(Py_None
); resultobj
= Py_None
;
19156 static PyObject
*_wrap_PyDrawnShape_base_OnEraseControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19157 PyObject
*resultobj
;
19158 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
19160 PyObject
* obj0
= 0 ;
19161 PyObject
* obj1
= 0 ;
19162 char *kwnames
[] = {
19163 (char *) "self",(char *) "dc", NULL
19166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDrawnShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
19167 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDrawnShape
, SWIG_POINTER_EXCEPTION
| 0);
19168 if (SWIG_arg_fail(1)) SWIG_fail
;
19170 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
19171 if (SWIG_arg_fail(2)) SWIG_fail
;
19172 if (arg2
== NULL
) {
19173 SWIG_null_ref("wxDC");
19175 if (SWIG_arg_fail(2)) SWIG_fail
;
19178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19179 (arg1
)->base_OnEraseControlPoints(*arg2
);
19181 wxPyEndAllowThreads(__tstate
);
19182 if (PyErr_Occurred()) SWIG_fail
;
19184 Py_INCREF(Py_None
); resultobj
= Py_None
;
19191 static PyObject
*_wrap_PyDrawnShape_base_OnMoveLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19192 PyObject
*resultobj
;
19193 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
19195 bool arg3
= (bool) true ;
19196 PyObject
* obj0
= 0 ;
19197 PyObject
* obj1
= 0 ;
19198 PyObject
* obj2
= 0 ;
19199 char *kwnames
[] = {
19200 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
19203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyDrawnShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19204 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDrawnShape
, SWIG_POINTER_EXCEPTION
| 0);
19205 if (SWIG_arg_fail(1)) SWIG_fail
;
19207 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
19208 if (SWIG_arg_fail(2)) SWIG_fail
;
19209 if (arg2
== NULL
) {
19210 SWIG_null_ref("wxDC");
19212 if (SWIG_arg_fail(2)) SWIG_fail
;
19216 arg3
= (bool)(SWIG_As_bool(obj2
));
19217 if (SWIG_arg_fail(3)) SWIG_fail
;
19221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19222 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
19224 wxPyEndAllowThreads(__tstate
);
19225 if (PyErr_Occurred()) SWIG_fail
;
19227 Py_INCREF(Py_None
); resultobj
= Py_None
;
19234 static PyObject
*_wrap_PyDrawnShape_base_OnSizingDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19235 PyObject
*resultobj
;
19236 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
19237 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
19241 int arg6
= (int) 0 ;
19242 int arg7
= (int) 0 ;
19243 PyObject
* obj0
= 0 ;
19244 PyObject
* obj1
= 0 ;
19245 PyObject
* obj2
= 0 ;
19246 PyObject
* obj3
= 0 ;
19247 PyObject
* obj4
= 0 ;
19248 PyObject
* obj5
= 0 ;
19249 PyObject
* obj6
= 0 ;
19250 char *kwnames
[] = {
19251 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyDrawnShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
19255 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDrawnShape
, SWIG_POINTER_EXCEPTION
| 0);
19256 if (SWIG_arg_fail(1)) SWIG_fail
;
19257 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyControlPoint
, SWIG_POINTER_EXCEPTION
| 0);
19258 if (SWIG_arg_fail(2)) SWIG_fail
;
19260 arg3
= (bool)(SWIG_As_bool(obj2
));
19261 if (SWIG_arg_fail(3)) SWIG_fail
;
19264 arg4
= (double)(SWIG_As_double(obj3
));
19265 if (SWIG_arg_fail(4)) SWIG_fail
;
19268 arg5
= (double)(SWIG_As_double(obj4
));
19269 if (SWIG_arg_fail(5)) SWIG_fail
;
19273 arg6
= (int)(SWIG_As_int(obj5
));
19274 if (SWIG_arg_fail(6)) SWIG_fail
;
19279 arg7
= (int)(SWIG_As_int(obj6
));
19280 if (SWIG_arg_fail(7)) SWIG_fail
;
19284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19285 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
19287 wxPyEndAllowThreads(__tstate
);
19288 if (PyErr_Occurred()) SWIG_fail
;
19290 Py_INCREF(Py_None
); resultobj
= Py_None
;
19297 static PyObject
*_wrap_PyDrawnShape_base_OnSizingBeginDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19298 PyObject
*resultobj
;
19299 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
19300 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
19303 int arg5
= (int) 0 ;
19304 int arg6
= (int) 0 ;
19305 PyObject
* obj0
= 0 ;
19306 PyObject
* obj1
= 0 ;
19307 PyObject
* obj2
= 0 ;
19308 PyObject
* obj3
= 0 ;
19309 PyObject
* obj4
= 0 ;
19310 PyObject
* obj5
= 0 ;
19311 char *kwnames
[] = {
19312 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyDrawnShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
19316 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDrawnShape
, SWIG_POINTER_EXCEPTION
| 0);
19317 if (SWIG_arg_fail(1)) SWIG_fail
;
19318 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyControlPoint
, SWIG_POINTER_EXCEPTION
| 0);
19319 if (SWIG_arg_fail(2)) SWIG_fail
;
19321 arg3
= (double)(SWIG_As_double(obj2
));
19322 if (SWIG_arg_fail(3)) SWIG_fail
;
19325 arg4
= (double)(SWIG_As_double(obj3
));
19326 if (SWIG_arg_fail(4)) SWIG_fail
;
19330 arg5
= (int)(SWIG_As_int(obj4
));
19331 if (SWIG_arg_fail(5)) SWIG_fail
;
19336 arg6
= (int)(SWIG_As_int(obj5
));
19337 if (SWIG_arg_fail(6)) SWIG_fail
;
19341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19342 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
19344 wxPyEndAllowThreads(__tstate
);
19345 if (PyErr_Occurred()) SWIG_fail
;
19347 Py_INCREF(Py_None
); resultobj
= Py_None
;
19354 static PyObject
*_wrap_PyDrawnShape_base_OnSizingEndDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19355 PyObject
*resultobj
;
19356 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
19357 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
19360 int arg5
= (int) 0 ;
19361 int arg6
= (int) 0 ;
19362 PyObject
* obj0
= 0 ;
19363 PyObject
* obj1
= 0 ;
19364 PyObject
* obj2
= 0 ;
19365 PyObject
* obj3
= 0 ;
19366 PyObject
* obj4
= 0 ;
19367 PyObject
* obj5
= 0 ;
19368 char *kwnames
[] = {
19369 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyDrawnShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
19373 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDrawnShape
, SWIG_POINTER_EXCEPTION
| 0);
19374 if (SWIG_arg_fail(1)) SWIG_fail
;
19375 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyControlPoint
, SWIG_POINTER_EXCEPTION
| 0);
19376 if (SWIG_arg_fail(2)) SWIG_fail
;
19378 arg3
= (double)(SWIG_As_double(obj2
));
19379 if (SWIG_arg_fail(3)) SWIG_fail
;
19382 arg4
= (double)(SWIG_As_double(obj3
));
19383 if (SWIG_arg_fail(4)) SWIG_fail
;
19387 arg5
= (int)(SWIG_As_int(obj4
));
19388 if (SWIG_arg_fail(5)) SWIG_fail
;
19393 arg6
= (int)(SWIG_As_int(obj5
));
19394 if (SWIG_arg_fail(6)) SWIG_fail
;
19398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19399 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
19401 wxPyEndAllowThreads(__tstate
);
19402 if (PyErr_Occurred()) SWIG_fail
;
19404 Py_INCREF(Py_None
); resultobj
= Py_None
;
19411 static PyObject
*_wrap_PyDrawnShape_base_OnBeginSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19412 PyObject
*resultobj
;
19413 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
19416 PyObject
* obj0
= 0 ;
19417 PyObject
* obj1
= 0 ;
19418 PyObject
* obj2
= 0 ;
19419 char *kwnames
[] = {
19420 (char *) "self",(char *) "w",(char *) "h", NULL
19423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDrawnShape_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19424 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDrawnShape
, SWIG_POINTER_EXCEPTION
| 0);
19425 if (SWIG_arg_fail(1)) SWIG_fail
;
19427 arg2
= (double)(SWIG_As_double(obj1
));
19428 if (SWIG_arg_fail(2)) SWIG_fail
;
19431 arg3
= (double)(SWIG_As_double(obj2
));
19432 if (SWIG_arg_fail(3)) SWIG_fail
;
19435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19436 (arg1
)->base_OnBeginSize(arg2
,arg3
);
19438 wxPyEndAllowThreads(__tstate
);
19439 if (PyErr_Occurred()) SWIG_fail
;
19441 Py_INCREF(Py_None
); resultobj
= Py_None
;
19448 static PyObject
*_wrap_PyDrawnShape_base_OnEndSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19449 PyObject
*resultobj
;
19450 wxPyDrawnShape
*arg1
= (wxPyDrawnShape
*) 0 ;
19453 PyObject
* obj0
= 0 ;
19454 PyObject
* obj1
= 0 ;
19455 PyObject
* obj2
= 0 ;
19456 char *kwnames
[] = {
19457 (char *) "self",(char *) "w",(char *) "h", NULL
19460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDrawnShape_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19461 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDrawnShape
, SWIG_POINTER_EXCEPTION
| 0);
19462 if (SWIG_arg_fail(1)) SWIG_fail
;
19464 arg2
= (double)(SWIG_As_double(obj1
));
19465 if (SWIG_arg_fail(2)) SWIG_fail
;
19468 arg3
= (double)(SWIG_As_double(obj2
));
19469 if (SWIG_arg_fail(3)) SWIG_fail
;
19472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19473 (arg1
)->base_OnEndSize(arg2
,arg3
);
19475 wxPyEndAllowThreads(__tstate
);
19476 if (PyErr_Occurred()) SWIG_fail
;
19478 Py_INCREF(Py_None
); resultobj
= Py_None
;
19485 static PyObject
* PyDrawnShape_swigregister(PyObject
*, PyObject
*args
) {
19487 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19488 SWIG_TypeClientData(SWIGTYPE_p_wxPyDrawnShape
, obj
);
19490 return Py_BuildValue((char *)"");
19492 static PyObject
*_wrap_new_OGLConstraint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19493 PyObject
*resultobj
;
19495 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
19496 PyObject
*arg3
= (PyObject
*) 0 ;
19497 wxOGLConstraint
*result
;
19498 PyObject
* obj0
= 0 ;
19499 PyObject
* obj1
= 0 ;
19500 PyObject
* obj2
= 0 ;
19501 char *kwnames
[] = {
19502 (char *) "type",(char *) "constraining",(char *) "constrained", NULL
19505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_OGLConstraint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19507 arg1
= (int)(SWIG_As_int(obj0
));
19508 if (SWIG_arg_fail(1)) SWIG_fail
;
19510 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
19511 if (SWIG_arg_fail(2)) SWIG_fail
;
19514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19515 result
= (wxOGLConstraint
*)new_wxOGLConstraint(arg1
,arg2
,arg3
);
19517 wxPyEndAllowThreads(__tstate
);
19518 if (PyErr_Occurred()) SWIG_fail
;
19521 resultobj
= wxPyMake_wxObject(result
, 1);
19529 static PyObject
*_wrap_OGLConstraint_Evaluate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19530 PyObject
*resultobj
;
19531 wxOGLConstraint
*arg1
= (wxOGLConstraint
*) 0 ;
19533 PyObject
* obj0
= 0 ;
19534 char *kwnames
[] = {
19535 (char *) "self", NULL
19538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:OGLConstraint_Evaluate",kwnames
,&obj0
)) goto fail
;
19539 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxOGLConstraint
, SWIG_POINTER_EXCEPTION
| 0);
19540 if (SWIG_arg_fail(1)) SWIG_fail
;
19542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19543 result
= (bool)(arg1
)->Evaluate();
19545 wxPyEndAllowThreads(__tstate
);
19546 if (PyErr_Occurred()) SWIG_fail
;
19549 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19557 static PyObject
*_wrap_OGLConstraint_SetSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19558 PyObject
*resultobj
;
19559 wxOGLConstraint
*arg1
= (wxOGLConstraint
*) 0 ;
19562 PyObject
* obj0
= 0 ;
19563 PyObject
* obj1
= 0 ;
19564 PyObject
* obj2
= 0 ;
19565 char *kwnames
[] = {
19566 (char *) "self",(char *) "x",(char *) "y", NULL
19569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:OGLConstraint_SetSpacing",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19570 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxOGLConstraint
, SWIG_POINTER_EXCEPTION
| 0);
19571 if (SWIG_arg_fail(1)) SWIG_fail
;
19573 arg2
= (double)(SWIG_As_double(obj1
));
19574 if (SWIG_arg_fail(2)) SWIG_fail
;
19577 arg3
= (double)(SWIG_As_double(obj2
));
19578 if (SWIG_arg_fail(3)) SWIG_fail
;
19581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19582 (arg1
)->SetSpacing(arg2
,arg3
);
19584 wxPyEndAllowThreads(__tstate
);
19585 if (PyErr_Occurred()) SWIG_fail
;
19587 Py_INCREF(Py_None
); resultobj
= Py_None
;
19594 static PyObject
*_wrap_OGLConstraint_Equals(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19595 PyObject
*resultobj
;
19596 wxOGLConstraint
*arg1
= (wxOGLConstraint
*) 0 ;
19600 PyObject
* obj0
= 0 ;
19601 PyObject
* obj1
= 0 ;
19602 PyObject
* obj2
= 0 ;
19603 char *kwnames
[] = {
19604 (char *) "self",(char *) "a",(char *) "b", NULL
19607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:OGLConstraint_Equals",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19608 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxOGLConstraint
, SWIG_POINTER_EXCEPTION
| 0);
19609 if (SWIG_arg_fail(1)) SWIG_fail
;
19611 arg2
= (double)(SWIG_As_double(obj1
));
19612 if (SWIG_arg_fail(2)) SWIG_fail
;
19615 arg3
= (double)(SWIG_As_double(obj2
));
19616 if (SWIG_arg_fail(3)) SWIG_fail
;
19619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19620 result
= (bool)(arg1
)->Equals(arg2
,arg3
);
19622 wxPyEndAllowThreads(__tstate
);
19623 if (PyErr_Occurred()) SWIG_fail
;
19626 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19634 static PyObject
* OGLConstraint_swigregister(PyObject
*, PyObject
*args
) {
19636 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19637 SWIG_TypeClientData(SWIGTYPE_p_wxOGLConstraint
, obj
);
19639 return Py_BuildValue((char *)"");
19641 static PyObject
*_wrap_new_PyCompositeShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19642 PyObject
*resultobj
;
19643 wxPyCompositeShape
*result
;
19644 char *kwnames
[] = {
19648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyCompositeShape",kwnames
)) goto fail
;
19650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19651 result
= (wxPyCompositeShape
*)new wxPyCompositeShape();
19653 wxPyEndAllowThreads(__tstate
);
19654 if (PyErr_Occurred()) SWIG_fail
;
19656 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyCompositeShape
, 1);
19663 static PyObject
*_wrap_PyCompositeShape__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19664 PyObject
*resultobj
;
19665 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
19666 PyObject
*arg2
= (PyObject
*) 0 ;
19667 PyObject
*arg3
= (PyObject
*) 0 ;
19668 PyObject
* obj0
= 0 ;
19669 PyObject
* obj1
= 0 ;
19670 PyObject
* obj2
= 0 ;
19671 char *kwnames
[] = {
19672 (char *) "self",(char *) "self",(char *) "_class", NULL
19675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyCompositeShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19676 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCompositeShape
, SWIG_POINTER_EXCEPTION
| 0);
19677 if (SWIG_arg_fail(1)) SWIG_fail
;
19681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19682 (arg1
)->_setCallbackInfo(arg2
,arg3
);
19684 wxPyEndAllowThreads(__tstate
);
19685 if (PyErr_Occurred()) SWIG_fail
;
19687 Py_INCREF(Py_None
); resultobj
= Py_None
;
19694 static PyObject
*_wrap_PyCompositeShape_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19695 PyObject
*resultobj
;
19696 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
19697 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
19698 wxPyShape
*arg3
= (wxPyShape
*) NULL
;
19699 PyObject
* obj0
= 0 ;
19700 PyObject
* obj1
= 0 ;
19701 PyObject
* obj2
= 0 ;
19702 char *kwnames
[] = {
19703 (char *) "self",(char *) "child",(char *) "addAfter", NULL
19706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyCompositeShape_AddChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19707 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCompositeShape
, SWIG_POINTER_EXCEPTION
| 0);
19708 if (SWIG_arg_fail(1)) SWIG_fail
;
19709 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
19710 if (SWIG_arg_fail(2)) SWIG_fail
;
19712 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
19713 if (SWIG_arg_fail(3)) SWIG_fail
;
19716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19717 (arg1
)->AddChild(arg2
,arg3
);
19719 wxPyEndAllowThreads(__tstate
);
19720 if (PyErr_Occurred()) SWIG_fail
;
19722 Py_INCREF(Py_None
); resultobj
= Py_None
;
19729 static PyObject
*_wrap_PyCompositeShape_AddConstraint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19730 PyObject
*resultobj
;
19731 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
19732 wxOGLConstraint
*arg2
= (wxOGLConstraint
*) 0 ;
19733 wxOGLConstraint
*result
;
19734 PyObject
* obj0
= 0 ;
19735 PyObject
* obj1
= 0 ;
19736 char *kwnames
[] = {
19737 (char *) "self",(char *) "constraint", NULL
19740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_AddConstraint",kwnames
,&obj0
,&obj1
)) goto fail
;
19741 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCompositeShape
, SWIG_POINTER_EXCEPTION
| 0);
19742 if (SWIG_arg_fail(1)) SWIG_fail
;
19743 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxOGLConstraint
, SWIG_POINTER_EXCEPTION
| 0);
19744 if (SWIG_arg_fail(2)) SWIG_fail
;
19746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19747 result
= (wxOGLConstraint
*)(arg1
)->AddConstraint(arg2
);
19749 wxPyEndAllowThreads(__tstate
);
19750 if (PyErr_Occurred()) SWIG_fail
;
19753 resultobj
= wxPyMake_wxObject(result
, 0);
19761 static PyObject
*_wrap_PyCompositeShape_AddConstrainedShapes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19762 PyObject
*resultobj
;
19763 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
19765 wxPyShape
*arg3
= (wxPyShape
*) 0 ;
19766 PyObject
*arg4
= (PyObject
*) 0 ;
19767 wxOGLConstraint
*result
;
19768 PyObject
* obj0
= 0 ;
19769 PyObject
* obj1
= 0 ;
19770 PyObject
* obj2
= 0 ;
19771 PyObject
* obj3
= 0 ;
19772 char *kwnames
[] = {
19773 (char *) "self",(char *) "type",(char *) "constraining",(char *) "constrained", NULL
19776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyCompositeShape_AddConstrainedShapes",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
19777 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCompositeShape
, SWIG_POINTER_EXCEPTION
| 0);
19778 if (SWIG_arg_fail(1)) SWIG_fail
;
19780 arg2
= (int)(SWIG_As_int(obj1
));
19781 if (SWIG_arg_fail(2)) SWIG_fail
;
19783 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
19784 if (SWIG_arg_fail(3)) SWIG_fail
;
19787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19788 result
= (wxOGLConstraint
*)wxPyCompositeShape_AddConstrainedShapes(arg1
,arg2
,arg3
,arg4
);
19790 wxPyEndAllowThreads(__tstate
);
19791 if (PyErr_Occurred()) SWIG_fail
;
19794 resultobj
= wxPyMake_wxObject(result
, 0);
19802 static PyObject
*_wrap_PyCompositeShape_AddSimpleConstraint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19803 PyObject
*resultobj
;
19804 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
19806 wxPyShape
*arg3
= (wxPyShape
*) 0 ;
19807 wxPyShape
*arg4
= (wxPyShape
*) 0 ;
19808 wxOGLConstraint
*result
;
19809 PyObject
* obj0
= 0 ;
19810 PyObject
* obj1
= 0 ;
19811 PyObject
* obj2
= 0 ;
19812 PyObject
* obj3
= 0 ;
19813 char *kwnames
[] = {
19814 (char *) "self",(char *) "type",(char *) "constraining",(char *) "constrained", NULL
19817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyCompositeShape_AddSimpleConstraint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
19818 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCompositeShape
, SWIG_POINTER_EXCEPTION
| 0);
19819 if (SWIG_arg_fail(1)) SWIG_fail
;
19821 arg2
= (int)(SWIG_As_int(obj1
));
19822 if (SWIG_arg_fail(2)) SWIG_fail
;
19824 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
19825 if (SWIG_arg_fail(3)) SWIG_fail
;
19826 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
19827 if (SWIG_arg_fail(4)) SWIG_fail
;
19829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19830 result
= (wxOGLConstraint
*)(arg1
)->AddConstraint(arg2
,arg3
,arg4
);
19832 wxPyEndAllowThreads(__tstate
);
19833 if (PyErr_Occurred()) SWIG_fail
;
19836 resultobj
= wxPyMake_wxObject(result
, 0);
19844 static PyObject
*_wrap_PyCompositeShape_CalculateSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19845 PyObject
*resultobj
;
19846 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
19847 PyObject
* obj0
= 0 ;
19848 char *kwnames
[] = {
19849 (char *) "self", NULL
19852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCompositeShape_CalculateSize",kwnames
,&obj0
)) goto fail
;
19853 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCompositeShape
, SWIG_POINTER_EXCEPTION
| 0);
19854 if (SWIG_arg_fail(1)) SWIG_fail
;
19856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19857 (arg1
)->CalculateSize();
19859 wxPyEndAllowThreads(__tstate
);
19860 if (PyErr_Occurred()) SWIG_fail
;
19862 Py_INCREF(Py_None
); resultobj
= Py_None
;
19869 static PyObject
*_wrap_PyCompositeShape_ContainsDivision(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19870 PyObject
*resultobj
;
19871 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
19872 wxPyDivisionShape
*arg2
= (wxPyDivisionShape
*) 0 ;
19874 PyObject
* obj0
= 0 ;
19875 PyObject
* obj1
= 0 ;
19876 char *kwnames
[] = {
19877 (char *) "self",(char *) "division", NULL
19880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_ContainsDivision",kwnames
,&obj0
,&obj1
)) goto fail
;
19881 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCompositeShape
, SWIG_POINTER_EXCEPTION
| 0);
19882 if (SWIG_arg_fail(1)) SWIG_fail
;
19883 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyDivisionShape
, SWIG_POINTER_EXCEPTION
| 0);
19884 if (SWIG_arg_fail(2)) SWIG_fail
;
19886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19887 result
= (bool)(arg1
)->ContainsDivision(arg2
);
19889 wxPyEndAllowThreads(__tstate
);
19890 if (PyErr_Occurred()) SWIG_fail
;
19893 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19901 static PyObject
*_wrap_PyCompositeShape_DeleteConstraint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19902 PyObject
*resultobj
;
19903 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
19904 wxOGLConstraint
*arg2
= (wxOGLConstraint
*) 0 ;
19905 PyObject
* obj0
= 0 ;
19906 PyObject
* obj1
= 0 ;
19907 char *kwnames
[] = {
19908 (char *) "self",(char *) "constraint", NULL
19911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_DeleteConstraint",kwnames
,&obj0
,&obj1
)) goto fail
;
19912 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCompositeShape
, SWIG_POINTER_EXCEPTION
| 0);
19913 if (SWIG_arg_fail(1)) SWIG_fail
;
19914 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxOGLConstraint
, SWIG_POINTER_EXCEPTION
| 0);
19915 if (SWIG_arg_fail(2)) SWIG_fail
;
19917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19918 (arg1
)->DeleteConstraint(arg2
);
19920 wxPyEndAllowThreads(__tstate
);
19921 if (PyErr_Occurred()) SWIG_fail
;
19923 Py_INCREF(Py_None
); resultobj
= Py_None
;
19930 static PyObject
*_wrap_PyCompositeShape_DeleteConstraintsInvolvingChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19931 PyObject
*resultobj
;
19932 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
19933 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
19934 PyObject
* obj0
= 0 ;
19935 PyObject
* obj1
= 0 ;
19936 char *kwnames
[] = {
19937 (char *) "self",(char *) "child", NULL
19940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_DeleteConstraintsInvolvingChild",kwnames
,&obj0
,&obj1
)) goto fail
;
19941 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCompositeShape
, SWIG_POINTER_EXCEPTION
| 0);
19942 if (SWIG_arg_fail(1)) SWIG_fail
;
19943 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
19944 if (SWIG_arg_fail(2)) SWIG_fail
;
19946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19947 (arg1
)->DeleteConstraintsInvolvingChild(arg2
);
19949 wxPyEndAllowThreads(__tstate
);
19950 if (PyErr_Occurred()) SWIG_fail
;
19952 Py_INCREF(Py_None
); resultobj
= Py_None
;
19959 static PyObject
*_wrap_PyCompositeShape_FindContainerImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19960 PyObject
*resultobj
;
19961 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
19963 PyObject
* obj0
= 0 ;
19964 char *kwnames
[] = {
19965 (char *) "self", NULL
19968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCompositeShape_FindContainerImage",kwnames
,&obj0
)) goto fail
;
19969 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCompositeShape
, SWIG_POINTER_EXCEPTION
| 0);
19970 if (SWIG_arg_fail(1)) SWIG_fail
;
19972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19973 result
= (wxPyShape
*)(arg1
)->FindContainerImage();
19975 wxPyEndAllowThreads(__tstate
);
19976 if (PyErr_Occurred()) SWIG_fail
;
19979 resultobj
= wxPyMake_wxShapeEvtHandler(result
, 0);
19987 static PyObject
*_wrap_PyCompositeShape_GetConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19988 PyObject
*resultobj
;
19989 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
19991 PyObject
* obj0
= 0 ;
19992 char *kwnames
[] = {
19993 (char *) "self", NULL
19996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCompositeShape_GetConstraints",kwnames
,&obj0
)) goto fail
;
19997 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCompositeShape
, SWIG_POINTER_EXCEPTION
| 0);
19998 if (SWIG_arg_fail(1)) SWIG_fail
;
20000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20001 result
= (PyObject
*)wxPyCompositeShape_GetConstraints(arg1
);
20003 wxPyEndAllowThreads(__tstate
);
20004 if (PyErr_Occurred()) SWIG_fail
;
20006 resultobj
= result
;
20013 static PyObject
*_wrap_PyCompositeShape_GetDivisions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20014 PyObject
*resultobj
;
20015 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
20017 PyObject
* obj0
= 0 ;
20018 char *kwnames
[] = {
20019 (char *) "self", NULL
20022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCompositeShape_GetDivisions",kwnames
,&obj0
)) goto fail
;
20023 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCompositeShape
, SWIG_POINTER_EXCEPTION
| 0);
20024 if (SWIG_arg_fail(1)) SWIG_fail
;
20026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20027 result
= (PyObject
*)wxPyCompositeShape_GetDivisions(arg1
);
20029 wxPyEndAllowThreads(__tstate
);
20030 if (PyErr_Occurred()) SWIG_fail
;
20032 resultobj
= result
;
20039 static PyObject
*_wrap_PyCompositeShape_MakeContainer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20040 PyObject
*resultobj
;
20041 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
20042 PyObject
* obj0
= 0 ;
20043 char *kwnames
[] = {
20044 (char *) "self", NULL
20047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCompositeShape_MakeContainer",kwnames
,&obj0
)) goto fail
;
20048 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCompositeShape
, SWIG_POINTER_EXCEPTION
| 0);
20049 if (SWIG_arg_fail(1)) SWIG_fail
;
20051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20052 (arg1
)->MakeContainer();
20054 wxPyEndAllowThreads(__tstate
);
20055 if (PyErr_Occurred()) SWIG_fail
;
20057 Py_INCREF(Py_None
); resultobj
= Py_None
;
20064 static PyObject
*_wrap_PyCompositeShape_Recompute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20065 PyObject
*resultobj
;
20066 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
20068 PyObject
* obj0
= 0 ;
20069 char *kwnames
[] = {
20070 (char *) "self", NULL
20073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCompositeShape_Recompute",kwnames
,&obj0
)) goto fail
;
20074 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCompositeShape
, SWIG_POINTER_EXCEPTION
| 0);
20075 if (SWIG_arg_fail(1)) SWIG_fail
;
20077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20078 result
= (bool)(arg1
)->Recompute();
20080 wxPyEndAllowThreads(__tstate
);
20081 if (PyErr_Occurred()) SWIG_fail
;
20084 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20092 static PyObject
*_wrap_PyCompositeShape_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20093 PyObject
*resultobj
;
20094 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
20095 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
20096 PyObject
* obj0
= 0 ;
20097 PyObject
* obj1
= 0 ;
20098 char *kwnames
[] = {
20099 (char *) "self",(char *) "child", NULL
20102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
20103 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCompositeShape
, SWIG_POINTER_EXCEPTION
| 0);
20104 if (SWIG_arg_fail(1)) SWIG_fail
;
20105 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
20106 if (SWIG_arg_fail(2)) SWIG_fail
;
20108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20109 (arg1
)->RemoveChild(arg2
);
20111 wxPyEndAllowThreads(__tstate
);
20112 if (PyErr_Occurred()) SWIG_fail
;
20114 Py_INCREF(Py_None
); resultobj
= Py_None
;
20121 static PyObject
*_wrap_PyCompositeShape_base_OnDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20122 PyObject
*resultobj
;
20123 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
20124 PyObject
* obj0
= 0 ;
20125 char *kwnames
[] = {
20126 (char *) "self", NULL
20129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCompositeShape_base_OnDelete",kwnames
,&obj0
)) goto fail
;
20130 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCompositeShape
, SWIG_POINTER_EXCEPTION
| 0);
20131 if (SWIG_arg_fail(1)) SWIG_fail
;
20133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20134 (arg1
)->base_OnDelete();
20136 wxPyEndAllowThreads(__tstate
);
20137 if (PyErr_Occurred()) SWIG_fail
;
20139 Py_INCREF(Py_None
); resultobj
= Py_None
;
20146 static PyObject
*_wrap_PyCompositeShape_base_OnDraw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20147 PyObject
*resultobj
;
20148 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
20150 PyObject
* obj0
= 0 ;
20151 PyObject
* obj1
= 0 ;
20152 char *kwnames
[] = {
20153 (char *) "self",(char *) "dc", NULL
20156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
20157 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCompositeShape
, SWIG_POINTER_EXCEPTION
| 0);
20158 if (SWIG_arg_fail(1)) SWIG_fail
;
20160 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
20161 if (SWIG_arg_fail(2)) SWIG_fail
;
20162 if (arg2
== NULL
) {
20163 SWIG_null_ref("wxDC");
20165 if (SWIG_arg_fail(2)) SWIG_fail
;
20168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20169 (arg1
)->base_OnDraw(*arg2
);
20171 wxPyEndAllowThreads(__tstate
);
20172 if (PyErr_Occurred()) SWIG_fail
;
20174 Py_INCREF(Py_None
); resultobj
= Py_None
;
20181 static PyObject
*_wrap_PyCompositeShape_base_OnDrawContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20182 PyObject
*resultobj
;
20183 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
20185 PyObject
* obj0
= 0 ;
20186 PyObject
* obj1
= 0 ;
20187 char *kwnames
[] = {
20188 (char *) "self",(char *) "dc", NULL
20191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
20192 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCompositeShape
, SWIG_POINTER_EXCEPTION
| 0);
20193 if (SWIG_arg_fail(1)) SWIG_fail
;
20195 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
20196 if (SWIG_arg_fail(2)) SWIG_fail
;
20197 if (arg2
== NULL
) {
20198 SWIG_null_ref("wxDC");
20200 if (SWIG_arg_fail(2)) SWIG_fail
;
20203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20204 (arg1
)->base_OnDrawContents(*arg2
);
20206 wxPyEndAllowThreads(__tstate
);
20207 if (PyErr_Occurred()) SWIG_fail
;
20209 Py_INCREF(Py_None
); resultobj
= Py_None
;
20216 static PyObject
*_wrap_PyCompositeShape_base_OnDrawBranches(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20217 PyObject
*resultobj
;
20218 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
20220 bool arg3
= (bool) FALSE
;
20221 PyObject
* obj0
= 0 ;
20222 PyObject
* obj1
= 0 ;
20223 PyObject
* obj2
= 0 ;
20224 char *kwnames
[] = {
20225 (char *) "self",(char *) "dc",(char *) "erase", NULL
20228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyCompositeShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20229 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCompositeShape
, SWIG_POINTER_EXCEPTION
| 0);
20230 if (SWIG_arg_fail(1)) SWIG_fail
;
20232 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
20233 if (SWIG_arg_fail(2)) SWIG_fail
;
20234 if (arg2
== NULL
) {
20235 SWIG_null_ref("wxDC");
20237 if (SWIG_arg_fail(2)) SWIG_fail
;
20241 arg3
= (bool)(SWIG_As_bool(obj2
));
20242 if (SWIG_arg_fail(3)) SWIG_fail
;
20246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20247 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
20249 wxPyEndAllowThreads(__tstate
);
20250 if (PyErr_Occurred()) SWIG_fail
;
20252 Py_INCREF(Py_None
); resultobj
= Py_None
;
20259 static PyObject
*_wrap_PyCompositeShape_base_OnMoveLinks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20260 PyObject
*resultobj
;
20261 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
20263 PyObject
* obj0
= 0 ;
20264 PyObject
* obj1
= 0 ;
20265 char *kwnames
[] = {
20266 (char *) "self",(char *) "dc", NULL
20269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
20270 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCompositeShape
, SWIG_POINTER_EXCEPTION
| 0);
20271 if (SWIG_arg_fail(1)) SWIG_fail
;
20273 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
20274 if (SWIG_arg_fail(2)) SWIG_fail
;
20275 if (arg2
== NULL
) {
20276 SWIG_null_ref("wxDC");
20278 if (SWIG_arg_fail(2)) SWIG_fail
;
20281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20282 (arg1
)->base_OnMoveLinks(*arg2
);
20284 wxPyEndAllowThreads(__tstate
);
20285 if (PyErr_Occurred()) SWIG_fail
;
20287 Py_INCREF(Py_None
); resultobj
= Py_None
;
20294 static PyObject
*_wrap_PyCompositeShape_base_OnErase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20295 PyObject
*resultobj
;
20296 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
20298 PyObject
* obj0
= 0 ;
20299 PyObject
* obj1
= 0 ;
20300 char *kwnames
[] = {
20301 (char *) "self",(char *) "dc", NULL
20304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
20305 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCompositeShape
, SWIG_POINTER_EXCEPTION
| 0);
20306 if (SWIG_arg_fail(1)) SWIG_fail
;
20308 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
20309 if (SWIG_arg_fail(2)) SWIG_fail
;
20310 if (arg2
== NULL
) {
20311 SWIG_null_ref("wxDC");
20313 if (SWIG_arg_fail(2)) SWIG_fail
;
20316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20317 (arg1
)->base_OnErase(*arg2
);
20319 wxPyEndAllowThreads(__tstate
);
20320 if (PyErr_Occurred()) SWIG_fail
;
20322 Py_INCREF(Py_None
); resultobj
= Py_None
;
20329 static PyObject
*_wrap_PyCompositeShape_base_OnEraseContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20330 PyObject
*resultobj
;
20331 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
20333 PyObject
* obj0
= 0 ;
20334 PyObject
* obj1
= 0 ;
20335 char *kwnames
[] = {
20336 (char *) "self",(char *) "dc", NULL
20339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
20340 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCompositeShape
, SWIG_POINTER_EXCEPTION
| 0);
20341 if (SWIG_arg_fail(1)) SWIG_fail
;
20343 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
20344 if (SWIG_arg_fail(2)) SWIG_fail
;
20345 if (arg2
== NULL
) {
20346 SWIG_null_ref("wxDC");
20348 if (SWIG_arg_fail(2)) SWIG_fail
;
20351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20352 (arg1
)->base_OnEraseContents(*arg2
);
20354 wxPyEndAllowThreads(__tstate
);
20355 if (PyErr_Occurred()) SWIG_fail
;
20357 Py_INCREF(Py_None
); resultobj
= Py_None
;
20364 static PyObject
*_wrap_PyCompositeShape_base_OnHighlight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20365 PyObject
*resultobj
;
20366 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
20368 PyObject
* obj0
= 0 ;
20369 PyObject
* obj1
= 0 ;
20370 char *kwnames
[] = {
20371 (char *) "self",(char *) "dc", NULL
20374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
20375 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCompositeShape
, SWIG_POINTER_EXCEPTION
| 0);
20376 if (SWIG_arg_fail(1)) SWIG_fail
;
20378 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
20379 if (SWIG_arg_fail(2)) SWIG_fail
;
20380 if (arg2
== NULL
) {
20381 SWIG_null_ref("wxDC");
20383 if (SWIG_arg_fail(2)) SWIG_fail
;
20386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20387 (arg1
)->base_OnHighlight(*arg2
);
20389 wxPyEndAllowThreads(__tstate
);
20390 if (PyErr_Occurred()) SWIG_fail
;
20392 Py_INCREF(Py_None
); resultobj
= Py_None
;
20399 static PyObject
*_wrap_PyCompositeShape_base_OnLeftClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20400 PyObject
*resultobj
;
20401 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
20404 int arg4
= (int) 0 ;
20405 int arg5
= (int) 0 ;
20406 PyObject
* obj0
= 0 ;
20407 PyObject
* obj1
= 0 ;
20408 PyObject
* obj2
= 0 ;
20409 PyObject
* obj3
= 0 ;
20410 PyObject
* obj4
= 0 ;
20411 char *kwnames
[] = {
20412 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
20415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCompositeShape_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
20416 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCompositeShape
, SWIG_POINTER_EXCEPTION
| 0);
20417 if (SWIG_arg_fail(1)) SWIG_fail
;
20419 arg2
= (double)(SWIG_As_double(obj1
));
20420 if (SWIG_arg_fail(2)) SWIG_fail
;
20423 arg3
= (double)(SWIG_As_double(obj2
));
20424 if (SWIG_arg_fail(3)) SWIG_fail
;
20428 arg4
= (int)(SWIG_As_int(obj3
));
20429 if (SWIG_arg_fail(4)) SWIG_fail
;
20434 arg5
= (int)(SWIG_As_int(obj4
));
20435 if (SWIG_arg_fail(5)) SWIG_fail
;
20439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20440 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
20442 wxPyEndAllowThreads(__tstate
);
20443 if (PyErr_Occurred()) SWIG_fail
;
20445 Py_INCREF(Py_None
); resultobj
= Py_None
;
20452 static PyObject
*_wrap_PyCompositeShape_base_OnLeftDoubleClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20453 PyObject
*resultobj
;
20454 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
20457 int arg4
= (int) 0 ;
20458 int arg5
= (int) 0 ;
20459 PyObject
* obj0
= 0 ;
20460 PyObject
* obj1
= 0 ;
20461 PyObject
* obj2
= 0 ;
20462 PyObject
* obj3
= 0 ;
20463 PyObject
* obj4
= 0 ;
20464 char *kwnames
[] = {
20465 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
20468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCompositeShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
20469 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCompositeShape
, SWIG_POINTER_EXCEPTION
| 0);
20470 if (SWIG_arg_fail(1)) SWIG_fail
;
20472 arg2
= (double)(SWIG_As_double(obj1
));
20473 if (SWIG_arg_fail(2)) SWIG_fail
;
20476 arg3
= (double)(SWIG_As_double(obj2
));
20477 if (SWIG_arg_fail(3)) SWIG_fail
;
20481 arg4
= (int)(SWIG_As_int(obj3
));
20482 if (SWIG_arg_fail(4)) SWIG_fail
;
20487 arg5
= (int)(SWIG_As_int(obj4
));
20488 if (SWIG_arg_fail(5)) SWIG_fail
;
20492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20493 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
20495 wxPyEndAllowThreads(__tstate
);
20496 if (PyErr_Occurred()) SWIG_fail
;
20498 Py_INCREF(Py_None
); resultobj
= Py_None
;
20505 static PyObject
*_wrap_PyCompositeShape_base_OnRightClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20506 PyObject
*resultobj
;
20507 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
20510 int arg4
= (int) 0 ;
20511 int arg5
= (int) 0 ;
20512 PyObject
* obj0
= 0 ;
20513 PyObject
* obj1
= 0 ;
20514 PyObject
* obj2
= 0 ;
20515 PyObject
* obj3
= 0 ;
20516 PyObject
* obj4
= 0 ;
20517 char *kwnames
[] = {
20518 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
20521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCompositeShape_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
20522 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCompositeShape
, SWIG_POINTER_EXCEPTION
| 0);
20523 if (SWIG_arg_fail(1)) SWIG_fail
;
20525 arg2
= (double)(SWIG_As_double(obj1
));
20526 if (SWIG_arg_fail(2)) SWIG_fail
;
20529 arg3
= (double)(SWIG_As_double(obj2
));
20530 if (SWIG_arg_fail(3)) SWIG_fail
;
20534 arg4
= (int)(SWIG_As_int(obj3
));
20535 if (SWIG_arg_fail(4)) SWIG_fail
;
20540 arg5
= (int)(SWIG_As_int(obj4
));
20541 if (SWIG_arg_fail(5)) SWIG_fail
;
20545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20546 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
20548 wxPyEndAllowThreads(__tstate
);
20549 if (PyErr_Occurred()) SWIG_fail
;
20551 Py_INCREF(Py_None
); resultobj
= Py_None
;
20558 static PyObject
*_wrap_PyCompositeShape_base_OnSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20559 PyObject
*resultobj
;
20560 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
20563 PyObject
* obj0
= 0 ;
20564 PyObject
* obj1
= 0 ;
20565 PyObject
* obj2
= 0 ;
20566 char *kwnames
[] = {
20567 (char *) "self",(char *) "x",(char *) "y", NULL
20570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyCompositeShape_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20571 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCompositeShape
, SWIG_POINTER_EXCEPTION
| 0);
20572 if (SWIG_arg_fail(1)) SWIG_fail
;
20574 arg2
= (double)(SWIG_As_double(obj1
));
20575 if (SWIG_arg_fail(2)) SWIG_fail
;
20578 arg3
= (double)(SWIG_As_double(obj2
));
20579 if (SWIG_arg_fail(3)) SWIG_fail
;
20582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20583 (arg1
)->base_OnSize(arg2
,arg3
);
20585 wxPyEndAllowThreads(__tstate
);
20586 if (PyErr_Occurred()) SWIG_fail
;
20588 Py_INCREF(Py_None
); resultobj
= Py_None
;
20595 static PyObject
*_wrap_PyCompositeShape_base_OnMovePre(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20596 PyObject
*resultobj
;
20597 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
20603 bool arg7
= (bool) true ;
20605 PyObject
* obj0
= 0 ;
20606 PyObject
* obj1
= 0 ;
20607 PyObject
* obj2
= 0 ;
20608 PyObject
* obj3
= 0 ;
20609 PyObject
* obj4
= 0 ;
20610 PyObject
* obj5
= 0 ;
20611 PyObject
* obj6
= 0 ;
20612 char *kwnames
[] = {
20613 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
20616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyCompositeShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
20617 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCompositeShape
, SWIG_POINTER_EXCEPTION
| 0);
20618 if (SWIG_arg_fail(1)) SWIG_fail
;
20620 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
20621 if (SWIG_arg_fail(2)) SWIG_fail
;
20622 if (arg2
== NULL
) {
20623 SWIG_null_ref("wxDC");
20625 if (SWIG_arg_fail(2)) SWIG_fail
;
20628 arg3
= (double)(SWIG_As_double(obj2
));
20629 if (SWIG_arg_fail(3)) SWIG_fail
;
20632 arg4
= (double)(SWIG_As_double(obj3
));
20633 if (SWIG_arg_fail(4)) SWIG_fail
;
20636 arg5
= (double)(SWIG_As_double(obj4
));
20637 if (SWIG_arg_fail(5)) SWIG_fail
;
20640 arg6
= (double)(SWIG_As_double(obj5
));
20641 if (SWIG_arg_fail(6)) SWIG_fail
;
20645 arg7
= (bool)(SWIG_As_bool(obj6
));
20646 if (SWIG_arg_fail(7)) SWIG_fail
;
20650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20651 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
20653 wxPyEndAllowThreads(__tstate
);
20654 if (PyErr_Occurred()) SWIG_fail
;
20657 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20665 static PyObject
*_wrap_PyCompositeShape_base_OnMovePost(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20666 PyObject
*resultobj
;
20667 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
20673 bool arg7
= (bool) true ;
20674 PyObject
* obj0
= 0 ;
20675 PyObject
* obj1
= 0 ;
20676 PyObject
* obj2
= 0 ;
20677 PyObject
* obj3
= 0 ;
20678 PyObject
* obj4
= 0 ;
20679 PyObject
* obj5
= 0 ;
20680 PyObject
* obj6
= 0 ;
20681 char *kwnames
[] = {
20682 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
20685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyCompositeShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
20686 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCompositeShape
, SWIG_POINTER_EXCEPTION
| 0);
20687 if (SWIG_arg_fail(1)) SWIG_fail
;
20689 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
20690 if (SWIG_arg_fail(2)) SWIG_fail
;
20691 if (arg2
== NULL
) {
20692 SWIG_null_ref("wxDC");
20694 if (SWIG_arg_fail(2)) SWIG_fail
;
20697 arg3
= (double)(SWIG_As_double(obj2
));
20698 if (SWIG_arg_fail(3)) SWIG_fail
;
20701 arg4
= (double)(SWIG_As_double(obj3
));
20702 if (SWIG_arg_fail(4)) SWIG_fail
;
20705 arg5
= (double)(SWIG_As_double(obj4
));
20706 if (SWIG_arg_fail(5)) SWIG_fail
;
20709 arg6
= (double)(SWIG_As_double(obj5
));
20710 if (SWIG_arg_fail(6)) SWIG_fail
;
20714 arg7
= (bool)(SWIG_As_bool(obj6
));
20715 if (SWIG_arg_fail(7)) SWIG_fail
;
20719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20720 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
20722 wxPyEndAllowThreads(__tstate
);
20723 if (PyErr_Occurred()) SWIG_fail
;
20725 Py_INCREF(Py_None
); resultobj
= Py_None
;
20732 static PyObject
*_wrap_PyCompositeShape_base_OnDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20733 PyObject
*resultobj
;
20734 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
20738 int arg5
= (int) 0 ;
20739 int arg6
= (int) 0 ;
20740 PyObject
* obj0
= 0 ;
20741 PyObject
* obj1
= 0 ;
20742 PyObject
* obj2
= 0 ;
20743 PyObject
* obj3
= 0 ;
20744 PyObject
* obj4
= 0 ;
20745 PyObject
* obj5
= 0 ;
20746 char *kwnames
[] = {
20747 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
20750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyCompositeShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
20751 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCompositeShape
, SWIG_POINTER_EXCEPTION
| 0);
20752 if (SWIG_arg_fail(1)) SWIG_fail
;
20754 arg2
= (bool)(SWIG_As_bool(obj1
));
20755 if (SWIG_arg_fail(2)) SWIG_fail
;
20758 arg3
= (double)(SWIG_As_double(obj2
));
20759 if (SWIG_arg_fail(3)) SWIG_fail
;
20762 arg4
= (double)(SWIG_As_double(obj3
));
20763 if (SWIG_arg_fail(4)) SWIG_fail
;
20767 arg5
= (int)(SWIG_As_int(obj4
));
20768 if (SWIG_arg_fail(5)) SWIG_fail
;
20773 arg6
= (int)(SWIG_As_int(obj5
));
20774 if (SWIG_arg_fail(6)) SWIG_fail
;
20778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20779 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
20781 wxPyEndAllowThreads(__tstate
);
20782 if (PyErr_Occurred()) SWIG_fail
;
20784 Py_INCREF(Py_None
); resultobj
= Py_None
;
20791 static PyObject
*_wrap_PyCompositeShape_base_OnBeginDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20792 PyObject
*resultobj
;
20793 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
20796 int arg4
= (int) 0 ;
20797 int arg5
= (int) 0 ;
20798 PyObject
* obj0
= 0 ;
20799 PyObject
* obj1
= 0 ;
20800 PyObject
* obj2
= 0 ;
20801 PyObject
* obj3
= 0 ;
20802 PyObject
* obj4
= 0 ;
20803 char *kwnames
[] = {
20804 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
20807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCompositeShape_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
20808 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCompositeShape
, SWIG_POINTER_EXCEPTION
| 0);
20809 if (SWIG_arg_fail(1)) SWIG_fail
;
20811 arg2
= (double)(SWIG_As_double(obj1
));
20812 if (SWIG_arg_fail(2)) SWIG_fail
;
20815 arg3
= (double)(SWIG_As_double(obj2
));
20816 if (SWIG_arg_fail(3)) SWIG_fail
;
20820 arg4
= (int)(SWIG_As_int(obj3
));
20821 if (SWIG_arg_fail(4)) SWIG_fail
;
20826 arg5
= (int)(SWIG_As_int(obj4
));
20827 if (SWIG_arg_fail(5)) SWIG_fail
;
20831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20832 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
20834 wxPyEndAllowThreads(__tstate
);
20835 if (PyErr_Occurred()) SWIG_fail
;
20837 Py_INCREF(Py_None
); resultobj
= Py_None
;
20844 static PyObject
*_wrap_PyCompositeShape_base_OnEndDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20845 PyObject
*resultobj
;
20846 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
20849 int arg4
= (int) 0 ;
20850 int arg5
= (int) 0 ;
20851 PyObject
* obj0
= 0 ;
20852 PyObject
* obj1
= 0 ;
20853 PyObject
* obj2
= 0 ;
20854 PyObject
* obj3
= 0 ;
20855 PyObject
* obj4
= 0 ;
20856 char *kwnames
[] = {
20857 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
20860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCompositeShape_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
20861 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCompositeShape
, SWIG_POINTER_EXCEPTION
| 0);
20862 if (SWIG_arg_fail(1)) SWIG_fail
;
20864 arg2
= (double)(SWIG_As_double(obj1
));
20865 if (SWIG_arg_fail(2)) SWIG_fail
;
20868 arg3
= (double)(SWIG_As_double(obj2
));
20869 if (SWIG_arg_fail(3)) SWIG_fail
;
20873 arg4
= (int)(SWIG_As_int(obj3
));
20874 if (SWIG_arg_fail(4)) SWIG_fail
;
20879 arg5
= (int)(SWIG_As_int(obj4
));
20880 if (SWIG_arg_fail(5)) SWIG_fail
;
20884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20885 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
20887 wxPyEndAllowThreads(__tstate
);
20888 if (PyErr_Occurred()) SWIG_fail
;
20890 Py_INCREF(Py_None
); resultobj
= Py_None
;
20897 static PyObject
*_wrap_PyCompositeShape_base_OnDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20898 PyObject
*resultobj
;
20899 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
20903 int arg5
= (int) 0 ;
20904 int arg6
= (int) 0 ;
20905 PyObject
* obj0
= 0 ;
20906 PyObject
* obj1
= 0 ;
20907 PyObject
* obj2
= 0 ;
20908 PyObject
* obj3
= 0 ;
20909 PyObject
* obj4
= 0 ;
20910 PyObject
* obj5
= 0 ;
20911 char *kwnames
[] = {
20912 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
20915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyCompositeShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
20916 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCompositeShape
, SWIG_POINTER_EXCEPTION
| 0);
20917 if (SWIG_arg_fail(1)) SWIG_fail
;
20919 arg2
= (bool)(SWIG_As_bool(obj1
));
20920 if (SWIG_arg_fail(2)) SWIG_fail
;
20923 arg3
= (double)(SWIG_As_double(obj2
));
20924 if (SWIG_arg_fail(3)) SWIG_fail
;
20927 arg4
= (double)(SWIG_As_double(obj3
));
20928 if (SWIG_arg_fail(4)) SWIG_fail
;
20932 arg5
= (int)(SWIG_As_int(obj4
));
20933 if (SWIG_arg_fail(5)) SWIG_fail
;
20938 arg6
= (int)(SWIG_As_int(obj5
));
20939 if (SWIG_arg_fail(6)) SWIG_fail
;
20943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20944 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
20946 wxPyEndAllowThreads(__tstate
);
20947 if (PyErr_Occurred()) SWIG_fail
;
20949 Py_INCREF(Py_None
); resultobj
= Py_None
;
20956 static PyObject
*_wrap_PyCompositeShape_base_OnBeginDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20957 PyObject
*resultobj
;
20958 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
20961 int arg4
= (int) 0 ;
20962 int arg5
= (int) 0 ;
20963 PyObject
* obj0
= 0 ;
20964 PyObject
* obj1
= 0 ;
20965 PyObject
* obj2
= 0 ;
20966 PyObject
* obj3
= 0 ;
20967 PyObject
* obj4
= 0 ;
20968 char *kwnames
[] = {
20969 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
20972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCompositeShape_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
20973 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCompositeShape
, SWIG_POINTER_EXCEPTION
| 0);
20974 if (SWIG_arg_fail(1)) SWIG_fail
;
20976 arg2
= (double)(SWIG_As_double(obj1
));
20977 if (SWIG_arg_fail(2)) SWIG_fail
;
20980 arg3
= (double)(SWIG_As_double(obj2
));
20981 if (SWIG_arg_fail(3)) SWIG_fail
;
20985 arg4
= (int)(SWIG_As_int(obj3
));
20986 if (SWIG_arg_fail(4)) SWIG_fail
;
20991 arg5
= (int)(SWIG_As_int(obj4
));
20992 if (SWIG_arg_fail(5)) SWIG_fail
;
20996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20997 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
20999 wxPyEndAllowThreads(__tstate
);
21000 if (PyErr_Occurred()) SWIG_fail
;
21002 Py_INCREF(Py_None
); resultobj
= Py_None
;
21009 static PyObject
*_wrap_PyCompositeShape_base_OnEndDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21010 PyObject
*resultobj
;
21011 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
21014 int arg4
= (int) 0 ;
21015 int arg5
= (int) 0 ;
21016 PyObject
* obj0
= 0 ;
21017 PyObject
* obj1
= 0 ;
21018 PyObject
* obj2
= 0 ;
21019 PyObject
* obj3
= 0 ;
21020 PyObject
* obj4
= 0 ;
21021 char *kwnames
[] = {
21022 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCompositeShape_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21026 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCompositeShape
, SWIG_POINTER_EXCEPTION
| 0);
21027 if (SWIG_arg_fail(1)) SWIG_fail
;
21029 arg2
= (double)(SWIG_As_double(obj1
));
21030 if (SWIG_arg_fail(2)) SWIG_fail
;
21033 arg3
= (double)(SWIG_As_double(obj2
));
21034 if (SWIG_arg_fail(3)) SWIG_fail
;
21038 arg4
= (int)(SWIG_As_int(obj3
));
21039 if (SWIG_arg_fail(4)) SWIG_fail
;
21044 arg5
= (int)(SWIG_As_int(obj4
));
21045 if (SWIG_arg_fail(5)) SWIG_fail
;
21049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21050 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
21052 wxPyEndAllowThreads(__tstate
);
21053 if (PyErr_Occurred()) SWIG_fail
;
21055 Py_INCREF(Py_None
); resultobj
= Py_None
;
21062 static PyObject
*_wrap_PyCompositeShape_base_OnDrawOutline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21063 PyObject
*resultobj
;
21064 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
21070 PyObject
* obj0
= 0 ;
21071 PyObject
* obj1
= 0 ;
21072 PyObject
* obj2
= 0 ;
21073 PyObject
* obj3
= 0 ;
21074 PyObject
* obj4
= 0 ;
21075 PyObject
* obj5
= 0 ;
21076 char *kwnames
[] = {
21077 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
21080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyCompositeShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
21081 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCompositeShape
, SWIG_POINTER_EXCEPTION
| 0);
21082 if (SWIG_arg_fail(1)) SWIG_fail
;
21084 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
21085 if (SWIG_arg_fail(2)) SWIG_fail
;
21086 if (arg2
== NULL
) {
21087 SWIG_null_ref("wxDC");
21089 if (SWIG_arg_fail(2)) SWIG_fail
;
21092 arg3
= (double)(SWIG_As_double(obj2
));
21093 if (SWIG_arg_fail(3)) SWIG_fail
;
21096 arg4
= (double)(SWIG_As_double(obj3
));
21097 if (SWIG_arg_fail(4)) SWIG_fail
;
21100 arg5
= (double)(SWIG_As_double(obj4
));
21101 if (SWIG_arg_fail(5)) SWIG_fail
;
21104 arg6
= (double)(SWIG_As_double(obj5
));
21105 if (SWIG_arg_fail(6)) SWIG_fail
;
21108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21109 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
21111 wxPyEndAllowThreads(__tstate
);
21112 if (PyErr_Occurred()) SWIG_fail
;
21114 Py_INCREF(Py_None
); resultobj
= Py_None
;
21121 static PyObject
*_wrap_PyCompositeShape_base_OnDrawControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21122 PyObject
*resultobj
;
21123 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 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:PyCompositeShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
21132 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCompositeShape
, SWIG_POINTER_EXCEPTION
| 0);
21133 if (SWIG_arg_fail(1)) SWIG_fail
;
21135 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
21136 if (SWIG_arg_fail(2)) SWIG_fail
;
21137 if (arg2
== NULL
) {
21138 SWIG_null_ref("wxDC");
21140 if (SWIG_arg_fail(2)) SWIG_fail
;
21143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21144 (arg1
)->base_OnDrawControlPoints(*arg2
);
21146 wxPyEndAllowThreads(__tstate
);
21147 if (PyErr_Occurred()) SWIG_fail
;
21149 Py_INCREF(Py_None
); resultobj
= Py_None
;
21156 static PyObject
*_wrap_PyCompositeShape_base_OnEraseControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21157 PyObject
*resultobj
;
21158 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
21160 PyObject
* obj0
= 0 ;
21161 PyObject
* obj1
= 0 ;
21162 char *kwnames
[] = {
21163 (char *) "self",(char *) "dc", NULL
21166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCompositeShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
21167 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCompositeShape
, SWIG_POINTER_EXCEPTION
| 0);
21168 if (SWIG_arg_fail(1)) SWIG_fail
;
21170 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
21171 if (SWIG_arg_fail(2)) SWIG_fail
;
21172 if (arg2
== NULL
) {
21173 SWIG_null_ref("wxDC");
21175 if (SWIG_arg_fail(2)) SWIG_fail
;
21178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21179 (arg1
)->base_OnEraseControlPoints(*arg2
);
21181 wxPyEndAllowThreads(__tstate
);
21182 if (PyErr_Occurred()) SWIG_fail
;
21184 Py_INCREF(Py_None
); resultobj
= Py_None
;
21191 static PyObject
*_wrap_PyCompositeShape_base_OnMoveLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21192 PyObject
*resultobj
;
21193 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
21195 bool arg3
= (bool) true ;
21196 PyObject
* obj0
= 0 ;
21197 PyObject
* obj1
= 0 ;
21198 PyObject
* obj2
= 0 ;
21199 char *kwnames
[] = {
21200 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
21203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyCompositeShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21204 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCompositeShape
, SWIG_POINTER_EXCEPTION
| 0);
21205 if (SWIG_arg_fail(1)) SWIG_fail
;
21207 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
21208 if (SWIG_arg_fail(2)) SWIG_fail
;
21209 if (arg2
== NULL
) {
21210 SWIG_null_ref("wxDC");
21212 if (SWIG_arg_fail(2)) SWIG_fail
;
21216 arg3
= (bool)(SWIG_As_bool(obj2
));
21217 if (SWIG_arg_fail(3)) SWIG_fail
;
21221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21222 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
21224 wxPyEndAllowThreads(__tstate
);
21225 if (PyErr_Occurred()) SWIG_fail
;
21227 Py_INCREF(Py_None
); resultobj
= Py_None
;
21234 static PyObject
*_wrap_PyCompositeShape_base_OnSizingDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21235 PyObject
*resultobj
;
21236 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
21237 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
21241 int arg6
= (int) 0 ;
21242 int arg7
= (int) 0 ;
21243 PyObject
* obj0
= 0 ;
21244 PyObject
* obj1
= 0 ;
21245 PyObject
* obj2
= 0 ;
21246 PyObject
* obj3
= 0 ;
21247 PyObject
* obj4
= 0 ;
21248 PyObject
* obj5
= 0 ;
21249 PyObject
* obj6
= 0 ;
21250 char *kwnames
[] = {
21251 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyCompositeShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
21255 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCompositeShape
, SWIG_POINTER_EXCEPTION
| 0);
21256 if (SWIG_arg_fail(1)) SWIG_fail
;
21257 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyControlPoint
, SWIG_POINTER_EXCEPTION
| 0);
21258 if (SWIG_arg_fail(2)) SWIG_fail
;
21260 arg3
= (bool)(SWIG_As_bool(obj2
));
21261 if (SWIG_arg_fail(3)) SWIG_fail
;
21264 arg4
= (double)(SWIG_As_double(obj3
));
21265 if (SWIG_arg_fail(4)) SWIG_fail
;
21268 arg5
= (double)(SWIG_As_double(obj4
));
21269 if (SWIG_arg_fail(5)) SWIG_fail
;
21273 arg6
= (int)(SWIG_As_int(obj5
));
21274 if (SWIG_arg_fail(6)) SWIG_fail
;
21279 arg7
= (int)(SWIG_As_int(obj6
));
21280 if (SWIG_arg_fail(7)) SWIG_fail
;
21284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21285 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
21287 wxPyEndAllowThreads(__tstate
);
21288 if (PyErr_Occurred()) SWIG_fail
;
21290 Py_INCREF(Py_None
); resultobj
= Py_None
;
21297 static PyObject
*_wrap_PyCompositeShape_base_OnSizingBeginDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21298 PyObject
*resultobj
;
21299 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
21300 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
21303 int arg5
= (int) 0 ;
21304 int arg6
= (int) 0 ;
21305 PyObject
* obj0
= 0 ;
21306 PyObject
* obj1
= 0 ;
21307 PyObject
* obj2
= 0 ;
21308 PyObject
* obj3
= 0 ;
21309 PyObject
* obj4
= 0 ;
21310 PyObject
* obj5
= 0 ;
21311 char *kwnames
[] = {
21312 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyCompositeShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
21316 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCompositeShape
, SWIG_POINTER_EXCEPTION
| 0);
21317 if (SWIG_arg_fail(1)) SWIG_fail
;
21318 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyControlPoint
, SWIG_POINTER_EXCEPTION
| 0);
21319 if (SWIG_arg_fail(2)) SWIG_fail
;
21321 arg3
= (double)(SWIG_As_double(obj2
));
21322 if (SWIG_arg_fail(3)) SWIG_fail
;
21325 arg4
= (double)(SWIG_As_double(obj3
));
21326 if (SWIG_arg_fail(4)) SWIG_fail
;
21330 arg5
= (int)(SWIG_As_int(obj4
));
21331 if (SWIG_arg_fail(5)) SWIG_fail
;
21336 arg6
= (int)(SWIG_As_int(obj5
));
21337 if (SWIG_arg_fail(6)) SWIG_fail
;
21341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21342 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
21344 wxPyEndAllowThreads(__tstate
);
21345 if (PyErr_Occurred()) SWIG_fail
;
21347 Py_INCREF(Py_None
); resultobj
= Py_None
;
21354 static PyObject
*_wrap_PyCompositeShape_base_OnSizingEndDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21355 PyObject
*resultobj
;
21356 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
21357 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
21360 int arg5
= (int) 0 ;
21361 int arg6
= (int) 0 ;
21362 PyObject
* obj0
= 0 ;
21363 PyObject
* obj1
= 0 ;
21364 PyObject
* obj2
= 0 ;
21365 PyObject
* obj3
= 0 ;
21366 PyObject
* obj4
= 0 ;
21367 PyObject
* obj5
= 0 ;
21368 char *kwnames
[] = {
21369 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyCompositeShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
21373 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCompositeShape
, SWIG_POINTER_EXCEPTION
| 0);
21374 if (SWIG_arg_fail(1)) SWIG_fail
;
21375 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyControlPoint
, SWIG_POINTER_EXCEPTION
| 0);
21376 if (SWIG_arg_fail(2)) SWIG_fail
;
21378 arg3
= (double)(SWIG_As_double(obj2
));
21379 if (SWIG_arg_fail(3)) SWIG_fail
;
21382 arg4
= (double)(SWIG_As_double(obj3
));
21383 if (SWIG_arg_fail(4)) SWIG_fail
;
21387 arg5
= (int)(SWIG_As_int(obj4
));
21388 if (SWIG_arg_fail(5)) SWIG_fail
;
21393 arg6
= (int)(SWIG_As_int(obj5
));
21394 if (SWIG_arg_fail(6)) SWIG_fail
;
21398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21399 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
21401 wxPyEndAllowThreads(__tstate
);
21402 if (PyErr_Occurred()) SWIG_fail
;
21404 Py_INCREF(Py_None
); resultobj
= Py_None
;
21411 static PyObject
*_wrap_PyCompositeShape_base_OnBeginSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21412 PyObject
*resultobj
;
21413 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
21416 PyObject
* obj0
= 0 ;
21417 PyObject
* obj1
= 0 ;
21418 PyObject
* obj2
= 0 ;
21419 char *kwnames
[] = {
21420 (char *) "self",(char *) "w",(char *) "h", NULL
21423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyCompositeShape_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21424 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCompositeShape
, SWIG_POINTER_EXCEPTION
| 0);
21425 if (SWIG_arg_fail(1)) SWIG_fail
;
21427 arg2
= (double)(SWIG_As_double(obj1
));
21428 if (SWIG_arg_fail(2)) SWIG_fail
;
21431 arg3
= (double)(SWIG_As_double(obj2
));
21432 if (SWIG_arg_fail(3)) SWIG_fail
;
21435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21436 (arg1
)->base_OnBeginSize(arg2
,arg3
);
21438 wxPyEndAllowThreads(__tstate
);
21439 if (PyErr_Occurred()) SWIG_fail
;
21441 Py_INCREF(Py_None
); resultobj
= Py_None
;
21448 static PyObject
*_wrap_PyCompositeShape_base_OnEndSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21449 PyObject
*resultobj
;
21450 wxPyCompositeShape
*arg1
= (wxPyCompositeShape
*) 0 ;
21453 PyObject
* obj0
= 0 ;
21454 PyObject
* obj1
= 0 ;
21455 PyObject
* obj2
= 0 ;
21456 char *kwnames
[] = {
21457 (char *) "self",(char *) "w",(char *) "h", NULL
21460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyCompositeShape_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21461 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCompositeShape
, SWIG_POINTER_EXCEPTION
| 0);
21462 if (SWIG_arg_fail(1)) SWIG_fail
;
21464 arg2
= (double)(SWIG_As_double(obj1
));
21465 if (SWIG_arg_fail(2)) SWIG_fail
;
21468 arg3
= (double)(SWIG_As_double(obj2
));
21469 if (SWIG_arg_fail(3)) SWIG_fail
;
21472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21473 (arg1
)->base_OnEndSize(arg2
,arg3
);
21475 wxPyEndAllowThreads(__tstate
);
21476 if (PyErr_Occurred()) SWIG_fail
;
21478 Py_INCREF(Py_None
); resultobj
= Py_None
;
21485 static PyObject
* PyCompositeShape_swigregister(PyObject
*, PyObject
*args
) {
21487 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21488 SWIG_TypeClientData(SWIGTYPE_p_wxPyCompositeShape
, obj
);
21490 return Py_BuildValue((char *)"");
21492 static PyObject
*_wrap_new_PyDividedShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21493 PyObject
*resultobj
;
21494 double arg1
= (double) 0.0 ;
21495 double arg2
= (double) 0.0 ;
21496 wxPyDividedShape
*result
;
21497 PyObject
* obj0
= 0 ;
21498 PyObject
* obj1
= 0 ;
21499 char *kwnames
[] = {
21500 (char *) "width",(char *) "height", NULL
21503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyDividedShape",kwnames
,&obj0
,&obj1
)) goto fail
;
21506 arg1
= (double)(SWIG_As_double(obj0
));
21507 if (SWIG_arg_fail(1)) SWIG_fail
;
21512 arg2
= (double)(SWIG_As_double(obj1
));
21513 if (SWIG_arg_fail(2)) SWIG_fail
;
21517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21518 result
= (wxPyDividedShape
*)new wxPyDividedShape(arg1
,arg2
);
21520 wxPyEndAllowThreads(__tstate
);
21521 if (PyErr_Occurred()) SWIG_fail
;
21523 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDividedShape
, 1);
21530 static PyObject
*_wrap_PyDividedShape__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21531 PyObject
*resultobj
;
21532 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
21533 PyObject
*arg2
= (PyObject
*) 0 ;
21534 PyObject
*arg3
= (PyObject
*) 0 ;
21535 PyObject
* obj0
= 0 ;
21536 PyObject
* obj1
= 0 ;
21537 PyObject
* obj2
= 0 ;
21538 char *kwnames
[] = {
21539 (char *) "self",(char *) "self",(char *) "_class", NULL
21542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDividedShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21543 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDividedShape
, SWIG_POINTER_EXCEPTION
| 0);
21544 if (SWIG_arg_fail(1)) SWIG_fail
;
21548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21549 (arg1
)->_setCallbackInfo(arg2
,arg3
);
21551 wxPyEndAllowThreads(__tstate
);
21552 if (PyErr_Occurred()) SWIG_fail
;
21554 Py_INCREF(Py_None
); resultobj
= Py_None
;
21561 static PyObject
*_wrap_PyDividedShape_EditRegions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21562 PyObject
*resultobj
;
21563 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
21564 PyObject
* obj0
= 0 ;
21565 char *kwnames
[] = {
21566 (char *) "self", NULL
21569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDividedShape_EditRegions",kwnames
,&obj0
)) goto fail
;
21570 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDividedShape
, SWIG_POINTER_EXCEPTION
| 0);
21571 if (SWIG_arg_fail(1)) SWIG_fail
;
21573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21574 (arg1
)->EditRegions();
21576 wxPyEndAllowThreads(__tstate
);
21577 if (PyErr_Occurred()) SWIG_fail
;
21579 Py_INCREF(Py_None
); resultobj
= Py_None
;
21586 static PyObject
*_wrap_PyDividedShape_SetRegionSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21587 PyObject
*resultobj
;
21588 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
21589 PyObject
* obj0
= 0 ;
21590 char *kwnames
[] = {
21591 (char *) "self", NULL
21594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDividedShape_SetRegionSizes",kwnames
,&obj0
)) goto fail
;
21595 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDividedShape
, SWIG_POINTER_EXCEPTION
| 0);
21596 if (SWIG_arg_fail(1)) SWIG_fail
;
21598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21599 (arg1
)->SetRegionSizes();
21601 wxPyEndAllowThreads(__tstate
);
21602 if (PyErr_Occurred()) SWIG_fail
;
21604 Py_INCREF(Py_None
); resultobj
= Py_None
;
21611 static PyObject
*_wrap_PyDividedShape_base_OnDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21612 PyObject
*resultobj
;
21613 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
21614 PyObject
* obj0
= 0 ;
21615 char *kwnames
[] = {
21616 (char *) "self", NULL
21619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDividedShape_base_OnDelete",kwnames
,&obj0
)) goto fail
;
21620 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDividedShape
, SWIG_POINTER_EXCEPTION
| 0);
21621 if (SWIG_arg_fail(1)) SWIG_fail
;
21623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21624 (arg1
)->base_OnDelete();
21626 wxPyEndAllowThreads(__tstate
);
21627 if (PyErr_Occurred()) SWIG_fail
;
21629 Py_INCREF(Py_None
); resultobj
= Py_None
;
21636 static PyObject
*_wrap_PyDividedShape_base_OnDraw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21637 PyObject
*resultobj
;
21638 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
21640 PyObject
* obj0
= 0 ;
21641 PyObject
* obj1
= 0 ;
21642 char *kwnames
[] = {
21643 (char *) "self",(char *) "dc", NULL
21646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDividedShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
21647 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDividedShape
, SWIG_POINTER_EXCEPTION
| 0);
21648 if (SWIG_arg_fail(1)) SWIG_fail
;
21650 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
21651 if (SWIG_arg_fail(2)) SWIG_fail
;
21652 if (arg2
== NULL
) {
21653 SWIG_null_ref("wxDC");
21655 if (SWIG_arg_fail(2)) SWIG_fail
;
21658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21659 (arg1
)->base_OnDraw(*arg2
);
21661 wxPyEndAllowThreads(__tstate
);
21662 if (PyErr_Occurred()) SWIG_fail
;
21664 Py_INCREF(Py_None
); resultobj
= Py_None
;
21671 static PyObject
*_wrap_PyDividedShape_base_OnDrawContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21672 PyObject
*resultobj
;
21673 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
21675 PyObject
* obj0
= 0 ;
21676 PyObject
* obj1
= 0 ;
21677 char *kwnames
[] = {
21678 (char *) "self",(char *) "dc", NULL
21681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDividedShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
21682 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDividedShape
, SWIG_POINTER_EXCEPTION
| 0);
21683 if (SWIG_arg_fail(1)) SWIG_fail
;
21685 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
21686 if (SWIG_arg_fail(2)) SWIG_fail
;
21687 if (arg2
== NULL
) {
21688 SWIG_null_ref("wxDC");
21690 if (SWIG_arg_fail(2)) SWIG_fail
;
21693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21694 (arg1
)->base_OnDrawContents(*arg2
);
21696 wxPyEndAllowThreads(__tstate
);
21697 if (PyErr_Occurred()) SWIG_fail
;
21699 Py_INCREF(Py_None
); resultobj
= Py_None
;
21706 static PyObject
*_wrap_PyDividedShape_base_OnDrawBranches(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21707 PyObject
*resultobj
;
21708 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
21710 bool arg3
= (bool) FALSE
;
21711 PyObject
* obj0
= 0 ;
21712 PyObject
* obj1
= 0 ;
21713 PyObject
* obj2
= 0 ;
21714 char *kwnames
[] = {
21715 (char *) "self",(char *) "dc",(char *) "erase", NULL
21718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyDividedShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21719 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDividedShape
, SWIG_POINTER_EXCEPTION
| 0);
21720 if (SWIG_arg_fail(1)) SWIG_fail
;
21722 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
21723 if (SWIG_arg_fail(2)) SWIG_fail
;
21724 if (arg2
== NULL
) {
21725 SWIG_null_ref("wxDC");
21727 if (SWIG_arg_fail(2)) SWIG_fail
;
21731 arg3
= (bool)(SWIG_As_bool(obj2
));
21732 if (SWIG_arg_fail(3)) SWIG_fail
;
21736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21737 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
21739 wxPyEndAllowThreads(__tstate
);
21740 if (PyErr_Occurred()) SWIG_fail
;
21742 Py_INCREF(Py_None
); resultobj
= Py_None
;
21749 static PyObject
*_wrap_PyDividedShape_base_OnMoveLinks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21750 PyObject
*resultobj
;
21751 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
21753 PyObject
* obj0
= 0 ;
21754 PyObject
* obj1
= 0 ;
21755 char *kwnames
[] = {
21756 (char *) "self",(char *) "dc", NULL
21759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDividedShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
21760 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDividedShape
, SWIG_POINTER_EXCEPTION
| 0);
21761 if (SWIG_arg_fail(1)) SWIG_fail
;
21763 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
21764 if (SWIG_arg_fail(2)) SWIG_fail
;
21765 if (arg2
== NULL
) {
21766 SWIG_null_ref("wxDC");
21768 if (SWIG_arg_fail(2)) SWIG_fail
;
21771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21772 (arg1
)->base_OnMoveLinks(*arg2
);
21774 wxPyEndAllowThreads(__tstate
);
21775 if (PyErr_Occurred()) SWIG_fail
;
21777 Py_INCREF(Py_None
); resultobj
= Py_None
;
21784 static PyObject
*_wrap_PyDividedShape_base_OnErase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21785 PyObject
*resultobj
;
21786 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
21788 PyObject
* obj0
= 0 ;
21789 PyObject
* obj1
= 0 ;
21790 char *kwnames
[] = {
21791 (char *) "self",(char *) "dc", NULL
21794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDividedShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
21795 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDividedShape
, SWIG_POINTER_EXCEPTION
| 0);
21796 if (SWIG_arg_fail(1)) SWIG_fail
;
21798 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
21799 if (SWIG_arg_fail(2)) SWIG_fail
;
21800 if (arg2
== NULL
) {
21801 SWIG_null_ref("wxDC");
21803 if (SWIG_arg_fail(2)) SWIG_fail
;
21806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21807 (arg1
)->base_OnErase(*arg2
);
21809 wxPyEndAllowThreads(__tstate
);
21810 if (PyErr_Occurred()) SWIG_fail
;
21812 Py_INCREF(Py_None
); resultobj
= Py_None
;
21819 static PyObject
*_wrap_PyDividedShape_base_OnEraseContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21820 PyObject
*resultobj
;
21821 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
21823 PyObject
* obj0
= 0 ;
21824 PyObject
* obj1
= 0 ;
21825 char *kwnames
[] = {
21826 (char *) "self",(char *) "dc", NULL
21829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDividedShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
21830 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDividedShape
, SWIG_POINTER_EXCEPTION
| 0);
21831 if (SWIG_arg_fail(1)) SWIG_fail
;
21833 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
21834 if (SWIG_arg_fail(2)) SWIG_fail
;
21835 if (arg2
== NULL
) {
21836 SWIG_null_ref("wxDC");
21838 if (SWIG_arg_fail(2)) SWIG_fail
;
21841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21842 (arg1
)->base_OnEraseContents(*arg2
);
21844 wxPyEndAllowThreads(__tstate
);
21845 if (PyErr_Occurred()) SWIG_fail
;
21847 Py_INCREF(Py_None
); resultobj
= Py_None
;
21854 static PyObject
*_wrap_PyDividedShape_base_OnHighlight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21855 PyObject
*resultobj
;
21856 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
21858 PyObject
* obj0
= 0 ;
21859 PyObject
* obj1
= 0 ;
21860 char *kwnames
[] = {
21861 (char *) "self",(char *) "dc", NULL
21864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDividedShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
21865 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDividedShape
, SWIG_POINTER_EXCEPTION
| 0);
21866 if (SWIG_arg_fail(1)) SWIG_fail
;
21868 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
21869 if (SWIG_arg_fail(2)) SWIG_fail
;
21870 if (arg2
== NULL
) {
21871 SWIG_null_ref("wxDC");
21873 if (SWIG_arg_fail(2)) SWIG_fail
;
21876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21877 (arg1
)->base_OnHighlight(*arg2
);
21879 wxPyEndAllowThreads(__tstate
);
21880 if (PyErr_Occurred()) SWIG_fail
;
21882 Py_INCREF(Py_None
); resultobj
= Py_None
;
21889 static PyObject
*_wrap_PyDividedShape_base_OnLeftClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21890 PyObject
*resultobj
;
21891 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
21894 int arg4
= (int) 0 ;
21895 int arg5
= (int) 0 ;
21896 PyObject
* obj0
= 0 ;
21897 PyObject
* obj1
= 0 ;
21898 PyObject
* obj2
= 0 ;
21899 PyObject
* obj3
= 0 ;
21900 PyObject
* obj4
= 0 ;
21901 char *kwnames
[] = {
21902 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDividedShape_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21906 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDividedShape
, SWIG_POINTER_EXCEPTION
| 0);
21907 if (SWIG_arg_fail(1)) SWIG_fail
;
21909 arg2
= (double)(SWIG_As_double(obj1
));
21910 if (SWIG_arg_fail(2)) SWIG_fail
;
21913 arg3
= (double)(SWIG_As_double(obj2
));
21914 if (SWIG_arg_fail(3)) SWIG_fail
;
21918 arg4
= (int)(SWIG_As_int(obj3
));
21919 if (SWIG_arg_fail(4)) SWIG_fail
;
21924 arg5
= (int)(SWIG_As_int(obj4
));
21925 if (SWIG_arg_fail(5)) SWIG_fail
;
21929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21930 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
21932 wxPyEndAllowThreads(__tstate
);
21933 if (PyErr_Occurred()) SWIG_fail
;
21935 Py_INCREF(Py_None
); resultobj
= Py_None
;
21942 static PyObject
*_wrap_PyDividedShape_base_OnLeftDoubleClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21943 PyObject
*resultobj
;
21944 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
21947 int arg4
= (int) 0 ;
21948 int arg5
= (int) 0 ;
21949 PyObject
* obj0
= 0 ;
21950 PyObject
* obj1
= 0 ;
21951 PyObject
* obj2
= 0 ;
21952 PyObject
* obj3
= 0 ;
21953 PyObject
* obj4
= 0 ;
21954 char *kwnames
[] = {
21955 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDividedShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21959 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDividedShape
, SWIG_POINTER_EXCEPTION
| 0);
21960 if (SWIG_arg_fail(1)) SWIG_fail
;
21962 arg2
= (double)(SWIG_As_double(obj1
));
21963 if (SWIG_arg_fail(2)) SWIG_fail
;
21966 arg3
= (double)(SWIG_As_double(obj2
));
21967 if (SWIG_arg_fail(3)) SWIG_fail
;
21971 arg4
= (int)(SWIG_As_int(obj3
));
21972 if (SWIG_arg_fail(4)) SWIG_fail
;
21977 arg5
= (int)(SWIG_As_int(obj4
));
21978 if (SWIG_arg_fail(5)) SWIG_fail
;
21982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21983 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
21985 wxPyEndAllowThreads(__tstate
);
21986 if (PyErr_Occurred()) SWIG_fail
;
21988 Py_INCREF(Py_None
); resultobj
= Py_None
;
21995 static PyObject
*_wrap_PyDividedShape_base_OnRightClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21996 PyObject
*resultobj
;
21997 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
22000 int arg4
= (int) 0 ;
22001 int arg5
= (int) 0 ;
22002 PyObject
* obj0
= 0 ;
22003 PyObject
* obj1
= 0 ;
22004 PyObject
* obj2
= 0 ;
22005 PyObject
* obj3
= 0 ;
22006 PyObject
* obj4
= 0 ;
22007 char *kwnames
[] = {
22008 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDividedShape_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
22012 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDividedShape
, SWIG_POINTER_EXCEPTION
| 0);
22013 if (SWIG_arg_fail(1)) SWIG_fail
;
22015 arg2
= (double)(SWIG_As_double(obj1
));
22016 if (SWIG_arg_fail(2)) SWIG_fail
;
22019 arg3
= (double)(SWIG_As_double(obj2
));
22020 if (SWIG_arg_fail(3)) SWIG_fail
;
22024 arg4
= (int)(SWIG_As_int(obj3
));
22025 if (SWIG_arg_fail(4)) SWIG_fail
;
22030 arg5
= (int)(SWIG_As_int(obj4
));
22031 if (SWIG_arg_fail(5)) SWIG_fail
;
22035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22036 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
22038 wxPyEndAllowThreads(__tstate
);
22039 if (PyErr_Occurred()) SWIG_fail
;
22041 Py_INCREF(Py_None
); resultobj
= Py_None
;
22048 static PyObject
*_wrap_PyDividedShape_base_OnSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22049 PyObject
*resultobj
;
22050 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
22053 PyObject
* obj0
= 0 ;
22054 PyObject
* obj1
= 0 ;
22055 PyObject
* obj2
= 0 ;
22056 char *kwnames
[] = {
22057 (char *) "self",(char *) "x",(char *) "y", NULL
22060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDividedShape_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22061 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDividedShape
, SWIG_POINTER_EXCEPTION
| 0);
22062 if (SWIG_arg_fail(1)) SWIG_fail
;
22064 arg2
= (double)(SWIG_As_double(obj1
));
22065 if (SWIG_arg_fail(2)) SWIG_fail
;
22068 arg3
= (double)(SWIG_As_double(obj2
));
22069 if (SWIG_arg_fail(3)) SWIG_fail
;
22072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22073 (arg1
)->base_OnSize(arg2
,arg3
);
22075 wxPyEndAllowThreads(__tstate
);
22076 if (PyErr_Occurred()) SWIG_fail
;
22078 Py_INCREF(Py_None
); resultobj
= Py_None
;
22085 static PyObject
*_wrap_PyDividedShape_base_OnMovePre(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22086 PyObject
*resultobj
;
22087 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
22093 bool arg7
= (bool) true ;
22095 PyObject
* obj0
= 0 ;
22096 PyObject
* obj1
= 0 ;
22097 PyObject
* obj2
= 0 ;
22098 PyObject
* obj3
= 0 ;
22099 PyObject
* obj4
= 0 ;
22100 PyObject
* obj5
= 0 ;
22101 PyObject
* obj6
= 0 ;
22102 char *kwnames
[] = {
22103 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
22106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyDividedShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22107 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDividedShape
, SWIG_POINTER_EXCEPTION
| 0);
22108 if (SWIG_arg_fail(1)) SWIG_fail
;
22110 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
22111 if (SWIG_arg_fail(2)) SWIG_fail
;
22112 if (arg2
== NULL
) {
22113 SWIG_null_ref("wxDC");
22115 if (SWIG_arg_fail(2)) SWIG_fail
;
22118 arg3
= (double)(SWIG_As_double(obj2
));
22119 if (SWIG_arg_fail(3)) SWIG_fail
;
22122 arg4
= (double)(SWIG_As_double(obj3
));
22123 if (SWIG_arg_fail(4)) SWIG_fail
;
22126 arg5
= (double)(SWIG_As_double(obj4
));
22127 if (SWIG_arg_fail(5)) SWIG_fail
;
22130 arg6
= (double)(SWIG_As_double(obj5
));
22131 if (SWIG_arg_fail(6)) SWIG_fail
;
22135 arg7
= (bool)(SWIG_As_bool(obj6
));
22136 if (SWIG_arg_fail(7)) SWIG_fail
;
22140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22141 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
22143 wxPyEndAllowThreads(__tstate
);
22144 if (PyErr_Occurred()) SWIG_fail
;
22147 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22155 static PyObject
*_wrap_PyDividedShape_base_OnMovePost(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22156 PyObject
*resultobj
;
22157 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
22163 bool arg7
= (bool) true ;
22164 PyObject
* obj0
= 0 ;
22165 PyObject
* obj1
= 0 ;
22166 PyObject
* obj2
= 0 ;
22167 PyObject
* obj3
= 0 ;
22168 PyObject
* obj4
= 0 ;
22169 PyObject
* obj5
= 0 ;
22170 PyObject
* obj6
= 0 ;
22171 char *kwnames
[] = {
22172 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
22175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyDividedShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22176 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDividedShape
, SWIG_POINTER_EXCEPTION
| 0);
22177 if (SWIG_arg_fail(1)) SWIG_fail
;
22179 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
22180 if (SWIG_arg_fail(2)) SWIG_fail
;
22181 if (arg2
== NULL
) {
22182 SWIG_null_ref("wxDC");
22184 if (SWIG_arg_fail(2)) SWIG_fail
;
22187 arg3
= (double)(SWIG_As_double(obj2
));
22188 if (SWIG_arg_fail(3)) SWIG_fail
;
22191 arg4
= (double)(SWIG_As_double(obj3
));
22192 if (SWIG_arg_fail(4)) SWIG_fail
;
22195 arg5
= (double)(SWIG_As_double(obj4
));
22196 if (SWIG_arg_fail(5)) SWIG_fail
;
22199 arg6
= (double)(SWIG_As_double(obj5
));
22200 if (SWIG_arg_fail(6)) SWIG_fail
;
22204 arg7
= (bool)(SWIG_As_bool(obj6
));
22205 if (SWIG_arg_fail(7)) SWIG_fail
;
22209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22210 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
22212 wxPyEndAllowThreads(__tstate
);
22213 if (PyErr_Occurred()) SWIG_fail
;
22215 Py_INCREF(Py_None
); resultobj
= Py_None
;
22222 static PyObject
*_wrap_PyDividedShape_base_OnDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22223 PyObject
*resultobj
;
22224 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
22228 int arg5
= (int) 0 ;
22229 int arg6
= (int) 0 ;
22230 PyObject
* obj0
= 0 ;
22231 PyObject
* obj1
= 0 ;
22232 PyObject
* obj2
= 0 ;
22233 PyObject
* obj3
= 0 ;
22234 PyObject
* obj4
= 0 ;
22235 PyObject
* obj5
= 0 ;
22236 char *kwnames
[] = {
22237 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyDividedShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
22241 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDividedShape
, SWIG_POINTER_EXCEPTION
| 0);
22242 if (SWIG_arg_fail(1)) SWIG_fail
;
22244 arg2
= (bool)(SWIG_As_bool(obj1
));
22245 if (SWIG_arg_fail(2)) SWIG_fail
;
22248 arg3
= (double)(SWIG_As_double(obj2
));
22249 if (SWIG_arg_fail(3)) SWIG_fail
;
22252 arg4
= (double)(SWIG_As_double(obj3
));
22253 if (SWIG_arg_fail(4)) SWIG_fail
;
22257 arg5
= (int)(SWIG_As_int(obj4
));
22258 if (SWIG_arg_fail(5)) SWIG_fail
;
22263 arg6
= (int)(SWIG_As_int(obj5
));
22264 if (SWIG_arg_fail(6)) SWIG_fail
;
22268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22269 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
22271 wxPyEndAllowThreads(__tstate
);
22272 if (PyErr_Occurred()) SWIG_fail
;
22274 Py_INCREF(Py_None
); resultobj
= Py_None
;
22281 static PyObject
*_wrap_PyDividedShape_base_OnBeginDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22282 PyObject
*resultobj
;
22283 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
22286 int arg4
= (int) 0 ;
22287 int arg5
= (int) 0 ;
22288 PyObject
* obj0
= 0 ;
22289 PyObject
* obj1
= 0 ;
22290 PyObject
* obj2
= 0 ;
22291 PyObject
* obj3
= 0 ;
22292 PyObject
* obj4
= 0 ;
22293 char *kwnames
[] = {
22294 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDividedShape_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
22298 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDividedShape
, SWIG_POINTER_EXCEPTION
| 0);
22299 if (SWIG_arg_fail(1)) SWIG_fail
;
22301 arg2
= (double)(SWIG_As_double(obj1
));
22302 if (SWIG_arg_fail(2)) SWIG_fail
;
22305 arg3
= (double)(SWIG_As_double(obj2
));
22306 if (SWIG_arg_fail(3)) SWIG_fail
;
22310 arg4
= (int)(SWIG_As_int(obj3
));
22311 if (SWIG_arg_fail(4)) SWIG_fail
;
22316 arg5
= (int)(SWIG_As_int(obj4
));
22317 if (SWIG_arg_fail(5)) SWIG_fail
;
22321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22322 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
22324 wxPyEndAllowThreads(__tstate
);
22325 if (PyErr_Occurred()) SWIG_fail
;
22327 Py_INCREF(Py_None
); resultobj
= Py_None
;
22334 static PyObject
*_wrap_PyDividedShape_base_OnEndDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22335 PyObject
*resultobj
;
22336 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
22339 int arg4
= (int) 0 ;
22340 int arg5
= (int) 0 ;
22341 PyObject
* obj0
= 0 ;
22342 PyObject
* obj1
= 0 ;
22343 PyObject
* obj2
= 0 ;
22344 PyObject
* obj3
= 0 ;
22345 PyObject
* obj4
= 0 ;
22346 char *kwnames
[] = {
22347 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDividedShape_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
22351 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDividedShape
, SWIG_POINTER_EXCEPTION
| 0);
22352 if (SWIG_arg_fail(1)) SWIG_fail
;
22354 arg2
= (double)(SWIG_As_double(obj1
));
22355 if (SWIG_arg_fail(2)) SWIG_fail
;
22358 arg3
= (double)(SWIG_As_double(obj2
));
22359 if (SWIG_arg_fail(3)) SWIG_fail
;
22363 arg4
= (int)(SWIG_As_int(obj3
));
22364 if (SWIG_arg_fail(4)) SWIG_fail
;
22369 arg5
= (int)(SWIG_As_int(obj4
));
22370 if (SWIG_arg_fail(5)) SWIG_fail
;
22374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22375 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
22377 wxPyEndAllowThreads(__tstate
);
22378 if (PyErr_Occurred()) SWIG_fail
;
22380 Py_INCREF(Py_None
); resultobj
= Py_None
;
22387 static PyObject
*_wrap_PyDividedShape_base_OnDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22388 PyObject
*resultobj
;
22389 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
22393 int arg5
= (int) 0 ;
22394 int arg6
= (int) 0 ;
22395 PyObject
* obj0
= 0 ;
22396 PyObject
* obj1
= 0 ;
22397 PyObject
* obj2
= 0 ;
22398 PyObject
* obj3
= 0 ;
22399 PyObject
* obj4
= 0 ;
22400 PyObject
* obj5
= 0 ;
22401 char *kwnames
[] = {
22402 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyDividedShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
22406 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDividedShape
, SWIG_POINTER_EXCEPTION
| 0);
22407 if (SWIG_arg_fail(1)) SWIG_fail
;
22409 arg2
= (bool)(SWIG_As_bool(obj1
));
22410 if (SWIG_arg_fail(2)) SWIG_fail
;
22413 arg3
= (double)(SWIG_As_double(obj2
));
22414 if (SWIG_arg_fail(3)) SWIG_fail
;
22417 arg4
= (double)(SWIG_As_double(obj3
));
22418 if (SWIG_arg_fail(4)) SWIG_fail
;
22422 arg5
= (int)(SWIG_As_int(obj4
));
22423 if (SWIG_arg_fail(5)) SWIG_fail
;
22428 arg6
= (int)(SWIG_As_int(obj5
));
22429 if (SWIG_arg_fail(6)) SWIG_fail
;
22433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22434 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
22436 wxPyEndAllowThreads(__tstate
);
22437 if (PyErr_Occurred()) SWIG_fail
;
22439 Py_INCREF(Py_None
); resultobj
= Py_None
;
22446 static PyObject
*_wrap_PyDividedShape_base_OnBeginDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22447 PyObject
*resultobj
;
22448 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
22451 int arg4
= (int) 0 ;
22452 int arg5
= (int) 0 ;
22453 PyObject
* obj0
= 0 ;
22454 PyObject
* obj1
= 0 ;
22455 PyObject
* obj2
= 0 ;
22456 PyObject
* obj3
= 0 ;
22457 PyObject
* obj4
= 0 ;
22458 char *kwnames
[] = {
22459 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDividedShape_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
22463 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDividedShape
, SWIG_POINTER_EXCEPTION
| 0);
22464 if (SWIG_arg_fail(1)) SWIG_fail
;
22466 arg2
= (double)(SWIG_As_double(obj1
));
22467 if (SWIG_arg_fail(2)) SWIG_fail
;
22470 arg3
= (double)(SWIG_As_double(obj2
));
22471 if (SWIG_arg_fail(3)) SWIG_fail
;
22475 arg4
= (int)(SWIG_As_int(obj3
));
22476 if (SWIG_arg_fail(4)) SWIG_fail
;
22481 arg5
= (int)(SWIG_As_int(obj4
));
22482 if (SWIG_arg_fail(5)) SWIG_fail
;
22486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22487 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
22489 wxPyEndAllowThreads(__tstate
);
22490 if (PyErr_Occurred()) SWIG_fail
;
22492 Py_INCREF(Py_None
); resultobj
= Py_None
;
22499 static PyObject
*_wrap_PyDividedShape_base_OnEndDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22500 PyObject
*resultobj
;
22501 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
22504 int arg4
= (int) 0 ;
22505 int arg5
= (int) 0 ;
22506 PyObject
* obj0
= 0 ;
22507 PyObject
* obj1
= 0 ;
22508 PyObject
* obj2
= 0 ;
22509 PyObject
* obj3
= 0 ;
22510 PyObject
* obj4
= 0 ;
22511 char *kwnames
[] = {
22512 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDividedShape_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
22516 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDividedShape
, SWIG_POINTER_EXCEPTION
| 0);
22517 if (SWIG_arg_fail(1)) SWIG_fail
;
22519 arg2
= (double)(SWIG_As_double(obj1
));
22520 if (SWIG_arg_fail(2)) SWIG_fail
;
22523 arg3
= (double)(SWIG_As_double(obj2
));
22524 if (SWIG_arg_fail(3)) SWIG_fail
;
22528 arg4
= (int)(SWIG_As_int(obj3
));
22529 if (SWIG_arg_fail(4)) SWIG_fail
;
22534 arg5
= (int)(SWIG_As_int(obj4
));
22535 if (SWIG_arg_fail(5)) SWIG_fail
;
22539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22540 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
22542 wxPyEndAllowThreads(__tstate
);
22543 if (PyErr_Occurred()) SWIG_fail
;
22545 Py_INCREF(Py_None
); resultobj
= Py_None
;
22552 static PyObject
*_wrap_PyDividedShape_base_OnDrawOutline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22553 PyObject
*resultobj
;
22554 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
22560 PyObject
* obj0
= 0 ;
22561 PyObject
* obj1
= 0 ;
22562 PyObject
* obj2
= 0 ;
22563 PyObject
* obj3
= 0 ;
22564 PyObject
* obj4
= 0 ;
22565 PyObject
* obj5
= 0 ;
22566 char *kwnames
[] = {
22567 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
22570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyDividedShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
22571 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDividedShape
, SWIG_POINTER_EXCEPTION
| 0);
22572 if (SWIG_arg_fail(1)) SWIG_fail
;
22574 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
22575 if (SWIG_arg_fail(2)) SWIG_fail
;
22576 if (arg2
== NULL
) {
22577 SWIG_null_ref("wxDC");
22579 if (SWIG_arg_fail(2)) SWIG_fail
;
22582 arg3
= (double)(SWIG_As_double(obj2
));
22583 if (SWIG_arg_fail(3)) SWIG_fail
;
22586 arg4
= (double)(SWIG_As_double(obj3
));
22587 if (SWIG_arg_fail(4)) SWIG_fail
;
22590 arg5
= (double)(SWIG_As_double(obj4
));
22591 if (SWIG_arg_fail(5)) SWIG_fail
;
22594 arg6
= (double)(SWIG_As_double(obj5
));
22595 if (SWIG_arg_fail(6)) SWIG_fail
;
22598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22599 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
22601 wxPyEndAllowThreads(__tstate
);
22602 if (PyErr_Occurred()) SWIG_fail
;
22604 Py_INCREF(Py_None
); resultobj
= Py_None
;
22611 static PyObject
*_wrap_PyDividedShape_base_OnDrawControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22612 PyObject
*resultobj
;
22613 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
22615 PyObject
* obj0
= 0 ;
22616 PyObject
* obj1
= 0 ;
22617 char *kwnames
[] = {
22618 (char *) "self",(char *) "dc", NULL
22621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDividedShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
22622 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDividedShape
, SWIG_POINTER_EXCEPTION
| 0);
22623 if (SWIG_arg_fail(1)) SWIG_fail
;
22625 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
22626 if (SWIG_arg_fail(2)) SWIG_fail
;
22627 if (arg2
== NULL
) {
22628 SWIG_null_ref("wxDC");
22630 if (SWIG_arg_fail(2)) SWIG_fail
;
22633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22634 (arg1
)->base_OnDrawControlPoints(*arg2
);
22636 wxPyEndAllowThreads(__tstate
);
22637 if (PyErr_Occurred()) SWIG_fail
;
22639 Py_INCREF(Py_None
); resultobj
= Py_None
;
22646 static PyObject
*_wrap_PyDividedShape_base_OnEraseControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22647 PyObject
*resultobj
;
22648 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
22650 PyObject
* obj0
= 0 ;
22651 PyObject
* obj1
= 0 ;
22652 char *kwnames
[] = {
22653 (char *) "self",(char *) "dc", NULL
22656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDividedShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
22657 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDividedShape
, SWIG_POINTER_EXCEPTION
| 0);
22658 if (SWIG_arg_fail(1)) SWIG_fail
;
22660 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
22661 if (SWIG_arg_fail(2)) SWIG_fail
;
22662 if (arg2
== NULL
) {
22663 SWIG_null_ref("wxDC");
22665 if (SWIG_arg_fail(2)) SWIG_fail
;
22668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22669 (arg1
)->base_OnEraseControlPoints(*arg2
);
22671 wxPyEndAllowThreads(__tstate
);
22672 if (PyErr_Occurred()) SWIG_fail
;
22674 Py_INCREF(Py_None
); resultobj
= Py_None
;
22681 static PyObject
*_wrap_PyDividedShape_base_OnMoveLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22682 PyObject
*resultobj
;
22683 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
22685 bool arg3
= (bool) true ;
22686 PyObject
* obj0
= 0 ;
22687 PyObject
* obj1
= 0 ;
22688 PyObject
* obj2
= 0 ;
22689 char *kwnames
[] = {
22690 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
22693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyDividedShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22694 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDividedShape
, SWIG_POINTER_EXCEPTION
| 0);
22695 if (SWIG_arg_fail(1)) SWIG_fail
;
22697 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
22698 if (SWIG_arg_fail(2)) SWIG_fail
;
22699 if (arg2
== NULL
) {
22700 SWIG_null_ref("wxDC");
22702 if (SWIG_arg_fail(2)) SWIG_fail
;
22706 arg3
= (bool)(SWIG_As_bool(obj2
));
22707 if (SWIG_arg_fail(3)) SWIG_fail
;
22711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22712 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
22714 wxPyEndAllowThreads(__tstate
);
22715 if (PyErr_Occurred()) SWIG_fail
;
22717 Py_INCREF(Py_None
); resultobj
= Py_None
;
22724 static PyObject
*_wrap_PyDividedShape_base_OnSizingDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22725 PyObject
*resultobj
;
22726 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
22727 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
22731 int arg6
= (int) 0 ;
22732 int arg7
= (int) 0 ;
22733 PyObject
* obj0
= 0 ;
22734 PyObject
* obj1
= 0 ;
22735 PyObject
* obj2
= 0 ;
22736 PyObject
* obj3
= 0 ;
22737 PyObject
* obj4
= 0 ;
22738 PyObject
* obj5
= 0 ;
22739 PyObject
* obj6
= 0 ;
22740 char *kwnames
[] = {
22741 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyDividedShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22745 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDividedShape
, SWIG_POINTER_EXCEPTION
| 0);
22746 if (SWIG_arg_fail(1)) SWIG_fail
;
22747 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyControlPoint
, SWIG_POINTER_EXCEPTION
| 0);
22748 if (SWIG_arg_fail(2)) SWIG_fail
;
22750 arg3
= (bool)(SWIG_As_bool(obj2
));
22751 if (SWIG_arg_fail(3)) SWIG_fail
;
22754 arg4
= (double)(SWIG_As_double(obj3
));
22755 if (SWIG_arg_fail(4)) SWIG_fail
;
22758 arg5
= (double)(SWIG_As_double(obj4
));
22759 if (SWIG_arg_fail(5)) SWIG_fail
;
22763 arg6
= (int)(SWIG_As_int(obj5
));
22764 if (SWIG_arg_fail(6)) SWIG_fail
;
22769 arg7
= (int)(SWIG_As_int(obj6
));
22770 if (SWIG_arg_fail(7)) SWIG_fail
;
22774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22775 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
22777 wxPyEndAllowThreads(__tstate
);
22778 if (PyErr_Occurred()) SWIG_fail
;
22780 Py_INCREF(Py_None
); resultobj
= Py_None
;
22787 static PyObject
*_wrap_PyDividedShape_base_OnSizingBeginDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22788 PyObject
*resultobj
;
22789 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
22790 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
22793 int arg5
= (int) 0 ;
22794 int arg6
= (int) 0 ;
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 char *kwnames
[] = {
22802 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyDividedShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
22806 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDividedShape
, SWIG_POINTER_EXCEPTION
| 0);
22807 if (SWIG_arg_fail(1)) SWIG_fail
;
22808 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyControlPoint
, SWIG_POINTER_EXCEPTION
| 0);
22809 if (SWIG_arg_fail(2)) SWIG_fail
;
22811 arg3
= (double)(SWIG_As_double(obj2
));
22812 if (SWIG_arg_fail(3)) SWIG_fail
;
22815 arg4
= (double)(SWIG_As_double(obj3
));
22816 if (SWIG_arg_fail(4)) SWIG_fail
;
22820 arg5
= (int)(SWIG_As_int(obj4
));
22821 if (SWIG_arg_fail(5)) SWIG_fail
;
22826 arg6
= (int)(SWIG_As_int(obj5
));
22827 if (SWIG_arg_fail(6)) SWIG_fail
;
22831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22832 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
22834 wxPyEndAllowThreads(__tstate
);
22835 if (PyErr_Occurred()) SWIG_fail
;
22837 Py_INCREF(Py_None
); resultobj
= Py_None
;
22844 static PyObject
*_wrap_PyDividedShape_base_OnSizingEndDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22845 PyObject
*resultobj
;
22846 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
22847 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
22850 int arg5
= (int) 0 ;
22851 int arg6
= (int) 0 ;
22852 PyObject
* obj0
= 0 ;
22853 PyObject
* obj1
= 0 ;
22854 PyObject
* obj2
= 0 ;
22855 PyObject
* obj3
= 0 ;
22856 PyObject
* obj4
= 0 ;
22857 PyObject
* obj5
= 0 ;
22858 char *kwnames
[] = {
22859 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyDividedShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
22863 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDividedShape
, SWIG_POINTER_EXCEPTION
| 0);
22864 if (SWIG_arg_fail(1)) SWIG_fail
;
22865 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyControlPoint
, SWIG_POINTER_EXCEPTION
| 0);
22866 if (SWIG_arg_fail(2)) SWIG_fail
;
22868 arg3
= (double)(SWIG_As_double(obj2
));
22869 if (SWIG_arg_fail(3)) SWIG_fail
;
22872 arg4
= (double)(SWIG_As_double(obj3
));
22873 if (SWIG_arg_fail(4)) SWIG_fail
;
22877 arg5
= (int)(SWIG_As_int(obj4
));
22878 if (SWIG_arg_fail(5)) SWIG_fail
;
22883 arg6
= (int)(SWIG_As_int(obj5
));
22884 if (SWIG_arg_fail(6)) SWIG_fail
;
22888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22889 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
22891 wxPyEndAllowThreads(__tstate
);
22892 if (PyErr_Occurred()) SWIG_fail
;
22894 Py_INCREF(Py_None
); resultobj
= Py_None
;
22901 static PyObject
*_wrap_PyDividedShape_base_OnBeginSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22902 PyObject
*resultobj
;
22903 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
22906 PyObject
* obj0
= 0 ;
22907 PyObject
* obj1
= 0 ;
22908 PyObject
* obj2
= 0 ;
22909 char *kwnames
[] = {
22910 (char *) "self",(char *) "w",(char *) "h", NULL
22913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDividedShape_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22914 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDividedShape
, SWIG_POINTER_EXCEPTION
| 0);
22915 if (SWIG_arg_fail(1)) SWIG_fail
;
22917 arg2
= (double)(SWIG_As_double(obj1
));
22918 if (SWIG_arg_fail(2)) SWIG_fail
;
22921 arg3
= (double)(SWIG_As_double(obj2
));
22922 if (SWIG_arg_fail(3)) SWIG_fail
;
22925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22926 (arg1
)->base_OnBeginSize(arg2
,arg3
);
22928 wxPyEndAllowThreads(__tstate
);
22929 if (PyErr_Occurred()) SWIG_fail
;
22931 Py_INCREF(Py_None
); resultobj
= Py_None
;
22938 static PyObject
*_wrap_PyDividedShape_base_OnEndSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22939 PyObject
*resultobj
;
22940 wxPyDividedShape
*arg1
= (wxPyDividedShape
*) 0 ;
22943 PyObject
* obj0
= 0 ;
22944 PyObject
* obj1
= 0 ;
22945 PyObject
* obj2
= 0 ;
22946 char *kwnames
[] = {
22947 (char *) "self",(char *) "w",(char *) "h", NULL
22950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDividedShape_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22951 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDividedShape
, SWIG_POINTER_EXCEPTION
| 0);
22952 if (SWIG_arg_fail(1)) SWIG_fail
;
22954 arg2
= (double)(SWIG_As_double(obj1
));
22955 if (SWIG_arg_fail(2)) SWIG_fail
;
22958 arg3
= (double)(SWIG_As_double(obj2
));
22959 if (SWIG_arg_fail(3)) SWIG_fail
;
22962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22963 (arg1
)->base_OnEndSize(arg2
,arg3
);
22965 wxPyEndAllowThreads(__tstate
);
22966 if (PyErr_Occurred()) SWIG_fail
;
22968 Py_INCREF(Py_None
); resultobj
= Py_None
;
22975 static PyObject
* PyDividedShape_swigregister(PyObject
*, PyObject
*args
) {
22977 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22978 SWIG_TypeClientData(SWIGTYPE_p_wxPyDividedShape
, obj
);
22980 return Py_BuildValue((char *)"");
22982 static PyObject
*_wrap_new_PyDivisionShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22983 PyObject
*resultobj
;
22984 wxPyDivisionShape
*result
;
22985 char *kwnames
[] = {
22989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyDivisionShape",kwnames
)) goto fail
;
22991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22992 result
= (wxPyDivisionShape
*)new wxPyDivisionShape();
22994 wxPyEndAllowThreads(__tstate
);
22995 if (PyErr_Occurred()) SWIG_fail
;
22997 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDivisionShape
, 1);
23004 static PyObject
*_wrap_PyDivisionShape__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23005 PyObject
*resultobj
;
23006 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
23007 PyObject
*arg2
= (PyObject
*) 0 ;
23008 PyObject
*arg3
= (PyObject
*) 0 ;
23009 PyObject
* obj0
= 0 ;
23010 PyObject
* obj1
= 0 ;
23011 PyObject
* obj2
= 0 ;
23012 char *kwnames
[] = {
23013 (char *) "self",(char *) "self",(char *) "_class", NULL
23016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDivisionShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23017 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDivisionShape
, SWIG_POINTER_EXCEPTION
| 0);
23018 if (SWIG_arg_fail(1)) SWIG_fail
;
23022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23023 (arg1
)->_setCallbackInfo(arg2
,arg3
);
23025 wxPyEndAllowThreads(__tstate
);
23026 if (PyErr_Occurred()) SWIG_fail
;
23028 Py_INCREF(Py_None
); resultobj
= Py_None
;
23035 static PyObject
*_wrap_PyDivisionShape_AdjustBottom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23036 PyObject
*resultobj
;
23037 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
23040 PyObject
* obj0
= 0 ;
23041 PyObject
* obj1
= 0 ;
23042 PyObject
* obj2
= 0 ;
23043 char *kwnames
[] = {
23044 (char *) "self",(char *) "bottom",(char *) "test", NULL
23047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDivisionShape_AdjustBottom",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23048 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDivisionShape
, SWIG_POINTER_EXCEPTION
| 0);
23049 if (SWIG_arg_fail(1)) SWIG_fail
;
23051 arg2
= (double)(SWIG_As_double(obj1
));
23052 if (SWIG_arg_fail(2)) SWIG_fail
;
23055 arg3
= (bool)(SWIG_As_bool(obj2
));
23056 if (SWIG_arg_fail(3)) SWIG_fail
;
23059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23060 (arg1
)->AdjustBottom(arg2
,arg3
);
23062 wxPyEndAllowThreads(__tstate
);
23063 if (PyErr_Occurred()) SWIG_fail
;
23065 Py_INCREF(Py_None
); resultobj
= Py_None
;
23072 static PyObject
*_wrap_PyDivisionShape_AdjustLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23073 PyObject
*resultobj
;
23074 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
23077 PyObject
* obj0
= 0 ;
23078 PyObject
* obj1
= 0 ;
23079 PyObject
* obj2
= 0 ;
23080 char *kwnames
[] = {
23081 (char *) "self",(char *) "left",(char *) "test", NULL
23084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDivisionShape_AdjustLeft",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23085 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDivisionShape
, SWIG_POINTER_EXCEPTION
| 0);
23086 if (SWIG_arg_fail(1)) SWIG_fail
;
23088 arg2
= (double)(SWIG_As_double(obj1
));
23089 if (SWIG_arg_fail(2)) SWIG_fail
;
23092 arg3
= (bool)(SWIG_As_bool(obj2
));
23093 if (SWIG_arg_fail(3)) SWIG_fail
;
23096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23097 (arg1
)->AdjustLeft(arg2
,arg3
);
23099 wxPyEndAllowThreads(__tstate
);
23100 if (PyErr_Occurred()) SWIG_fail
;
23102 Py_INCREF(Py_None
); resultobj
= Py_None
;
23109 static PyObject
*_wrap_PyDivisionShape_AdjustRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23110 PyObject
*resultobj
;
23111 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
23114 PyObject
* obj0
= 0 ;
23115 PyObject
* obj1
= 0 ;
23116 PyObject
* obj2
= 0 ;
23117 char *kwnames
[] = {
23118 (char *) "self",(char *) "right",(char *) "test", NULL
23121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDivisionShape_AdjustRight",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23122 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDivisionShape
, SWIG_POINTER_EXCEPTION
| 0);
23123 if (SWIG_arg_fail(1)) SWIG_fail
;
23125 arg2
= (double)(SWIG_As_double(obj1
));
23126 if (SWIG_arg_fail(2)) SWIG_fail
;
23129 arg3
= (bool)(SWIG_As_bool(obj2
));
23130 if (SWIG_arg_fail(3)) SWIG_fail
;
23133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23134 (arg1
)->AdjustRight(arg2
,arg3
);
23136 wxPyEndAllowThreads(__tstate
);
23137 if (PyErr_Occurred()) SWIG_fail
;
23139 Py_INCREF(Py_None
); resultobj
= Py_None
;
23146 static PyObject
*_wrap_PyDivisionShape_AdjustTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23147 PyObject
*resultobj
;
23148 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
23151 PyObject
* obj0
= 0 ;
23152 PyObject
* obj1
= 0 ;
23153 PyObject
* obj2
= 0 ;
23154 char *kwnames
[] = {
23155 (char *) "self",(char *) "top",(char *) "test", NULL
23158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDivisionShape_AdjustTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23159 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDivisionShape
, SWIG_POINTER_EXCEPTION
| 0);
23160 if (SWIG_arg_fail(1)) SWIG_fail
;
23162 arg2
= (double)(SWIG_As_double(obj1
));
23163 if (SWIG_arg_fail(2)) SWIG_fail
;
23166 arg3
= (bool)(SWIG_As_bool(obj2
));
23167 if (SWIG_arg_fail(3)) SWIG_fail
;
23170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23171 (arg1
)->AdjustTop(arg2
,arg3
);
23173 wxPyEndAllowThreads(__tstate
);
23174 if (PyErr_Occurred()) SWIG_fail
;
23176 Py_INCREF(Py_None
); resultobj
= Py_None
;
23183 static PyObject
*_wrap_PyDivisionShape_Divide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23184 PyObject
*resultobj
;
23185 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
23187 PyObject
* obj0
= 0 ;
23188 PyObject
* obj1
= 0 ;
23189 char *kwnames
[] = {
23190 (char *) "self",(char *) "direction", NULL
23193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_Divide",kwnames
,&obj0
,&obj1
)) goto fail
;
23194 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDivisionShape
, SWIG_POINTER_EXCEPTION
| 0);
23195 if (SWIG_arg_fail(1)) SWIG_fail
;
23197 arg2
= (int)(SWIG_As_int(obj1
));
23198 if (SWIG_arg_fail(2)) SWIG_fail
;
23201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23202 (arg1
)->Divide(arg2
);
23204 wxPyEndAllowThreads(__tstate
);
23205 if (PyErr_Occurred()) SWIG_fail
;
23207 Py_INCREF(Py_None
); resultobj
= Py_None
;
23214 static PyObject
*_wrap_PyDivisionShape_EditEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23215 PyObject
*resultobj
;
23216 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
23218 PyObject
* obj0
= 0 ;
23219 PyObject
* obj1
= 0 ;
23220 char *kwnames
[] = {
23221 (char *) "self",(char *) "side", NULL
23224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_EditEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
23225 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDivisionShape
, SWIG_POINTER_EXCEPTION
| 0);
23226 if (SWIG_arg_fail(1)) SWIG_fail
;
23228 arg2
= (int)(SWIG_As_int(obj1
));
23229 if (SWIG_arg_fail(2)) SWIG_fail
;
23232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23233 (arg1
)->EditEdge(arg2
);
23235 wxPyEndAllowThreads(__tstate
);
23236 if (PyErr_Occurred()) SWIG_fail
;
23238 Py_INCREF(Py_None
); resultobj
= Py_None
;
23245 static PyObject
*_wrap_PyDivisionShape_GetBottomSide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23246 PyObject
*resultobj
;
23247 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
23248 wxPyDivisionShape
*result
;
23249 PyObject
* obj0
= 0 ;
23250 char *kwnames
[] = {
23251 (char *) "self", NULL
23254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDivisionShape_GetBottomSide",kwnames
,&obj0
)) goto fail
;
23255 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDivisionShape
, SWIG_POINTER_EXCEPTION
| 0);
23256 if (SWIG_arg_fail(1)) SWIG_fail
;
23258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23259 result
= (wxPyDivisionShape
*)(arg1
)->GetBottomSide();
23261 wxPyEndAllowThreads(__tstate
);
23262 if (PyErr_Occurred()) SWIG_fail
;
23265 resultobj
= wxPyMake_wxShapeEvtHandler(result
, 0);
23273 static PyObject
*_wrap_PyDivisionShape_GetHandleSide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23274 PyObject
*resultobj
;
23275 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
23277 PyObject
* obj0
= 0 ;
23278 char *kwnames
[] = {
23279 (char *) "self", NULL
23282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDivisionShape_GetHandleSide",kwnames
,&obj0
)) goto fail
;
23283 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDivisionShape
, SWIG_POINTER_EXCEPTION
| 0);
23284 if (SWIG_arg_fail(1)) SWIG_fail
;
23286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23287 result
= (int)(arg1
)->GetHandleSide();
23289 wxPyEndAllowThreads(__tstate
);
23290 if (PyErr_Occurred()) SWIG_fail
;
23293 resultobj
= SWIG_From_int((int)(result
));
23301 static PyObject
*_wrap_PyDivisionShape_GetLeftSide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23302 PyObject
*resultobj
;
23303 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
23304 wxPyDivisionShape
*result
;
23305 PyObject
* obj0
= 0 ;
23306 char *kwnames
[] = {
23307 (char *) "self", NULL
23310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDivisionShape_GetLeftSide",kwnames
,&obj0
)) goto fail
;
23311 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDivisionShape
, SWIG_POINTER_EXCEPTION
| 0);
23312 if (SWIG_arg_fail(1)) SWIG_fail
;
23314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23315 result
= (wxPyDivisionShape
*)(arg1
)->GetLeftSide();
23317 wxPyEndAllowThreads(__tstate
);
23318 if (PyErr_Occurred()) SWIG_fail
;
23321 resultobj
= wxPyMake_wxShapeEvtHandler(result
, 0);
23329 static PyObject
*_wrap_PyDivisionShape_GetLeftSideColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23330 PyObject
*resultobj
;
23331 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
23333 PyObject
* obj0
= 0 ;
23334 char *kwnames
[] = {
23335 (char *) "self", NULL
23338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDivisionShape_GetLeftSideColour",kwnames
,&obj0
)) goto fail
;
23339 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDivisionShape
, SWIG_POINTER_EXCEPTION
| 0);
23340 if (SWIG_arg_fail(1)) SWIG_fail
;
23342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23343 result
= (arg1
)->GetLeftSideColour();
23345 wxPyEndAllowThreads(__tstate
);
23346 if (PyErr_Occurred()) SWIG_fail
;
23350 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23352 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23361 static PyObject
*_wrap_PyDivisionShape_GetLeftSidePen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23362 PyObject
*resultobj
;
23363 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
23365 PyObject
* obj0
= 0 ;
23366 char *kwnames
[] = {
23367 (char *) "self", NULL
23370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDivisionShape_GetLeftSidePen",kwnames
,&obj0
)) goto fail
;
23371 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDivisionShape
, SWIG_POINTER_EXCEPTION
| 0);
23372 if (SWIG_arg_fail(1)) SWIG_fail
;
23374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23375 result
= (wxPen
*)(arg1
)->GetLeftSidePen();
23377 wxPyEndAllowThreads(__tstate
);
23378 if (PyErr_Occurred()) SWIG_fail
;
23380 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 0);
23387 static PyObject
*_wrap_PyDivisionShape_GetRightSide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23388 PyObject
*resultobj
;
23389 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
23390 wxPyDivisionShape
*result
;
23391 PyObject
* obj0
= 0 ;
23392 char *kwnames
[] = {
23393 (char *) "self", NULL
23396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDivisionShape_GetRightSide",kwnames
,&obj0
)) goto fail
;
23397 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDivisionShape
, SWIG_POINTER_EXCEPTION
| 0);
23398 if (SWIG_arg_fail(1)) SWIG_fail
;
23400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23401 result
= (wxPyDivisionShape
*)(arg1
)->GetRightSide();
23403 wxPyEndAllowThreads(__tstate
);
23404 if (PyErr_Occurred()) SWIG_fail
;
23407 resultobj
= wxPyMake_wxShapeEvtHandler(result
, 0);
23415 static PyObject
*_wrap_PyDivisionShape_GetTopSide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23416 PyObject
*resultobj
;
23417 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
23418 wxPyDivisionShape
*result
;
23419 PyObject
* obj0
= 0 ;
23420 char *kwnames
[] = {
23421 (char *) "self", NULL
23424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDivisionShape_GetTopSide",kwnames
,&obj0
)) goto fail
;
23425 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDivisionShape
, SWIG_POINTER_EXCEPTION
| 0);
23426 if (SWIG_arg_fail(1)) SWIG_fail
;
23428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23429 result
= (wxPyDivisionShape
*)(arg1
)->GetTopSide();
23431 wxPyEndAllowThreads(__tstate
);
23432 if (PyErr_Occurred()) SWIG_fail
;
23435 resultobj
= wxPyMake_wxShapeEvtHandler(result
, 0);
23443 static PyObject
*_wrap_PyDivisionShape_GetTopSidePen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23444 PyObject
*resultobj
;
23445 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
23447 PyObject
* obj0
= 0 ;
23448 char *kwnames
[] = {
23449 (char *) "self", NULL
23452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDivisionShape_GetTopSidePen",kwnames
,&obj0
)) goto fail
;
23453 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDivisionShape
, SWIG_POINTER_EXCEPTION
| 0);
23454 if (SWIG_arg_fail(1)) SWIG_fail
;
23456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23457 result
= (wxPen
*)(arg1
)->GetTopSidePen();
23459 wxPyEndAllowThreads(__tstate
);
23460 if (PyErr_Occurred()) SWIG_fail
;
23462 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 0);
23469 static PyObject
*_wrap_PyDivisionShape_ResizeAdjoining(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23470 PyObject
*resultobj
;
23471 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
23475 PyObject
* obj0
= 0 ;
23476 PyObject
* obj1
= 0 ;
23477 PyObject
* obj2
= 0 ;
23478 PyObject
* obj3
= 0 ;
23479 char *kwnames
[] = {
23480 (char *) "self",(char *) "side",(char *) "newPos",(char *) "test", NULL
23483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyDivisionShape_ResizeAdjoining",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23484 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDivisionShape
, SWIG_POINTER_EXCEPTION
| 0);
23485 if (SWIG_arg_fail(1)) SWIG_fail
;
23487 arg2
= (int)(SWIG_As_int(obj1
));
23488 if (SWIG_arg_fail(2)) SWIG_fail
;
23491 arg3
= (double)(SWIG_As_double(obj2
));
23492 if (SWIG_arg_fail(3)) SWIG_fail
;
23495 arg4
= (bool)(SWIG_As_bool(obj3
));
23496 if (SWIG_arg_fail(4)) SWIG_fail
;
23499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23500 (arg1
)->ResizeAdjoining(arg2
,arg3
,arg4
);
23502 wxPyEndAllowThreads(__tstate
);
23503 if (PyErr_Occurred()) SWIG_fail
;
23505 Py_INCREF(Py_None
); resultobj
= Py_None
;
23512 static PyObject
*_wrap_PyDivisionShape_PopupMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23513 PyObject
*resultobj
;
23514 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
23517 PyObject
* obj0
= 0 ;
23518 PyObject
* obj1
= 0 ;
23519 PyObject
* obj2
= 0 ;
23520 char *kwnames
[] = {
23521 (char *) "self",(char *) "x",(char *) "y", NULL
23524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDivisionShape_PopupMenu",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23525 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDivisionShape
, SWIG_POINTER_EXCEPTION
| 0);
23526 if (SWIG_arg_fail(1)) SWIG_fail
;
23528 arg2
= (double)(SWIG_As_double(obj1
));
23529 if (SWIG_arg_fail(2)) SWIG_fail
;
23532 arg3
= (double)(SWIG_As_double(obj2
));
23533 if (SWIG_arg_fail(3)) SWIG_fail
;
23536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23537 (arg1
)->PopupMenu(arg2
,arg3
);
23539 wxPyEndAllowThreads(__tstate
);
23540 if (PyErr_Occurred()) SWIG_fail
;
23542 Py_INCREF(Py_None
); resultobj
= Py_None
;
23549 static PyObject
*_wrap_PyDivisionShape_SetBottomSide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23550 PyObject
*resultobj
;
23551 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
23552 wxPyDivisionShape
*arg2
= (wxPyDivisionShape
*) 0 ;
23553 PyObject
* obj0
= 0 ;
23554 PyObject
* obj1
= 0 ;
23555 char *kwnames
[] = {
23556 (char *) "self",(char *) "shape", NULL
23559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_SetBottomSide",kwnames
,&obj0
,&obj1
)) goto fail
;
23560 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDivisionShape
, SWIG_POINTER_EXCEPTION
| 0);
23561 if (SWIG_arg_fail(1)) SWIG_fail
;
23562 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyDivisionShape
, SWIG_POINTER_EXCEPTION
| 0);
23563 if (SWIG_arg_fail(2)) SWIG_fail
;
23565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23566 (arg1
)->SetBottomSide(arg2
);
23568 wxPyEndAllowThreads(__tstate
);
23569 if (PyErr_Occurred()) SWIG_fail
;
23571 Py_INCREF(Py_None
); resultobj
= Py_None
;
23578 static PyObject
*_wrap_PyDivisionShape_SetHandleSide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23579 PyObject
*resultobj
;
23580 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
23582 PyObject
* obj0
= 0 ;
23583 PyObject
* obj1
= 0 ;
23584 char *kwnames
[] = {
23585 (char *) "self",(char *) "side", NULL
23588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_SetHandleSide",kwnames
,&obj0
,&obj1
)) goto fail
;
23589 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDivisionShape
, SWIG_POINTER_EXCEPTION
| 0);
23590 if (SWIG_arg_fail(1)) SWIG_fail
;
23592 arg2
= (int)(SWIG_As_int(obj1
));
23593 if (SWIG_arg_fail(2)) SWIG_fail
;
23596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23597 (arg1
)->SetHandleSide(arg2
);
23599 wxPyEndAllowThreads(__tstate
);
23600 if (PyErr_Occurred()) SWIG_fail
;
23602 Py_INCREF(Py_None
); resultobj
= Py_None
;
23609 static PyObject
*_wrap_PyDivisionShape_SetLeftSide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23610 PyObject
*resultobj
;
23611 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
23612 wxPyDivisionShape
*arg2
= (wxPyDivisionShape
*) 0 ;
23613 PyObject
* obj0
= 0 ;
23614 PyObject
* obj1
= 0 ;
23615 char *kwnames
[] = {
23616 (char *) "self",(char *) "shape", NULL
23619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_SetLeftSide",kwnames
,&obj0
,&obj1
)) goto fail
;
23620 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDivisionShape
, SWIG_POINTER_EXCEPTION
| 0);
23621 if (SWIG_arg_fail(1)) SWIG_fail
;
23622 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyDivisionShape
, SWIG_POINTER_EXCEPTION
| 0);
23623 if (SWIG_arg_fail(2)) SWIG_fail
;
23625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23626 (arg1
)->SetLeftSide(arg2
);
23628 wxPyEndAllowThreads(__tstate
);
23629 if (PyErr_Occurred()) SWIG_fail
;
23631 Py_INCREF(Py_None
); resultobj
= Py_None
;
23638 static PyObject
*_wrap_PyDivisionShape_SetLeftSideColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23639 PyObject
*resultobj
;
23640 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
23641 wxString
*arg2
= 0 ;
23642 bool temp2
= false ;
23643 PyObject
* obj0
= 0 ;
23644 PyObject
* obj1
= 0 ;
23645 char *kwnames
[] = {
23646 (char *) "self",(char *) "colour", NULL
23649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_SetLeftSideColour",kwnames
,&obj0
,&obj1
)) goto fail
;
23650 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDivisionShape
, SWIG_POINTER_EXCEPTION
| 0);
23651 if (SWIG_arg_fail(1)) SWIG_fail
;
23653 arg2
= wxString_in_helper(obj1
);
23654 if (arg2
== NULL
) SWIG_fail
;
23658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23659 (arg1
)->SetLeftSideColour((wxString
const &)*arg2
);
23661 wxPyEndAllowThreads(__tstate
);
23662 if (PyErr_Occurred()) SWIG_fail
;
23664 Py_INCREF(Py_None
); resultobj
= Py_None
;
23679 static PyObject
*_wrap_PyDivisionShape_SetLeftSidePen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23680 PyObject
*resultobj
;
23681 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
23682 wxPen
*arg2
= (wxPen
*) 0 ;
23683 PyObject
* obj0
= 0 ;
23684 PyObject
* obj1
= 0 ;
23685 char *kwnames
[] = {
23686 (char *) "self",(char *) "pen", NULL
23689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_SetLeftSidePen",kwnames
,&obj0
,&obj1
)) goto fail
;
23690 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDivisionShape
, SWIG_POINTER_EXCEPTION
| 0);
23691 if (SWIG_arg_fail(1)) SWIG_fail
;
23695 if (obj1
== Py_None
) {
23698 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxPen"))) {
23699 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxPen.");
23704 arg2
= wxThePenList
->FindOrCreatePen(temp
->GetColour(),
23711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23712 (arg1
)->SetLeftSidePen(arg2
);
23714 wxPyEndAllowThreads(__tstate
);
23715 if (PyErr_Occurred()) SWIG_fail
;
23717 Py_INCREF(Py_None
); resultobj
= Py_None
;
23724 static PyObject
*_wrap_PyDivisionShape_SetRightSide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23725 PyObject
*resultobj
;
23726 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
23727 wxPyDivisionShape
*arg2
= (wxPyDivisionShape
*) 0 ;
23728 PyObject
* obj0
= 0 ;
23729 PyObject
* obj1
= 0 ;
23730 char *kwnames
[] = {
23731 (char *) "self",(char *) "shape", NULL
23734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_SetRightSide",kwnames
,&obj0
,&obj1
)) goto fail
;
23735 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDivisionShape
, SWIG_POINTER_EXCEPTION
| 0);
23736 if (SWIG_arg_fail(1)) SWIG_fail
;
23737 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyDivisionShape
, SWIG_POINTER_EXCEPTION
| 0);
23738 if (SWIG_arg_fail(2)) SWIG_fail
;
23740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23741 (arg1
)->SetRightSide(arg2
);
23743 wxPyEndAllowThreads(__tstate
);
23744 if (PyErr_Occurred()) SWIG_fail
;
23746 Py_INCREF(Py_None
); resultobj
= Py_None
;
23753 static PyObject
*_wrap_PyDivisionShape_SetTopSide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23754 PyObject
*resultobj
;
23755 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
23756 wxPyDivisionShape
*arg2
= (wxPyDivisionShape
*) 0 ;
23757 PyObject
* obj0
= 0 ;
23758 PyObject
* obj1
= 0 ;
23759 char *kwnames
[] = {
23760 (char *) "self",(char *) "shape", NULL
23763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_SetTopSide",kwnames
,&obj0
,&obj1
)) goto fail
;
23764 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDivisionShape
, SWIG_POINTER_EXCEPTION
| 0);
23765 if (SWIG_arg_fail(1)) SWIG_fail
;
23766 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyDivisionShape
, SWIG_POINTER_EXCEPTION
| 0);
23767 if (SWIG_arg_fail(2)) SWIG_fail
;
23769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23770 (arg1
)->SetTopSide(arg2
);
23772 wxPyEndAllowThreads(__tstate
);
23773 if (PyErr_Occurred()) SWIG_fail
;
23775 Py_INCREF(Py_None
); resultobj
= Py_None
;
23782 static PyObject
*_wrap_PyDivisionShape_SetTopSideColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23783 PyObject
*resultobj
;
23784 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
23785 wxString
*arg2
= 0 ;
23786 bool temp2
= false ;
23787 PyObject
* obj0
= 0 ;
23788 PyObject
* obj1
= 0 ;
23789 char *kwnames
[] = {
23790 (char *) "self",(char *) "colour", NULL
23793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_SetTopSideColour",kwnames
,&obj0
,&obj1
)) goto fail
;
23794 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDivisionShape
, SWIG_POINTER_EXCEPTION
| 0);
23795 if (SWIG_arg_fail(1)) SWIG_fail
;
23797 arg2
= wxString_in_helper(obj1
);
23798 if (arg2
== NULL
) SWIG_fail
;
23802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23803 (arg1
)->SetTopSideColour((wxString
const &)*arg2
);
23805 wxPyEndAllowThreads(__tstate
);
23806 if (PyErr_Occurred()) SWIG_fail
;
23808 Py_INCREF(Py_None
); resultobj
= Py_None
;
23823 static PyObject
*_wrap_PyDivisionShape_SetTopSidePen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23824 PyObject
*resultobj
;
23825 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
23826 wxPen
*arg2
= (wxPen
*) 0 ;
23827 PyObject
* obj0
= 0 ;
23828 PyObject
* obj1
= 0 ;
23829 char *kwnames
[] = {
23830 (char *) "self",(char *) "pen", NULL
23833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_SetTopSidePen",kwnames
,&obj0
,&obj1
)) goto fail
;
23834 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDivisionShape
, SWIG_POINTER_EXCEPTION
| 0);
23835 if (SWIG_arg_fail(1)) SWIG_fail
;
23839 if (obj1
== Py_None
) {
23842 else if (! wxPyConvertSwigPtr(obj1
, (void **) &temp
, wxT("wxPen"))) {
23843 PyErr_SetString(PyExc_TypeError
, "Type error, expected wxPen.");
23848 arg2
= wxThePenList
->FindOrCreatePen(temp
->GetColour(),
23855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23856 (arg1
)->SetTopSidePen(arg2
);
23858 wxPyEndAllowThreads(__tstate
);
23859 if (PyErr_Occurred()) SWIG_fail
;
23861 Py_INCREF(Py_None
); resultobj
= Py_None
;
23868 static PyObject
*_wrap_PyDivisionShape_base_OnDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23869 PyObject
*resultobj
;
23870 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
23871 PyObject
* obj0
= 0 ;
23872 char *kwnames
[] = {
23873 (char *) "self", NULL
23876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyDivisionShape_base_OnDelete",kwnames
,&obj0
)) goto fail
;
23877 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDivisionShape
, SWIG_POINTER_EXCEPTION
| 0);
23878 if (SWIG_arg_fail(1)) SWIG_fail
;
23880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23881 (arg1
)->base_OnDelete();
23883 wxPyEndAllowThreads(__tstate
);
23884 if (PyErr_Occurred()) SWIG_fail
;
23886 Py_INCREF(Py_None
); resultobj
= Py_None
;
23893 static PyObject
*_wrap_PyDivisionShape_base_OnDraw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23894 PyObject
*resultobj
;
23895 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
23897 PyObject
* obj0
= 0 ;
23898 PyObject
* obj1
= 0 ;
23899 char *kwnames
[] = {
23900 (char *) "self",(char *) "dc", NULL
23903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
23904 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDivisionShape
, SWIG_POINTER_EXCEPTION
| 0);
23905 if (SWIG_arg_fail(1)) SWIG_fail
;
23907 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
23908 if (SWIG_arg_fail(2)) SWIG_fail
;
23909 if (arg2
== NULL
) {
23910 SWIG_null_ref("wxDC");
23912 if (SWIG_arg_fail(2)) SWIG_fail
;
23915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23916 (arg1
)->base_OnDraw(*arg2
);
23918 wxPyEndAllowThreads(__tstate
);
23919 if (PyErr_Occurred()) SWIG_fail
;
23921 Py_INCREF(Py_None
); resultobj
= Py_None
;
23928 static PyObject
*_wrap_PyDivisionShape_base_OnDrawContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23929 PyObject
*resultobj
;
23930 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
23932 PyObject
* obj0
= 0 ;
23933 PyObject
* obj1
= 0 ;
23934 char *kwnames
[] = {
23935 (char *) "self",(char *) "dc", NULL
23938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
23939 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDivisionShape
, SWIG_POINTER_EXCEPTION
| 0);
23940 if (SWIG_arg_fail(1)) SWIG_fail
;
23942 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
23943 if (SWIG_arg_fail(2)) SWIG_fail
;
23944 if (arg2
== NULL
) {
23945 SWIG_null_ref("wxDC");
23947 if (SWIG_arg_fail(2)) SWIG_fail
;
23950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23951 (arg1
)->base_OnDrawContents(*arg2
);
23953 wxPyEndAllowThreads(__tstate
);
23954 if (PyErr_Occurred()) SWIG_fail
;
23956 Py_INCREF(Py_None
); resultobj
= Py_None
;
23963 static PyObject
*_wrap_PyDivisionShape_base_OnDrawBranches(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23964 PyObject
*resultobj
;
23965 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
23967 bool arg3
= (bool) FALSE
;
23968 PyObject
* obj0
= 0 ;
23969 PyObject
* obj1
= 0 ;
23970 PyObject
* obj2
= 0 ;
23971 char *kwnames
[] = {
23972 (char *) "self",(char *) "dc",(char *) "erase", NULL
23975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyDivisionShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23976 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDivisionShape
, SWIG_POINTER_EXCEPTION
| 0);
23977 if (SWIG_arg_fail(1)) SWIG_fail
;
23979 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
23980 if (SWIG_arg_fail(2)) SWIG_fail
;
23981 if (arg2
== NULL
) {
23982 SWIG_null_ref("wxDC");
23984 if (SWIG_arg_fail(2)) SWIG_fail
;
23988 arg3
= (bool)(SWIG_As_bool(obj2
));
23989 if (SWIG_arg_fail(3)) SWIG_fail
;
23993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23994 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
23996 wxPyEndAllowThreads(__tstate
);
23997 if (PyErr_Occurred()) SWIG_fail
;
23999 Py_INCREF(Py_None
); resultobj
= Py_None
;
24006 static PyObject
*_wrap_PyDivisionShape_base_OnMoveLinks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24007 PyObject
*resultobj
;
24008 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
24010 PyObject
* obj0
= 0 ;
24011 PyObject
* obj1
= 0 ;
24012 char *kwnames
[] = {
24013 (char *) "self",(char *) "dc", NULL
24016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
24017 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDivisionShape
, SWIG_POINTER_EXCEPTION
| 0);
24018 if (SWIG_arg_fail(1)) SWIG_fail
;
24020 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
24021 if (SWIG_arg_fail(2)) SWIG_fail
;
24022 if (arg2
== NULL
) {
24023 SWIG_null_ref("wxDC");
24025 if (SWIG_arg_fail(2)) SWIG_fail
;
24028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24029 (arg1
)->base_OnMoveLinks(*arg2
);
24031 wxPyEndAllowThreads(__tstate
);
24032 if (PyErr_Occurred()) SWIG_fail
;
24034 Py_INCREF(Py_None
); resultobj
= Py_None
;
24041 static PyObject
*_wrap_PyDivisionShape_base_OnErase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24042 PyObject
*resultobj
;
24043 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
24045 PyObject
* obj0
= 0 ;
24046 PyObject
* obj1
= 0 ;
24047 char *kwnames
[] = {
24048 (char *) "self",(char *) "dc", NULL
24051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
24052 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDivisionShape
, SWIG_POINTER_EXCEPTION
| 0);
24053 if (SWIG_arg_fail(1)) SWIG_fail
;
24055 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
24056 if (SWIG_arg_fail(2)) SWIG_fail
;
24057 if (arg2
== NULL
) {
24058 SWIG_null_ref("wxDC");
24060 if (SWIG_arg_fail(2)) SWIG_fail
;
24063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24064 (arg1
)->base_OnErase(*arg2
);
24066 wxPyEndAllowThreads(__tstate
);
24067 if (PyErr_Occurred()) SWIG_fail
;
24069 Py_INCREF(Py_None
); resultobj
= Py_None
;
24076 static PyObject
*_wrap_PyDivisionShape_base_OnEraseContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24077 PyObject
*resultobj
;
24078 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
24080 PyObject
* obj0
= 0 ;
24081 PyObject
* obj1
= 0 ;
24082 char *kwnames
[] = {
24083 (char *) "self",(char *) "dc", NULL
24086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
24087 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDivisionShape
, SWIG_POINTER_EXCEPTION
| 0);
24088 if (SWIG_arg_fail(1)) SWIG_fail
;
24090 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
24091 if (SWIG_arg_fail(2)) SWIG_fail
;
24092 if (arg2
== NULL
) {
24093 SWIG_null_ref("wxDC");
24095 if (SWIG_arg_fail(2)) SWIG_fail
;
24098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24099 (arg1
)->base_OnEraseContents(*arg2
);
24101 wxPyEndAllowThreads(__tstate
);
24102 if (PyErr_Occurred()) SWIG_fail
;
24104 Py_INCREF(Py_None
); resultobj
= Py_None
;
24111 static PyObject
*_wrap_PyDivisionShape_base_OnHighlight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24112 PyObject
*resultobj
;
24113 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
24115 PyObject
* obj0
= 0 ;
24116 PyObject
* obj1
= 0 ;
24117 char *kwnames
[] = {
24118 (char *) "self",(char *) "dc", NULL
24121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
24122 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDivisionShape
, SWIG_POINTER_EXCEPTION
| 0);
24123 if (SWIG_arg_fail(1)) SWIG_fail
;
24125 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
24126 if (SWIG_arg_fail(2)) SWIG_fail
;
24127 if (arg2
== NULL
) {
24128 SWIG_null_ref("wxDC");
24130 if (SWIG_arg_fail(2)) SWIG_fail
;
24133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24134 (arg1
)->base_OnHighlight(*arg2
);
24136 wxPyEndAllowThreads(__tstate
);
24137 if (PyErr_Occurred()) SWIG_fail
;
24139 Py_INCREF(Py_None
); resultobj
= Py_None
;
24146 static PyObject
*_wrap_PyDivisionShape_base_OnLeftClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24147 PyObject
*resultobj
;
24148 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
24151 int arg4
= (int) 0 ;
24152 int arg5
= (int) 0 ;
24153 PyObject
* obj0
= 0 ;
24154 PyObject
* obj1
= 0 ;
24155 PyObject
* obj2
= 0 ;
24156 PyObject
* obj3
= 0 ;
24157 PyObject
* obj4
= 0 ;
24158 char *kwnames
[] = {
24159 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDivisionShape_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
24163 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDivisionShape
, SWIG_POINTER_EXCEPTION
| 0);
24164 if (SWIG_arg_fail(1)) SWIG_fail
;
24166 arg2
= (double)(SWIG_As_double(obj1
));
24167 if (SWIG_arg_fail(2)) SWIG_fail
;
24170 arg3
= (double)(SWIG_As_double(obj2
));
24171 if (SWIG_arg_fail(3)) SWIG_fail
;
24175 arg4
= (int)(SWIG_As_int(obj3
));
24176 if (SWIG_arg_fail(4)) SWIG_fail
;
24181 arg5
= (int)(SWIG_As_int(obj4
));
24182 if (SWIG_arg_fail(5)) SWIG_fail
;
24186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24187 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
24189 wxPyEndAllowThreads(__tstate
);
24190 if (PyErr_Occurred()) SWIG_fail
;
24192 Py_INCREF(Py_None
); resultobj
= Py_None
;
24199 static PyObject
*_wrap_PyDivisionShape_base_OnLeftDoubleClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24200 PyObject
*resultobj
;
24201 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
24204 int arg4
= (int) 0 ;
24205 int arg5
= (int) 0 ;
24206 PyObject
* obj0
= 0 ;
24207 PyObject
* obj1
= 0 ;
24208 PyObject
* obj2
= 0 ;
24209 PyObject
* obj3
= 0 ;
24210 PyObject
* obj4
= 0 ;
24211 char *kwnames
[] = {
24212 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDivisionShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
24216 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDivisionShape
, SWIG_POINTER_EXCEPTION
| 0);
24217 if (SWIG_arg_fail(1)) SWIG_fail
;
24219 arg2
= (double)(SWIG_As_double(obj1
));
24220 if (SWIG_arg_fail(2)) SWIG_fail
;
24223 arg3
= (double)(SWIG_As_double(obj2
));
24224 if (SWIG_arg_fail(3)) SWIG_fail
;
24228 arg4
= (int)(SWIG_As_int(obj3
));
24229 if (SWIG_arg_fail(4)) SWIG_fail
;
24234 arg5
= (int)(SWIG_As_int(obj4
));
24235 if (SWIG_arg_fail(5)) SWIG_fail
;
24239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24240 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
24242 wxPyEndAllowThreads(__tstate
);
24243 if (PyErr_Occurred()) SWIG_fail
;
24245 Py_INCREF(Py_None
); resultobj
= Py_None
;
24252 static PyObject
*_wrap_PyDivisionShape_base_OnRightClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24253 PyObject
*resultobj
;
24254 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
24257 int arg4
= (int) 0 ;
24258 int arg5
= (int) 0 ;
24259 PyObject
* obj0
= 0 ;
24260 PyObject
* obj1
= 0 ;
24261 PyObject
* obj2
= 0 ;
24262 PyObject
* obj3
= 0 ;
24263 PyObject
* obj4
= 0 ;
24264 char *kwnames
[] = {
24265 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDivisionShape_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
24269 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDivisionShape
, SWIG_POINTER_EXCEPTION
| 0);
24270 if (SWIG_arg_fail(1)) SWIG_fail
;
24272 arg2
= (double)(SWIG_As_double(obj1
));
24273 if (SWIG_arg_fail(2)) SWIG_fail
;
24276 arg3
= (double)(SWIG_As_double(obj2
));
24277 if (SWIG_arg_fail(3)) SWIG_fail
;
24281 arg4
= (int)(SWIG_As_int(obj3
));
24282 if (SWIG_arg_fail(4)) SWIG_fail
;
24287 arg5
= (int)(SWIG_As_int(obj4
));
24288 if (SWIG_arg_fail(5)) SWIG_fail
;
24292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24293 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
24295 wxPyEndAllowThreads(__tstate
);
24296 if (PyErr_Occurred()) SWIG_fail
;
24298 Py_INCREF(Py_None
); resultobj
= Py_None
;
24305 static PyObject
*_wrap_PyDivisionShape_base_OnSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24306 PyObject
*resultobj
;
24307 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
24310 PyObject
* obj0
= 0 ;
24311 PyObject
* obj1
= 0 ;
24312 PyObject
* obj2
= 0 ;
24313 char *kwnames
[] = {
24314 (char *) "self",(char *) "x",(char *) "y", NULL
24317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDivisionShape_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24318 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDivisionShape
, SWIG_POINTER_EXCEPTION
| 0);
24319 if (SWIG_arg_fail(1)) SWIG_fail
;
24321 arg2
= (double)(SWIG_As_double(obj1
));
24322 if (SWIG_arg_fail(2)) SWIG_fail
;
24325 arg3
= (double)(SWIG_As_double(obj2
));
24326 if (SWIG_arg_fail(3)) SWIG_fail
;
24329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24330 (arg1
)->base_OnSize(arg2
,arg3
);
24332 wxPyEndAllowThreads(__tstate
);
24333 if (PyErr_Occurred()) SWIG_fail
;
24335 Py_INCREF(Py_None
); resultobj
= Py_None
;
24342 static PyObject
*_wrap_PyDivisionShape_base_OnMovePre(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24343 PyObject
*resultobj
;
24344 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
24350 bool arg7
= (bool) true ;
24352 PyObject
* obj0
= 0 ;
24353 PyObject
* obj1
= 0 ;
24354 PyObject
* obj2
= 0 ;
24355 PyObject
* obj3
= 0 ;
24356 PyObject
* obj4
= 0 ;
24357 PyObject
* obj5
= 0 ;
24358 PyObject
* obj6
= 0 ;
24359 char *kwnames
[] = {
24360 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
24363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyDivisionShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24364 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDivisionShape
, SWIG_POINTER_EXCEPTION
| 0);
24365 if (SWIG_arg_fail(1)) SWIG_fail
;
24367 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
24368 if (SWIG_arg_fail(2)) SWIG_fail
;
24369 if (arg2
== NULL
) {
24370 SWIG_null_ref("wxDC");
24372 if (SWIG_arg_fail(2)) SWIG_fail
;
24375 arg3
= (double)(SWIG_As_double(obj2
));
24376 if (SWIG_arg_fail(3)) SWIG_fail
;
24379 arg4
= (double)(SWIG_As_double(obj3
));
24380 if (SWIG_arg_fail(4)) SWIG_fail
;
24383 arg5
= (double)(SWIG_As_double(obj4
));
24384 if (SWIG_arg_fail(5)) SWIG_fail
;
24387 arg6
= (double)(SWIG_As_double(obj5
));
24388 if (SWIG_arg_fail(6)) SWIG_fail
;
24392 arg7
= (bool)(SWIG_As_bool(obj6
));
24393 if (SWIG_arg_fail(7)) SWIG_fail
;
24397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24398 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
24400 wxPyEndAllowThreads(__tstate
);
24401 if (PyErr_Occurred()) SWIG_fail
;
24404 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24412 static PyObject
*_wrap_PyDivisionShape_base_OnMovePost(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24413 PyObject
*resultobj
;
24414 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
24420 bool arg7
= (bool) true ;
24421 PyObject
* obj0
= 0 ;
24422 PyObject
* obj1
= 0 ;
24423 PyObject
* obj2
= 0 ;
24424 PyObject
* obj3
= 0 ;
24425 PyObject
* obj4
= 0 ;
24426 PyObject
* obj5
= 0 ;
24427 PyObject
* obj6
= 0 ;
24428 char *kwnames
[] = {
24429 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
24432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyDivisionShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24433 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDivisionShape
, SWIG_POINTER_EXCEPTION
| 0);
24434 if (SWIG_arg_fail(1)) SWIG_fail
;
24436 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
24437 if (SWIG_arg_fail(2)) SWIG_fail
;
24438 if (arg2
== NULL
) {
24439 SWIG_null_ref("wxDC");
24441 if (SWIG_arg_fail(2)) SWIG_fail
;
24444 arg3
= (double)(SWIG_As_double(obj2
));
24445 if (SWIG_arg_fail(3)) SWIG_fail
;
24448 arg4
= (double)(SWIG_As_double(obj3
));
24449 if (SWIG_arg_fail(4)) SWIG_fail
;
24452 arg5
= (double)(SWIG_As_double(obj4
));
24453 if (SWIG_arg_fail(5)) SWIG_fail
;
24456 arg6
= (double)(SWIG_As_double(obj5
));
24457 if (SWIG_arg_fail(6)) SWIG_fail
;
24461 arg7
= (bool)(SWIG_As_bool(obj6
));
24462 if (SWIG_arg_fail(7)) SWIG_fail
;
24466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24467 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
24469 wxPyEndAllowThreads(__tstate
);
24470 if (PyErr_Occurred()) SWIG_fail
;
24472 Py_INCREF(Py_None
); resultobj
= Py_None
;
24479 static PyObject
*_wrap_PyDivisionShape_base_OnDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24480 PyObject
*resultobj
;
24481 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
24485 int arg5
= (int) 0 ;
24486 int arg6
= (int) 0 ;
24487 PyObject
* obj0
= 0 ;
24488 PyObject
* obj1
= 0 ;
24489 PyObject
* obj2
= 0 ;
24490 PyObject
* obj3
= 0 ;
24491 PyObject
* obj4
= 0 ;
24492 PyObject
* obj5
= 0 ;
24493 char *kwnames
[] = {
24494 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyDivisionShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
24498 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDivisionShape
, SWIG_POINTER_EXCEPTION
| 0);
24499 if (SWIG_arg_fail(1)) SWIG_fail
;
24501 arg2
= (bool)(SWIG_As_bool(obj1
));
24502 if (SWIG_arg_fail(2)) SWIG_fail
;
24505 arg3
= (double)(SWIG_As_double(obj2
));
24506 if (SWIG_arg_fail(3)) SWIG_fail
;
24509 arg4
= (double)(SWIG_As_double(obj3
));
24510 if (SWIG_arg_fail(4)) SWIG_fail
;
24514 arg5
= (int)(SWIG_As_int(obj4
));
24515 if (SWIG_arg_fail(5)) SWIG_fail
;
24520 arg6
= (int)(SWIG_As_int(obj5
));
24521 if (SWIG_arg_fail(6)) SWIG_fail
;
24525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24526 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
24528 wxPyEndAllowThreads(__tstate
);
24529 if (PyErr_Occurred()) SWIG_fail
;
24531 Py_INCREF(Py_None
); resultobj
= Py_None
;
24538 static PyObject
*_wrap_PyDivisionShape_base_OnBeginDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24539 PyObject
*resultobj
;
24540 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
24543 int arg4
= (int) 0 ;
24544 int arg5
= (int) 0 ;
24545 PyObject
* obj0
= 0 ;
24546 PyObject
* obj1
= 0 ;
24547 PyObject
* obj2
= 0 ;
24548 PyObject
* obj3
= 0 ;
24549 PyObject
* obj4
= 0 ;
24550 char *kwnames
[] = {
24551 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDivisionShape_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
24555 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDivisionShape
, SWIG_POINTER_EXCEPTION
| 0);
24556 if (SWIG_arg_fail(1)) SWIG_fail
;
24558 arg2
= (double)(SWIG_As_double(obj1
));
24559 if (SWIG_arg_fail(2)) SWIG_fail
;
24562 arg3
= (double)(SWIG_As_double(obj2
));
24563 if (SWIG_arg_fail(3)) SWIG_fail
;
24567 arg4
= (int)(SWIG_As_int(obj3
));
24568 if (SWIG_arg_fail(4)) SWIG_fail
;
24573 arg5
= (int)(SWIG_As_int(obj4
));
24574 if (SWIG_arg_fail(5)) SWIG_fail
;
24578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24579 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
24581 wxPyEndAllowThreads(__tstate
);
24582 if (PyErr_Occurred()) SWIG_fail
;
24584 Py_INCREF(Py_None
); resultobj
= Py_None
;
24591 static PyObject
*_wrap_PyDivisionShape_base_OnEndDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24592 PyObject
*resultobj
;
24593 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
24596 int arg4
= (int) 0 ;
24597 int arg5
= (int) 0 ;
24598 PyObject
* obj0
= 0 ;
24599 PyObject
* obj1
= 0 ;
24600 PyObject
* obj2
= 0 ;
24601 PyObject
* obj3
= 0 ;
24602 PyObject
* obj4
= 0 ;
24603 char *kwnames
[] = {
24604 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDivisionShape_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
24608 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDivisionShape
, SWIG_POINTER_EXCEPTION
| 0);
24609 if (SWIG_arg_fail(1)) SWIG_fail
;
24611 arg2
= (double)(SWIG_As_double(obj1
));
24612 if (SWIG_arg_fail(2)) SWIG_fail
;
24615 arg3
= (double)(SWIG_As_double(obj2
));
24616 if (SWIG_arg_fail(3)) SWIG_fail
;
24620 arg4
= (int)(SWIG_As_int(obj3
));
24621 if (SWIG_arg_fail(4)) SWIG_fail
;
24626 arg5
= (int)(SWIG_As_int(obj4
));
24627 if (SWIG_arg_fail(5)) SWIG_fail
;
24631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24632 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
24634 wxPyEndAllowThreads(__tstate
);
24635 if (PyErr_Occurred()) SWIG_fail
;
24637 Py_INCREF(Py_None
); resultobj
= Py_None
;
24644 static PyObject
*_wrap_PyDivisionShape_base_OnDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24645 PyObject
*resultobj
;
24646 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
24650 int arg5
= (int) 0 ;
24651 int arg6
= (int) 0 ;
24652 PyObject
* obj0
= 0 ;
24653 PyObject
* obj1
= 0 ;
24654 PyObject
* obj2
= 0 ;
24655 PyObject
* obj3
= 0 ;
24656 PyObject
* obj4
= 0 ;
24657 PyObject
* obj5
= 0 ;
24658 char *kwnames
[] = {
24659 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyDivisionShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
24663 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDivisionShape
, SWIG_POINTER_EXCEPTION
| 0);
24664 if (SWIG_arg_fail(1)) SWIG_fail
;
24666 arg2
= (bool)(SWIG_As_bool(obj1
));
24667 if (SWIG_arg_fail(2)) SWIG_fail
;
24670 arg3
= (double)(SWIG_As_double(obj2
));
24671 if (SWIG_arg_fail(3)) SWIG_fail
;
24674 arg4
= (double)(SWIG_As_double(obj3
));
24675 if (SWIG_arg_fail(4)) SWIG_fail
;
24679 arg5
= (int)(SWIG_As_int(obj4
));
24680 if (SWIG_arg_fail(5)) SWIG_fail
;
24685 arg6
= (int)(SWIG_As_int(obj5
));
24686 if (SWIG_arg_fail(6)) SWIG_fail
;
24690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24691 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
24693 wxPyEndAllowThreads(__tstate
);
24694 if (PyErr_Occurred()) SWIG_fail
;
24696 Py_INCREF(Py_None
); resultobj
= Py_None
;
24703 static PyObject
*_wrap_PyDivisionShape_base_OnBeginDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24704 PyObject
*resultobj
;
24705 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
24708 int arg4
= (int) 0 ;
24709 int arg5
= (int) 0 ;
24710 PyObject
* obj0
= 0 ;
24711 PyObject
* obj1
= 0 ;
24712 PyObject
* obj2
= 0 ;
24713 PyObject
* obj3
= 0 ;
24714 PyObject
* obj4
= 0 ;
24715 char *kwnames
[] = {
24716 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDivisionShape_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
24720 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDivisionShape
, SWIG_POINTER_EXCEPTION
| 0);
24721 if (SWIG_arg_fail(1)) SWIG_fail
;
24723 arg2
= (double)(SWIG_As_double(obj1
));
24724 if (SWIG_arg_fail(2)) SWIG_fail
;
24727 arg3
= (double)(SWIG_As_double(obj2
));
24728 if (SWIG_arg_fail(3)) SWIG_fail
;
24732 arg4
= (int)(SWIG_As_int(obj3
));
24733 if (SWIG_arg_fail(4)) SWIG_fail
;
24738 arg5
= (int)(SWIG_As_int(obj4
));
24739 if (SWIG_arg_fail(5)) SWIG_fail
;
24743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24744 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
24746 wxPyEndAllowThreads(__tstate
);
24747 if (PyErr_Occurred()) SWIG_fail
;
24749 Py_INCREF(Py_None
); resultobj
= Py_None
;
24756 static PyObject
*_wrap_PyDivisionShape_base_OnEndDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24757 PyObject
*resultobj
;
24758 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
24761 int arg4
= (int) 0 ;
24762 int arg5
= (int) 0 ;
24763 PyObject
* obj0
= 0 ;
24764 PyObject
* obj1
= 0 ;
24765 PyObject
* obj2
= 0 ;
24766 PyObject
* obj3
= 0 ;
24767 PyObject
* obj4
= 0 ;
24768 char *kwnames
[] = {
24769 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyDivisionShape_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
24773 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDivisionShape
, SWIG_POINTER_EXCEPTION
| 0);
24774 if (SWIG_arg_fail(1)) SWIG_fail
;
24776 arg2
= (double)(SWIG_As_double(obj1
));
24777 if (SWIG_arg_fail(2)) SWIG_fail
;
24780 arg3
= (double)(SWIG_As_double(obj2
));
24781 if (SWIG_arg_fail(3)) SWIG_fail
;
24785 arg4
= (int)(SWIG_As_int(obj3
));
24786 if (SWIG_arg_fail(4)) SWIG_fail
;
24791 arg5
= (int)(SWIG_As_int(obj4
));
24792 if (SWIG_arg_fail(5)) SWIG_fail
;
24796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24797 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
24799 wxPyEndAllowThreads(__tstate
);
24800 if (PyErr_Occurred()) SWIG_fail
;
24802 Py_INCREF(Py_None
); resultobj
= Py_None
;
24809 static PyObject
*_wrap_PyDivisionShape_base_OnDrawOutline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24810 PyObject
*resultobj
;
24811 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
24817 PyObject
* obj0
= 0 ;
24818 PyObject
* obj1
= 0 ;
24819 PyObject
* obj2
= 0 ;
24820 PyObject
* obj3
= 0 ;
24821 PyObject
* obj4
= 0 ;
24822 PyObject
* obj5
= 0 ;
24823 char *kwnames
[] = {
24824 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
24827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyDivisionShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
24828 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDivisionShape
, SWIG_POINTER_EXCEPTION
| 0);
24829 if (SWIG_arg_fail(1)) SWIG_fail
;
24831 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
24832 if (SWIG_arg_fail(2)) SWIG_fail
;
24833 if (arg2
== NULL
) {
24834 SWIG_null_ref("wxDC");
24836 if (SWIG_arg_fail(2)) SWIG_fail
;
24839 arg3
= (double)(SWIG_As_double(obj2
));
24840 if (SWIG_arg_fail(3)) SWIG_fail
;
24843 arg4
= (double)(SWIG_As_double(obj3
));
24844 if (SWIG_arg_fail(4)) SWIG_fail
;
24847 arg5
= (double)(SWIG_As_double(obj4
));
24848 if (SWIG_arg_fail(5)) SWIG_fail
;
24851 arg6
= (double)(SWIG_As_double(obj5
));
24852 if (SWIG_arg_fail(6)) SWIG_fail
;
24855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24856 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
24858 wxPyEndAllowThreads(__tstate
);
24859 if (PyErr_Occurred()) SWIG_fail
;
24861 Py_INCREF(Py_None
); resultobj
= Py_None
;
24868 static PyObject
*_wrap_PyDivisionShape_base_OnDrawControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24869 PyObject
*resultobj
;
24870 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
24872 PyObject
* obj0
= 0 ;
24873 PyObject
* obj1
= 0 ;
24874 char *kwnames
[] = {
24875 (char *) "self",(char *) "dc", NULL
24878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
24879 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDivisionShape
, SWIG_POINTER_EXCEPTION
| 0);
24880 if (SWIG_arg_fail(1)) SWIG_fail
;
24882 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
24883 if (SWIG_arg_fail(2)) SWIG_fail
;
24884 if (arg2
== NULL
) {
24885 SWIG_null_ref("wxDC");
24887 if (SWIG_arg_fail(2)) SWIG_fail
;
24890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24891 (arg1
)->base_OnDrawControlPoints(*arg2
);
24893 wxPyEndAllowThreads(__tstate
);
24894 if (PyErr_Occurred()) SWIG_fail
;
24896 Py_INCREF(Py_None
); resultobj
= Py_None
;
24903 static PyObject
*_wrap_PyDivisionShape_base_OnEraseControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24904 PyObject
*resultobj
;
24905 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
24907 PyObject
* obj0
= 0 ;
24908 PyObject
* obj1
= 0 ;
24909 char *kwnames
[] = {
24910 (char *) "self",(char *) "dc", NULL
24913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyDivisionShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
24914 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDivisionShape
, SWIG_POINTER_EXCEPTION
| 0);
24915 if (SWIG_arg_fail(1)) SWIG_fail
;
24917 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
24918 if (SWIG_arg_fail(2)) SWIG_fail
;
24919 if (arg2
== NULL
) {
24920 SWIG_null_ref("wxDC");
24922 if (SWIG_arg_fail(2)) SWIG_fail
;
24925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24926 (arg1
)->base_OnEraseControlPoints(*arg2
);
24928 wxPyEndAllowThreads(__tstate
);
24929 if (PyErr_Occurred()) SWIG_fail
;
24931 Py_INCREF(Py_None
); resultobj
= Py_None
;
24938 static PyObject
*_wrap_PyDivisionShape_base_OnMoveLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24939 PyObject
*resultobj
;
24940 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
24942 bool arg3
= (bool) true ;
24943 PyObject
* obj0
= 0 ;
24944 PyObject
* obj1
= 0 ;
24945 PyObject
* obj2
= 0 ;
24946 char *kwnames
[] = {
24947 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
24950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyDivisionShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24951 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDivisionShape
, SWIG_POINTER_EXCEPTION
| 0);
24952 if (SWIG_arg_fail(1)) SWIG_fail
;
24954 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
24955 if (SWIG_arg_fail(2)) SWIG_fail
;
24956 if (arg2
== NULL
) {
24957 SWIG_null_ref("wxDC");
24959 if (SWIG_arg_fail(2)) SWIG_fail
;
24963 arg3
= (bool)(SWIG_As_bool(obj2
));
24964 if (SWIG_arg_fail(3)) SWIG_fail
;
24968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24969 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
24971 wxPyEndAllowThreads(__tstate
);
24972 if (PyErr_Occurred()) SWIG_fail
;
24974 Py_INCREF(Py_None
); resultobj
= Py_None
;
24981 static PyObject
*_wrap_PyDivisionShape_base_OnSizingDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24982 PyObject
*resultobj
;
24983 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
24984 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
24988 int arg6
= (int) 0 ;
24989 int arg7
= (int) 0 ;
24990 PyObject
* obj0
= 0 ;
24991 PyObject
* obj1
= 0 ;
24992 PyObject
* obj2
= 0 ;
24993 PyObject
* obj3
= 0 ;
24994 PyObject
* obj4
= 0 ;
24995 PyObject
* obj5
= 0 ;
24996 PyObject
* obj6
= 0 ;
24997 char *kwnames
[] = {
24998 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
25001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyDivisionShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25002 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDivisionShape
, SWIG_POINTER_EXCEPTION
| 0);
25003 if (SWIG_arg_fail(1)) SWIG_fail
;
25004 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyControlPoint
, SWIG_POINTER_EXCEPTION
| 0);
25005 if (SWIG_arg_fail(2)) SWIG_fail
;
25007 arg3
= (bool)(SWIG_As_bool(obj2
));
25008 if (SWIG_arg_fail(3)) SWIG_fail
;
25011 arg4
= (double)(SWIG_As_double(obj3
));
25012 if (SWIG_arg_fail(4)) SWIG_fail
;
25015 arg5
= (double)(SWIG_As_double(obj4
));
25016 if (SWIG_arg_fail(5)) SWIG_fail
;
25020 arg6
= (int)(SWIG_As_int(obj5
));
25021 if (SWIG_arg_fail(6)) SWIG_fail
;
25026 arg7
= (int)(SWIG_As_int(obj6
));
25027 if (SWIG_arg_fail(7)) SWIG_fail
;
25031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25032 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
25034 wxPyEndAllowThreads(__tstate
);
25035 if (PyErr_Occurred()) SWIG_fail
;
25037 Py_INCREF(Py_None
); resultobj
= Py_None
;
25044 static PyObject
*_wrap_PyDivisionShape_base_OnSizingBeginDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25045 PyObject
*resultobj
;
25046 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
25047 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
25050 int arg5
= (int) 0 ;
25051 int arg6
= (int) 0 ;
25052 PyObject
* obj0
= 0 ;
25053 PyObject
* obj1
= 0 ;
25054 PyObject
* obj2
= 0 ;
25055 PyObject
* obj3
= 0 ;
25056 PyObject
* obj4
= 0 ;
25057 PyObject
* obj5
= 0 ;
25058 char *kwnames
[] = {
25059 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
25062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyDivisionShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
25063 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDivisionShape
, SWIG_POINTER_EXCEPTION
| 0);
25064 if (SWIG_arg_fail(1)) SWIG_fail
;
25065 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyControlPoint
, SWIG_POINTER_EXCEPTION
| 0);
25066 if (SWIG_arg_fail(2)) SWIG_fail
;
25068 arg3
= (double)(SWIG_As_double(obj2
));
25069 if (SWIG_arg_fail(3)) SWIG_fail
;
25072 arg4
= (double)(SWIG_As_double(obj3
));
25073 if (SWIG_arg_fail(4)) SWIG_fail
;
25077 arg5
= (int)(SWIG_As_int(obj4
));
25078 if (SWIG_arg_fail(5)) SWIG_fail
;
25083 arg6
= (int)(SWIG_As_int(obj5
));
25084 if (SWIG_arg_fail(6)) SWIG_fail
;
25088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25089 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
25091 wxPyEndAllowThreads(__tstate
);
25092 if (PyErr_Occurred()) SWIG_fail
;
25094 Py_INCREF(Py_None
); resultobj
= Py_None
;
25101 static PyObject
*_wrap_PyDivisionShape_base_OnSizingEndDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25102 PyObject
*resultobj
;
25103 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
25104 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
25107 int arg5
= (int) 0 ;
25108 int arg6
= (int) 0 ;
25109 PyObject
* obj0
= 0 ;
25110 PyObject
* obj1
= 0 ;
25111 PyObject
* obj2
= 0 ;
25112 PyObject
* obj3
= 0 ;
25113 PyObject
* obj4
= 0 ;
25114 PyObject
* obj5
= 0 ;
25115 char *kwnames
[] = {
25116 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
25119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyDivisionShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
25120 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDivisionShape
, SWIG_POINTER_EXCEPTION
| 0);
25121 if (SWIG_arg_fail(1)) SWIG_fail
;
25122 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyControlPoint
, SWIG_POINTER_EXCEPTION
| 0);
25123 if (SWIG_arg_fail(2)) SWIG_fail
;
25125 arg3
= (double)(SWIG_As_double(obj2
));
25126 if (SWIG_arg_fail(3)) SWIG_fail
;
25129 arg4
= (double)(SWIG_As_double(obj3
));
25130 if (SWIG_arg_fail(4)) SWIG_fail
;
25134 arg5
= (int)(SWIG_As_int(obj4
));
25135 if (SWIG_arg_fail(5)) SWIG_fail
;
25140 arg6
= (int)(SWIG_As_int(obj5
));
25141 if (SWIG_arg_fail(6)) SWIG_fail
;
25145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25146 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
25148 wxPyEndAllowThreads(__tstate
);
25149 if (PyErr_Occurred()) SWIG_fail
;
25151 Py_INCREF(Py_None
); resultobj
= Py_None
;
25158 static PyObject
*_wrap_PyDivisionShape_base_OnBeginSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25159 PyObject
*resultobj
;
25160 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
25163 PyObject
* obj0
= 0 ;
25164 PyObject
* obj1
= 0 ;
25165 PyObject
* obj2
= 0 ;
25166 char *kwnames
[] = {
25167 (char *) "self",(char *) "w",(char *) "h", NULL
25170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDivisionShape_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25171 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDivisionShape
, SWIG_POINTER_EXCEPTION
| 0);
25172 if (SWIG_arg_fail(1)) SWIG_fail
;
25174 arg2
= (double)(SWIG_As_double(obj1
));
25175 if (SWIG_arg_fail(2)) SWIG_fail
;
25178 arg3
= (double)(SWIG_As_double(obj2
));
25179 if (SWIG_arg_fail(3)) SWIG_fail
;
25182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25183 (arg1
)->base_OnBeginSize(arg2
,arg3
);
25185 wxPyEndAllowThreads(__tstate
);
25186 if (PyErr_Occurred()) SWIG_fail
;
25188 Py_INCREF(Py_None
); resultobj
= Py_None
;
25195 static PyObject
*_wrap_PyDivisionShape_base_OnEndSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25196 PyObject
*resultobj
;
25197 wxPyDivisionShape
*arg1
= (wxPyDivisionShape
*) 0 ;
25200 PyObject
* obj0
= 0 ;
25201 PyObject
* obj1
= 0 ;
25202 PyObject
* obj2
= 0 ;
25203 char *kwnames
[] = {
25204 (char *) "self",(char *) "w",(char *) "h", NULL
25207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDivisionShape_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25208 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyDivisionShape
, SWIG_POINTER_EXCEPTION
| 0);
25209 if (SWIG_arg_fail(1)) SWIG_fail
;
25211 arg2
= (double)(SWIG_As_double(obj1
));
25212 if (SWIG_arg_fail(2)) SWIG_fail
;
25215 arg3
= (double)(SWIG_As_double(obj2
));
25216 if (SWIG_arg_fail(3)) SWIG_fail
;
25219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25220 (arg1
)->base_OnEndSize(arg2
,arg3
);
25222 wxPyEndAllowThreads(__tstate
);
25223 if (PyErr_Occurred()) SWIG_fail
;
25225 Py_INCREF(Py_None
); resultobj
= Py_None
;
25232 static PyObject
* PyDivisionShape_swigregister(PyObject
*, PyObject
*args
) {
25234 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25235 SWIG_TypeClientData(SWIGTYPE_p_wxPyDivisionShape
, obj
);
25237 return Py_BuildValue((char *)"");
25239 static PyObject
*_wrap_new_PyEllipseShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25240 PyObject
*resultobj
;
25241 double arg1
= (double) 0.0 ;
25242 double arg2
= (double) 0.0 ;
25243 wxPyEllipseShape
*result
;
25244 PyObject
* obj0
= 0 ;
25245 PyObject
* obj1
= 0 ;
25246 char *kwnames
[] = {
25247 (char *) "width",(char *) "height", NULL
25250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyEllipseShape",kwnames
,&obj0
,&obj1
)) goto fail
;
25253 arg1
= (double)(SWIG_As_double(obj0
));
25254 if (SWIG_arg_fail(1)) SWIG_fail
;
25259 arg2
= (double)(SWIG_As_double(obj1
));
25260 if (SWIG_arg_fail(2)) SWIG_fail
;
25264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25265 result
= (wxPyEllipseShape
*)new wxPyEllipseShape(arg1
,arg2
);
25267 wxPyEndAllowThreads(__tstate
);
25268 if (PyErr_Occurred()) SWIG_fail
;
25270 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyEllipseShape
, 1);
25277 static PyObject
*_wrap_PyEllipseShape__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25278 PyObject
*resultobj
;
25279 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
25280 PyObject
*arg2
= (PyObject
*) 0 ;
25281 PyObject
*arg3
= (PyObject
*) 0 ;
25282 PyObject
* obj0
= 0 ;
25283 PyObject
* obj1
= 0 ;
25284 PyObject
* obj2
= 0 ;
25285 char *kwnames
[] = {
25286 (char *) "self",(char *) "self",(char *) "_class", NULL
25289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyEllipseShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25290 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyEllipseShape
, SWIG_POINTER_EXCEPTION
| 0);
25291 if (SWIG_arg_fail(1)) SWIG_fail
;
25295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25296 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25298 wxPyEndAllowThreads(__tstate
);
25299 if (PyErr_Occurred()) SWIG_fail
;
25301 Py_INCREF(Py_None
); resultobj
= Py_None
;
25308 static PyObject
*_wrap_PyEllipseShape_base_OnDraw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25309 PyObject
*resultobj
;
25310 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
25312 PyObject
* obj0
= 0 ;
25313 PyObject
* obj1
= 0 ;
25314 char *kwnames
[] = {
25315 (char *) "self",(char *) "dc", NULL
25318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEllipseShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
25319 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyEllipseShape
, SWIG_POINTER_EXCEPTION
| 0);
25320 if (SWIG_arg_fail(1)) SWIG_fail
;
25322 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
25323 if (SWIG_arg_fail(2)) SWIG_fail
;
25324 if (arg2
== NULL
) {
25325 SWIG_null_ref("wxDC");
25327 if (SWIG_arg_fail(2)) SWIG_fail
;
25330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25331 (arg1
)->base_OnDraw(*arg2
);
25333 wxPyEndAllowThreads(__tstate
);
25334 if (PyErr_Occurred()) SWIG_fail
;
25336 Py_INCREF(Py_None
); resultobj
= Py_None
;
25343 static PyObject
*_wrap_PyEllipseShape_base_OnDrawContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25344 PyObject
*resultobj
;
25345 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
25347 PyObject
* obj0
= 0 ;
25348 PyObject
* obj1
= 0 ;
25349 char *kwnames
[] = {
25350 (char *) "self",(char *) "dc", NULL
25353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEllipseShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
25354 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyEllipseShape
, SWIG_POINTER_EXCEPTION
| 0);
25355 if (SWIG_arg_fail(1)) SWIG_fail
;
25357 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
25358 if (SWIG_arg_fail(2)) SWIG_fail
;
25359 if (arg2
== NULL
) {
25360 SWIG_null_ref("wxDC");
25362 if (SWIG_arg_fail(2)) SWIG_fail
;
25365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25366 (arg1
)->base_OnDrawContents(*arg2
);
25368 wxPyEndAllowThreads(__tstate
);
25369 if (PyErr_Occurred()) SWIG_fail
;
25371 Py_INCREF(Py_None
); resultobj
= Py_None
;
25378 static PyObject
*_wrap_PyEllipseShape_base_OnDrawBranches(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25379 PyObject
*resultobj
;
25380 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
25382 bool arg3
= (bool) FALSE
;
25383 PyObject
* obj0
= 0 ;
25384 PyObject
* obj1
= 0 ;
25385 PyObject
* obj2
= 0 ;
25386 char *kwnames
[] = {
25387 (char *) "self",(char *) "dc",(char *) "erase", NULL
25390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyEllipseShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25391 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyEllipseShape
, SWIG_POINTER_EXCEPTION
| 0);
25392 if (SWIG_arg_fail(1)) SWIG_fail
;
25394 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
25395 if (SWIG_arg_fail(2)) SWIG_fail
;
25396 if (arg2
== NULL
) {
25397 SWIG_null_ref("wxDC");
25399 if (SWIG_arg_fail(2)) SWIG_fail
;
25403 arg3
= (bool)(SWIG_As_bool(obj2
));
25404 if (SWIG_arg_fail(3)) SWIG_fail
;
25408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25409 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
25411 wxPyEndAllowThreads(__tstate
);
25412 if (PyErr_Occurred()) SWIG_fail
;
25414 Py_INCREF(Py_None
); resultobj
= Py_None
;
25421 static PyObject
*_wrap_PyEllipseShape_base_OnMoveLinks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25422 PyObject
*resultobj
;
25423 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
25425 PyObject
* obj0
= 0 ;
25426 PyObject
* obj1
= 0 ;
25427 char *kwnames
[] = {
25428 (char *) "self",(char *) "dc", NULL
25431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEllipseShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
25432 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyEllipseShape
, SWIG_POINTER_EXCEPTION
| 0);
25433 if (SWIG_arg_fail(1)) SWIG_fail
;
25435 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
25436 if (SWIG_arg_fail(2)) SWIG_fail
;
25437 if (arg2
== NULL
) {
25438 SWIG_null_ref("wxDC");
25440 if (SWIG_arg_fail(2)) SWIG_fail
;
25443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25444 (arg1
)->base_OnMoveLinks(*arg2
);
25446 wxPyEndAllowThreads(__tstate
);
25447 if (PyErr_Occurred()) SWIG_fail
;
25449 Py_INCREF(Py_None
); resultobj
= Py_None
;
25456 static PyObject
*_wrap_PyEllipseShape_base_OnErase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25457 PyObject
*resultobj
;
25458 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
25460 PyObject
* obj0
= 0 ;
25461 PyObject
* obj1
= 0 ;
25462 char *kwnames
[] = {
25463 (char *) "self",(char *) "dc", NULL
25466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEllipseShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
25467 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyEllipseShape
, SWIG_POINTER_EXCEPTION
| 0);
25468 if (SWIG_arg_fail(1)) SWIG_fail
;
25470 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
25471 if (SWIG_arg_fail(2)) SWIG_fail
;
25472 if (arg2
== NULL
) {
25473 SWIG_null_ref("wxDC");
25475 if (SWIG_arg_fail(2)) SWIG_fail
;
25478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25479 (arg1
)->base_OnErase(*arg2
);
25481 wxPyEndAllowThreads(__tstate
);
25482 if (PyErr_Occurred()) SWIG_fail
;
25484 Py_INCREF(Py_None
); resultobj
= Py_None
;
25491 static PyObject
*_wrap_PyEllipseShape_base_OnEraseContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25492 PyObject
*resultobj
;
25493 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
25495 PyObject
* obj0
= 0 ;
25496 PyObject
* obj1
= 0 ;
25497 char *kwnames
[] = {
25498 (char *) "self",(char *) "dc", NULL
25501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEllipseShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
25502 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyEllipseShape
, SWIG_POINTER_EXCEPTION
| 0);
25503 if (SWIG_arg_fail(1)) SWIG_fail
;
25505 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
25506 if (SWIG_arg_fail(2)) SWIG_fail
;
25507 if (arg2
== NULL
) {
25508 SWIG_null_ref("wxDC");
25510 if (SWIG_arg_fail(2)) SWIG_fail
;
25513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25514 (arg1
)->base_OnEraseContents(*arg2
);
25516 wxPyEndAllowThreads(__tstate
);
25517 if (PyErr_Occurred()) SWIG_fail
;
25519 Py_INCREF(Py_None
); resultobj
= Py_None
;
25526 static PyObject
*_wrap_PyEllipseShape_base_OnHighlight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25527 PyObject
*resultobj
;
25528 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
25530 PyObject
* obj0
= 0 ;
25531 PyObject
* obj1
= 0 ;
25532 char *kwnames
[] = {
25533 (char *) "self",(char *) "dc", NULL
25536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEllipseShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
25537 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyEllipseShape
, SWIG_POINTER_EXCEPTION
| 0);
25538 if (SWIG_arg_fail(1)) SWIG_fail
;
25540 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
25541 if (SWIG_arg_fail(2)) SWIG_fail
;
25542 if (arg2
== NULL
) {
25543 SWIG_null_ref("wxDC");
25545 if (SWIG_arg_fail(2)) SWIG_fail
;
25548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25549 (arg1
)->base_OnHighlight(*arg2
);
25551 wxPyEndAllowThreads(__tstate
);
25552 if (PyErr_Occurred()) SWIG_fail
;
25554 Py_INCREF(Py_None
); resultobj
= Py_None
;
25561 static PyObject
*_wrap_PyEllipseShape_base_OnLeftClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25562 PyObject
*resultobj
;
25563 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
25566 int arg4
= (int) 0 ;
25567 int arg5
= (int) 0 ;
25568 PyObject
* obj0
= 0 ;
25569 PyObject
* obj1
= 0 ;
25570 PyObject
* obj2
= 0 ;
25571 PyObject
* obj3
= 0 ;
25572 PyObject
* obj4
= 0 ;
25573 char *kwnames
[] = {
25574 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
25577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyEllipseShape_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
25578 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyEllipseShape
, SWIG_POINTER_EXCEPTION
| 0);
25579 if (SWIG_arg_fail(1)) SWIG_fail
;
25581 arg2
= (double)(SWIG_As_double(obj1
));
25582 if (SWIG_arg_fail(2)) SWIG_fail
;
25585 arg3
= (double)(SWIG_As_double(obj2
));
25586 if (SWIG_arg_fail(3)) SWIG_fail
;
25590 arg4
= (int)(SWIG_As_int(obj3
));
25591 if (SWIG_arg_fail(4)) SWIG_fail
;
25596 arg5
= (int)(SWIG_As_int(obj4
));
25597 if (SWIG_arg_fail(5)) SWIG_fail
;
25601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25602 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
25604 wxPyEndAllowThreads(__tstate
);
25605 if (PyErr_Occurred()) SWIG_fail
;
25607 Py_INCREF(Py_None
); resultobj
= Py_None
;
25614 static PyObject
*_wrap_PyEllipseShape_base_OnLeftDoubleClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25615 PyObject
*resultobj
;
25616 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
25619 int arg4
= (int) 0 ;
25620 int arg5
= (int) 0 ;
25621 PyObject
* obj0
= 0 ;
25622 PyObject
* obj1
= 0 ;
25623 PyObject
* obj2
= 0 ;
25624 PyObject
* obj3
= 0 ;
25625 PyObject
* obj4
= 0 ;
25626 char *kwnames
[] = {
25627 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
25630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyEllipseShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
25631 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyEllipseShape
, SWIG_POINTER_EXCEPTION
| 0);
25632 if (SWIG_arg_fail(1)) SWIG_fail
;
25634 arg2
= (double)(SWIG_As_double(obj1
));
25635 if (SWIG_arg_fail(2)) SWIG_fail
;
25638 arg3
= (double)(SWIG_As_double(obj2
));
25639 if (SWIG_arg_fail(3)) SWIG_fail
;
25643 arg4
= (int)(SWIG_As_int(obj3
));
25644 if (SWIG_arg_fail(4)) SWIG_fail
;
25649 arg5
= (int)(SWIG_As_int(obj4
));
25650 if (SWIG_arg_fail(5)) SWIG_fail
;
25654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25655 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
25657 wxPyEndAllowThreads(__tstate
);
25658 if (PyErr_Occurred()) SWIG_fail
;
25660 Py_INCREF(Py_None
); resultobj
= Py_None
;
25667 static PyObject
*_wrap_PyEllipseShape_base_OnRightClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25668 PyObject
*resultobj
;
25669 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
25672 int arg4
= (int) 0 ;
25673 int arg5
= (int) 0 ;
25674 PyObject
* obj0
= 0 ;
25675 PyObject
* obj1
= 0 ;
25676 PyObject
* obj2
= 0 ;
25677 PyObject
* obj3
= 0 ;
25678 PyObject
* obj4
= 0 ;
25679 char *kwnames
[] = {
25680 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
25683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyEllipseShape_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
25684 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyEllipseShape
, SWIG_POINTER_EXCEPTION
| 0);
25685 if (SWIG_arg_fail(1)) SWIG_fail
;
25687 arg2
= (double)(SWIG_As_double(obj1
));
25688 if (SWIG_arg_fail(2)) SWIG_fail
;
25691 arg3
= (double)(SWIG_As_double(obj2
));
25692 if (SWIG_arg_fail(3)) SWIG_fail
;
25696 arg4
= (int)(SWIG_As_int(obj3
));
25697 if (SWIG_arg_fail(4)) SWIG_fail
;
25702 arg5
= (int)(SWIG_As_int(obj4
));
25703 if (SWIG_arg_fail(5)) SWIG_fail
;
25707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25708 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
25710 wxPyEndAllowThreads(__tstate
);
25711 if (PyErr_Occurred()) SWIG_fail
;
25713 Py_INCREF(Py_None
); resultobj
= Py_None
;
25720 static PyObject
*_wrap_PyEllipseShape_base_OnSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25721 PyObject
*resultobj
;
25722 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
25725 PyObject
* obj0
= 0 ;
25726 PyObject
* obj1
= 0 ;
25727 PyObject
* obj2
= 0 ;
25728 char *kwnames
[] = {
25729 (char *) "self",(char *) "x",(char *) "y", NULL
25732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyEllipseShape_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25733 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyEllipseShape
, SWIG_POINTER_EXCEPTION
| 0);
25734 if (SWIG_arg_fail(1)) SWIG_fail
;
25736 arg2
= (double)(SWIG_As_double(obj1
));
25737 if (SWIG_arg_fail(2)) SWIG_fail
;
25740 arg3
= (double)(SWIG_As_double(obj2
));
25741 if (SWIG_arg_fail(3)) SWIG_fail
;
25744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25745 (arg1
)->base_OnSize(arg2
,arg3
);
25747 wxPyEndAllowThreads(__tstate
);
25748 if (PyErr_Occurred()) SWIG_fail
;
25750 Py_INCREF(Py_None
); resultobj
= Py_None
;
25757 static PyObject
*_wrap_PyEllipseShape_base_OnMovePre(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25758 PyObject
*resultobj
;
25759 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
25765 bool arg7
= (bool) true ;
25767 PyObject
* obj0
= 0 ;
25768 PyObject
* obj1
= 0 ;
25769 PyObject
* obj2
= 0 ;
25770 PyObject
* obj3
= 0 ;
25771 PyObject
* obj4
= 0 ;
25772 PyObject
* obj5
= 0 ;
25773 PyObject
* obj6
= 0 ;
25774 char *kwnames
[] = {
25775 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
25778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyEllipseShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25779 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyEllipseShape
, SWIG_POINTER_EXCEPTION
| 0);
25780 if (SWIG_arg_fail(1)) SWIG_fail
;
25782 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
25783 if (SWIG_arg_fail(2)) SWIG_fail
;
25784 if (arg2
== NULL
) {
25785 SWIG_null_ref("wxDC");
25787 if (SWIG_arg_fail(2)) SWIG_fail
;
25790 arg3
= (double)(SWIG_As_double(obj2
));
25791 if (SWIG_arg_fail(3)) SWIG_fail
;
25794 arg4
= (double)(SWIG_As_double(obj3
));
25795 if (SWIG_arg_fail(4)) SWIG_fail
;
25798 arg5
= (double)(SWIG_As_double(obj4
));
25799 if (SWIG_arg_fail(5)) SWIG_fail
;
25802 arg6
= (double)(SWIG_As_double(obj5
));
25803 if (SWIG_arg_fail(6)) SWIG_fail
;
25807 arg7
= (bool)(SWIG_As_bool(obj6
));
25808 if (SWIG_arg_fail(7)) SWIG_fail
;
25812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25813 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
25815 wxPyEndAllowThreads(__tstate
);
25816 if (PyErr_Occurred()) SWIG_fail
;
25819 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25827 static PyObject
*_wrap_PyEllipseShape_base_OnMovePost(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25828 PyObject
*resultobj
;
25829 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
25835 bool arg7
= (bool) true ;
25836 PyObject
* obj0
= 0 ;
25837 PyObject
* obj1
= 0 ;
25838 PyObject
* obj2
= 0 ;
25839 PyObject
* obj3
= 0 ;
25840 PyObject
* obj4
= 0 ;
25841 PyObject
* obj5
= 0 ;
25842 PyObject
* obj6
= 0 ;
25843 char *kwnames
[] = {
25844 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
25847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyEllipseShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25848 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyEllipseShape
, SWIG_POINTER_EXCEPTION
| 0);
25849 if (SWIG_arg_fail(1)) SWIG_fail
;
25851 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
25852 if (SWIG_arg_fail(2)) SWIG_fail
;
25853 if (arg2
== NULL
) {
25854 SWIG_null_ref("wxDC");
25856 if (SWIG_arg_fail(2)) SWIG_fail
;
25859 arg3
= (double)(SWIG_As_double(obj2
));
25860 if (SWIG_arg_fail(3)) SWIG_fail
;
25863 arg4
= (double)(SWIG_As_double(obj3
));
25864 if (SWIG_arg_fail(4)) SWIG_fail
;
25867 arg5
= (double)(SWIG_As_double(obj4
));
25868 if (SWIG_arg_fail(5)) SWIG_fail
;
25871 arg6
= (double)(SWIG_As_double(obj5
));
25872 if (SWIG_arg_fail(6)) SWIG_fail
;
25876 arg7
= (bool)(SWIG_As_bool(obj6
));
25877 if (SWIG_arg_fail(7)) SWIG_fail
;
25881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25882 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
25884 wxPyEndAllowThreads(__tstate
);
25885 if (PyErr_Occurred()) SWIG_fail
;
25887 Py_INCREF(Py_None
); resultobj
= Py_None
;
25894 static PyObject
*_wrap_PyEllipseShape_base_OnDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25895 PyObject
*resultobj
;
25896 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
25900 int arg5
= (int) 0 ;
25901 int arg6
= (int) 0 ;
25902 PyObject
* obj0
= 0 ;
25903 PyObject
* obj1
= 0 ;
25904 PyObject
* obj2
= 0 ;
25905 PyObject
* obj3
= 0 ;
25906 PyObject
* obj4
= 0 ;
25907 PyObject
* obj5
= 0 ;
25908 char *kwnames
[] = {
25909 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
25912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyEllipseShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
25913 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyEllipseShape
, SWIG_POINTER_EXCEPTION
| 0);
25914 if (SWIG_arg_fail(1)) SWIG_fail
;
25916 arg2
= (bool)(SWIG_As_bool(obj1
));
25917 if (SWIG_arg_fail(2)) SWIG_fail
;
25920 arg3
= (double)(SWIG_As_double(obj2
));
25921 if (SWIG_arg_fail(3)) SWIG_fail
;
25924 arg4
= (double)(SWIG_As_double(obj3
));
25925 if (SWIG_arg_fail(4)) SWIG_fail
;
25929 arg5
= (int)(SWIG_As_int(obj4
));
25930 if (SWIG_arg_fail(5)) SWIG_fail
;
25935 arg6
= (int)(SWIG_As_int(obj5
));
25936 if (SWIG_arg_fail(6)) SWIG_fail
;
25940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25941 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
25943 wxPyEndAllowThreads(__tstate
);
25944 if (PyErr_Occurred()) SWIG_fail
;
25946 Py_INCREF(Py_None
); resultobj
= Py_None
;
25953 static PyObject
*_wrap_PyEllipseShape_base_OnBeginDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25954 PyObject
*resultobj
;
25955 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
25958 int arg4
= (int) 0 ;
25959 int arg5
= (int) 0 ;
25960 PyObject
* obj0
= 0 ;
25961 PyObject
* obj1
= 0 ;
25962 PyObject
* obj2
= 0 ;
25963 PyObject
* obj3
= 0 ;
25964 PyObject
* obj4
= 0 ;
25965 char *kwnames
[] = {
25966 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
25969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyEllipseShape_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
25970 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyEllipseShape
, SWIG_POINTER_EXCEPTION
| 0);
25971 if (SWIG_arg_fail(1)) SWIG_fail
;
25973 arg2
= (double)(SWIG_As_double(obj1
));
25974 if (SWIG_arg_fail(2)) SWIG_fail
;
25977 arg3
= (double)(SWIG_As_double(obj2
));
25978 if (SWIG_arg_fail(3)) SWIG_fail
;
25982 arg4
= (int)(SWIG_As_int(obj3
));
25983 if (SWIG_arg_fail(4)) SWIG_fail
;
25988 arg5
= (int)(SWIG_As_int(obj4
));
25989 if (SWIG_arg_fail(5)) SWIG_fail
;
25993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25994 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
25996 wxPyEndAllowThreads(__tstate
);
25997 if (PyErr_Occurred()) SWIG_fail
;
25999 Py_INCREF(Py_None
); resultobj
= Py_None
;
26006 static PyObject
*_wrap_PyEllipseShape_base_OnEndDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26007 PyObject
*resultobj
;
26008 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
26011 int arg4
= (int) 0 ;
26012 int arg5
= (int) 0 ;
26013 PyObject
* obj0
= 0 ;
26014 PyObject
* obj1
= 0 ;
26015 PyObject
* obj2
= 0 ;
26016 PyObject
* obj3
= 0 ;
26017 PyObject
* obj4
= 0 ;
26018 char *kwnames
[] = {
26019 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
26022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyEllipseShape_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26023 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyEllipseShape
, SWIG_POINTER_EXCEPTION
| 0);
26024 if (SWIG_arg_fail(1)) SWIG_fail
;
26026 arg2
= (double)(SWIG_As_double(obj1
));
26027 if (SWIG_arg_fail(2)) SWIG_fail
;
26030 arg3
= (double)(SWIG_As_double(obj2
));
26031 if (SWIG_arg_fail(3)) SWIG_fail
;
26035 arg4
= (int)(SWIG_As_int(obj3
));
26036 if (SWIG_arg_fail(4)) SWIG_fail
;
26041 arg5
= (int)(SWIG_As_int(obj4
));
26042 if (SWIG_arg_fail(5)) SWIG_fail
;
26046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26047 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
26049 wxPyEndAllowThreads(__tstate
);
26050 if (PyErr_Occurred()) SWIG_fail
;
26052 Py_INCREF(Py_None
); resultobj
= Py_None
;
26059 static PyObject
*_wrap_PyEllipseShape_base_OnDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26060 PyObject
*resultobj
;
26061 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
26065 int arg5
= (int) 0 ;
26066 int arg6
= (int) 0 ;
26067 PyObject
* obj0
= 0 ;
26068 PyObject
* obj1
= 0 ;
26069 PyObject
* obj2
= 0 ;
26070 PyObject
* obj3
= 0 ;
26071 PyObject
* obj4
= 0 ;
26072 PyObject
* obj5
= 0 ;
26073 char *kwnames
[] = {
26074 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
26077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyEllipseShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
26078 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyEllipseShape
, SWIG_POINTER_EXCEPTION
| 0);
26079 if (SWIG_arg_fail(1)) SWIG_fail
;
26081 arg2
= (bool)(SWIG_As_bool(obj1
));
26082 if (SWIG_arg_fail(2)) SWIG_fail
;
26085 arg3
= (double)(SWIG_As_double(obj2
));
26086 if (SWIG_arg_fail(3)) SWIG_fail
;
26089 arg4
= (double)(SWIG_As_double(obj3
));
26090 if (SWIG_arg_fail(4)) SWIG_fail
;
26094 arg5
= (int)(SWIG_As_int(obj4
));
26095 if (SWIG_arg_fail(5)) SWIG_fail
;
26100 arg6
= (int)(SWIG_As_int(obj5
));
26101 if (SWIG_arg_fail(6)) SWIG_fail
;
26105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26106 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
26108 wxPyEndAllowThreads(__tstate
);
26109 if (PyErr_Occurred()) SWIG_fail
;
26111 Py_INCREF(Py_None
); resultobj
= Py_None
;
26118 static PyObject
*_wrap_PyEllipseShape_base_OnBeginDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26119 PyObject
*resultobj
;
26120 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
26123 int arg4
= (int) 0 ;
26124 int arg5
= (int) 0 ;
26125 PyObject
* obj0
= 0 ;
26126 PyObject
* obj1
= 0 ;
26127 PyObject
* obj2
= 0 ;
26128 PyObject
* obj3
= 0 ;
26129 PyObject
* obj4
= 0 ;
26130 char *kwnames
[] = {
26131 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
26134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyEllipseShape_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26135 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyEllipseShape
, SWIG_POINTER_EXCEPTION
| 0);
26136 if (SWIG_arg_fail(1)) SWIG_fail
;
26138 arg2
= (double)(SWIG_As_double(obj1
));
26139 if (SWIG_arg_fail(2)) SWIG_fail
;
26142 arg3
= (double)(SWIG_As_double(obj2
));
26143 if (SWIG_arg_fail(3)) SWIG_fail
;
26147 arg4
= (int)(SWIG_As_int(obj3
));
26148 if (SWIG_arg_fail(4)) SWIG_fail
;
26153 arg5
= (int)(SWIG_As_int(obj4
));
26154 if (SWIG_arg_fail(5)) SWIG_fail
;
26158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26159 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
26161 wxPyEndAllowThreads(__tstate
);
26162 if (PyErr_Occurred()) SWIG_fail
;
26164 Py_INCREF(Py_None
); resultobj
= Py_None
;
26171 static PyObject
*_wrap_PyEllipseShape_base_OnEndDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26172 PyObject
*resultobj
;
26173 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
26176 int arg4
= (int) 0 ;
26177 int arg5
= (int) 0 ;
26178 PyObject
* obj0
= 0 ;
26179 PyObject
* obj1
= 0 ;
26180 PyObject
* obj2
= 0 ;
26181 PyObject
* obj3
= 0 ;
26182 PyObject
* obj4
= 0 ;
26183 char *kwnames
[] = {
26184 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
26187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyEllipseShape_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26188 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyEllipseShape
, SWIG_POINTER_EXCEPTION
| 0);
26189 if (SWIG_arg_fail(1)) SWIG_fail
;
26191 arg2
= (double)(SWIG_As_double(obj1
));
26192 if (SWIG_arg_fail(2)) SWIG_fail
;
26195 arg3
= (double)(SWIG_As_double(obj2
));
26196 if (SWIG_arg_fail(3)) SWIG_fail
;
26200 arg4
= (int)(SWIG_As_int(obj3
));
26201 if (SWIG_arg_fail(4)) SWIG_fail
;
26206 arg5
= (int)(SWIG_As_int(obj4
));
26207 if (SWIG_arg_fail(5)) SWIG_fail
;
26211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26212 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
26214 wxPyEndAllowThreads(__tstate
);
26215 if (PyErr_Occurred()) SWIG_fail
;
26217 Py_INCREF(Py_None
); resultobj
= Py_None
;
26224 static PyObject
*_wrap_PyEllipseShape_base_OnDrawOutline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26225 PyObject
*resultobj
;
26226 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
26232 PyObject
* obj0
= 0 ;
26233 PyObject
* obj1
= 0 ;
26234 PyObject
* obj2
= 0 ;
26235 PyObject
* obj3
= 0 ;
26236 PyObject
* obj4
= 0 ;
26237 PyObject
* obj5
= 0 ;
26238 char *kwnames
[] = {
26239 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
26242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyEllipseShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
26243 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyEllipseShape
, SWIG_POINTER_EXCEPTION
| 0);
26244 if (SWIG_arg_fail(1)) SWIG_fail
;
26246 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
26247 if (SWIG_arg_fail(2)) SWIG_fail
;
26248 if (arg2
== NULL
) {
26249 SWIG_null_ref("wxDC");
26251 if (SWIG_arg_fail(2)) SWIG_fail
;
26254 arg3
= (double)(SWIG_As_double(obj2
));
26255 if (SWIG_arg_fail(3)) SWIG_fail
;
26258 arg4
= (double)(SWIG_As_double(obj3
));
26259 if (SWIG_arg_fail(4)) SWIG_fail
;
26262 arg5
= (double)(SWIG_As_double(obj4
));
26263 if (SWIG_arg_fail(5)) SWIG_fail
;
26266 arg6
= (double)(SWIG_As_double(obj5
));
26267 if (SWIG_arg_fail(6)) SWIG_fail
;
26270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26271 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
26273 wxPyEndAllowThreads(__tstate
);
26274 if (PyErr_Occurred()) SWIG_fail
;
26276 Py_INCREF(Py_None
); resultobj
= Py_None
;
26283 static PyObject
*_wrap_PyEllipseShape_base_OnDrawControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26284 PyObject
*resultobj
;
26285 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
26287 PyObject
* obj0
= 0 ;
26288 PyObject
* obj1
= 0 ;
26289 char *kwnames
[] = {
26290 (char *) "self",(char *) "dc", NULL
26293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEllipseShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
26294 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyEllipseShape
, SWIG_POINTER_EXCEPTION
| 0);
26295 if (SWIG_arg_fail(1)) SWIG_fail
;
26297 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
26298 if (SWIG_arg_fail(2)) SWIG_fail
;
26299 if (arg2
== NULL
) {
26300 SWIG_null_ref("wxDC");
26302 if (SWIG_arg_fail(2)) SWIG_fail
;
26305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26306 (arg1
)->base_OnDrawControlPoints(*arg2
);
26308 wxPyEndAllowThreads(__tstate
);
26309 if (PyErr_Occurred()) SWIG_fail
;
26311 Py_INCREF(Py_None
); resultobj
= Py_None
;
26318 static PyObject
*_wrap_PyEllipseShape_base_OnEraseControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26319 PyObject
*resultobj
;
26320 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
26322 PyObject
* obj0
= 0 ;
26323 PyObject
* obj1
= 0 ;
26324 char *kwnames
[] = {
26325 (char *) "self",(char *) "dc", NULL
26328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEllipseShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
26329 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyEllipseShape
, SWIG_POINTER_EXCEPTION
| 0);
26330 if (SWIG_arg_fail(1)) SWIG_fail
;
26332 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
26333 if (SWIG_arg_fail(2)) SWIG_fail
;
26334 if (arg2
== NULL
) {
26335 SWIG_null_ref("wxDC");
26337 if (SWIG_arg_fail(2)) SWIG_fail
;
26340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26341 (arg1
)->base_OnEraseControlPoints(*arg2
);
26343 wxPyEndAllowThreads(__tstate
);
26344 if (PyErr_Occurred()) SWIG_fail
;
26346 Py_INCREF(Py_None
); resultobj
= Py_None
;
26353 static PyObject
*_wrap_PyEllipseShape_base_OnMoveLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26354 PyObject
*resultobj
;
26355 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
26357 bool arg3
= (bool) true ;
26358 PyObject
* obj0
= 0 ;
26359 PyObject
* obj1
= 0 ;
26360 PyObject
* obj2
= 0 ;
26361 char *kwnames
[] = {
26362 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
26365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyEllipseShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26366 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyEllipseShape
, SWIG_POINTER_EXCEPTION
| 0);
26367 if (SWIG_arg_fail(1)) SWIG_fail
;
26369 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
26370 if (SWIG_arg_fail(2)) SWIG_fail
;
26371 if (arg2
== NULL
) {
26372 SWIG_null_ref("wxDC");
26374 if (SWIG_arg_fail(2)) SWIG_fail
;
26378 arg3
= (bool)(SWIG_As_bool(obj2
));
26379 if (SWIG_arg_fail(3)) SWIG_fail
;
26383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26384 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
26386 wxPyEndAllowThreads(__tstate
);
26387 if (PyErr_Occurred()) SWIG_fail
;
26389 Py_INCREF(Py_None
); resultobj
= Py_None
;
26396 static PyObject
*_wrap_PyEllipseShape_base_OnSizingDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26397 PyObject
*resultobj
;
26398 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
26399 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
26403 int arg6
= (int) 0 ;
26404 int arg7
= (int) 0 ;
26405 PyObject
* obj0
= 0 ;
26406 PyObject
* obj1
= 0 ;
26407 PyObject
* obj2
= 0 ;
26408 PyObject
* obj3
= 0 ;
26409 PyObject
* obj4
= 0 ;
26410 PyObject
* obj5
= 0 ;
26411 PyObject
* obj6
= 0 ;
26412 char *kwnames
[] = {
26413 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
26416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyEllipseShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
26417 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyEllipseShape
, SWIG_POINTER_EXCEPTION
| 0);
26418 if (SWIG_arg_fail(1)) SWIG_fail
;
26419 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyControlPoint
, SWIG_POINTER_EXCEPTION
| 0);
26420 if (SWIG_arg_fail(2)) SWIG_fail
;
26422 arg3
= (bool)(SWIG_As_bool(obj2
));
26423 if (SWIG_arg_fail(3)) SWIG_fail
;
26426 arg4
= (double)(SWIG_As_double(obj3
));
26427 if (SWIG_arg_fail(4)) SWIG_fail
;
26430 arg5
= (double)(SWIG_As_double(obj4
));
26431 if (SWIG_arg_fail(5)) SWIG_fail
;
26435 arg6
= (int)(SWIG_As_int(obj5
));
26436 if (SWIG_arg_fail(6)) SWIG_fail
;
26441 arg7
= (int)(SWIG_As_int(obj6
));
26442 if (SWIG_arg_fail(7)) SWIG_fail
;
26446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26447 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
26449 wxPyEndAllowThreads(__tstate
);
26450 if (PyErr_Occurred()) SWIG_fail
;
26452 Py_INCREF(Py_None
); resultobj
= Py_None
;
26459 static PyObject
*_wrap_PyEllipseShape_base_OnSizingBeginDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26460 PyObject
*resultobj
;
26461 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
26462 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
26465 int arg5
= (int) 0 ;
26466 int arg6
= (int) 0 ;
26467 PyObject
* obj0
= 0 ;
26468 PyObject
* obj1
= 0 ;
26469 PyObject
* obj2
= 0 ;
26470 PyObject
* obj3
= 0 ;
26471 PyObject
* obj4
= 0 ;
26472 PyObject
* obj5
= 0 ;
26473 char *kwnames
[] = {
26474 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
26477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyEllipseShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
26478 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyEllipseShape
, SWIG_POINTER_EXCEPTION
| 0);
26479 if (SWIG_arg_fail(1)) SWIG_fail
;
26480 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyControlPoint
, SWIG_POINTER_EXCEPTION
| 0);
26481 if (SWIG_arg_fail(2)) SWIG_fail
;
26483 arg3
= (double)(SWIG_As_double(obj2
));
26484 if (SWIG_arg_fail(3)) SWIG_fail
;
26487 arg4
= (double)(SWIG_As_double(obj3
));
26488 if (SWIG_arg_fail(4)) SWIG_fail
;
26492 arg5
= (int)(SWIG_As_int(obj4
));
26493 if (SWIG_arg_fail(5)) SWIG_fail
;
26498 arg6
= (int)(SWIG_As_int(obj5
));
26499 if (SWIG_arg_fail(6)) SWIG_fail
;
26503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26504 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
26506 wxPyEndAllowThreads(__tstate
);
26507 if (PyErr_Occurred()) SWIG_fail
;
26509 Py_INCREF(Py_None
); resultobj
= Py_None
;
26516 static PyObject
*_wrap_PyEllipseShape_base_OnSizingEndDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26517 PyObject
*resultobj
;
26518 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
26519 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
26522 int arg5
= (int) 0 ;
26523 int arg6
= (int) 0 ;
26524 PyObject
* obj0
= 0 ;
26525 PyObject
* obj1
= 0 ;
26526 PyObject
* obj2
= 0 ;
26527 PyObject
* obj3
= 0 ;
26528 PyObject
* obj4
= 0 ;
26529 PyObject
* obj5
= 0 ;
26530 char *kwnames
[] = {
26531 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
26534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyEllipseShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
26535 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyEllipseShape
, SWIG_POINTER_EXCEPTION
| 0);
26536 if (SWIG_arg_fail(1)) SWIG_fail
;
26537 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyControlPoint
, SWIG_POINTER_EXCEPTION
| 0);
26538 if (SWIG_arg_fail(2)) SWIG_fail
;
26540 arg3
= (double)(SWIG_As_double(obj2
));
26541 if (SWIG_arg_fail(3)) SWIG_fail
;
26544 arg4
= (double)(SWIG_As_double(obj3
));
26545 if (SWIG_arg_fail(4)) SWIG_fail
;
26549 arg5
= (int)(SWIG_As_int(obj4
));
26550 if (SWIG_arg_fail(5)) SWIG_fail
;
26555 arg6
= (int)(SWIG_As_int(obj5
));
26556 if (SWIG_arg_fail(6)) SWIG_fail
;
26560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26561 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
26563 wxPyEndAllowThreads(__tstate
);
26564 if (PyErr_Occurred()) SWIG_fail
;
26566 Py_INCREF(Py_None
); resultobj
= Py_None
;
26573 static PyObject
*_wrap_PyEllipseShape_base_OnBeginSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26574 PyObject
*resultobj
;
26575 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
26578 PyObject
* obj0
= 0 ;
26579 PyObject
* obj1
= 0 ;
26580 PyObject
* obj2
= 0 ;
26581 char *kwnames
[] = {
26582 (char *) "self",(char *) "w",(char *) "h", NULL
26585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyEllipseShape_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26586 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyEllipseShape
, SWIG_POINTER_EXCEPTION
| 0);
26587 if (SWIG_arg_fail(1)) SWIG_fail
;
26589 arg2
= (double)(SWIG_As_double(obj1
));
26590 if (SWIG_arg_fail(2)) SWIG_fail
;
26593 arg3
= (double)(SWIG_As_double(obj2
));
26594 if (SWIG_arg_fail(3)) SWIG_fail
;
26597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26598 (arg1
)->base_OnBeginSize(arg2
,arg3
);
26600 wxPyEndAllowThreads(__tstate
);
26601 if (PyErr_Occurred()) SWIG_fail
;
26603 Py_INCREF(Py_None
); resultobj
= Py_None
;
26610 static PyObject
*_wrap_PyEllipseShape_base_OnEndSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26611 PyObject
*resultobj
;
26612 wxPyEllipseShape
*arg1
= (wxPyEllipseShape
*) 0 ;
26615 PyObject
* obj0
= 0 ;
26616 PyObject
* obj1
= 0 ;
26617 PyObject
* obj2
= 0 ;
26618 char *kwnames
[] = {
26619 (char *) "self",(char *) "w",(char *) "h", NULL
26622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyEllipseShape_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26623 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyEllipseShape
, SWIG_POINTER_EXCEPTION
| 0);
26624 if (SWIG_arg_fail(1)) SWIG_fail
;
26626 arg2
= (double)(SWIG_As_double(obj1
));
26627 if (SWIG_arg_fail(2)) SWIG_fail
;
26630 arg3
= (double)(SWIG_As_double(obj2
));
26631 if (SWIG_arg_fail(3)) SWIG_fail
;
26634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26635 (arg1
)->base_OnEndSize(arg2
,arg3
);
26637 wxPyEndAllowThreads(__tstate
);
26638 if (PyErr_Occurred()) SWIG_fail
;
26640 Py_INCREF(Py_None
); resultobj
= Py_None
;
26647 static PyObject
* PyEllipseShape_swigregister(PyObject
*, PyObject
*args
) {
26649 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26650 SWIG_TypeClientData(SWIGTYPE_p_wxPyEllipseShape
, obj
);
26652 return Py_BuildValue((char *)"");
26654 static PyObject
*_wrap_new_PyCircleShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26655 PyObject
*resultobj
;
26656 double arg1
= (double) 0.0 ;
26657 wxPyCircleShape
*result
;
26658 PyObject
* obj0
= 0 ;
26659 char *kwnames
[] = {
26660 (char *) "width", NULL
26663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyCircleShape",kwnames
,&obj0
)) goto fail
;
26666 arg1
= (double)(SWIG_As_double(obj0
));
26667 if (SWIG_arg_fail(1)) SWIG_fail
;
26671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26672 result
= (wxPyCircleShape
*)new wxPyCircleShape(arg1
);
26674 wxPyEndAllowThreads(__tstate
);
26675 if (PyErr_Occurred()) SWIG_fail
;
26677 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyCircleShape
, 1);
26684 static PyObject
*_wrap_PyCircleShape__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26685 PyObject
*resultobj
;
26686 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
26687 PyObject
*arg2
= (PyObject
*) 0 ;
26688 PyObject
*arg3
= (PyObject
*) 0 ;
26689 PyObject
* obj0
= 0 ;
26690 PyObject
* obj1
= 0 ;
26691 PyObject
* obj2
= 0 ;
26692 char *kwnames
[] = {
26693 (char *) "self",(char *) "self",(char *) "_class", NULL
26696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyCircleShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26697 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCircleShape
, SWIG_POINTER_EXCEPTION
| 0);
26698 if (SWIG_arg_fail(1)) SWIG_fail
;
26702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26703 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26705 wxPyEndAllowThreads(__tstate
);
26706 if (PyErr_Occurred()) SWIG_fail
;
26708 Py_INCREF(Py_None
); resultobj
= Py_None
;
26715 static PyObject
*_wrap_PyCircleShape_base_OnDraw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26716 PyObject
*resultobj
;
26717 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
26719 PyObject
* obj0
= 0 ;
26720 PyObject
* obj1
= 0 ;
26721 char *kwnames
[] = {
26722 (char *) "self",(char *) "dc", NULL
26725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCircleShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
26726 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCircleShape
, SWIG_POINTER_EXCEPTION
| 0);
26727 if (SWIG_arg_fail(1)) SWIG_fail
;
26729 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
26730 if (SWIG_arg_fail(2)) SWIG_fail
;
26731 if (arg2
== NULL
) {
26732 SWIG_null_ref("wxDC");
26734 if (SWIG_arg_fail(2)) SWIG_fail
;
26737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26738 (arg1
)->base_OnDraw(*arg2
);
26740 wxPyEndAllowThreads(__tstate
);
26741 if (PyErr_Occurred()) SWIG_fail
;
26743 Py_INCREF(Py_None
); resultobj
= Py_None
;
26750 static PyObject
*_wrap_PyCircleShape_base_OnDrawContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26751 PyObject
*resultobj
;
26752 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
26754 PyObject
* obj0
= 0 ;
26755 PyObject
* obj1
= 0 ;
26756 char *kwnames
[] = {
26757 (char *) "self",(char *) "dc", NULL
26760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCircleShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
26761 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCircleShape
, SWIG_POINTER_EXCEPTION
| 0);
26762 if (SWIG_arg_fail(1)) SWIG_fail
;
26764 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
26765 if (SWIG_arg_fail(2)) SWIG_fail
;
26766 if (arg2
== NULL
) {
26767 SWIG_null_ref("wxDC");
26769 if (SWIG_arg_fail(2)) SWIG_fail
;
26772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26773 (arg1
)->base_OnDrawContents(*arg2
);
26775 wxPyEndAllowThreads(__tstate
);
26776 if (PyErr_Occurred()) SWIG_fail
;
26778 Py_INCREF(Py_None
); resultobj
= Py_None
;
26785 static PyObject
*_wrap_PyCircleShape_base_OnDrawBranches(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26786 PyObject
*resultobj
;
26787 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
26789 bool arg3
= (bool) FALSE
;
26790 PyObject
* obj0
= 0 ;
26791 PyObject
* obj1
= 0 ;
26792 PyObject
* obj2
= 0 ;
26793 char *kwnames
[] = {
26794 (char *) "self",(char *) "dc",(char *) "erase", NULL
26797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyCircleShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26798 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCircleShape
, SWIG_POINTER_EXCEPTION
| 0);
26799 if (SWIG_arg_fail(1)) SWIG_fail
;
26801 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
26802 if (SWIG_arg_fail(2)) SWIG_fail
;
26803 if (arg2
== NULL
) {
26804 SWIG_null_ref("wxDC");
26806 if (SWIG_arg_fail(2)) SWIG_fail
;
26810 arg3
= (bool)(SWIG_As_bool(obj2
));
26811 if (SWIG_arg_fail(3)) SWIG_fail
;
26815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26816 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
26818 wxPyEndAllowThreads(__tstate
);
26819 if (PyErr_Occurred()) SWIG_fail
;
26821 Py_INCREF(Py_None
); resultobj
= Py_None
;
26828 static PyObject
*_wrap_PyCircleShape_base_OnMoveLinks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26829 PyObject
*resultobj
;
26830 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
26832 PyObject
* obj0
= 0 ;
26833 PyObject
* obj1
= 0 ;
26834 char *kwnames
[] = {
26835 (char *) "self",(char *) "dc", NULL
26838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCircleShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
26839 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCircleShape
, SWIG_POINTER_EXCEPTION
| 0);
26840 if (SWIG_arg_fail(1)) SWIG_fail
;
26842 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
26843 if (SWIG_arg_fail(2)) SWIG_fail
;
26844 if (arg2
== NULL
) {
26845 SWIG_null_ref("wxDC");
26847 if (SWIG_arg_fail(2)) SWIG_fail
;
26850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26851 (arg1
)->base_OnMoveLinks(*arg2
);
26853 wxPyEndAllowThreads(__tstate
);
26854 if (PyErr_Occurred()) SWIG_fail
;
26856 Py_INCREF(Py_None
); resultobj
= Py_None
;
26863 static PyObject
*_wrap_PyCircleShape_base_OnErase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26864 PyObject
*resultobj
;
26865 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
26867 PyObject
* obj0
= 0 ;
26868 PyObject
* obj1
= 0 ;
26869 char *kwnames
[] = {
26870 (char *) "self",(char *) "dc", NULL
26873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCircleShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
26874 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCircleShape
, SWIG_POINTER_EXCEPTION
| 0);
26875 if (SWIG_arg_fail(1)) SWIG_fail
;
26877 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
26878 if (SWIG_arg_fail(2)) SWIG_fail
;
26879 if (arg2
== NULL
) {
26880 SWIG_null_ref("wxDC");
26882 if (SWIG_arg_fail(2)) SWIG_fail
;
26885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26886 (arg1
)->base_OnErase(*arg2
);
26888 wxPyEndAllowThreads(__tstate
);
26889 if (PyErr_Occurred()) SWIG_fail
;
26891 Py_INCREF(Py_None
); resultobj
= Py_None
;
26898 static PyObject
*_wrap_PyCircleShape_base_OnEraseContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26899 PyObject
*resultobj
;
26900 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
26902 PyObject
* obj0
= 0 ;
26903 PyObject
* obj1
= 0 ;
26904 char *kwnames
[] = {
26905 (char *) "self",(char *) "dc", NULL
26908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCircleShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
26909 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCircleShape
, SWIG_POINTER_EXCEPTION
| 0);
26910 if (SWIG_arg_fail(1)) SWIG_fail
;
26912 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
26913 if (SWIG_arg_fail(2)) SWIG_fail
;
26914 if (arg2
== NULL
) {
26915 SWIG_null_ref("wxDC");
26917 if (SWIG_arg_fail(2)) SWIG_fail
;
26920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26921 (arg1
)->base_OnEraseContents(*arg2
);
26923 wxPyEndAllowThreads(__tstate
);
26924 if (PyErr_Occurred()) SWIG_fail
;
26926 Py_INCREF(Py_None
); resultobj
= Py_None
;
26933 static PyObject
*_wrap_PyCircleShape_base_OnHighlight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26934 PyObject
*resultobj
;
26935 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
26937 PyObject
* obj0
= 0 ;
26938 PyObject
* obj1
= 0 ;
26939 char *kwnames
[] = {
26940 (char *) "self",(char *) "dc", NULL
26943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCircleShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
26944 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCircleShape
, SWIG_POINTER_EXCEPTION
| 0);
26945 if (SWIG_arg_fail(1)) SWIG_fail
;
26947 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
26948 if (SWIG_arg_fail(2)) SWIG_fail
;
26949 if (arg2
== NULL
) {
26950 SWIG_null_ref("wxDC");
26952 if (SWIG_arg_fail(2)) SWIG_fail
;
26955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26956 (arg1
)->base_OnHighlight(*arg2
);
26958 wxPyEndAllowThreads(__tstate
);
26959 if (PyErr_Occurred()) SWIG_fail
;
26961 Py_INCREF(Py_None
); resultobj
= Py_None
;
26968 static PyObject
*_wrap_PyCircleShape_base_OnLeftClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26969 PyObject
*resultobj
;
26970 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
26973 int arg4
= (int) 0 ;
26974 int arg5
= (int) 0 ;
26975 PyObject
* obj0
= 0 ;
26976 PyObject
* obj1
= 0 ;
26977 PyObject
* obj2
= 0 ;
26978 PyObject
* obj3
= 0 ;
26979 PyObject
* obj4
= 0 ;
26980 char *kwnames
[] = {
26981 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
26984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCircleShape_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26985 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCircleShape
, SWIG_POINTER_EXCEPTION
| 0);
26986 if (SWIG_arg_fail(1)) SWIG_fail
;
26988 arg2
= (double)(SWIG_As_double(obj1
));
26989 if (SWIG_arg_fail(2)) SWIG_fail
;
26992 arg3
= (double)(SWIG_As_double(obj2
));
26993 if (SWIG_arg_fail(3)) SWIG_fail
;
26997 arg4
= (int)(SWIG_As_int(obj3
));
26998 if (SWIG_arg_fail(4)) SWIG_fail
;
27003 arg5
= (int)(SWIG_As_int(obj4
));
27004 if (SWIG_arg_fail(5)) SWIG_fail
;
27008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27009 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
27011 wxPyEndAllowThreads(__tstate
);
27012 if (PyErr_Occurred()) SWIG_fail
;
27014 Py_INCREF(Py_None
); resultobj
= Py_None
;
27021 static PyObject
*_wrap_PyCircleShape_base_OnLeftDoubleClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27022 PyObject
*resultobj
;
27023 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
27026 int arg4
= (int) 0 ;
27027 int arg5
= (int) 0 ;
27028 PyObject
* obj0
= 0 ;
27029 PyObject
* obj1
= 0 ;
27030 PyObject
* obj2
= 0 ;
27031 PyObject
* obj3
= 0 ;
27032 PyObject
* obj4
= 0 ;
27033 char *kwnames
[] = {
27034 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCircleShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27038 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCircleShape
, SWIG_POINTER_EXCEPTION
| 0);
27039 if (SWIG_arg_fail(1)) SWIG_fail
;
27041 arg2
= (double)(SWIG_As_double(obj1
));
27042 if (SWIG_arg_fail(2)) SWIG_fail
;
27045 arg3
= (double)(SWIG_As_double(obj2
));
27046 if (SWIG_arg_fail(3)) SWIG_fail
;
27050 arg4
= (int)(SWIG_As_int(obj3
));
27051 if (SWIG_arg_fail(4)) SWIG_fail
;
27056 arg5
= (int)(SWIG_As_int(obj4
));
27057 if (SWIG_arg_fail(5)) SWIG_fail
;
27061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27062 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
27064 wxPyEndAllowThreads(__tstate
);
27065 if (PyErr_Occurred()) SWIG_fail
;
27067 Py_INCREF(Py_None
); resultobj
= Py_None
;
27074 static PyObject
*_wrap_PyCircleShape_base_OnRightClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27075 PyObject
*resultobj
;
27076 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
27079 int arg4
= (int) 0 ;
27080 int arg5
= (int) 0 ;
27081 PyObject
* obj0
= 0 ;
27082 PyObject
* obj1
= 0 ;
27083 PyObject
* obj2
= 0 ;
27084 PyObject
* obj3
= 0 ;
27085 PyObject
* obj4
= 0 ;
27086 char *kwnames
[] = {
27087 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCircleShape_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27091 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCircleShape
, SWIG_POINTER_EXCEPTION
| 0);
27092 if (SWIG_arg_fail(1)) SWIG_fail
;
27094 arg2
= (double)(SWIG_As_double(obj1
));
27095 if (SWIG_arg_fail(2)) SWIG_fail
;
27098 arg3
= (double)(SWIG_As_double(obj2
));
27099 if (SWIG_arg_fail(3)) SWIG_fail
;
27103 arg4
= (int)(SWIG_As_int(obj3
));
27104 if (SWIG_arg_fail(4)) SWIG_fail
;
27109 arg5
= (int)(SWIG_As_int(obj4
));
27110 if (SWIG_arg_fail(5)) SWIG_fail
;
27114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27115 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
27117 wxPyEndAllowThreads(__tstate
);
27118 if (PyErr_Occurred()) SWIG_fail
;
27120 Py_INCREF(Py_None
); resultobj
= Py_None
;
27127 static PyObject
*_wrap_PyCircleShape_base_OnSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27128 PyObject
*resultobj
;
27129 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
27132 PyObject
* obj0
= 0 ;
27133 PyObject
* obj1
= 0 ;
27134 PyObject
* obj2
= 0 ;
27135 char *kwnames
[] = {
27136 (char *) "self",(char *) "x",(char *) "y", NULL
27139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyCircleShape_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27140 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCircleShape
, SWIG_POINTER_EXCEPTION
| 0);
27141 if (SWIG_arg_fail(1)) SWIG_fail
;
27143 arg2
= (double)(SWIG_As_double(obj1
));
27144 if (SWIG_arg_fail(2)) SWIG_fail
;
27147 arg3
= (double)(SWIG_As_double(obj2
));
27148 if (SWIG_arg_fail(3)) SWIG_fail
;
27151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27152 (arg1
)->base_OnSize(arg2
,arg3
);
27154 wxPyEndAllowThreads(__tstate
);
27155 if (PyErr_Occurred()) SWIG_fail
;
27157 Py_INCREF(Py_None
); resultobj
= Py_None
;
27164 static PyObject
*_wrap_PyCircleShape_base_OnMovePre(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27165 PyObject
*resultobj
;
27166 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
27172 bool arg7
= (bool) true ;
27174 PyObject
* obj0
= 0 ;
27175 PyObject
* obj1
= 0 ;
27176 PyObject
* obj2
= 0 ;
27177 PyObject
* obj3
= 0 ;
27178 PyObject
* obj4
= 0 ;
27179 PyObject
* obj5
= 0 ;
27180 PyObject
* obj6
= 0 ;
27181 char *kwnames
[] = {
27182 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
27185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyCircleShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27186 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCircleShape
, SWIG_POINTER_EXCEPTION
| 0);
27187 if (SWIG_arg_fail(1)) SWIG_fail
;
27189 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
27190 if (SWIG_arg_fail(2)) SWIG_fail
;
27191 if (arg2
== NULL
) {
27192 SWIG_null_ref("wxDC");
27194 if (SWIG_arg_fail(2)) SWIG_fail
;
27197 arg3
= (double)(SWIG_As_double(obj2
));
27198 if (SWIG_arg_fail(3)) SWIG_fail
;
27201 arg4
= (double)(SWIG_As_double(obj3
));
27202 if (SWIG_arg_fail(4)) SWIG_fail
;
27205 arg5
= (double)(SWIG_As_double(obj4
));
27206 if (SWIG_arg_fail(5)) SWIG_fail
;
27209 arg6
= (double)(SWIG_As_double(obj5
));
27210 if (SWIG_arg_fail(6)) SWIG_fail
;
27214 arg7
= (bool)(SWIG_As_bool(obj6
));
27215 if (SWIG_arg_fail(7)) SWIG_fail
;
27219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27220 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
27222 wxPyEndAllowThreads(__tstate
);
27223 if (PyErr_Occurred()) SWIG_fail
;
27226 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27234 static PyObject
*_wrap_PyCircleShape_base_OnMovePost(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27235 PyObject
*resultobj
;
27236 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
27242 bool arg7
= (bool) true ;
27243 PyObject
* obj0
= 0 ;
27244 PyObject
* obj1
= 0 ;
27245 PyObject
* obj2
= 0 ;
27246 PyObject
* obj3
= 0 ;
27247 PyObject
* obj4
= 0 ;
27248 PyObject
* obj5
= 0 ;
27249 PyObject
* obj6
= 0 ;
27250 char *kwnames
[] = {
27251 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
27254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyCircleShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27255 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCircleShape
, SWIG_POINTER_EXCEPTION
| 0);
27256 if (SWIG_arg_fail(1)) SWIG_fail
;
27258 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
27259 if (SWIG_arg_fail(2)) SWIG_fail
;
27260 if (arg2
== NULL
) {
27261 SWIG_null_ref("wxDC");
27263 if (SWIG_arg_fail(2)) SWIG_fail
;
27266 arg3
= (double)(SWIG_As_double(obj2
));
27267 if (SWIG_arg_fail(3)) SWIG_fail
;
27270 arg4
= (double)(SWIG_As_double(obj3
));
27271 if (SWIG_arg_fail(4)) SWIG_fail
;
27274 arg5
= (double)(SWIG_As_double(obj4
));
27275 if (SWIG_arg_fail(5)) SWIG_fail
;
27278 arg6
= (double)(SWIG_As_double(obj5
));
27279 if (SWIG_arg_fail(6)) SWIG_fail
;
27283 arg7
= (bool)(SWIG_As_bool(obj6
));
27284 if (SWIG_arg_fail(7)) SWIG_fail
;
27288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27289 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
27291 wxPyEndAllowThreads(__tstate
);
27292 if (PyErr_Occurred()) SWIG_fail
;
27294 Py_INCREF(Py_None
); resultobj
= Py_None
;
27301 static PyObject
*_wrap_PyCircleShape_base_OnDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27302 PyObject
*resultobj
;
27303 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
27307 int arg5
= (int) 0 ;
27308 int arg6
= (int) 0 ;
27309 PyObject
* obj0
= 0 ;
27310 PyObject
* obj1
= 0 ;
27311 PyObject
* obj2
= 0 ;
27312 PyObject
* obj3
= 0 ;
27313 PyObject
* obj4
= 0 ;
27314 PyObject
* obj5
= 0 ;
27315 char *kwnames
[] = {
27316 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyCircleShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27320 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCircleShape
, SWIG_POINTER_EXCEPTION
| 0);
27321 if (SWIG_arg_fail(1)) SWIG_fail
;
27323 arg2
= (bool)(SWIG_As_bool(obj1
));
27324 if (SWIG_arg_fail(2)) SWIG_fail
;
27327 arg3
= (double)(SWIG_As_double(obj2
));
27328 if (SWIG_arg_fail(3)) SWIG_fail
;
27331 arg4
= (double)(SWIG_As_double(obj3
));
27332 if (SWIG_arg_fail(4)) SWIG_fail
;
27336 arg5
= (int)(SWIG_As_int(obj4
));
27337 if (SWIG_arg_fail(5)) SWIG_fail
;
27342 arg6
= (int)(SWIG_As_int(obj5
));
27343 if (SWIG_arg_fail(6)) SWIG_fail
;
27347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27348 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
27350 wxPyEndAllowThreads(__tstate
);
27351 if (PyErr_Occurred()) SWIG_fail
;
27353 Py_INCREF(Py_None
); resultobj
= Py_None
;
27360 static PyObject
*_wrap_PyCircleShape_base_OnBeginDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27361 PyObject
*resultobj
;
27362 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
27365 int arg4
= (int) 0 ;
27366 int arg5
= (int) 0 ;
27367 PyObject
* obj0
= 0 ;
27368 PyObject
* obj1
= 0 ;
27369 PyObject
* obj2
= 0 ;
27370 PyObject
* obj3
= 0 ;
27371 PyObject
* obj4
= 0 ;
27372 char *kwnames
[] = {
27373 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCircleShape_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27377 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCircleShape
, SWIG_POINTER_EXCEPTION
| 0);
27378 if (SWIG_arg_fail(1)) SWIG_fail
;
27380 arg2
= (double)(SWIG_As_double(obj1
));
27381 if (SWIG_arg_fail(2)) SWIG_fail
;
27384 arg3
= (double)(SWIG_As_double(obj2
));
27385 if (SWIG_arg_fail(3)) SWIG_fail
;
27389 arg4
= (int)(SWIG_As_int(obj3
));
27390 if (SWIG_arg_fail(4)) SWIG_fail
;
27395 arg5
= (int)(SWIG_As_int(obj4
));
27396 if (SWIG_arg_fail(5)) SWIG_fail
;
27400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27401 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
27403 wxPyEndAllowThreads(__tstate
);
27404 if (PyErr_Occurred()) SWIG_fail
;
27406 Py_INCREF(Py_None
); resultobj
= Py_None
;
27413 static PyObject
*_wrap_PyCircleShape_base_OnEndDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27414 PyObject
*resultobj
;
27415 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
27418 int arg4
= (int) 0 ;
27419 int arg5
= (int) 0 ;
27420 PyObject
* obj0
= 0 ;
27421 PyObject
* obj1
= 0 ;
27422 PyObject
* obj2
= 0 ;
27423 PyObject
* obj3
= 0 ;
27424 PyObject
* obj4
= 0 ;
27425 char *kwnames
[] = {
27426 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCircleShape_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27430 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCircleShape
, SWIG_POINTER_EXCEPTION
| 0);
27431 if (SWIG_arg_fail(1)) SWIG_fail
;
27433 arg2
= (double)(SWIG_As_double(obj1
));
27434 if (SWIG_arg_fail(2)) SWIG_fail
;
27437 arg3
= (double)(SWIG_As_double(obj2
));
27438 if (SWIG_arg_fail(3)) SWIG_fail
;
27442 arg4
= (int)(SWIG_As_int(obj3
));
27443 if (SWIG_arg_fail(4)) SWIG_fail
;
27448 arg5
= (int)(SWIG_As_int(obj4
));
27449 if (SWIG_arg_fail(5)) SWIG_fail
;
27453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27454 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
27456 wxPyEndAllowThreads(__tstate
);
27457 if (PyErr_Occurred()) SWIG_fail
;
27459 Py_INCREF(Py_None
); resultobj
= Py_None
;
27466 static PyObject
*_wrap_PyCircleShape_base_OnDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27467 PyObject
*resultobj
;
27468 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
27472 int arg5
= (int) 0 ;
27473 int arg6
= (int) 0 ;
27474 PyObject
* obj0
= 0 ;
27475 PyObject
* obj1
= 0 ;
27476 PyObject
* obj2
= 0 ;
27477 PyObject
* obj3
= 0 ;
27478 PyObject
* obj4
= 0 ;
27479 PyObject
* obj5
= 0 ;
27480 char *kwnames
[] = {
27481 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyCircleShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27485 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCircleShape
, SWIG_POINTER_EXCEPTION
| 0);
27486 if (SWIG_arg_fail(1)) SWIG_fail
;
27488 arg2
= (bool)(SWIG_As_bool(obj1
));
27489 if (SWIG_arg_fail(2)) SWIG_fail
;
27492 arg3
= (double)(SWIG_As_double(obj2
));
27493 if (SWIG_arg_fail(3)) SWIG_fail
;
27496 arg4
= (double)(SWIG_As_double(obj3
));
27497 if (SWIG_arg_fail(4)) SWIG_fail
;
27501 arg5
= (int)(SWIG_As_int(obj4
));
27502 if (SWIG_arg_fail(5)) SWIG_fail
;
27507 arg6
= (int)(SWIG_As_int(obj5
));
27508 if (SWIG_arg_fail(6)) SWIG_fail
;
27512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27513 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
27515 wxPyEndAllowThreads(__tstate
);
27516 if (PyErr_Occurred()) SWIG_fail
;
27518 Py_INCREF(Py_None
); resultobj
= Py_None
;
27525 static PyObject
*_wrap_PyCircleShape_base_OnBeginDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27526 PyObject
*resultobj
;
27527 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
27530 int arg4
= (int) 0 ;
27531 int arg5
= (int) 0 ;
27532 PyObject
* obj0
= 0 ;
27533 PyObject
* obj1
= 0 ;
27534 PyObject
* obj2
= 0 ;
27535 PyObject
* obj3
= 0 ;
27536 PyObject
* obj4
= 0 ;
27537 char *kwnames
[] = {
27538 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCircleShape_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27542 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCircleShape
, SWIG_POINTER_EXCEPTION
| 0);
27543 if (SWIG_arg_fail(1)) SWIG_fail
;
27545 arg2
= (double)(SWIG_As_double(obj1
));
27546 if (SWIG_arg_fail(2)) SWIG_fail
;
27549 arg3
= (double)(SWIG_As_double(obj2
));
27550 if (SWIG_arg_fail(3)) SWIG_fail
;
27554 arg4
= (int)(SWIG_As_int(obj3
));
27555 if (SWIG_arg_fail(4)) SWIG_fail
;
27560 arg5
= (int)(SWIG_As_int(obj4
));
27561 if (SWIG_arg_fail(5)) SWIG_fail
;
27565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27566 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
27568 wxPyEndAllowThreads(__tstate
);
27569 if (PyErr_Occurred()) SWIG_fail
;
27571 Py_INCREF(Py_None
); resultobj
= Py_None
;
27578 static PyObject
*_wrap_PyCircleShape_base_OnEndDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27579 PyObject
*resultobj
;
27580 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
27583 int arg4
= (int) 0 ;
27584 int arg5
= (int) 0 ;
27585 PyObject
* obj0
= 0 ;
27586 PyObject
* obj1
= 0 ;
27587 PyObject
* obj2
= 0 ;
27588 PyObject
* obj3
= 0 ;
27589 PyObject
* obj4
= 0 ;
27590 char *kwnames
[] = {
27591 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyCircleShape_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27595 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCircleShape
, SWIG_POINTER_EXCEPTION
| 0);
27596 if (SWIG_arg_fail(1)) SWIG_fail
;
27598 arg2
= (double)(SWIG_As_double(obj1
));
27599 if (SWIG_arg_fail(2)) SWIG_fail
;
27602 arg3
= (double)(SWIG_As_double(obj2
));
27603 if (SWIG_arg_fail(3)) SWIG_fail
;
27607 arg4
= (int)(SWIG_As_int(obj3
));
27608 if (SWIG_arg_fail(4)) SWIG_fail
;
27613 arg5
= (int)(SWIG_As_int(obj4
));
27614 if (SWIG_arg_fail(5)) SWIG_fail
;
27618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27619 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
27621 wxPyEndAllowThreads(__tstate
);
27622 if (PyErr_Occurred()) SWIG_fail
;
27624 Py_INCREF(Py_None
); resultobj
= Py_None
;
27631 static PyObject
*_wrap_PyCircleShape_base_OnDrawOutline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27632 PyObject
*resultobj
;
27633 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
27639 PyObject
* obj0
= 0 ;
27640 PyObject
* obj1
= 0 ;
27641 PyObject
* obj2
= 0 ;
27642 PyObject
* obj3
= 0 ;
27643 PyObject
* obj4
= 0 ;
27644 PyObject
* obj5
= 0 ;
27645 char *kwnames
[] = {
27646 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
27649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyCircleShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27650 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCircleShape
, SWIG_POINTER_EXCEPTION
| 0);
27651 if (SWIG_arg_fail(1)) SWIG_fail
;
27653 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
27654 if (SWIG_arg_fail(2)) SWIG_fail
;
27655 if (arg2
== NULL
) {
27656 SWIG_null_ref("wxDC");
27658 if (SWIG_arg_fail(2)) SWIG_fail
;
27661 arg3
= (double)(SWIG_As_double(obj2
));
27662 if (SWIG_arg_fail(3)) SWIG_fail
;
27665 arg4
= (double)(SWIG_As_double(obj3
));
27666 if (SWIG_arg_fail(4)) SWIG_fail
;
27669 arg5
= (double)(SWIG_As_double(obj4
));
27670 if (SWIG_arg_fail(5)) SWIG_fail
;
27673 arg6
= (double)(SWIG_As_double(obj5
));
27674 if (SWIG_arg_fail(6)) SWIG_fail
;
27677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27678 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
27680 wxPyEndAllowThreads(__tstate
);
27681 if (PyErr_Occurred()) SWIG_fail
;
27683 Py_INCREF(Py_None
); resultobj
= Py_None
;
27690 static PyObject
*_wrap_PyCircleShape_base_OnDrawControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27691 PyObject
*resultobj
;
27692 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
27694 PyObject
* obj0
= 0 ;
27695 PyObject
* obj1
= 0 ;
27696 char *kwnames
[] = {
27697 (char *) "self",(char *) "dc", NULL
27700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCircleShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
27701 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCircleShape
, SWIG_POINTER_EXCEPTION
| 0);
27702 if (SWIG_arg_fail(1)) SWIG_fail
;
27704 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
27705 if (SWIG_arg_fail(2)) SWIG_fail
;
27706 if (arg2
== NULL
) {
27707 SWIG_null_ref("wxDC");
27709 if (SWIG_arg_fail(2)) SWIG_fail
;
27712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27713 (arg1
)->base_OnDrawControlPoints(*arg2
);
27715 wxPyEndAllowThreads(__tstate
);
27716 if (PyErr_Occurred()) SWIG_fail
;
27718 Py_INCREF(Py_None
); resultobj
= Py_None
;
27725 static PyObject
*_wrap_PyCircleShape_base_OnEraseControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27726 PyObject
*resultobj
;
27727 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
27729 PyObject
* obj0
= 0 ;
27730 PyObject
* obj1
= 0 ;
27731 char *kwnames
[] = {
27732 (char *) "self",(char *) "dc", NULL
27735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCircleShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
27736 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCircleShape
, SWIG_POINTER_EXCEPTION
| 0);
27737 if (SWIG_arg_fail(1)) SWIG_fail
;
27739 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
27740 if (SWIG_arg_fail(2)) SWIG_fail
;
27741 if (arg2
== NULL
) {
27742 SWIG_null_ref("wxDC");
27744 if (SWIG_arg_fail(2)) SWIG_fail
;
27747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27748 (arg1
)->base_OnEraseControlPoints(*arg2
);
27750 wxPyEndAllowThreads(__tstate
);
27751 if (PyErr_Occurred()) SWIG_fail
;
27753 Py_INCREF(Py_None
); resultobj
= Py_None
;
27760 static PyObject
*_wrap_PyCircleShape_base_OnMoveLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27761 PyObject
*resultobj
;
27762 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
27764 bool arg3
= (bool) true ;
27765 PyObject
* obj0
= 0 ;
27766 PyObject
* obj1
= 0 ;
27767 PyObject
* obj2
= 0 ;
27768 char *kwnames
[] = {
27769 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
27772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyCircleShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27773 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCircleShape
, SWIG_POINTER_EXCEPTION
| 0);
27774 if (SWIG_arg_fail(1)) SWIG_fail
;
27776 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
27777 if (SWIG_arg_fail(2)) SWIG_fail
;
27778 if (arg2
== NULL
) {
27779 SWIG_null_ref("wxDC");
27781 if (SWIG_arg_fail(2)) SWIG_fail
;
27785 arg3
= (bool)(SWIG_As_bool(obj2
));
27786 if (SWIG_arg_fail(3)) SWIG_fail
;
27790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27791 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
27793 wxPyEndAllowThreads(__tstate
);
27794 if (PyErr_Occurred()) SWIG_fail
;
27796 Py_INCREF(Py_None
); resultobj
= Py_None
;
27803 static PyObject
*_wrap_PyCircleShape_base_OnSizingDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27804 PyObject
*resultobj
;
27805 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
27806 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
27810 int arg6
= (int) 0 ;
27811 int arg7
= (int) 0 ;
27812 PyObject
* obj0
= 0 ;
27813 PyObject
* obj1
= 0 ;
27814 PyObject
* obj2
= 0 ;
27815 PyObject
* obj3
= 0 ;
27816 PyObject
* obj4
= 0 ;
27817 PyObject
* obj5
= 0 ;
27818 PyObject
* obj6
= 0 ;
27819 char *kwnames
[] = {
27820 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyCircleShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27824 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCircleShape
, SWIG_POINTER_EXCEPTION
| 0);
27825 if (SWIG_arg_fail(1)) SWIG_fail
;
27826 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyControlPoint
, SWIG_POINTER_EXCEPTION
| 0);
27827 if (SWIG_arg_fail(2)) SWIG_fail
;
27829 arg3
= (bool)(SWIG_As_bool(obj2
));
27830 if (SWIG_arg_fail(3)) SWIG_fail
;
27833 arg4
= (double)(SWIG_As_double(obj3
));
27834 if (SWIG_arg_fail(4)) SWIG_fail
;
27837 arg5
= (double)(SWIG_As_double(obj4
));
27838 if (SWIG_arg_fail(5)) SWIG_fail
;
27842 arg6
= (int)(SWIG_As_int(obj5
));
27843 if (SWIG_arg_fail(6)) SWIG_fail
;
27848 arg7
= (int)(SWIG_As_int(obj6
));
27849 if (SWIG_arg_fail(7)) SWIG_fail
;
27853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27854 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
27856 wxPyEndAllowThreads(__tstate
);
27857 if (PyErr_Occurred()) SWIG_fail
;
27859 Py_INCREF(Py_None
); resultobj
= Py_None
;
27866 static PyObject
*_wrap_PyCircleShape_base_OnSizingBeginDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27867 PyObject
*resultobj
;
27868 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
27869 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
27872 int arg5
= (int) 0 ;
27873 int arg6
= (int) 0 ;
27874 PyObject
* obj0
= 0 ;
27875 PyObject
* obj1
= 0 ;
27876 PyObject
* obj2
= 0 ;
27877 PyObject
* obj3
= 0 ;
27878 PyObject
* obj4
= 0 ;
27879 PyObject
* obj5
= 0 ;
27880 char *kwnames
[] = {
27881 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyCircleShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27885 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCircleShape
, SWIG_POINTER_EXCEPTION
| 0);
27886 if (SWIG_arg_fail(1)) SWIG_fail
;
27887 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyControlPoint
, SWIG_POINTER_EXCEPTION
| 0);
27888 if (SWIG_arg_fail(2)) SWIG_fail
;
27890 arg3
= (double)(SWIG_As_double(obj2
));
27891 if (SWIG_arg_fail(3)) SWIG_fail
;
27894 arg4
= (double)(SWIG_As_double(obj3
));
27895 if (SWIG_arg_fail(4)) SWIG_fail
;
27899 arg5
= (int)(SWIG_As_int(obj4
));
27900 if (SWIG_arg_fail(5)) SWIG_fail
;
27905 arg6
= (int)(SWIG_As_int(obj5
));
27906 if (SWIG_arg_fail(6)) SWIG_fail
;
27910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27911 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
27913 wxPyEndAllowThreads(__tstate
);
27914 if (PyErr_Occurred()) SWIG_fail
;
27916 Py_INCREF(Py_None
); resultobj
= Py_None
;
27923 static PyObject
*_wrap_PyCircleShape_base_OnSizingEndDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27924 PyObject
*resultobj
;
27925 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
27926 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
27929 int arg5
= (int) 0 ;
27930 int arg6
= (int) 0 ;
27931 PyObject
* obj0
= 0 ;
27932 PyObject
* obj1
= 0 ;
27933 PyObject
* obj2
= 0 ;
27934 PyObject
* obj3
= 0 ;
27935 PyObject
* obj4
= 0 ;
27936 PyObject
* obj5
= 0 ;
27937 char *kwnames
[] = {
27938 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyCircleShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27942 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCircleShape
, SWIG_POINTER_EXCEPTION
| 0);
27943 if (SWIG_arg_fail(1)) SWIG_fail
;
27944 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyControlPoint
, SWIG_POINTER_EXCEPTION
| 0);
27945 if (SWIG_arg_fail(2)) SWIG_fail
;
27947 arg3
= (double)(SWIG_As_double(obj2
));
27948 if (SWIG_arg_fail(3)) SWIG_fail
;
27951 arg4
= (double)(SWIG_As_double(obj3
));
27952 if (SWIG_arg_fail(4)) SWIG_fail
;
27956 arg5
= (int)(SWIG_As_int(obj4
));
27957 if (SWIG_arg_fail(5)) SWIG_fail
;
27962 arg6
= (int)(SWIG_As_int(obj5
));
27963 if (SWIG_arg_fail(6)) SWIG_fail
;
27967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27968 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
27970 wxPyEndAllowThreads(__tstate
);
27971 if (PyErr_Occurred()) SWIG_fail
;
27973 Py_INCREF(Py_None
); resultobj
= Py_None
;
27980 static PyObject
*_wrap_PyCircleShape_base_OnBeginSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27981 PyObject
*resultobj
;
27982 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
27985 PyObject
* obj0
= 0 ;
27986 PyObject
* obj1
= 0 ;
27987 PyObject
* obj2
= 0 ;
27988 char *kwnames
[] = {
27989 (char *) "self",(char *) "w",(char *) "h", NULL
27992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyCircleShape_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27993 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCircleShape
, SWIG_POINTER_EXCEPTION
| 0);
27994 if (SWIG_arg_fail(1)) SWIG_fail
;
27996 arg2
= (double)(SWIG_As_double(obj1
));
27997 if (SWIG_arg_fail(2)) SWIG_fail
;
28000 arg3
= (double)(SWIG_As_double(obj2
));
28001 if (SWIG_arg_fail(3)) SWIG_fail
;
28004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28005 (arg1
)->base_OnBeginSize(arg2
,arg3
);
28007 wxPyEndAllowThreads(__tstate
);
28008 if (PyErr_Occurred()) SWIG_fail
;
28010 Py_INCREF(Py_None
); resultobj
= Py_None
;
28017 static PyObject
*_wrap_PyCircleShape_base_OnEndSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28018 PyObject
*resultobj
;
28019 wxPyCircleShape
*arg1
= (wxPyCircleShape
*) 0 ;
28022 PyObject
* obj0
= 0 ;
28023 PyObject
* obj1
= 0 ;
28024 PyObject
* obj2
= 0 ;
28025 char *kwnames
[] = {
28026 (char *) "self",(char *) "w",(char *) "h", NULL
28029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyCircleShape_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28030 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCircleShape
, SWIG_POINTER_EXCEPTION
| 0);
28031 if (SWIG_arg_fail(1)) SWIG_fail
;
28033 arg2
= (double)(SWIG_As_double(obj1
));
28034 if (SWIG_arg_fail(2)) SWIG_fail
;
28037 arg3
= (double)(SWIG_As_double(obj2
));
28038 if (SWIG_arg_fail(3)) SWIG_fail
;
28041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28042 (arg1
)->base_OnEndSize(arg2
,arg3
);
28044 wxPyEndAllowThreads(__tstate
);
28045 if (PyErr_Occurred()) SWIG_fail
;
28047 Py_INCREF(Py_None
); resultobj
= Py_None
;
28054 static PyObject
* PyCircleShape_swigregister(PyObject
*, PyObject
*args
) {
28056 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28057 SWIG_TypeClientData(SWIGTYPE_p_wxPyCircleShape
, obj
);
28059 return Py_BuildValue((char *)"");
28061 static PyObject
*_wrap_new_ArrowHead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28062 PyObject
*resultobj
;
28063 int arg1
= (int) 0 ;
28064 int arg2
= (int) 0 ;
28065 double arg3
= (double) 0.0 ;
28066 double arg4
= (double) 0.0 ;
28067 wxString
const &arg5_defvalue
= wxPyEmptyString
;
28068 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
28069 wxPseudoMetaFile
*arg6
= (wxPseudoMetaFile
*) NULL
;
28070 long arg7
= (long) -1 ;
28071 wxArrowHead
*result
;
28072 bool temp5
= false ;
28073 PyObject
* obj0
= 0 ;
28074 PyObject
* obj1
= 0 ;
28075 PyObject
* obj2
= 0 ;
28076 PyObject
* obj3
= 0 ;
28077 PyObject
* obj4
= 0 ;
28078 PyObject
* obj5
= 0 ;
28079 PyObject
* obj6
= 0 ;
28080 char *kwnames
[] = {
28081 (char *) "type",(char *) "end",(char *) "size",(char *) "dist",(char *) "name",(char *) "mf",(char *) "arrowId", NULL
28084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOOO:new_ArrowHead",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
28087 arg1
= (int)(SWIG_As_int(obj0
));
28088 if (SWIG_arg_fail(1)) SWIG_fail
;
28093 arg2
= (int)(SWIG_As_int(obj1
));
28094 if (SWIG_arg_fail(2)) SWIG_fail
;
28099 arg3
= (double)(SWIG_As_double(obj2
));
28100 if (SWIG_arg_fail(3)) SWIG_fail
;
28105 arg4
= (double)(SWIG_As_double(obj3
));
28106 if (SWIG_arg_fail(4)) SWIG_fail
;
28111 arg5
= wxString_in_helper(obj4
);
28112 if (arg5
== NULL
) SWIG_fail
;
28117 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxPseudoMetaFile
, SWIG_POINTER_EXCEPTION
| 0);
28118 if (SWIG_arg_fail(6)) SWIG_fail
;
28122 arg7
= (long)(SWIG_As_long(obj6
));
28123 if (SWIG_arg_fail(7)) SWIG_fail
;
28127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28128 result
= (wxArrowHead
*)new wxArrowHead(arg1
,arg2
,arg3
,arg4
,(wxString
const &)*arg5
,arg6
,arg7
);
28130 wxPyEndAllowThreads(__tstate
);
28131 if (PyErr_Occurred()) SWIG_fail
;
28134 resultobj
= wxPyMake_wxObject(result
, 1);
28150 static PyObject
*_wrap_delete_ArrowHead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28151 PyObject
*resultobj
;
28152 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
28153 PyObject
* obj0
= 0 ;
28154 char *kwnames
[] = {
28155 (char *) "self", NULL
28158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ArrowHead",kwnames
,&obj0
)) goto fail
;
28159 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxArrowHead
, SWIG_POINTER_EXCEPTION
| 0);
28160 if (SWIG_arg_fail(1)) SWIG_fail
;
28162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28165 wxPyEndAllowThreads(__tstate
);
28166 if (PyErr_Occurred()) SWIG_fail
;
28168 Py_INCREF(Py_None
); resultobj
= Py_None
;
28175 static PyObject
*_wrap_ArrowHead__GetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28176 PyObject
*resultobj
;
28177 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
28179 PyObject
* obj0
= 0 ;
28180 char *kwnames
[] = {
28181 (char *) "self", NULL
28184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead__GetType",kwnames
,&obj0
)) goto fail
;
28185 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxArrowHead
, SWIG_POINTER_EXCEPTION
| 0);
28186 if (SWIG_arg_fail(1)) SWIG_fail
;
28188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28189 result
= (int)(arg1
)->_GetType();
28191 wxPyEndAllowThreads(__tstate
);
28192 if (PyErr_Occurred()) SWIG_fail
;
28195 resultobj
= SWIG_From_int((int)(result
));
28203 static PyObject
*_wrap_ArrowHead_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28204 PyObject
*resultobj
;
28205 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
28207 PyObject
* obj0
= 0 ;
28208 char *kwnames
[] = {
28209 (char *) "self", NULL
28212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetPosition",kwnames
,&obj0
)) goto fail
;
28213 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxArrowHead
, SWIG_POINTER_EXCEPTION
| 0);
28214 if (SWIG_arg_fail(1)) SWIG_fail
;
28216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28217 result
= (int)(arg1
)->GetPosition();
28219 wxPyEndAllowThreads(__tstate
);
28220 if (PyErr_Occurred()) SWIG_fail
;
28223 resultobj
= SWIG_From_int((int)(result
));
28231 static PyObject
*_wrap_ArrowHead_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28232 PyObject
*resultobj
;
28233 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
28235 PyObject
* obj0
= 0 ;
28236 PyObject
* obj1
= 0 ;
28237 char *kwnames
[] = {
28238 (char *) "self",(char *) "pos", NULL
28241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ArrowHead_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
28242 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxArrowHead
, SWIG_POINTER_EXCEPTION
| 0);
28243 if (SWIG_arg_fail(1)) SWIG_fail
;
28245 arg2
= (int)(SWIG_As_int(obj1
));
28246 if (SWIG_arg_fail(2)) SWIG_fail
;
28249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28250 (arg1
)->SetPosition(arg2
);
28252 wxPyEndAllowThreads(__tstate
);
28253 if (PyErr_Occurred()) SWIG_fail
;
28255 Py_INCREF(Py_None
); resultobj
= Py_None
;
28262 static PyObject
*_wrap_ArrowHead_GetXOffset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28263 PyObject
*resultobj
;
28264 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
28266 PyObject
* obj0
= 0 ;
28267 char *kwnames
[] = {
28268 (char *) "self", NULL
28271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetXOffset",kwnames
,&obj0
)) goto fail
;
28272 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxArrowHead
, SWIG_POINTER_EXCEPTION
| 0);
28273 if (SWIG_arg_fail(1)) SWIG_fail
;
28275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28276 result
= (double)(arg1
)->GetXOffset();
28278 wxPyEndAllowThreads(__tstate
);
28279 if (PyErr_Occurred()) SWIG_fail
;
28282 resultobj
= SWIG_From_double((double)(result
));
28290 static PyObject
*_wrap_ArrowHead_GetYOffset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28291 PyObject
*resultobj
;
28292 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
28294 PyObject
* obj0
= 0 ;
28295 char *kwnames
[] = {
28296 (char *) "self", NULL
28299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetYOffset",kwnames
,&obj0
)) goto fail
;
28300 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxArrowHead
, SWIG_POINTER_EXCEPTION
| 0);
28301 if (SWIG_arg_fail(1)) SWIG_fail
;
28303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28304 result
= (double)(arg1
)->GetYOffset();
28306 wxPyEndAllowThreads(__tstate
);
28307 if (PyErr_Occurred()) SWIG_fail
;
28310 resultobj
= SWIG_From_double((double)(result
));
28318 static PyObject
*_wrap_ArrowHead_GetSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28319 PyObject
*resultobj
;
28320 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
28322 PyObject
* obj0
= 0 ;
28323 char *kwnames
[] = {
28324 (char *) "self", NULL
28327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetSpacing",kwnames
,&obj0
)) goto fail
;
28328 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxArrowHead
, SWIG_POINTER_EXCEPTION
| 0);
28329 if (SWIG_arg_fail(1)) SWIG_fail
;
28331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28332 result
= (double)(arg1
)->GetSpacing();
28334 wxPyEndAllowThreads(__tstate
);
28335 if (PyErr_Occurred()) SWIG_fail
;
28338 resultobj
= SWIG_From_double((double)(result
));
28346 static PyObject
*_wrap_ArrowHead_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28347 PyObject
*resultobj
;
28348 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
28350 PyObject
* obj0
= 0 ;
28351 char *kwnames
[] = {
28352 (char *) "self", NULL
28355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetSize",kwnames
,&obj0
)) goto fail
;
28356 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxArrowHead
, SWIG_POINTER_EXCEPTION
| 0);
28357 if (SWIG_arg_fail(1)) SWIG_fail
;
28359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28360 result
= (double)(arg1
)->GetSize();
28362 wxPyEndAllowThreads(__tstate
);
28363 if (PyErr_Occurred()) SWIG_fail
;
28366 resultobj
= SWIG_From_double((double)(result
));
28374 static PyObject
*_wrap_ArrowHead_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28375 PyObject
*resultobj
;
28376 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
28378 PyObject
* obj0
= 0 ;
28379 char *kwnames
[] = {
28380 (char *) "self", NULL
28383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetName",kwnames
,&obj0
)) goto fail
;
28384 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxArrowHead
, SWIG_POINTER_EXCEPTION
| 0);
28385 if (SWIG_arg_fail(1)) SWIG_fail
;
28387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28388 result
= (arg1
)->GetName();
28390 wxPyEndAllowThreads(__tstate
);
28391 if (PyErr_Occurred()) SWIG_fail
;
28395 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28397 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28406 static PyObject
*_wrap_ArrowHead_SetXOffset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28407 PyObject
*resultobj
;
28408 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
28410 PyObject
* obj0
= 0 ;
28411 PyObject
* obj1
= 0 ;
28412 char *kwnames
[] = {
28413 (char *) "self",(char *) "x", NULL
28416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ArrowHead_SetXOffset",kwnames
,&obj0
,&obj1
)) goto fail
;
28417 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxArrowHead
, SWIG_POINTER_EXCEPTION
| 0);
28418 if (SWIG_arg_fail(1)) SWIG_fail
;
28420 arg2
= (double)(SWIG_As_double(obj1
));
28421 if (SWIG_arg_fail(2)) SWIG_fail
;
28424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28425 (arg1
)->SetXOffset(arg2
);
28427 wxPyEndAllowThreads(__tstate
);
28428 if (PyErr_Occurred()) SWIG_fail
;
28430 Py_INCREF(Py_None
); resultobj
= Py_None
;
28437 static PyObject
*_wrap_ArrowHead_SetYOffset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28438 PyObject
*resultobj
;
28439 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
28441 PyObject
* obj0
= 0 ;
28442 PyObject
* obj1
= 0 ;
28443 char *kwnames
[] = {
28444 (char *) "self",(char *) "y", NULL
28447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ArrowHead_SetYOffset",kwnames
,&obj0
,&obj1
)) goto fail
;
28448 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxArrowHead
, SWIG_POINTER_EXCEPTION
| 0);
28449 if (SWIG_arg_fail(1)) SWIG_fail
;
28451 arg2
= (double)(SWIG_As_double(obj1
));
28452 if (SWIG_arg_fail(2)) SWIG_fail
;
28455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28456 (arg1
)->SetYOffset(arg2
);
28458 wxPyEndAllowThreads(__tstate
);
28459 if (PyErr_Occurred()) SWIG_fail
;
28461 Py_INCREF(Py_None
); resultobj
= Py_None
;
28468 static PyObject
*_wrap_ArrowHead_GetMetaFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28469 PyObject
*resultobj
;
28470 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
28471 wxPseudoMetaFile
*result
;
28472 PyObject
* obj0
= 0 ;
28473 char *kwnames
[] = {
28474 (char *) "self", NULL
28477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetMetaFile",kwnames
,&obj0
)) goto fail
;
28478 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxArrowHead
, SWIG_POINTER_EXCEPTION
| 0);
28479 if (SWIG_arg_fail(1)) SWIG_fail
;
28481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28482 result
= (wxPseudoMetaFile
*)(arg1
)->GetMetaFile();
28484 wxPyEndAllowThreads(__tstate
);
28485 if (PyErr_Occurred()) SWIG_fail
;
28488 resultobj
= wxPyMake_wxObject(result
, 0);
28496 static PyObject
*_wrap_ArrowHead_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28497 PyObject
*resultobj
;
28498 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
28500 PyObject
* obj0
= 0 ;
28501 char *kwnames
[] = {
28502 (char *) "self", NULL
28505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetId",kwnames
,&obj0
)) goto fail
;
28506 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxArrowHead
, SWIG_POINTER_EXCEPTION
| 0);
28507 if (SWIG_arg_fail(1)) SWIG_fail
;
28509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28510 result
= (long)(arg1
)->GetId();
28512 wxPyEndAllowThreads(__tstate
);
28513 if (PyErr_Occurred()) SWIG_fail
;
28516 resultobj
= SWIG_From_long((long)(result
));
28524 static PyObject
*_wrap_ArrowHead_GetArrowEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28525 PyObject
*resultobj
;
28526 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
28528 PyObject
* obj0
= 0 ;
28529 char *kwnames
[] = {
28530 (char *) "self", NULL
28533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetArrowEnd",kwnames
,&obj0
)) goto fail
;
28534 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxArrowHead
, SWIG_POINTER_EXCEPTION
| 0);
28535 if (SWIG_arg_fail(1)) SWIG_fail
;
28537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28538 result
= (int)(arg1
)->GetArrowEnd();
28540 wxPyEndAllowThreads(__tstate
);
28541 if (PyErr_Occurred()) SWIG_fail
;
28544 resultobj
= SWIG_From_int((int)(result
));
28552 static PyObject
*_wrap_ArrowHead_GetArrowSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28553 PyObject
*resultobj
;
28554 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
28556 PyObject
* obj0
= 0 ;
28557 char *kwnames
[] = {
28558 (char *) "self", NULL
28561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArrowHead_GetArrowSize",kwnames
,&obj0
)) goto fail
;
28562 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxArrowHead
, SWIG_POINTER_EXCEPTION
| 0);
28563 if (SWIG_arg_fail(1)) SWIG_fail
;
28565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28566 result
= (double)(arg1
)->GetArrowSize();
28568 wxPyEndAllowThreads(__tstate
);
28569 if (PyErr_Occurred()) SWIG_fail
;
28572 resultobj
= SWIG_From_double((double)(result
));
28580 static PyObject
*_wrap_ArrowHead_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28581 PyObject
*resultobj
;
28582 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
28584 PyObject
* obj0
= 0 ;
28585 PyObject
* obj1
= 0 ;
28586 char *kwnames
[] = {
28587 (char *) "self",(char *) "size", NULL
28590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ArrowHead_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
28591 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxArrowHead
, SWIG_POINTER_EXCEPTION
| 0);
28592 if (SWIG_arg_fail(1)) SWIG_fail
;
28594 arg2
= (double)(SWIG_As_double(obj1
));
28595 if (SWIG_arg_fail(2)) SWIG_fail
;
28598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28599 (arg1
)->SetSize(arg2
);
28601 wxPyEndAllowThreads(__tstate
);
28602 if (PyErr_Occurred()) SWIG_fail
;
28604 Py_INCREF(Py_None
); resultobj
= Py_None
;
28611 static PyObject
*_wrap_ArrowHead_SetSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28612 PyObject
*resultobj
;
28613 wxArrowHead
*arg1
= (wxArrowHead
*) 0 ;
28615 PyObject
* obj0
= 0 ;
28616 PyObject
* obj1
= 0 ;
28617 char *kwnames
[] = {
28618 (char *) "self",(char *) "sp", NULL
28621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ArrowHead_SetSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
28622 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxArrowHead
, SWIG_POINTER_EXCEPTION
| 0);
28623 if (SWIG_arg_fail(1)) SWIG_fail
;
28625 arg2
= (double)(SWIG_As_double(obj1
));
28626 if (SWIG_arg_fail(2)) SWIG_fail
;
28629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28630 (arg1
)->SetSpacing(arg2
);
28632 wxPyEndAllowThreads(__tstate
);
28633 if (PyErr_Occurred()) SWIG_fail
;
28635 Py_INCREF(Py_None
); resultobj
= Py_None
;
28642 static PyObject
* ArrowHead_swigregister(PyObject
*, PyObject
*args
) {
28644 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28645 SWIG_TypeClientData(SWIGTYPE_p_wxArrowHead
, obj
);
28647 return Py_BuildValue((char *)"");
28649 static PyObject
*_wrap_new_PyLineShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28650 PyObject
*resultobj
;
28651 wxPyLineShape
*result
;
28652 char *kwnames
[] = {
28656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyLineShape",kwnames
)) goto fail
;
28658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28659 result
= (wxPyLineShape
*)new wxPyLineShape();
28661 wxPyEndAllowThreads(__tstate
);
28662 if (PyErr_Occurred()) SWIG_fail
;
28664 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyLineShape
, 1);
28671 static PyObject
*_wrap_PyLineShape__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28672 PyObject
*resultobj
;
28673 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
28674 PyObject
*arg2
= (PyObject
*) 0 ;
28675 PyObject
*arg3
= (PyObject
*) 0 ;
28676 PyObject
* obj0
= 0 ;
28677 PyObject
* obj1
= 0 ;
28678 PyObject
* obj2
= 0 ;
28679 char *kwnames
[] = {
28680 (char *) "self",(char *) "self",(char *) "_class", NULL
28683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLineShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28684 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyLineShape
, SWIG_POINTER_EXCEPTION
| 0);
28685 if (SWIG_arg_fail(1)) SWIG_fail
;
28689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28690 (arg1
)->_setCallbackInfo(arg2
,arg3
);
28692 wxPyEndAllowThreads(__tstate
);
28693 if (PyErr_Occurred()) SWIG_fail
;
28695 Py_INCREF(Py_None
); resultobj
= Py_None
;
28702 static PyObject
*_wrap_PyLineShape_AddArrow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28703 PyObject
*resultobj
;
28704 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
28706 int arg3
= (int) ARROW_POSITION_END
;
28707 double arg4
= (double) 10.0 ;
28708 double arg5
= (double) 0.0 ;
28709 wxString
const &arg6_defvalue
= wxPyEmptyString
;
28710 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
28711 wxPseudoMetaFile
*arg7
= (wxPseudoMetaFile
*) NULL
;
28712 long arg8
= (long) -1 ;
28713 bool temp6
= false ;
28714 PyObject
* obj0
= 0 ;
28715 PyObject
* obj1
= 0 ;
28716 PyObject
* obj2
= 0 ;
28717 PyObject
* obj3
= 0 ;
28718 PyObject
* obj4
= 0 ;
28719 PyObject
* obj5
= 0 ;
28720 PyObject
* obj6
= 0 ;
28721 PyObject
* obj7
= 0 ;
28722 char *kwnames
[] = {
28723 (char *) "self",(char *) "type",(char *) "end",(char *) "arrowSize",(char *) "xOffset",(char *) "name",(char *) "mf",(char *) "arrowId", NULL
28726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:PyLineShape_AddArrow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
28727 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyLineShape
, SWIG_POINTER_EXCEPTION
| 0);
28728 if (SWIG_arg_fail(1)) SWIG_fail
;
28730 arg2
= (int)(SWIG_As_int(obj1
));
28731 if (SWIG_arg_fail(2)) SWIG_fail
;
28735 arg3
= (int)(SWIG_As_int(obj2
));
28736 if (SWIG_arg_fail(3)) SWIG_fail
;
28741 arg4
= (double)(SWIG_As_double(obj3
));
28742 if (SWIG_arg_fail(4)) SWIG_fail
;
28747 arg5
= (double)(SWIG_As_double(obj4
));
28748 if (SWIG_arg_fail(5)) SWIG_fail
;
28753 arg6
= wxString_in_helper(obj5
);
28754 if (arg6
== NULL
) SWIG_fail
;
28759 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxPseudoMetaFile
, SWIG_POINTER_EXCEPTION
| 0);
28760 if (SWIG_arg_fail(7)) SWIG_fail
;
28764 arg8
= (long)(SWIG_As_long(obj7
));
28765 if (SWIG_arg_fail(8)) SWIG_fail
;
28769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28770 (arg1
)->AddArrow(arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
,arg8
);
28772 wxPyEndAllowThreads(__tstate
);
28773 if (PyErr_Occurred()) SWIG_fail
;
28775 Py_INCREF(Py_None
); resultobj
= Py_None
;
28790 static PyObject
*_wrap_PyLineShape_AddArrowOrdered(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28791 PyObject
*resultobj
;
28792 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
28793 wxArrowHead
*arg2
= (wxArrowHead
*) 0 ;
28794 PyObject
*arg3
= (PyObject
*) 0 ;
28796 PyObject
* obj0
= 0 ;
28797 PyObject
* obj1
= 0 ;
28798 PyObject
* obj2
= 0 ;
28799 PyObject
* obj3
= 0 ;
28800 char *kwnames
[] = {
28801 (char *) "self",(char *) "arrow",(char *) "referenceList",(char *) "end", NULL
28804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyLineShape_AddArrowOrdered",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28805 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyLineShape
, SWIG_POINTER_EXCEPTION
| 0);
28806 if (SWIG_arg_fail(1)) SWIG_fail
;
28807 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxArrowHead
, SWIG_POINTER_EXCEPTION
| 0);
28808 if (SWIG_arg_fail(2)) SWIG_fail
;
28811 arg4
= (int)(SWIG_As_int(obj3
));
28812 if (SWIG_arg_fail(4)) SWIG_fail
;
28815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28816 wxPyLineShape_AddArrowOrdered(arg1
,arg2
,arg3
,arg4
);
28818 wxPyEndAllowThreads(__tstate
);
28819 if (PyErr_Occurred()) SWIG_fail
;
28821 Py_INCREF(Py_None
); resultobj
= Py_None
;
28828 static PyObject
*_wrap_PyLineShape_ClearArrow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28829 PyObject
*resultobj
;
28830 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
28831 wxString
*arg2
= 0 ;
28833 bool temp2
= false ;
28834 PyObject
* obj0
= 0 ;
28835 PyObject
* obj1
= 0 ;
28836 char *kwnames
[] = {
28837 (char *) "self",(char *) "name", NULL
28840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_ClearArrow",kwnames
,&obj0
,&obj1
)) goto fail
;
28841 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyLineShape
, SWIG_POINTER_EXCEPTION
| 0);
28842 if (SWIG_arg_fail(1)) SWIG_fail
;
28844 arg2
= wxString_in_helper(obj1
);
28845 if (arg2
== NULL
) SWIG_fail
;
28849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28850 result
= (bool)(arg1
)->ClearArrow((wxString
const &)*arg2
);
28852 wxPyEndAllowThreads(__tstate
);
28853 if (PyErr_Occurred()) SWIG_fail
;
28856 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28872 static PyObject
*_wrap_PyLineShape_ClearArrowsAtPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28873 PyObject
*resultobj
;
28874 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
28875 int arg2
= (int) -1 ;
28876 PyObject
* obj0
= 0 ;
28877 PyObject
* obj1
= 0 ;
28878 char *kwnames
[] = {
28879 (char *) "self",(char *) "position", NULL
28882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyLineShape_ClearArrowsAtPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
28883 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyLineShape
, SWIG_POINTER_EXCEPTION
| 0);
28884 if (SWIG_arg_fail(1)) SWIG_fail
;
28887 arg2
= (int)(SWIG_As_int(obj1
));
28888 if (SWIG_arg_fail(2)) SWIG_fail
;
28892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28893 (arg1
)->ClearArrowsAtPosition(arg2
);
28895 wxPyEndAllowThreads(__tstate
);
28896 if (PyErr_Occurred()) SWIG_fail
;
28898 Py_INCREF(Py_None
); resultobj
= Py_None
;
28905 static PyObject
*_wrap_PyLineShape_DrawArrow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28906 PyObject
*resultobj
;
28907 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
28909 wxArrowHead
*arg3
= (wxArrowHead
*) 0 ;
28912 PyObject
* obj0
= 0 ;
28913 PyObject
* obj1
= 0 ;
28914 PyObject
* obj2
= 0 ;
28915 PyObject
* obj3
= 0 ;
28916 PyObject
* obj4
= 0 ;
28917 char *kwnames
[] = {
28918 (char *) "self",(char *) "dc",(char *) "arrow",(char *) "xOffset",(char *) "proportionalOffset", NULL
28921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyLineShape_DrawArrow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28922 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyLineShape
, SWIG_POINTER_EXCEPTION
| 0);
28923 if (SWIG_arg_fail(1)) SWIG_fail
;
28925 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
28926 if (SWIG_arg_fail(2)) SWIG_fail
;
28927 if (arg2
== NULL
) {
28928 SWIG_null_ref("wxDC");
28930 if (SWIG_arg_fail(2)) SWIG_fail
;
28932 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxArrowHead
, SWIG_POINTER_EXCEPTION
| 0);
28933 if (SWIG_arg_fail(3)) SWIG_fail
;
28935 arg4
= (double)(SWIG_As_double(obj3
));
28936 if (SWIG_arg_fail(4)) SWIG_fail
;
28939 arg5
= (bool)(SWIG_As_bool(obj4
));
28940 if (SWIG_arg_fail(5)) SWIG_fail
;
28943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28944 (arg1
)->DrawArrow(*arg2
,arg3
,arg4
,arg5
);
28946 wxPyEndAllowThreads(__tstate
);
28947 if (PyErr_Occurred()) SWIG_fail
;
28949 Py_INCREF(Py_None
); resultobj
= Py_None
;
28956 static PyObject
*_wrap_PyLineShape_DeleteArrowHeadId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28957 PyObject
*resultobj
;
28958 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
28961 PyObject
* obj0
= 0 ;
28962 PyObject
* obj1
= 0 ;
28963 char *kwnames
[] = {
28964 (char *) "self",(char *) "arrowId", NULL
28967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_DeleteArrowHeadId",kwnames
,&obj0
,&obj1
)) goto fail
;
28968 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyLineShape
, SWIG_POINTER_EXCEPTION
| 0);
28969 if (SWIG_arg_fail(1)) SWIG_fail
;
28971 arg2
= (long)(SWIG_As_long(obj1
));
28972 if (SWIG_arg_fail(2)) SWIG_fail
;
28975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28976 result
= (bool)(arg1
)->DeleteArrowHead(arg2
);
28978 wxPyEndAllowThreads(__tstate
);
28979 if (PyErr_Occurred()) SWIG_fail
;
28982 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28990 static PyObject
*_wrap_PyLineShape_DeleteArrowHead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28991 PyObject
*resultobj
;
28992 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
28994 wxString
*arg3
= 0 ;
28996 bool temp3
= false ;
28997 PyObject
* obj0
= 0 ;
28998 PyObject
* obj1
= 0 ;
28999 PyObject
* obj2
= 0 ;
29000 char *kwnames
[] = {
29001 (char *) "self",(char *) "position",(char *) "name", NULL
29004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLineShape_DeleteArrowHead",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29005 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyLineShape
, SWIG_POINTER_EXCEPTION
| 0);
29006 if (SWIG_arg_fail(1)) SWIG_fail
;
29008 arg2
= (int)(SWIG_As_int(obj1
));
29009 if (SWIG_arg_fail(2)) SWIG_fail
;
29012 arg3
= wxString_in_helper(obj2
);
29013 if (arg3
== NULL
) SWIG_fail
;
29017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29018 result
= (bool)(arg1
)->DeleteArrowHead(arg2
,(wxString
const &)*arg3
);
29020 wxPyEndAllowThreads(__tstate
);
29021 if (PyErr_Occurred()) SWIG_fail
;
29024 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29040 static PyObject
*_wrap_PyLineShape_DeleteLineControlPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29041 PyObject
*resultobj
;
29042 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
29044 PyObject
* obj0
= 0 ;
29045 char *kwnames
[] = {
29046 (char *) "self", NULL
29049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_DeleteLineControlPoint",kwnames
,&obj0
)) goto fail
;
29050 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyLineShape
, SWIG_POINTER_EXCEPTION
| 0);
29051 if (SWIG_arg_fail(1)) SWIG_fail
;
29053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29054 result
= (bool)(arg1
)->DeleteLineControlPoint();
29056 wxPyEndAllowThreads(__tstate
);
29057 if (PyErr_Occurred()) SWIG_fail
;
29060 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29068 static PyObject
*_wrap_PyLineShape_DrawArrows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29069 PyObject
*resultobj
;
29070 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
29072 PyObject
* obj0
= 0 ;
29073 PyObject
* obj1
= 0 ;
29074 char *kwnames
[] = {
29075 (char *) "self",(char *) "dc", NULL
29078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_DrawArrows",kwnames
,&obj0
,&obj1
)) goto fail
;
29079 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyLineShape
, SWIG_POINTER_EXCEPTION
| 0);
29080 if (SWIG_arg_fail(1)) SWIG_fail
;
29082 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
29083 if (SWIG_arg_fail(2)) SWIG_fail
;
29084 if (arg2
== NULL
) {
29085 SWIG_null_ref("wxDC");
29087 if (SWIG_arg_fail(2)) SWIG_fail
;
29090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29091 (arg1
)->DrawArrows(*arg2
);
29093 wxPyEndAllowThreads(__tstate
);
29094 if (PyErr_Occurred()) SWIG_fail
;
29096 Py_INCREF(Py_None
); resultobj
= Py_None
;
29103 static PyObject
*_wrap_PyLineShape_DrawRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29104 PyObject
*resultobj
;
29105 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
29107 wxShapeRegion
*arg3
= (wxShapeRegion
*) 0 ;
29110 PyObject
* obj0
= 0 ;
29111 PyObject
* obj1
= 0 ;
29112 PyObject
* obj2
= 0 ;
29113 PyObject
* obj3
= 0 ;
29114 PyObject
* obj4
= 0 ;
29115 char *kwnames
[] = {
29116 (char *) "self",(char *) "dc",(char *) "region",(char *) "x",(char *) "y", NULL
29119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyLineShape_DrawRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29120 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyLineShape
, SWIG_POINTER_EXCEPTION
| 0);
29121 if (SWIG_arg_fail(1)) SWIG_fail
;
29123 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
29124 if (SWIG_arg_fail(2)) SWIG_fail
;
29125 if (arg2
== NULL
) {
29126 SWIG_null_ref("wxDC");
29128 if (SWIG_arg_fail(2)) SWIG_fail
;
29130 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxShapeRegion
, SWIG_POINTER_EXCEPTION
| 0);
29131 if (SWIG_arg_fail(3)) SWIG_fail
;
29133 arg4
= (double)(SWIG_As_double(obj3
));
29134 if (SWIG_arg_fail(4)) SWIG_fail
;
29137 arg5
= (double)(SWIG_As_double(obj4
));
29138 if (SWIG_arg_fail(5)) SWIG_fail
;
29141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29142 (arg1
)->DrawRegion(*arg2
,arg3
,arg4
,arg5
);
29144 wxPyEndAllowThreads(__tstate
);
29145 if (PyErr_Occurred()) SWIG_fail
;
29147 Py_INCREF(Py_None
); resultobj
= Py_None
;
29154 static PyObject
*_wrap_PyLineShape_EraseRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29155 PyObject
*resultobj
;
29156 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
29158 wxShapeRegion
*arg3
= (wxShapeRegion
*) 0 ;
29161 PyObject
* obj0
= 0 ;
29162 PyObject
* obj1
= 0 ;
29163 PyObject
* obj2
= 0 ;
29164 PyObject
* obj3
= 0 ;
29165 PyObject
* obj4
= 0 ;
29166 char *kwnames
[] = {
29167 (char *) "self",(char *) "dc",(char *) "region",(char *) "x",(char *) "y", NULL
29170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyLineShape_EraseRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29171 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyLineShape
, SWIG_POINTER_EXCEPTION
| 0);
29172 if (SWIG_arg_fail(1)) SWIG_fail
;
29174 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
29175 if (SWIG_arg_fail(2)) SWIG_fail
;
29176 if (arg2
== NULL
) {
29177 SWIG_null_ref("wxDC");
29179 if (SWIG_arg_fail(2)) SWIG_fail
;
29181 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxShapeRegion
, SWIG_POINTER_EXCEPTION
| 0);
29182 if (SWIG_arg_fail(3)) SWIG_fail
;
29184 arg4
= (double)(SWIG_As_double(obj3
));
29185 if (SWIG_arg_fail(4)) SWIG_fail
;
29188 arg5
= (double)(SWIG_As_double(obj4
));
29189 if (SWIG_arg_fail(5)) SWIG_fail
;
29192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29193 (arg1
)->EraseRegion(*arg2
,arg3
,arg4
,arg5
);
29195 wxPyEndAllowThreads(__tstate
);
29196 if (PyErr_Occurred()) SWIG_fail
;
29198 Py_INCREF(Py_None
); resultobj
= Py_None
;
29205 static PyObject
*_wrap_PyLineShape_FindArrowHeadId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29206 PyObject
*resultobj
;
29207 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
29209 wxArrowHead
*result
;
29210 PyObject
* obj0
= 0 ;
29211 PyObject
* obj1
= 0 ;
29212 char *kwnames
[] = {
29213 (char *) "self",(char *) "arrowId", NULL
29216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_FindArrowHeadId",kwnames
,&obj0
,&obj1
)) goto fail
;
29217 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyLineShape
, SWIG_POINTER_EXCEPTION
| 0);
29218 if (SWIG_arg_fail(1)) SWIG_fail
;
29220 arg2
= (long)(SWIG_As_long(obj1
));
29221 if (SWIG_arg_fail(2)) SWIG_fail
;
29224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29225 result
= (wxArrowHead
*)(arg1
)->FindArrowHead(arg2
);
29227 wxPyEndAllowThreads(__tstate
);
29228 if (PyErr_Occurred()) SWIG_fail
;
29231 resultobj
= wxPyMake_wxObject(result
, 0);
29239 static PyObject
*_wrap_PyLineShape_FindArrowHead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29240 PyObject
*resultobj
;
29241 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
29243 wxString
*arg3
= 0 ;
29244 wxArrowHead
*result
;
29245 bool temp3
= false ;
29246 PyObject
* obj0
= 0 ;
29247 PyObject
* obj1
= 0 ;
29248 PyObject
* obj2
= 0 ;
29249 char *kwnames
[] = {
29250 (char *) "self",(char *) "position",(char *) "name", NULL
29253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLineShape_FindArrowHead",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29254 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyLineShape
, SWIG_POINTER_EXCEPTION
| 0);
29255 if (SWIG_arg_fail(1)) SWIG_fail
;
29257 arg2
= (int)(SWIG_As_int(obj1
));
29258 if (SWIG_arg_fail(2)) SWIG_fail
;
29261 arg3
= wxString_in_helper(obj2
);
29262 if (arg3
== NULL
) SWIG_fail
;
29266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29267 result
= (wxArrowHead
*)(arg1
)->FindArrowHead(arg2
,(wxString
const &)*arg3
);
29269 wxPyEndAllowThreads(__tstate
);
29270 if (PyErr_Occurred()) SWIG_fail
;
29273 resultobj
= wxPyMake_wxObject(result
, 0);
29289 static PyObject
*_wrap_PyLineShape_FindLineEndPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29290 PyObject
*resultobj
;
29291 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
29292 double *arg2
= (double *) 0 ;
29293 double *arg3
= (double *) 0 ;
29294 double *arg4
= (double *) 0 ;
29295 double *arg5
= (double *) 0 ;
29304 PyObject
* obj0
= 0 ;
29305 char *kwnames
[] = {
29306 (char *) "self", NULL
29309 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
29310 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
29311 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
29312 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
29313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_FindLineEndPoints",kwnames
,&obj0
)) goto fail
;
29314 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyLineShape
, SWIG_POINTER_EXCEPTION
| 0);
29315 if (SWIG_arg_fail(1)) SWIG_fail
;
29317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29318 (arg1
)->FindLineEndPoints(arg2
,arg3
,arg4
,arg5
);
29320 wxPyEndAllowThreads(__tstate
);
29321 if (PyErr_Occurred()) SWIG_fail
;
29323 Py_INCREF(Py_None
); resultobj
= Py_None
;
29324 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
29325 SWIG_From_double((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, 0)));
29326 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
29327 SWIG_From_double((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, 0)));
29328 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
29329 SWIG_From_double((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_double
, 0)));
29330 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
29331 SWIG_From_double((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_double
, 0)));
29338 static PyObject
*_wrap_PyLineShape_FindLinePosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29339 PyObject
*resultobj
;
29340 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
29344 PyObject
* obj0
= 0 ;
29345 PyObject
* obj1
= 0 ;
29346 PyObject
* obj2
= 0 ;
29347 char *kwnames
[] = {
29348 (char *) "self",(char *) "x",(char *) "y", NULL
29351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLineShape_FindLinePosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29352 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyLineShape
, SWIG_POINTER_EXCEPTION
| 0);
29353 if (SWIG_arg_fail(1)) SWIG_fail
;
29355 arg2
= (double)(SWIG_As_double(obj1
));
29356 if (SWIG_arg_fail(2)) SWIG_fail
;
29359 arg3
= (double)(SWIG_As_double(obj2
));
29360 if (SWIG_arg_fail(3)) SWIG_fail
;
29363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29364 result
= (int)(arg1
)->FindLinePosition(arg2
,arg3
);
29366 wxPyEndAllowThreads(__tstate
);
29367 if (PyErr_Occurred()) SWIG_fail
;
29370 resultobj
= SWIG_From_int((int)(result
));
29378 static PyObject
*_wrap_PyLineShape_FindMinimumWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29379 PyObject
*resultobj
;
29380 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
29382 PyObject
* obj0
= 0 ;
29383 char *kwnames
[] = {
29384 (char *) "self", NULL
29387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_FindMinimumWidth",kwnames
,&obj0
)) goto fail
;
29388 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyLineShape
, SWIG_POINTER_EXCEPTION
| 0);
29389 if (SWIG_arg_fail(1)) SWIG_fail
;
29391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29392 result
= (double)(arg1
)->FindMinimumWidth();
29394 wxPyEndAllowThreads(__tstate
);
29395 if (PyErr_Occurred()) SWIG_fail
;
29398 resultobj
= SWIG_From_double((double)(result
));
29406 static PyObject
*_wrap_PyLineShape_FindNth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29407 PyObject
*resultobj
;
29408 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
29409 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
29410 int *arg3
= (int *) 0 ;
29411 int *arg4
= (int *) 0 ;
29417 PyObject
* obj0
= 0 ;
29418 PyObject
* obj1
= 0 ;
29419 PyObject
* obj2
= 0 ;
29420 char *kwnames
[] = {
29421 (char *) "self",(char *) "image",(char *) "incoming", NULL
29424 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
29425 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
29426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLineShape_FindNth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29427 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyLineShape
, SWIG_POINTER_EXCEPTION
| 0);
29428 if (SWIG_arg_fail(1)) SWIG_fail
;
29429 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
29430 if (SWIG_arg_fail(2)) SWIG_fail
;
29432 arg5
= (bool)(SWIG_As_bool(obj2
));
29433 if (SWIG_arg_fail(5)) SWIG_fail
;
29436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29437 (arg1
)->FindNth(arg2
,arg3
,arg4
,arg5
);
29439 wxPyEndAllowThreads(__tstate
);
29440 if (PyErr_Occurred()) SWIG_fail
;
29442 Py_INCREF(Py_None
); resultobj
= Py_None
;
29443 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
29444 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
29445 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
29446 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
29453 static PyObject
*_wrap_PyLineShape_GetAttachmentFrom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29454 PyObject
*resultobj
;
29455 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
29457 PyObject
* obj0
= 0 ;
29458 char *kwnames
[] = {
29459 (char *) "self", NULL
29462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_GetAttachmentFrom",kwnames
,&obj0
)) goto fail
;
29463 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyLineShape
, SWIG_POINTER_EXCEPTION
| 0);
29464 if (SWIG_arg_fail(1)) SWIG_fail
;
29466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29467 result
= (int)(arg1
)->GetAttachmentFrom();
29469 wxPyEndAllowThreads(__tstate
);
29470 if (PyErr_Occurred()) SWIG_fail
;
29473 resultobj
= SWIG_From_int((int)(result
));
29481 static PyObject
*_wrap_PyLineShape_GetAttachmentTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29482 PyObject
*resultobj
;
29483 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
29485 PyObject
* obj0
= 0 ;
29486 char *kwnames
[] = {
29487 (char *) "self", NULL
29490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_GetAttachmentTo",kwnames
,&obj0
)) goto fail
;
29491 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyLineShape
, SWIG_POINTER_EXCEPTION
| 0);
29492 if (SWIG_arg_fail(1)) SWIG_fail
;
29494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29495 result
= (int)(arg1
)->GetAttachmentTo();
29497 wxPyEndAllowThreads(__tstate
);
29498 if (PyErr_Occurred()) SWIG_fail
;
29501 resultobj
= SWIG_From_int((int)(result
));
29509 static PyObject
*_wrap_PyLineShape_GetEnds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29510 PyObject
*resultobj
;
29511 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
29512 double *arg2
= (double *) 0 ;
29513 double *arg3
= (double *) 0 ;
29514 double *arg4
= (double *) 0 ;
29515 double *arg5
= (double *) 0 ;
29524 PyObject
* obj0
= 0 ;
29525 char *kwnames
[] = {
29526 (char *) "self", NULL
29529 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
29530 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
29531 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
29532 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
29533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_GetEnds",kwnames
,&obj0
)) goto fail
;
29534 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyLineShape
, SWIG_POINTER_EXCEPTION
| 0);
29535 if (SWIG_arg_fail(1)) SWIG_fail
;
29537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29538 (arg1
)->GetEnds(arg2
,arg3
,arg4
,arg5
);
29540 wxPyEndAllowThreads(__tstate
);
29541 if (PyErr_Occurred()) SWIG_fail
;
29543 Py_INCREF(Py_None
); resultobj
= Py_None
;
29544 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
29545 SWIG_From_double((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, 0)));
29546 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
29547 SWIG_From_double((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, 0)));
29548 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
29549 SWIG_From_double((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_double
, 0)));
29550 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
29551 SWIG_From_double((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_double
, 0)));
29558 static PyObject
*_wrap_PyLineShape_GetFrom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29559 PyObject
*resultobj
;
29560 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
29562 PyObject
* obj0
= 0 ;
29563 char *kwnames
[] = {
29564 (char *) "self", NULL
29567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_GetFrom",kwnames
,&obj0
)) goto fail
;
29568 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyLineShape
, SWIG_POINTER_EXCEPTION
| 0);
29569 if (SWIG_arg_fail(1)) SWIG_fail
;
29571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29572 result
= (wxPyShape
*)(arg1
)->GetFrom();
29574 wxPyEndAllowThreads(__tstate
);
29575 if (PyErr_Occurred()) SWIG_fail
;
29578 resultobj
= wxPyMake_wxShapeEvtHandler(result
, 0);
29586 static PyObject
*_wrap_PyLineShape_GetLabelPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29587 PyObject
*resultobj
;
29588 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
29590 double *arg3
= (double *) 0 ;
29591 double *arg4
= (double *) 0 ;
29596 PyObject
* obj0
= 0 ;
29597 PyObject
* obj1
= 0 ;
29598 char *kwnames
[] = {
29599 (char *) "self",(char *) "position", NULL
29602 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
29603 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
29604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_GetLabelPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
29605 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyLineShape
, SWIG_POINTER_EXCEPTION
| 0);
29606 if (SWIG_arg_fail(1)) SWIG_fail
;
29608 arg2
= (int)(SWIG_As_int(obj1
));
29609 if (SWIG_arg_fail(2)) SWIG_fail
;
29612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29613 (arg1
)->GetLabelPosition(arg2
,arg3
,arg4
);
29615 wxPyEndAllowThreads(__tstate
);
29616 if (PyErr_Occurred()) SWIG_fail
;
29618 Py_INCREF(Py_None
); resultobj
= Py_None
;
29619 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
29620 SWIG_From_double((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, 0)));
29621 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
29622 SWIG_From_double((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_double
, 0)));
29629 static PyObject
*_wrap_PyLineShape_GetNextControlPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29630 PyObject
*resultobj
;
29631 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
29632 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
29633 wxRealPoint
*result
;
29634 PyObject
* obj0
= 0 ;
29635 PyObject
* obj1
= 0 ;
29636 char *kwnames
[] = {
29637 (char *) "self",(char *) "shape", NULL
29640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_GetNextControlPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
29641 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyLineShape
, SWIG_POINTER_EXCEPTION
| 0);
29642 if (SWIG_arg_fail(1)) SWIG_fail
;
29643 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
29644 if (SWIG_arg_fail(2)) SWIG_fail
;
29646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29647 result
= (wxRealPoint
*)(arg1
)->GetNextControlPoint(arg2
);
29649 wxPyEndAllowThreads(__tstate
);
29650 if (PyErr_Occurred()) SWIG_fail
;
29652 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRealPoint
, 0);
29659 static PyObject
*_wrap_PyLineShape_GetTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29660 PyObject
*resultobj
;
29661 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
29663 PyObject
* obj0
= 0 ;
29664 char *kwnames
[] = {
29665 (char *) "self", NULL
29668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_GetTo",kwnames
,&obj0
)) goto fail
;
29669 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyLineShape
, SWIG_POINTER_EXCEPTION
| 0);
29670 if (SWIG_arg_fail(1)) SWIG_fail
;
29672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29673 result
= (wxPyShape
*)(arg1
)->GetTo();
29675 wxPyEndAllowThreads(__tstate
);
29676 if (PyErr_Occurred()) SWIG_fail
;
29679 resultobj
= wxPyMake_wxShapeEvtHandler(result
, 0);
29687 static PyObject
*_wrap_PyLineShape_Initialise(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29688 PyObject
*resultobj
;
29689 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
29690 PyObject
* obj0
= 0 ;
29691 char *kwnames
[] = {
29692 (char *) "self", NULL
29695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_Initialise",kwnames
,&obj0
)) goto fail
;
29696 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyLineShape
, SWIG_POINTER_EXCEPTION
| 0);
29697 if (SWIG_arg_fail(1)) SWIG_fail
;
29699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29700 (arg1
)->Initialise();
29702 wxPyEndAllowThreads(__tstate
);
29703 if (PyErr_Occurred()) SWIG_fail
;
29705 Py_INCREF(Py_None
); resultobj
= Py_None
;
29712 static PyObject
*_wrap_PyLineShape_InsertLineControlPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29713 PyObject
*resultobj
;
29714 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
29715 wxDC
*arg2
= (wxDC
*) 0 ;
29716 PyObject
* obj0
= 0 ;
29717 PyObject
* obj1
= 0 ;
29718 char *kwnames
[] = {
29719 (char *) "self",(char *) "dc", NULL
29722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_InsertLineControlPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
29723 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyLineShape
, SWIG_POINTER_EXCEPTION
| 0);
29724 if (SWIG_arg_fail(1)) SWIG_fail
;
29725 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
29726 if (SWIG_arg_fail(2)) SWIG_fail
;
29728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29729 (arg1
)->InsertLineControlPoint(arg2
);
29731 wxPyEndAllowThreads(__tstate
);
29732 if (PyErr_Occurred()) SWIG_fail
;
29734 Py_INCREF(Py_None
); resultobj
= Py_None
;
29741 static PyObject
*_wrap_PyLineShape_IsEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29742 PyObject
*resultobj
;
29743 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
29744 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
29746 PyObject
* obj0
= 0 ;
29747 PyObject
* obj1
= 0 ;
29748 char *kwnames
[] = {
29749 (char *) "self",(char *) "shape", NULL
29752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_IsEnd",kwnames
,&obj0
,&obj1
)) goto fail
;
29753 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyLineShape
, SWIG_POINTER_EXCEPTION
| 0);
29754 if (SWIG_arg_fail(1)) SWIG_fail
;
29755 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
29756 if (SWIG_arg_fail(2)) SWIG_fail
;
29758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29759 result
= (bool)(arg1
)->IsEnd(arg2
);
29761 wxPyEndAllowThreads(__tstate
);
29762 if (PyErr_Occurred()) SWIG_fail
;
29765 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29773 static PyObject
*_wrap_PyLineShape_IsSpline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29774 PyObject
*resultobj
;
29775 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
29777 PyObject
* obj0
= 0 ;
29778 char *kwnames
[] = {
29779 (char *) "self", NULL
29782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_IsSpline",kwnames
,&obj0
)) goto fail
;
29783 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyLineShape
, SWIG_POINTER_EXCEPTION
| 0);
29784 if (SWIG_arg_fail(1)) SWIG_fail
;
29786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29787 result
= (bool)(arg1
)->IsSpline();
29789 wxPyEndAllowThreads(__tstate
);
29790 if (PyErr_Occurred()) SWIG_fail
;
29793 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29801 static PyObject
*_wrap_PyLineShape_MakeLineControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29802 PyObject
*resultobj
;
29803 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
29805 PyObject
* obj0
= 0 ;
29806 PyObject
* obj1
= 0 ;
29807 char *kwnames
[] = {
29808 (char *) "self",(char *) "n", NULL
29811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_MakeLineControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
29812 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyLineShape
, SWIG_POINTER_EXCEPTION
| 0);
29813 if (SWIG_arg_fail(1)) SWIG_fail
;
29815 arg2
= (int)(SWIG_As_int(obj1
));
29816 if (SWIG_arg_fail(2)) SWIG_fail
;
29819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29820 (arg1
)->MakeLineControlPoints(arg2
);
29822 wxPyEndAllowThreads(__tstate
);
29823 if (PyErr_Occurred()) SWIG_fail
;
29825 Py_INCREF(Py_None
); resultobj
= Py_None
;
29832 static PyObject
*_wrap_PyLineShape_GetLineControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29833 PyObject
*resultobj
;
29834 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
29836 PyObject
* obj0
= 0 ;
29837 char *kwnames
[] = {
29838 (char *) "self", NULL
29841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_GetLineControlPoints",kwnames
,&obj0
)) goto fail
;
29842 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyLineShape
, SWIG_POINTER_EXCEPTION
| 0);
29843 if (SWIG_arg_fail(1)) SWIG_fail
;
29845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29846 result
= (PyObject
*)wxPyLineShape_GetLineControlPoints(arg1
);
29848 wxPyEndAllowThreads(__tstate
);
29849 if (PyErr_Occurred()) SWIG_fail
;
29851 resultobj
= result
;
29858 static PyObject
*_wrap_PyLineShape_SetLineControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29859 PyObject
*resultobj
;
29860 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
29861 PyObject
*arg2
= (PyObject
*) 0 ;
29862 PyObject
* obj0
= 0 ;
29863 PyObject
* obj1
= 0 ;
29864 char *kwnames
[] = {
29865 (char *) "self",(char *) "list", NULL
29868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_SetLineControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
29869 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyLineShape
, SWIG_POINTER_EXCEPTION
| 0);
29870 if (SWIG_arg_fail(1)) SWIG_fail
;
29873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29874 wxPyLineShape_SetLineControlPoints(arg1
,arg2
);
29876 wxPyEndAllowThreads(__tstate
);
29877 if (PyErr_Occurred()) SWIG_fail
;
29879 Py_INCREF(Py_None
); resultobj
= Py_None
;
29886 static PyObject
*_wrap_PyLineShape_SetAttachmentFrom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29887 PyObject
*resultobj
;
29888 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
29890 PyObject
* obj0
= 0 ;
29891 PyObject
* obj1
= 0 ;
29892 char *kwnames
[] = {
29893 (char *) "self",(char *) "fromAttach", NULL
29896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_SetAttachmentFrom",kwnames
,&obj0
,&obj1
)) goto fail
;
29897 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyLineShape
, SWIG_POINTER_EXCEPTION
| 0);
29898 if (SWIG_arg_fail(1)) SWIG_fail
;
29900 arg2
= (int)(SWIG_As_int(obj1
));
29901 if (SWIG_arg_fail(2)) SWIG_fail
;
29904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29905 (arg1
)->SetAttachmentFrom(arg2
);
29907 wxPyEndAllowThreads(__tstate
);
29908 if (PyErr_Occurred()) SWIG_fail
;
29910 Py_INCREF(Py_None
); resultobj
= Py_None
;
29917 static PyObject
*_wrap_PyLineShape_SetAttachments(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29918 PyObject
*resultobj
;
29919 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
29922 PyObject
* obj0
= 0 ;
29923 PyObject
* obj1
= 0 ;
29924 PyObject
* obj2
= 0 ;
29925 char *kwnames
[] = {
29926 (char *) "self",(char *) "fromAttach",(char *) "toAttach", NULL
29929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLineShape_SetAttachments",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29930 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyLineShape
, SWIG_POINTER_EXCEPTION
| 0);
29931 if (SWIG_arg_fail(1)) SWIG_fail
;
29933 arg2
= (int)(SWIG_As_int(obj1
));
29934 if (SWIG_arg_fail(2)) SWIG_fail
;
29937 arg3
= (int)(SWIG_As_int(obj2
));
29938 if (SWIG_arg_fail(3)) SWIG_fail
;
29941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29942 (arg1
)->SetAttachments(arg2
,arg3
);
29944 wxPyEndAllowThreads(__tstate
);
29945 if (PyErr_Occurred()) SWIG_fail
;
29947 Py_INCREF(Py_None
); resultobj
= Py_None
;
29954 static PyObject
*_wrap_PyLineShape_SetAttachmentTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29955 PyObject
*resultobj
;
29956 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
29958 PyObject
* obj0
= 0 ;
29959 PyObject
* obj1
= 0 ;
29960 char *kwnames
[] = {
29961 (char *) "self",(char *) "toAttach", NULL
29964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_SetAttachmentTo",kwnames
,&obj0
,&obj1
)) goto fail
;
29965 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyLineShape
, SWIG_POINTER_EXCEPTION
| 0);
29966 if (SWIG_arg_fail(1)) SWIG_fail
;
29968 arg2
= (int)(SWIG_As_int(obj1
));
29969 if (SWIG_arg_fail(2)) SWIG_fail
;
29972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29973 (arg1
)->SetAttachmentTo(arg2
);
29975 wxPyEndAllowThreads(__tstate
);
29976 if (PyErr_Occurred()) SWIG_fail
;
29978 Py_INCREF(Py_None
); resultobj
= Py_None
;
29985 static PyObject
*_wrap_PyLineShape_SetEnds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29986 PyObject
*resultobj
;
29987 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
29992 PyObject
* obj0
= 0 ;
29993 PyObject
* obj1
= 0 ;
29994 PyObject
* obj2
= 0 ;
29995 PyObject
* obj3
= 0 ;
29996 PyObject
* obj4
= 0 ;
29997 char *kwnames
[] = {
29998 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
30001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyLineShape_SetEnds",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30002 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyLineShape
, SWIG_POINTER_EXCEPTION
| 0);
30003 if (SWIG_arg_fail(1)) SWIG_fail
;
30005 arg2
= (double)(SWIG_As_double(obj1
));
30006 if (SWIG_arg_fail(2)) SWIG_fail
;
30009 arg3
= (double)(SWIG_As_double(obj2
));
30010 if (SWIG_arg_fail(3)) SWIG_fail
;
30013 arg4
= (double)(SWIG_As_double(obj3
));
30014 if (SWIG_arg_fail(4)) SWIG_fail
;
30017 arg5
= (double)(SWIG_As_double(obj4
));
30018 if (SWIG_arg_fail(5)) SWIG_fail
;
30021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30022 (arg1
)->SetEnds(arg2
,arg3
,arg4
,arg5
);
30024 wxPyEndAllowThreads(__tstate
);
30025 if (PyErr_Occurred()) SWIG_fail
;
30027 Py_INCREF(Py_None
); resultobj
= Py_None
;
30034 static PyObject
*_wrap_PyLineShape_SetFrom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30035 PyObject
*resultobj
;
30036 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
30037 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
30038 PyObject
* obj0
= 0 ;
30039 PyObject
* obj1
= 0 ;
30040 char *kwnames
[] = {
30041 (char *) "self",(char *) "object", NULL
30044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_SetFrom",kwnames
,&obj0
,&obj1
)) goto fail
;
30045 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyLineShape
, SWIG_POINTER_EXCEPTION
| 0);
30046 if (SWIG_arg_fail(1)) SWIG_fail
;
30047 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
30048 if (SWIG_arg_fail(2)) SWIG_fail
;
30050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30051 (arg1
)->SetFrom(arg2
);
30053 wxPyEndAllowThreads(__tstate
);
30054 if (PyErr_Occurred()) SWIG_fail
;
30056 Py_INCREF(Py_None
); resultobj
= Py_None
;
30063 static PyObject
*_wrap_PyLineShape_SetIgnoreOffsets(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30064 PyObject
*resultobj
;
30065 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
30067 PyObject
* obj0
= 0 ;
30068 PyObject
* obj1
= 0 ;
30069 char *kwnames
[] = {
30070 (char *) "self",(char *) "ignore", NULL
30073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_SetIgnoreOffsets",kwnames
,&obj0
,&obj1
)) goto fail
;
30074 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyLineShape
, SWIG_POINTER_EXCEPTION
| 0);
30075 if (SWIG_arg_fail(1)) SWIG_fail
;
30077 arg2
= (bool)(SWIG_As_bool(obj1
));
30078 if (SWIG_arg_fail(2)) SWIG_fail
;
30081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30082 (arg1
)->SetIgnoreOffsets(arg2
);
30084 wxPyEndAllowThreads(__tstate
);
30085 if (PyErr_Occurred()) SWIG_fail
;
30087 Py_INCREF(Py_None
); resultobj
= Py_None
;
30094 static PyObject
*_wrap_PyLineShape_SetSpline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30095 PyObject
*resultobj
;
30096 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
30098 PyObject
* obj0
= 0 ;
30099 PyObject
* obj1
= 0 ;
30100 char *kwnames
[] = {
30101 (char *) "self",(char *) "spline", NULL
30104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_SetSpline",kwnames
,&obj0
,&obj1
)) goto fail
;
30105 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyLineShape
, SWIG_POINTER_EXCEPTION
| 0);
30106 if (SWIG_arg_fail(1)) SWIG_fail
;
30108 arg2
= (bool)(SWIG_As_bool(obj1
));
30109 if (SWIG_arg_fail(2)) SWIG_fail
;
30112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30113 (arg1
)->SetSpline(arg2
);
30115 wxPyEndAllowThreads(__tstate
);
30116 if (PyErr_Occurred()) SWIG_fail
;
30118 Py_INCREF(Py_None
); resultobj
= Py_None
;
30125 static PyObject
*_wrap_PyLineShape_SetTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30126 PyObject
*resultobj
;
30127 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
30128 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
30129 PyObject
* obj0
= 0 ;
30130 PyObject
* obj1
= 0 ;
30131 char *kwnames
[] = {
30132 (char *) "self",(char *) "object", NULL
30135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_SetTo",kwnames
,&obj0
,&obj1
)) goto fail
;
30136 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyLineShape
, SWIG_POINTER_EXCEPTION
| 0);
30137 if (SWIG_arg_fail(1)) SWIG_fail
;
30138 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
30139 if (SWIG_arg_fail(2)) SWIG_fail
;
30141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30142 (arg1
)->SetTo(arg2
);
30144 wxPyEndAllowThreads(__tstate
);
30145 if (PyErr_Occurred()) SWIG_fail
;
30147 Py_INCREF(Py_None
); resultobj
= Py_None
;
30154 static PyObject
*_wrap_PyLineShape_Straighten(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30155 PyObject
*resultobj
;
30156 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
30157 wxDC
*arg2
= (wxDC
*) NULL
;
30158 PyObject
* obj0
= 0 ;
30159 PyObject
* obj1
= 0 ;
30160 char *kwnames
[] = {
30161 (char *) "self",(char *) "dc", NULL
30164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyLineShape_Straighten",kwnames
,&obj0
,&obj1
)) goto fail
;
30165 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyLineShape
, SWIG_POINTER_EXCEPTION
| 0);
30166 if (SWIG_arg_fail(1)) SWIG_fail
;
30168 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
30169 if (SWIG_arg_fail(2)) SWIG_fail
;
30172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30173 (arg1
)->Straighten(arg2
);
30175 wxPyEndAllowThreads(__tstate
);
30176 if (PyErr_Occurred()) SWIG_fail
;
30178 Py_INCREF(Py_None
); resultobj
= Py_None
;
30185 static PyObject
*_wrap_PyLineShape_Unlink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30186 PyObject
*resultobj
;
30187 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
30188 PyObject
* obj0
= 0 ;
30189 char *kwnames
[] = {
30190 (char *) "self", NULL
30193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_Unlink",kwnames
,&obj0
)) goto fail
;
30194 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyLineShape
, SWIG_POINTER_EXCEPTION
| 0);
30195 if (SWIG_arg_fail(1)) SWIG_fail
;
30197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30200 wxPyEndAllowThreads(__tstate
);
30201 if (PyErr_Occurred()) SWIG_fail
;
30203 Py_INCREF(Py_None
); resultobj
= Py_None
;
30210 static PyObject
*_wrap_PyLineShape_SetAlignmentOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30211 PyObject
*resultobj
;
30212 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
30215 PyObject
* obj0
= 0 ;
30216 PyObject
* obj1
= 0 ;
30217 PyObject
* obj2
= 0 ;
30218 char *kwnames
[] = {
30219 (char *) "self",(char *) "isEnd",(char *) "isHoriz", NULL
30222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLineShape_SetAlignmentOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30223 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyLineShape
, SWIG_POINTER_EXCEPTION
| 0);
30224 if (SWIG_arg_fail(1)) SWIG_fail
;
30226 arg2
= (bool)(SWIG_As_bool(obj1
));
30227 if (SWIG_arg_fail(2)) SWIG_fail
;
30230 arg3
= (bool)(SWIG_As_bool(obj2
));
30231 if (SWIG_arg_fail(3)) SWIG_fail
;
30234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30235 (arg1
)->SetAlignmentOrientation(arg2
,arg3
);
30237 wxPyEndAllowThreads(__tstate
);
30238 if (PyErr_Occurred()) SWIG_fail
;
30240 Py_INCREF(Py_None
); resultobj
= Py_None
;
30247 static PyObject
*_wrap_PyLineShape_SetAlignmentType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30248 PyObject
*resultobj
;
30249 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
30252 PyObject
* obj0
= 0 ;
30253 PyObject
* obj1
= 0 ;
30254 PyObject
* obj2
= 0 ;
30255 char *kwnames
[] = {
30256 (char *) "self",(char *) "isEnd",(char *) "alignType", NULL
30259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLineShape_SetAlignmentType",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30260 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyLineShape
, SWIG_POINTER_EXCEPTION
| 0);
30261 if (SWIG_arg_fail(1)) SWIG_fail
;
30263 arg2
= (bool)(SWIG_As_bool(obj1
));
30264 if (SWIG_arg_fail(2)) SWIG_fail
;
30267 arg3
= (int)(SWIG_As_int(obj2
));
30268 if (SWIG_arg_fail(3)) SWIG_fail
;
30271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30272 (arg1
)->SetAlignmentType(arg2
,arg3
);
30274 wxPyEndAllowThreads(__tstate
);
30275 if (PyErr_Occurred()) SWIG_fail
;
30277 Py_INCREF(Py_None
); resultobj
= Py_None
;
30284 static PyObject
*_wrap_PyLineShape_GetAlignmentOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30285 PyObject
*resultobj
;
30286 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
30289 PyObject
* obj0
= 0 ;
30290 PyObject
* obj1
= 0 ;
30291 char *kwnames
[] = {
30292 (char *) "self",(char *) "isEnd", NULL
30295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_GetAlignmentOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
30296 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyLineShape
, SWIG_POINTER_EXCEPTION
| 0);
30297 if (SWIG_arg_fail(1)) SWIG_fail
;
30299 arg2
= (bool)(SWIG_As_bool(obj1
));
30300 if (SWIG_arg_fail(2)) SWIG_fail
;
30303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30304 result
= (bool)(arg1
)->GetAlignmentOrientation(arg2
);
30306 wxPyEndAllowThreads(__tstate
);
30307 if (PyErr_Occurred()) SWIG_fail
;
30310 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30318 static PyObject
*_wrap_PyLineShape_GetAlignmentType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30319 PyObject
*resultobj
;
30320 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
30323 PyObject
* obj0
= 0 ;
30324 PyObject
* obj1
= 0 ;
30325 char *kwnames
[] = {
30326 (char *) "self",(char *) "isEnd", NULL
30329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_GetAlignmentType",kwnames
,&obj0
,&obj1
)) goto fail
;
30330 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyLineShape
, SWIG_POINTER_EXCEPTION
| 0);
30331 if (SWIG_arg_fail(1)) SWIG_fail
;
30333 arg2
= (bool)(SWIG_As_bool(obj1
));
30334 if (SWIG_arg_fail(2)) SWIG_fail
;
30337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30338 result
= (int)(arg1
)->GetAlignmentType(arg2
);
30340 wxPyEndAllowThreads(__tstate
);
30341 if (PyErr_Occurred()) SWIG_fail
;
30344 resultobj
= SWIG_From_int((int)(result
));
30352 static PyObject
*_wrap_PyLineShape_GetAlignmentStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30353 PyObject
*resultobj
;
30354 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
30356 PyObject
* obj0
= 0 ;
30357 char *kwnames
[] = {
30358 (char *) "self", NULL
30361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_GetAlignmentStart",kwnames
,&obj0
)) goto fail
;
30362 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyLineShape
, SWIG_POINTER_EXCEPTION
| 0);
30363 if (SWIG_arg_fail(1)) SWIG_fail
;
30365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30366 result
= (int)((wxPyLineShape
const *)arg1
)->GetAlignmentStart();
30368 wxPyEndAllowThreads(__tstate
);
30369 if (PyErr_Occurred()) SWIG_fail
;
30372 resultobj
= SWIG_From_int((int)(result
));
30380 static PyObject
*_wrap_PyLineShape_GetAlignmentEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30381 PyObject
*resultobj
;
30382 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
30384 PyObject
* obj0
= 0 ;
30385 char *kwnames
[] = {
30386 (char *) "self", NULL
30389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyLineShape_GetAlignmentEnd",kwnames
,&obj0
)) goto fail
;
30390 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyLineShape
, SWIG_POINTER_EXCEPTION
| 0);
30391 if (SWIG_arg_fail(1)) SWIG_fail
;
30393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30394 result
= (int)((wxPyLineShape
const *)arg1
)->GetAlignmentEnd();
30396 wxPyEndAllowThreads(__tstate
);
30397 if (PyErr_Occurred()) SWIG_fail
;
30400 resultobj
= SWIG_From_int((int)(result
));
30408 static PyObject
*_wrap_PyLineShape_base_OnDraw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30409 PyObject
*resultobj
;
30410 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
30412 PyObject
* obj0
= 0 ;
30413 PyObject
* obj1
= 0 ;
30414 char *kwnames
[] = {
30415 (char *) "self",(char *) "dc", NULL
30418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
30419 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyLineShape
, SWIG_POINTER_EXCEPTION
| 0);
30420 if (SWIG_arg_fail(1)) SWIG_fail
;
30422 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
30423 if (SWIG_arg_fail(2)) SWIG_fail
;
30424 if (arg2
== NULL
) {
30425 SWIG_null_ref("wxDC");
30427 if (SWIG_arg_fail(2)) SWIG_fail
;
30430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30431 (arg1
)->base_OnDraw(*arg2
);
30433 wxPyEndAllowThreads(__tstate
);
30434 if (PyErr_Occurred()) SWIG_fail
;
30436 Py_INCREF(Py_None
); resultobj
= Py_None
;
30443 static PyObject
*_wrap_PyLineShape_base_OnDrawContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30444 PyObject
*resultobj
;
30445 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
30447 PyObject
* obj0
= 0 ;
30448 PyObject
* obj1
= 0 ;
30449 char *kwnames
[] = {
30450 (char *) "self",(char *) "dc", NULL
30453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
30454 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyLineShape
, SWIG_POINTER_EXCEPTION
| 0);
30455 if (SWIG_arg_fail(1)) SWIG_fail
;
30457 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
30458 if (SWIG_arg_fail(2)) SWIG_fail
;
30459 if (arg2
== NULL
) {
30460 SWIG_null_ref("wxDC");
30462 if (SWIG_arg_fail(2)) SWIG_fail
;
30465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30466 (arg1
)->base_OnDrawContents(*arg2
);
30468 wxPyEndAllowThreads(__tstate
);
30469 if (PyErr_Occurred()) SWIG_fail
;
30471 Py_INCREF(Py_None
); resultobj
= Py_None
;
30478 static PyObject
*_wrap_PyLineShape_base_OnDrawBranches(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30479 PyObject
*resultobj
;
30480 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
30482 bool arg3
= (bool) FALSE
;
30483 PyObject
* obj0
= 0 ;
30484 PyObject
* obj1
= 0 ;
30485 PyObject
* obj2
= 0 ;
30486 char *kwnames
[] = {
30487 (char *) "self",(char *) "dc",(char *) "erase", NULL
30490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyLineShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30491 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyLineShape
, SWIG_POINTER_EXCEPTION
| 0);
30492 if (SWIG_arg_fail(1)) SWIG_fail
;
30494 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
30495 if (SWIG_arg_fail(2)) SWIG_fail
;
30496 if (arg2
== NULL
) {
30497 SWIG_null_ref("wxDC");
30499 if (SWIG_arg_fail(2)) SWIG_fail
;
30503 arg3
= (bool)(SWIG_As_bool(obj2
));
30504 if (SWIG_arg_fail(3)) SWIG_fail
;
30508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30509 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
30511 wxPyEndAllowThreads(__tstate
);
30512 if (PyErr_Occurred()) SWIG_fail
;
30514 Py_INCREF(Py_None
); resultobj
= Py_None
;
30521 static PyObject
*_wrap_PyLineShape_base_OnMoveLinks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30522 PyObject
*resultobj
;
30523 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
30525 PyObject
* obj0
= 0 ;
30526 PyObject
* obj1
= 0 ;
30527 char *kwnames
[] = {
30528 (char *) "self",(char *) "dc", NULL
30531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
30532 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyLineShape
, SWIG_POINTER_EXCEPTION
| 0);
30533 if (SWIG_arg_fail(1)) SWIG_fail
;
30535 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
30536 if (SWIG_arg_fail(2)) SWIG_fail
;
30537 if (arg2
== NULL
) {
30538 SWIG_null_ref("wxDC");
30540 if (SWIG_arg_fail(2)) SWIG_fail
;
30543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30544 (arg1
)->base_OnMoveLinks(*arg2
);
30546 wxPyEndAllowThreads(__tstate
);
30547 if (PyErr_Occurred()) SWIG_fail
;
30549 Py_INCREF(Py_None
); resultobj
= Py_None
;
30556 static PyObject
*_wrap_PyLineShape_base_OnErase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30557 PyObject
*resultobj
;
30558 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
30560 PyObject
* obj0
= 0 ;
30561 PyObject
* obj1
= 0 ;
30562 char *kwnames
[] = {
30563 (char *) "self",(char *) "dc", NULL
30566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
30567 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyLineShape
, SWIG_POINTER_EXCEPTION
| 0);
30568 if (SWIG_arg_fail(1)) SWIG_fail
;
30570 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
30571 if (SWIG_arg_fail(2)) SWIG_fail
;
30572 if (arg2
== NULL
) {
30573 SWIG_null_ref("wxDC");
30575 if (SWIG_arg_fail(2)) SWIG_fail
;
30578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30579 (arg1
)->base_OnErase(*arg2
);
30581 wxPyEndAllowThreads(__tstate
);
30582 if (PyErr_Occurred()) SWIG_fail
;
30584 Py_INCREF(Py_None
); resultobj
= Py_None
;
30591 static PyObject
*_wrap_PyLineShape_base_OnEraseContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30592 PyObject
*resultobj
;
30593 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
30595 PyObject
* obj0
= 0 ;
30596 PyObject
* obj1
= 0 ;
30597 char *kwnames
[] = {
30598 (char *) "self",(char *) "dc", NULL
30601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
30602 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyLineShape
, SWIG_POINTER_EXCEPTION
| 0);
30603 if (SWIG_arg_fail(1)) SWIG_fail
;
30605 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
30606 if (SWIG_arg_fail(2)) SWIG_fail
;
30607 if (arg2
== NULL
) {
30608 SWIG_null_ref("wxDC");
30610 if (SWIG_arg_fail(2)) SWIG_fail
;
30613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30614 (arg1
)->base_OnEraseContents(*arg2
);
30616 wxPyEndAllowThreads(__tstate
);
30617 if (PyErr_Occurred()) SWIG_fail
;
30619 Py_INCREF(Py_None
); resultobj
= Py_None
;
30626 static PyObject
*_wrap_PyLineShape_base_OnHighlight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30627 PyObject
*resultobj
;
30628 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
30630 PyObject
* obj0
= 0 ;
30631 PyObject
* obj1
= 0 ;
30632 char *kwnames
[] = {
30633 (char *) "self",(char *) "dc", NULL
30636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
30637 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyLineShape
, SWIG_POINTER_EXCEPTION
| 0);
30638 if (SWIG_arg_fail(1)) SWIG_fail
;
30640 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
30641 if (SWIG_arg_fail(2)) SWIG_fail
;
30642 if (arg2
== NULL
) {
30643 SWIG_null_ref("wxDC");
30645 if (SWIG_arg_fail(2)) SWIG_fail
;
30648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30649 (arg1
)->base_OnHighlight(*arg2
);
30651 wxPyEndAllowThreads(__tstate
);
30652 if (PyErr_Occurred()) SWIG_fail
;
30654 Py_INCREF(Py_None
); resultobj
= Py_None
;
30661 static PyObject
*_wrap_PyLineShape_base_OnLeftClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30662 PyObject
*resultobj
;
30663 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
30666 int arg4
= (int) 0 ;
30667 int arg5
= (int) 0 ;
30668 PyObject
* obj0
= 0 ;
30669 PyObject
* obj1
= 0 ;
30670 PyObject
* obj2
= 0 ;
30671 PyObject
* obj3
= 0 ;
30672 PyObject
* obj4
= 0 ;
30673 char *kwnames
[] = {
30674 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyLineShape_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30678 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyLineShape
, SWIG_POINTER_EXCEPTION
| 0);
30679 if (SWIG_arg_fail(1)) SWIG_fail
;
30681 arg2
= (double)(SWIG_As_double(obj1
));
30682 if (SWIG_arg_fail(2)) SWIG_fail
;
30685 arg3
= (double)(SWIG_As_double(obj2
));
30686 if (SWIG_arg_fail(3)) SWIG_fail
;
30690 arg4
= (int)(SWIG_As_int(obj3
));
30691 if (SWIG_arg_fail(4)) SWIG_fail
;
30696 arg5
= (int)(SWIG_As_int(obj4
));
30697 if (SWIG_arg_fail(5)) SWIG_fail
;
30701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30702 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
30704 wxPyEndAllowThreads(__tstate
);
30705 if (PyErr_Occurred()) SWIG_fail
;
30707 Py_INCREF(Py_None
); resultobj
= Py_None
;
30714 static PyObject
*_wrap_PyLineShape_base_OnLeftDoubleClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30715 PyObject
*resultobj
;
30716 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
30719 int arg4
= (int) 0 ;
30720 int arg5
= (int) 0 ;
30721 PyObject
* obj0
= 0 ;
30722 PyObject
* obj1
= 0 ;
30723 PyObject
* obj2
= 0 ;
30724 PyObject
* obj3
= 0 ;
30725 PyObject
* obj4
= 0 ;
30726 char *kwnames
[] = {
30727 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyLineShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30731 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyLineShape
, SWIG_POINTER_EXCEPTION
| 0);
30732 if (SWIG_arg_fail(1)) SWIG_fail
;
30734 arg2
= (double)(SWIG_As_double(obj1
));
30735 if (SWIG_arg_fail(2)) SWIG_fail
;
30738 arg3
= (double)(SWIG_As_double(obj2
));
30739 if (SWIG_arg_fail(3)) SWIG_fail
;
30743 arg4
= (int)(SWIG_As_int(obj3
));
30744 if (SWIG_arg_fail(4)) SWIG_fail
;
30749 arg5
= (int)(SWIG_As_int(obj4
));
30750 if (SWIG_arg_fail(5)) SWIG_fail
;
30754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30755 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
30757 wxPyEndAllowThreads(__tstate
);
30758 if (PyErr_Occurred()) SWIG_fail
;
30760 Py_INCREF(Py_None
); resultobj
= Py_None
;
30767 static PyObject
*_wrap_PyLineShape_base_OnRightClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30768 PyObject
*resultobj
;
30769 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
30772 int arg4
= (int) 0 ;
30773 int arg5
= (int) 0 ;
30774 PyObject
* obj0
= 0 ;
30775 PyObject
* obj1
= 0 ;
30776 PyObject
* obj2
= 0 ;
30777 PyObject
* obj3
= 0 ;
30778 PyObject
* obj4
= 0 ;
30779 char *kwnames
[] = {
30780 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyLineShape_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30784 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyLineShape
, SWIG_POINTER_EXCEPTION
| 0);
30785 if (SWIG_arg_fail(1)) SWIG_fail
;
30787 arg2
= (double)(SWIG_As_double(obj1
));
30788 if (SWIG_arg_fail(2)) SWIG_fail
;
30791 arg3
= (double)(SWIG_As_double(obj2
));
30792 if (SWIG_arg_fail(3)) SWIG_fail
;
30796 arg4
= (int)(SWIG_As_int(obj3
));
30797 if (SWIG_arg_fail(4)) SWIG_fail
;
30802 arg5
= (int)(SWIG_As_int(obj4
));
30803 if (SWIG_arg_fail(5)) SWIG_fail
;
30807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30808 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
30810 wxPyEndAllowThreads(__tstate
);
30811 if (PyErr_Occurred()) SWIG_fail
;
30813 Py_INCREF(Py_None
); resultobj
= Py_None
;
30820 static PyObject
*_wrap_PyLineShape_base_OnSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30821 PyObject
*resultobj
;
30822 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
30825 PyObject
* obj0
= 0 ;
30826 PyObject
* obj1
= 0 ;
30827 PyObject
* obj2
= 0 ;
30828 char *kwnames
[] = {
30829 (char *) "self",(char *) "x",(char *) "y", NULL
30832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLineShape_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30833 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyLineShape
, SWIG_POINTER_EXCEPTION
| 0);
30834 if (SWIG_arg_fail(1)) SWIG_fail
;
30836 arg2
= (double)(SWIG_As_double(obj1
));
30837 if (SWIG_arg_fail(2)) SWIG_fail
;
30840 arg3
= (double)(SWIG_As_double(obj2
));
30841 if (SWIG_arg_fail(3)) SWIG_fail
;
30844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30845 (arg1
)->base_OnSize(arg2
,arg3
);
30847 wxPyEndAllowThreads(__tstate
);
30848 if (PyErr_Occurred()) SWIG_fail
;
30850 Py_INCREF(Py_None
); resultobj
= Py_None
;
30857 static PyObject
*_wrap_PyLineShape_base_OnMovePre(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30858 PyObject
*resultobj
;
30859 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
30865 bool arg7
= (bool) true ;
30867 PyObject
* obj0
= 0 ;
30868 PyObject
* obj1
= 0 ;
30869 PyObject
* obj2
= 0 ;
30870 PyObject
* obj3
= 0 ;
30871 PyObject
* obj4
= 0 ;
30872 PyObject
* obj5
= 0 ;
30873 PyObject
* obj6
= 0 ;
30874 char *kwnames
[] = {
30875 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
30878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyLineShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
30879 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyLineShape
, SWIG_POINTER_EXCEPTION
| 0);
30880 if (SWIG_arg_fail(1)) SWIG_fail
;
30882 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
30883 if (SWIG_arg_fail(2)) SWIG_fail
;
30884 if (arg2
== NULL
) {
30885 SWIG_null_ref("wxDC");
30887 if (SWIG_arg_fail(2)) SWIG_fail
;
30890 arg3
= (double)(SWIG_As_double(obj2
));
30891 if (SWIG_arg_fail(3)) SWIG_fail
;
30894 arg4
= (double)(SWIG_As_double(obj3
));
30895 if (SWIG_arg_fail(4)) SWIG_fail
;
30898 arg5
= (double)(SWIG_As_double(obj4
));
30899 if (SWIG_arg_fail(5)) SWIG_fail
;
30902 arg6
= (double)(SWIG_As_double(obj5
));
30903 if (SWIG_arg_fail(6)) SWIG_fail
;
30907 arg7
= (bool)(SWIG_As_bool(obj6
));
30908 if (SWIG_arg_fail(7)) SWIG_fail
;
30912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30913 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
30915 wxPyEndAllowThreads(__tstate
);
30916 if (PyErr_Occurred()) SWIG_fail
;
30919 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30927 static PyObject
*_wrap_PyLineShape_base_OnMovePost(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30928 PyObject
*resultobj
;
30929 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
30935 bool arg7
= (bool) true ;
30936 PyObject
* obj0
= 0 ;
30937 PyObject
* obj1
= 0 ;
30938 PyObject
* obj2
= 0 ;
30939 PyObject
* obj3
= 0 ;
30940 PyObject
* obj4
= 0 ;
30941 PyObject
* obj5
= 0 ;
30942 PyObject
* obj6
= 0 ;
30943 char *kwnames
[] = {
30944 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
30947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyLineShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
30948 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyLineShape
, SWIG_POINTER_EXCEPTION
| 0);
30949 if (SWIG_arg_fail(1)) SWIG_fail
;
30951 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
30952 if (SWIG_arg_fail(2)) SWIG_fail
;
30953 if (arg2
== NULL
) {
30954 SWIG_null_ref("wxDC");
30956 if (SWIG_arg_fail(2)) SWIG_fail
;
30959 arg3
= (double)(SWIG_As_double(obj2
));
30960 if (SWIG_arg_fail(3)) SWIG_fail
;
30963 arg4
= (double)(SWIG_As_double(obj3
));
30964 if (SWIG_arg_fail(4)) SWIG_fail
;
30967 arg5
= (double)(SWIG_As_double(obj4
));
30968 if (SWIG_arg_fail(5)) SWIG_fail
;
30971 arg6
= (double)(SWIG_As_double(obj5
));
30972 if (SWIG_arg_fail(6)) SWIG_fail
;
30976 arg7
= (bool)(SWIG_As_bool(obj6
));
30977 if (SWIG_arg_fail(7)) SWIG_fail
;
30981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30982 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
30984 wxPyEndAllowThreads(__tstate
);
30985 if (PyErr_Occurred()) SWIG_fail
;
30987 Py_INCREF(Py_None
); resultobj
= Py_None
;
30994 static PyObject
*_wrap_PyLineShape_base_OnDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30995 PyObject
*resultobj
;
30996 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
31000 int arg5
= (int) 0 ;
31001 int arg6
= (int) 0 ;
31002 PyObject
* obj0
= 0 ;
31003 PyObject
* obj1
= 0 ;
31004 PyObject
* obj2
= 0 ;
31005 PyObject
* obj3
= 0 ;
31006 PyObject
* obj4
= 0 ;
31007 PyObject
* obj5
= 0 ;
31008 char *kwnames
[] = {
31009 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
31012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyLineShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
31013 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyLineShape
, SWIG_POINTER_EXCEPTION
| 0);
31014 if (SWIG_arg_fail(1)) SWIG_fail
;
31016 arg2
= (bool)(SWIG_As_bool(obj1
));
31017 if (SWIG_arg_fail(2)) SWIG_fail
;
31020 arg3
= (double)(SWIG_As_double(obj2
));
31021 if (SWIG_arg_fail(3)) SWIG_fail
;
31024 arg4
= (double)(SWIG_As_double(obj3
));
31025 if (SWIG_arg_fail(4)) SWIG_fail
;
31029 arg5
= (int)(SWIG_As_int(obj4
));
31030 if (SWIG_arg_fail(5)) SWIG_fail
;
31035 arg6
= (int)(SWIG_As_int(obj5
));
31036 if (SWIG_arg_fail(6)) SWIG_fail
;
31040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31041 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
31043 wxPyEndAllowThreads(__tstate
);
31044 if (PyErr_Occurred()) SWIG_fail
;
31046 Py_INCREF(Py_None
); resultobj
= Py_None
;
31053 static PyObject
*_wrap_PyLineShape_base_OnBeginDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31054 PyObject
*resultobj
;
31055 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
31058 int arg4
= (int) 0 ;
31059 int arg5
= (int) 0 ;
31060 PyObject
* obj0
= 0 ;
31061 PyObject
* obj1
= 0 ;
31062 PyObject
* obj2
= 0 ;
31063 PyObject
* obj3
= 0 ;
31064 PyObject
* obj4
= 0 ;
31065 char *kwnames
[] = {
31066 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
31069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyLineShape_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
31070 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyLineShape
, SWIG_POINTER_EXCEPTION
| 0);
31071 if (SWIG_arg_fail(1)) SWIG_fail
;
31073 arg2
= (double)(SWIG_As_double(obj1
));
31074 if (SWIG_arg_fail(2)) SWIG_fail
;
31077 arg3
= (double)(SWIG_As_double(obj2
));
31078 if (SWIG_arg_fail(3)) SWIG_fail
;
31082 arg4
= (int)(SWIG_As_int(obj3
));
31083 if (SWIG_arg_fail(4)) SWIG_fail
;
31088 arg5
= (int)(SWIG_As_int(obj4
));
31089 if (SWIG_arg_fail(5)) SWIG_fail
;
31093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31094 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
31096 wxPyEndAllowThreads(__tstate
);
31097 if (PyErr_Occurred()) SWIG_fail
;
31099 Py_INCREF(Py_None
); resultobj
= Py_None
;
31106 static PyObject
*_wrap_PyLineShape_base_OnEndDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31107 PyObject
*resultobj
;
31108 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
31111 int arg4
= (int) 0 ;
31112 int arg5
= (int) 0 ;
31113 PyObject
* obj0
= 0 ;
31114 PyObject
* obj1
= 0 ;
31115 PyObject
* obj2
= 0 ;
31116 PyObject
* obj3
= 0 ;
31117 PyObject
* obj4
= 0 ;
31118 char *kwnames
[] = {
31119 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
31122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyLineShape_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
31123 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyLineShape
, SWIG_POINTER_EXCEPTION
| 0);
31124 if (SWIG_arg_fail(1)) SWIG_fail
;
31126 arg2
= (double)(SWIG_As_double(obj1
));
31127 if (SWIG_arg_fail(2)) SWIG_fail
;
31130 arg3
= (double)(SWIG_As_double(obj2
));
31131 if (SWIG_arg_fail(3)) SWIG_fail
;
31135 arg4
= (int)(SWIG_As_int(obj3
));
31136 if (SWIG_arg_fail(4)) SWIG_fail
;
31141 arg5
= (int)(SWIG_As_int(obj4
));
31142 if (SWIG_arg_fail(5)) SWIG_fail
;
31146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31147 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
31149 wxPyEndAllowThreads(__tstate
);
31150 if (PyErr_Occurred()) SWIG_fail
;
31152 Py_INCREF(Py_None
); resultobj
= Py_None
;
31159 static PyObject
*_wrap_PyLineShape_base_OnDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31160 PyObject
*resultobj
;
31161 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
31165 int arg5
= (int) 0 ;
31166 int arg6
= (int) 0 ;
31167 PyObject
* obj0
= 0 ;
31168 PyObject
* obj1
= 0 ;
31169 PyObject
* obj2
= 0 ;
31170 PyObject
* obj3
= 0 ;
31171 PyObject
* obj4
= 0 ;
31172 PyObject
* obj5
= 0 ;
31173 char *kwnames
[] = {
31174 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
31177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyLineShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
31178 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyLineShape
, SWIG_POINTER_EXCEPTION
| 0);
31179 if (SWIG_arg_fail(1)) SWIG_fail
;
31181 arg2
= (bool)(SWIG_As_bool(obj1
));
31182 if (SWIG_arg_fail(2)) SWIG_fail
;
31185 arg3
= (double)(SWIG_As_double(obj2
));
31186 if (SWIG_arg_fail(3)) SWIG_fail
;
31189 arg4
= (double)(SWIG_As_double(obj3
));
31190 if (SWIG_arg_fail(4)) SWIG_fail
;
31194 arg5
= (int)(SWIG_As_int(obj4
));
31195 if (SWIG_arg_fail(5)) SWIG_fail
;
31200 arg6
= (int)(SWIG_As_int(obj5
));
31201 if (SWIG_arg_fail(6)) SWIG_fail
;
31205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31206 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
31208 wxPyEndAllowThreads(__tstate
);
31209 if (PyErr_Occurred()) SWIG_fail
;
31211 Py_INCREF(Py_None
); resultobj
= Py_None
;
31218 static PyObject
*_wrap_PyLineShape_base_OnBeginDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31219 PyObject
*resultobj
;
31220 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
31223 int arg4
= (int) 0 ;
31224 int arg5
= (int) 0 ;
31225 PyObject
* obj0
= 0 ;
31226 PyObject
* obj1
= 0 ;
31227 PyObject
* obj2
= 0 ;
31228 PyObject
* obj3
= 0 ;
31229 PyObject
* obj4
= 0 ;
31230 char *kwnames
[] = {
31231 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
31234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyLineShape_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
31235 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyLineShape
, SWIG_POINTER_EXCEPTION
| 0);
31236 if (SWIG_arg_fail(1)) SWIG_fail
;
31238 arg2
= (double)(SWIG_As_double(obj1
));
31239 if (SWIG_arg_fail(2)) SWIG_fail
;
31242 arg3
= (double)(SWIG_As_double(obj2
));
31243 if (SWIG_arg_fail(3)) SWIG_fail
;
31247 arg4
= (int)(SWIG_As_int(obj3
));
31248 if (SWIG_arg_fail(4)) SWIG_fail
;
31253 arg5
= (int)(SWIG_As_int(obj4
));
31254 if (SWIG_arg_fail(5)) SWIG_fail
;
31258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31259 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
31261 wxPyEndAllowThreads(__tstate
);
31262 if (PyErr_Occurred()) SWIG_fail
;
31264 Py_INCREF(Py_None
); resultobj
= Py_None
;
31271 static PyObject
*_wrap_PyLineShape_base_OnEndDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31272 PyObject
*resultobj
;
31273 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
31276 int arg4
= (int) 0 ;
31277 int arg5
= (int) 0 ;
31278 PyObject
* obj0
= 0 ;
31279 PyObject
* obj1
= 0 ;
31280 PyObject
* obj2
= 0 ;
31281 PyObject
* obj3
= 0 ;
31282 PyObject
* obj4
= 0 ;
31283 char *kwnames
[] = {
31284 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
31287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyLineShape_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
31288 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyLineShape
, SWIG_POINTER_EXCEPTION
| 0);
31289 if (SWIG_arg_fail(1)) SWIG_fail
;
31291 arg2
= (double)(SWIG_As_double(obj1
));
31292 if (SWIG_arg_fail(2)) SWIG_fail
;
31295 arg3
= (double)(SWIG_As_double(obj2
));
31296 if (SWIG_arg_fail(3)) SWIG_fail
;
31300 arg4
= (int)(SWIG_As_int(obj3
));
31301 if (SWIG_arg_fail(4)) SWIG_fail
;
31306 arg5
= (int)(SWIG_As_int(obj4
));
31307 if (SWIG_arg_fail(5)) SWIG_fail
;
31311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31312 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
31314 wxPyEndAllowThreads(__tstate
);
31315 if (PyErr_Occurred()) SWIG_fail
;
31317 Py_INCREF(Py_None
); resultobj
= Py_None
;
31324 static PyObject
*_wrap_PyLineShape_base_OnDrawOutline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31325 PyObject
*resultobj
;
31326 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
31332 PyObject
* obj0
= 0 ;
31333 PyObject
* obj1
= 0 ;
31334 PyObject
* obj2
= 0 ;
31335 PyObject
* obj3
= 0 ;
31336 PyObject
* obj4
= 0 ;
31337 PyObject
* obj5
= 0 ;
31338 char *kwnames
[] = {
31339 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
31342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyLineShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
31343 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyLineShape
, SWIG_POINTER_EXCEPTION
| 0);
31344 if (SWIG_arg_fail(1)) SWIG_fail
;
31346 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
31347 if (SWIG_arg_fail(2)) SWIG_fail
;
31348 if (arg2
== NULL
) {
31349 SWIG_null_ref("wxDC");
31351 if (SWIG_arg_fail(2)) SWIG_fail
;
31354 arg3
= (double)(SWIG_As_double(obj2
));
31355 if (SWIG_arg_fail(3)) SWIG_fail
;
31358 arg4
= (double)(SWIG_As_double(obj3
));
31359 if (SWIG_arg_fail(4)) SWIG_fail
;
31362 arg5
= (double)(SWIG_As_double(obj4
));
31363 if (SWIG_arg_fail(5)) SWIG_fail
;
31366 arg6
= (double)(SWIG_As_double(obj5
));
31367 if (SWIG_arg_fail(6)) SWIG_fail
;
31370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31371 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
31373 wxPyEndAllowThreads(__tstate
);
31374 if (PyErr_Occurred()) SWIG_fail
;
31376 Py_INCREF(Py_None
); resultobj
= Py_None
;
31383 static PyObject
*_wrap_PyLineShape_base_OnDrawControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31384 PyObject
*resultobj
;
31385 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
31387 PyObject
* obj0
= 0 ;
31388 PyObject
* obj1
= 0 ;
31389 char *kwnames
[] = {
31390 (char *) "self",(char *) "dc", NULL
31393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
31394 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyLineShape
, SWIG_POINTER_EXCEPTION
| 0);
31395 if (SWIG_arg_fail(1)) SWIG_fail
;
31397 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
31398 if (SWIG_arg_fail(2)) SWIG_fail
;
31399 if (arg2
== NULL
) {
31400 SWIG_null_ref("wxDC");
31402 if (SWIG_arg_fail(2)) SWIG_fail
;
31405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31406 (arg1
)->base_OnDrawControlPoints(*arg2
);
31408 wxPyEndAllowThreads(__tstate
);
31409 if (PyErr_Occurred()) SWIG_fail
;
31411 Py_INCREF(Py_None
); resultobj
= Py_None
;
31418 static PyObject
*_wrap_PyLineShape_base_OnEraseControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31419 PyObject
*resultobj
;
31420 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
31422 PyObject
* obj0
= 0 ;
31423 PyObject
* obj1
= 0 ;
31424 char *kwnames
[] = {
31425 (char *) "self",(char *) "dc", NULL
31428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyLineShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
31429 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyLineShape
, SWIG_POINTER_EXCEPTION
| 0);
31430 if (SWIG_arg_fail(1)) SWIG_fail
;
31432 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
31433 if (SWIG_arg_fail(2)) SWIG_fail
;
31434 if (arg2
== NULL
) {
31435 SWIG_null_ref("wxDC");
31437 if (SWIG_arg_fail(2)) SWIG_fail
;
31440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31441 (arg1
)->base_OnEraseControlPoints(*arg2
);
31443 wxPyEndAllowThreads(__tstate
);
31444 if (PyErr_Occurred()) SWIG_fail
;
31446 Py_INCREF(Py_None
); resultobj
= Py_None
;
31453 static PyObject
*_wrap_PyLineShape_base_OnMoveLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31454 PyObject
*resultobj
;
31455 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
31457 bool arg3
= (bool) true ;
31458 PyObject
* obj0
= 0 ;
31459 PyObject
* obj1
= 0 ;
31460 PyObject
* obj2
= 0 ;
31461 char *kwnames
[] = {
31462 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
31465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyLineShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31466 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyLineShape
, SWIG_POINTER_EXCEPTION
| 0);
31467 if (SWIG_arg_fail(1)) SWIG_fail
;
31469 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
31470 if (SWIG_arg_fail(2)) SWIG_fail
;
31471 if (arg2
== NULL
) {
31472 SWIG_null_ref("wxDC");
31474 if (SWIG_arg_fail(2)) SWIG_fail
;
31478 arg3
= (bool)(SWIG_As_bool(obj2
));
31479 if (SWIG_arg_fail(3)) SWIG_fail
;
31483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31484 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
31486 wxPyEndAllowThreads(__tstate
);
31487 if (PyErr_Occurred()) SWIG_fail
;
31489 Py_INCREF(Py_None
); resultobj
= Py_None
;
31496 static PyObject
*_wrap_PyLineShape_base_OnSizingDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31497 PyObject
*resultobj
;
31498 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
31499 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
31503 int arg6
= (int) 0 ;
31504 int arg7
= (int) 0 ;
31505 PyObject
* obj0
= 0 ;
31506 PyObject
* obj1
= 0 ;
31507 PyObject
* obj2
= 0 ;
31508 PyObject
* obj3
= 0 ;
31509 PyObject
* obj4
= 0 ;
31510 PyObject
* obj5
= 0 ;
31511 PyObject
* obj6
= 0 ;
31512 char *kwnames
[] = {
31513 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
31516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyLineShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
31517 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyLineShape
, SWIG_POINTER_EXCEPTION
| 0);
31518 if (SWIG_arg_fail(1)) SWIG_fail
;
31519 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyControlPoint
, SWIG_POINTER_EXCEPTION
| 0);
31520 if (SWIG_arg_fail(2)) SWIG_fail
;
31522 arg3
= (bool)(SWIG_As_bool(obj2
));
31523 if (SWIG_arg_fail(3)) SWIG_fail
;
31526 arg4
= (double)(SWIG_As_double(obj3
));
31527 if (SWIG_arg_fail(4)) SWIG_fail
;
31530 arg5
= (double)(SWIG_As_double(obj4
));
31531 if (SWIG_arg_fail(5)) SWIG_fail
;
31535 arg6
= (int)(SWIG_As_int(obj5
));
31536 if (SWIG_arg_fail(6)) SWIG_fail
;
31541 arg7
= (int)(SWIG_As_int(obj6
));
31542 if (SWIG_arg_fail(7)) SWIG_fail
;
31546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31547 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
31549 wxPyEndAllowThreads(__tstate
);
31550 if (PyErr_Occurred()) SWIG_fail
;
31552 Py_INCREF(Py_None
); resultobj
= Py_None
;
31559 static PyObject
*_wrap_PyLineShape_base_OnSizingBeginDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31560 PyObject
*resultobj
;
31561 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
31562 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
31565 int arg5
= (int) 0 ;
31566 int arg6
= (int) 0 ;
31567 PyObject
* obj0
= 0 ;
31568 PyObject
* obj1
= 0 ;
31569 PyObject
* obj2
= 0 ;
31570 PyObject
* obj3
= 0 ;
31571 PyObject
* obj4
= 0 ;
31572 PyObject
* obj5
= 0 ;
31573 char *kwnames
[] = {
31574 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
31577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyLineShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
31578 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyLineShape
, SWIG_POINTER_EXCEPTION
| 0);
31579 if (SWIG_arg_fail(1)) SWIG_fail
;
31580 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyControlPoint
, SWIG_POINTER_EXCEPTION
| 0);
31581 if (SWIG_arg_fail(2)) SWIG_fail
;
31583 arg3
= (double)(SWIG_As_double(obj2
));
31584 if (SWIG_arg_fail(3)) SWIG_fail
;
31587 arg4
= (double)(SWIG_As_double(obj3
));
31588 if (SWIG_arg_fail(4)) SWIG_fail
;
31592 arg5
= (int)(SWIG_As_int(obj4
));
31593 if (SWIG_arg_fail(5)) SWIG_fail
;
31598 arg6
= (int)(SWIG_As_int(obj5
));
31599 if (SWIG_arg_fail(6)) SWIG_fail
;
31603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31604 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
31606 wxPyEndAllowThreads(__tstate
);
31607 if (PyErr_Occurred()) SWIG_fail
;
31609 Py_INCREF(Py_None
); resultobj
= Py_None
;
31616 static PyObject
*_wrap_PyLineShape_base_OnSizingEndDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31617 PyObject
*resultobj
;
31618 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
31619 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
31622 int arg5
= (int) 0 ;
31623 int arg6
= (int) 0 ;
31624 PyObject
* obj0
= 0 ;
31625 PyObject
* obj1
= 0 ;
31626 PyObject
* obj2
= 0 ;
31627 PyObject
* obj3
= 0 ;
31628 PyObject
* obj4
= 0 ;
31629 PyObject
* obj5
= 0 ;
31630 char *kwnames
[] = {
31631 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
31634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyLineShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
31635 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyLineShape
, SWIG_POINTER_EXCEPTION
| 0);
31636 if (SWIG_arg_fail(1)) SWIG_fail
;
31637 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyControlPoint
, SWIG_POINTER_EXCEPTION
| 0);
31638 if (SWIG_arg_fail(2)) SWIG_fail
;
31640 arg3
= (double)(SWIG_As_double(obj2
));
31641 if (SWIG_arg_fail(3)) SWIG_fail
;
31644 arg4
= (double)(SWIG_As_double(obj3
));
31645 if (SWIG_arg_fail(4)) SWIG_fail
;
31649 arg5
= (int)(SWIG_As_int(obj4
));
31650 if (SWIG_arg_fail(5)) SWIG_fail
;
31655 arg6
= (int)(SWIG_As_int(obj5
));
31656 if (SWIG_arg_fail(6)) SWIG_fail
;
31660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31661 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
31663 wxPyEndAllowThreads(__tstate
);
31664 if (PyErr_Occurred()) SWIG_fail
;
31666 Py_INCREF(Py_None
); resultobj
= Py_None
;
31673 static PyObject
*_wrap_PyLineShape_base_OnBeginSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31674 PyObject
*resultobj
;
31675 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
31678 PyObject
* obj0
= 0 ;
31679 PyObject
* obj1
= 0 ;
31680 PyObject
* obj2
= 0 ;
31681 char *kwnames
[] = {
31682 (char *) "self",(char *) "w",(char *) "h", NULL
31685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLineShape_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31686 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyLineShape
, SWIG_POINTER_EXCEPTION
| 0);
31687 if (SWIG_arg_fail(1)) SWIG_fail
;
31689 arg2
= (double)(SWIG_As_double(obj1
));
31690 if (SWIG_arg_fail(2)) SWIG_fail
;
31693 arg3
= (double)(SWIG_As_double(obj2
));
31694 if (SWIG_arg_fail(3)) SWIG_fail
;
31697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31698 (arg1
)->base_OnBeginSize(arg2
,arg3
);
31700 wxPyEndAllowThreads(__tstate
);
31701 if (PyErr_Occurred()) SWIG_fail
;
31703 Py_INCREF(Py_None
); resultobj
= Py_None
;
31710 static PyObject
*_wrap_PyLineShape_base_OnEndSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31711 PyObject
*resultobj
;
31712 wxPyLineShape
*arg1
= (wxPyLineShape
*) 0 ;
31715 PyObject
* obj0
= 0 ;
31716 PyObject
* obj1
= 0 ;
31717 PyObject
* obj2
= 0 ;
31718 char *kwnames
[] = {
31719 (char *) "self",(char *) "w",(char *) "h", NULL
31722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLineShape_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31723 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyLineShape
, SWIG_POINTER_EXCEPTION
| 0);
31724 if (SWIG_arg_fail(1)) SWIG_fail
;
31726 arg2
= (double)(SWIG_As_double(obj1
));
31727 if (SWIG_arg_fail(2)) SWIG_fail
;
31730 arg3
= (double)(SWIG_As_double(obj2
));
31731 if (SWIG_arg_fail(3)) SWIG_fail
;
31734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31735 (arg1
)->base_OnEndSize(arg2
,arg3
);
31737 wxPyEndAllowThreads(__tstate
);
31738 if (PyErr_Occurred()) SWIG_fail
;
31740 Py_INCREF(Py_None
); resultobj
= Py_None
;
31747 static PyObject
* PyLineShape_swigregister(PyObject
*, PyObject
*args
) {
31749 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31750 SWIG_TypeClientData(SWIGTYPE_p_wxPyLineShape
, obj
);
31752 return Py_BuildValue((char *)"");
31754 static PyObject
*_wrap_new_PyPolygonShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31755 PyObject
*resultobj
;
31756 wxPyPolygonShape
*result
;
31757 char *kwnames
[] = {
31761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyPolygonShape",kwnames
)) goto fail
;
31763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31764 result
= (wxPyPolygonShape
*)new wxPyPolygonShape();
31766 wxPyEndAllowThreads(__tstate
);
31767 if (PyErr_Occurred()) SWIG_fail
;
31769 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPolygonShape
, 1);
31776 static PyObject
*_wrap_PyPolygonShape__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31777 PyObject
*resultobj
;
31778 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
31779 PyObject
*arg2
= (PyObject
*) 0 ;
31780 PyObject
*arg3
= (PyObject
*) 0 ;
31781 PyObject
* obj0
= 0 ;
31782 PyObject
* obj1
= 0 ;
31783 PyObject
* obj2
= 0 ;
31784 char *kwnames
[] = {
31785 (char *) "self",(char *) "self",(char *) "_class", NULL
31788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPolygonShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31789 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPolygonShape
, SWIG_POINTER_EXCEPTION
| 0);
31790 if (SWIG_arg_fail(1)) SWIG_fail
;
31794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31795 (arg1
)->_setCallbackInfo(arg2
,arg3
);
31797 wxPyEndAllowThreads(__tstate
);
31798 if (PyErr_Occurred()) SWIG_fail
;
31800 Py_INCREF(Py_None
); resultobj
= Py_None
;
31807 static PyObject
*_wrap_PyPolygonShape_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31808 PyObject
*resultobj
;
31809 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
31810 PyObject
*arg2
= (PyObject
*) 0 ;
31812 PyObject
* obj0
= 0 ;
31813 PyObject
* obj1
= 0 ;
31814 char *kwnames
[] = {
31815 (char *) "self",(char *) "points", NULL
31818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_Create",kwnames
,&obj0
,&obj1
)) goto fail
;
31819 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPolygonShape
, SWIG_POINTER_EXCEPTION
| 0);
31820 if (SWIG_arg_fail(1)) SWIG_fail
;
31823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31824 result
= (PyObject
*)wxPyPolygonShape_Create(arg1
,arg2
);
31826 wxPyEndAllowThreads(__tstate
);
31827 if (PyErr_Occurred()) SWIG_fail
;
31829 resultobj
= result
;
31836 static PyObject
*_wrap_PyPolygonShape_AddPolygonPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31837 PyObject
*resultobj
;
31838 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
31839 int arg2
= (int) 0 ;
31840 PyObject
* obj0
= 0 ;
31841 PyObject
* obj1
= 0 ;
31842 char *kwnames
[] = {
31843 (char *) "self",(char *) "pos", NULL
31846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyPolygonShape_AddPolygonPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
31847 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPolygonShape
, SWIG_POINTER_EXCEPTION
| 0);
31848 if (SWIG_arg_fail(1)) SWIG_fail
;
31851 arg2
= (int)(SWIG_As_int(obj1
));
31852 if (SWIG_arg_fail(2)) SWIG_fail
;
31856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31857 (arg1
)->AddPolygonPoint(arg2
);
31859 wxPyEndAllowThreads(__tstate
);
31860 if (PyErr_Occurred()) SWIG_fail
;
31862 Py_INCREF(Py_None
); resultobj
= Py_None
;
31869 static PyObject
*_wrap_PyPolygonShape_CalculatePolygonCentre(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31870 PyObject
*resultobj
;
31871 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
31872 PyObject
* obj0
= 0 ;
31873 char *kwnames
[] = {
31874 (char *) "self", NULL
31877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPolygonShape_CalculatePolygonCentre",kwnames
,&obj0
)) goto fail
;
31878 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPolygonShape
, SWIG_POINTER_EXCEPTION
| 0);
31879 if (SWIG_arg_fail(1)) SWIG_fail
;
31881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31882 (arg1
)->CalculatePolygonCentre();
31884 wxPyEndAllowThreads(__tstate
);
31885 if (PyErr_Occurred()) SWIG_fail
;
31887 Py_INCREF(Py_None
); resultobj
= Py_None
;
31894 static PyObject
*_wrap_PyPolygonShape_DeletePolygonPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31895 PyObject
*resultobj
;
31896 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
31897 int arg2
= (int) 0 ;
31898 PyObject
* obj0
= 0 ;
31899 PyObject
* obj1
= 0 ;
31900 char *kwnames
[] = {
31901 (char *) "self",(char *) "pos", NULL
31904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyPolygonShape_DeletePolygonPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
31905 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPolygonShape
, SWIG_POINTER_EXCEPTION
| 0);
31906 if (SWIG_arg_fail(1)) SWIG_fail
;
31909 arg2
= (int)(SWIG_As_int(obj1
));
31910 if (SWIG_arg_fail(2)) SWIG_fail
;
31914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31915 (arg1
)->DeletePolygonPoint(arg2
);
31917 wxPyEndAllowThreads(__tstate
);
31918 if (PyErr_Occurred()) SWIG_fail
;
31920 Py_INCREF(Py_None
); resultobj
= Py_None
;
31927 static PyObject
*_wrap_PyPolygonShape_GetPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31928 PyObject
*resultobj
;
31929 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
31931 PyObject
* obj0
= 0 ;
31932 char *kwnames
[] = {
31933 (char *) "self", NULL
31936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPolygonShape_GetPoints",kwnames
,&obj0
)) goto fail
;
31937 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPolygonShape
, SWIG_POINTER_EXCEPTION
| 0);
31938 if (SWIG_arg_fail(1)) SWIG_fail
;
31940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31941 result
= (PyObject
*)wxPyPolygonShape_GetPoints(arg1
);
31943 wxPyEndAllowThreads(__tstate
);
31944 if (PyErr_Occurred()) SWIG_fail
;
31946 resultobj
= result
;
31953 static PyObject
*_wrap_PyPolygonShape_GetOriginalPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31954 PyObject
*resultobj
;
31955 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
31957 PyObject
* obj0
= 0 ;
31958 char *kwnames
[] = {
31959 (char *) "self", NULL
31962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPolygonShape_GetOriginalPoints",kwnames
,&obj0
)) goto fail
;
31963 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPolygonShape
, SWIG_POINTER_EXCEPTION
| 0);
31964 if (SWIG_arg_fail(1)) SWIG_fail
;
31966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31967 result
= (PyObject
*)wxPyPolygonShape_GetOriginalPoints(arg1
);
31969 wxPyEndAllowThreads(__tstate
);
31970 if (PyErr_Occurred()) SWIG_fail
;
31972 resultobj
= result
;
31979 static PyObject
*_wrap_PyPolygonShape_GetOriginalWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31980 PyObject
*resultobj
;
31981 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
31983 PyObject
* obj0
= 0 ;
31984 char *kwnames
[] = {
31985 (char *) "self", NULL
31988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPolygonShape_GetOriginalWidth",kwnames
,&obj0
)) goto fail
;
31989 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPolygonShape
, SWIG_POINTER_EXCEPTION
| 0);
31990 if (SWIG_arg_fail(1)) SWIG_fail
;
31992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31993 result
= (double)((wxPyPolygonShape
const *)arg1
)->GetOriginalWidth();
31995 wxPyEndAllowThreads(__tstate
);
31996 if (PyErr_Occurred()) SWIG_fail
;
31999 resultobj
= SWIG_From_double((double)(result
));
32007 static PyObject
*_wrap_PyPolygonShape_GetOriginalHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32008 PyObject
*resultobj
;
32009 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
32011 PyObject
* obj0
= 0 ;
32012 char *kwnames
[] = {
32013 (char *) "self", NULL
32016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPolygonShape_GetOriginalHeight",kwnames
,&obj0
)) goto fail
;
32017 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPolygonShape
, SWIG_POINTER_EXCEPTION
| 0);
32018 if (SWIG_arg_fail(1)) SWIG_fail
;
32020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32021 result
= (double)((wxPyPolygonShape
const *)arg1
)->GetOriginalHeight();
32023 wxPyEndAllowThreads(__tstate
);
32024 if (PyErr_Occurred()) SWIG_fail
;
32027 resultobj
= SWIG_From_double((double)(result
));
32035 static PyObject
*_wrap_PyPolygonShape_SetOriginalWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32036 PyObject
*resultobj
;
32037 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
32039 PyObject
* obj0
= 0 ;
32040 PyObject
* obj1
= 0 ;
32041 char *kwnames
[] = {
32042 (char *) "self",(char *) "w", NULL
32045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_SetOriginalWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
32046 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPolygonShape
, SWIG_POINTER_EXCEPTION
| 0);
32047 if (SWIG_arg_fail(1)) SWIG_fail
;
32049 arg2
= (double)(SWIG_As_double(obj1
));
32050 if (SWIG_arg_fail(2)) SWIG_fail
;
32053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32054 (arg1
)->SetOriginalWidth(arg2
);
32056 wxPyEndAllowThreads(__tstate
);
32057 if (PyErr_Occurred()) SWIG_fail
;
32059 Py_INCREF(Py_None
); resultobj
= Py_None
;
32066 static PyObject
*_wrap_PyPolygonShape_SetOriginalHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32067 PyObject
*resultobj
;
32068 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
32070 PyObject
* obj0
= 0 ;
32071 PyObject
* obj1
= 0 ;
32072 char *kwnames
[] = {
32073 (char *) "self",(char *) "h", NULL
32076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_SetOriginalHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
32077 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPolygonShape
, SWIG_POINTER_EXCEPTION
| 0);
32078 if (SWIG_arg_fail(1)) SWIG_fail
;
32080 arg2
= (double)(SWIG_As_double(obj1
));
32081 if (SWIG_arg_fail(2)) SWIG_fail
;
32084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32085 (arg1
)->SetOriginalHeight(arg2
);
32087 wxPyEndAllowThreads(__tstate
);
32088 if (PyErr_Occurred()) SWIG_fail
;
32090 Py_INCREF(Py_None
); resultobj
= Py_None
;
32097 static PyObject
*_wrap_PyPolygonShape_UpdateOriginalPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32098 PyObject
*resultobj
;
32099 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
32100 PyObject
* obj0
= 0 ;
32101 char *kwnames
[] = {
32102 (char *) "self", NULL
32105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPolygonShape_UpdateOriginalPoints",kwnames
,&obj0
)) goto fail
;
32106 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPolygonShape
, SWIG_POINTER_EXCEPTION
| 0);
32107 if (SWIG_arg_fail(1)) SWIG_fail
;
32109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32110 (arg1
)->UpdateOriginalPoints();
32112 wxPyEndAllowThreads(__tstate
);
32113 if (PyErr_Occurred()) SWIG_fail
;
32115 Py_INCREF(Py_None
); resultobj
= Py_None
;
32122 static PyObject
*_wrap_PyPolygonShape_base_OnDraw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32123 PyObject
*resultobj
;
32124 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
32126 PyObject
* obj0
= 0 ;
32127 PyObject
* obj1
= 0 ;
32128 char *kwnames
[] = {
32129 (char *) "self",(char *) "dc", NULL
32132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
32133 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPolygonShape
, SWIG_POINTER_EXCEPTION
| 0);
32134 if (SWIG_arg_fail(1)) SWIG_fail
;
32136 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
32137 if (SWIG_arg_fail(2)) SWIG_fail
;
32138 if (arg2
== NULL
) {
32139 SWIG_null_ref("wxDC");
32141 if (SWIG_arg_fail(2)) SWIG_fail
;
32144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32145 (arg1
)->base_OnDraw(*arg2
);
32147 wxPyEndAllowThreads(__tstate
);
32148 if (PyErr_Occurred()) SWIG_fail
;
32150 Py_INCREF(Py_None
); resultobj
= Py_None
;
32157 static PyObject
*_wrap_PyPolygonShape_base_OnDrawContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32158 PyObject
*resultobj
;
32159 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
32161 PyObject
* obj0
= 0 ;
32162 PyObject
* obj1
= 0 ;
32163 char *kwnames
[] = {
32164 (char *) "self",(char *) "dc", NULL
32167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
32168 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPolygonShape
, SWIG_POINTER_EXCEPTION
| 0);
32169 if (SWIG_arg_fail(1)) SWIG_fail
;
32171 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
32172 if (SWIG_arg_fail(2)) SWIG_fail
;
32173 if (arg2
== NULL
) {
32174 SWIG_null_ref("wxDC");
32176 if (SWIG_arg_fail(2)) SWIG_fail
;
32179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32180 (arg1
)->base_OnDrawContents(*arg2
);
32182 wxPyEndAllowThreads(__tstate
);
32183 if (PyErr_Occurred()) SWIG_fail
;
32185 Py_INCREF(Py_None
); resultobj
= Py_None
;
32192 static PyObject
*_wrap_PyPolygonShape_base_OnDrawBranches(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32193 PyObject
*resultobj
;
32194 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
32196 bool arg3
= (bool) FALSE
;
32197 PyObject
* obj0
= 0 ;
32198 PyObject
* obj1
= 0 ;
32199 PyObject
* obj2
= 0 ;
32200 char *kwnames
[] = {
32201 (char *) "self",(char *) "dc",(char *) "erase", NULL
32204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyPolygonShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32205 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPolygonShape
, SWIG_POINTER_EXCEPTION
| 0);
32206 if (SWIG_arg_fail(1)) SWIG_fail
;
32208 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
32209 if (SWIG_arg_fail(2)) SWIG_fail
;
32210 if (arg2
== NULL
) {
32211 SWIG_null_ref("wxDC");
32213 if (SWIG_arg_fail(2)) SWIG_fail
;
32217 arg3
= (bool)(SWIG_As_bool(obj2
));
32218 if (SWIG_arg_fail(3)) SWIG_fail
;
32222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32223 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
32225 wxPyEndAllowThreads(__tstate
);
32226 if (PyErr_Occurred()) SWIG_fail
;
32228 Py_INCREF(Py_None
); resultobj
= Py_None
;
32235 static PyObject
*_wrap_PyPolygonShape_base_OnMoveLinks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32236 PyObject
*resultobj
;
32237 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
32239 PyObject
* obj0
= 0 ;
32240 PyObject
* obj1
= 0 ;
32241 char *kwnames
[] = {
32242 (char *) "self",(char *) "dc", NULL
32245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
32246 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPolygonShape
, SWIG_POINTER_EXCEPTION
| 0);
32247 if (SWIG_arg_fail(1)) SWIG_fail
;
32249 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
32250 if (SWIG_arg_fail(2)) SWIG_fail
;
32251 if (arg2
== NULL
) {
32252 SWIG_null_ref("wxDC");
32254 if (SWIG_arg_fail(2)) SWIG_fail
;
32257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32258 (arg1
)->base_OnMoveLinks(*arg2
);
32260 wxPyEndAllowThreads(__tstate
);
32261 if (PyErr_Occurred()) SWIG_fail
;
32263 Py_INCREF(Py_None
); resultobj
= Py_None
;
32270 static PyObject
*_wrap_PyPolygonShape_base_OnErase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32271 PyObject
*resultobj
;
32272 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
32274 PyObject
* obj0
= 0 ;
32275 PyObject
* obj1
= 0 ;
32276 char *kwnames
[] = {
32277 (char *) "self",(char *) "dc", NULL
32280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
32281 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPolygonShape
, SWIG_POINTER_EXCEPTION
| 0);
32282 if (SWIG_arg_fail(1)) SWIG_fail
;
32284 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
32285 if (SWIG_arg_fail(2)) SWIG_fail
;
32286 if (arg2
== NULL
) {
32287 SWIG_null_ref("wxDC");
32289 if (SWIG_arg_fail(2)) SWIG_fail
;
32292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32293 (arg1
)->base_OnErase(*arg2
);
32295 wxPyEndAllowThreads(__tstate
);
32296 if (PyErr_Occurred()) SWIG_fail
;
32298 Py_INCREF(Py_None
); resultobj
= Py_None
;
32305 static PyObject
*_wrap_PyPolygonShape_base_OnEraseContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32306 PyObject
*resultobj
;
32307 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
32309 PyObject
* obj0
= 0 ;
32310 PyObject
* obj1
= 0 ;
32311 char *kwnames
[] = {
32312 (char *) "self",(char *) "dc", NULL
32315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
32316 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPolygonShape
, SWIG_POINTER_EXCEPTION
| 0);
32317 if (SWIG_arg_fail(1)) SWIG_fail
;
32319 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
32320 if (SWIG_arg_fail(2)) SWIG_fail
;
32321 if (arg2
== NULL
) {
32322 SWIG_null_ref("wxDC");
32324 if (SWIG_arg_fail(2)) SWIG_fail
;
32327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32328 (arg1
)->base_OnEraseContents(*arg2
);
32330 wxPyEndAllowThreads(__tstate
);
32331 if (PyErr_Occurred()) SWIG_fail
;
32333 Py_INCREF(Py_None
); resultobj
= Py_None
;
32340 static PyObject
*_wrap_PyPolygonShape_base_OnHighlight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32341 PyObject
*resultobj
;
32342 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
32344 PyObject
* obj0
= 0 ;
32345 PyObject
* obj1
= 0 ;
32346 char *kwnames
[] = {
32347 (char *) "self",(char *) "dc", NULL
32350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
32351 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPolygonShape
, SWIG_POINTER_EXCEPTION
| 0);
32352 if (SWIG_arg_fail(1)) SWIG_fail
;
32354 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
32355 if (SWIG_arg_fail(2)) SWIG_fail
;
32356 if (arg2
== NULL
) {
32357 SWIG_null_ref("wxDC");
32359 if (SWIG_arg_fail(2)) SWIG_fail
;
32362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32363 (arg1
)->base_OnHighlight(*arg2
);
32365 wxPyEndAllowThreads(__tstate
);
32366 if (PyErr_Occurred()) SWIG_fail
;
32368 Py_INCREF(Py_None
); resultobj
= Py_None
;
32375 static PyObject
*_wrap_PyPolygonShape_base_OnLeftClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32376 PyObject
*resultobj
;
32377 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
32380 int arg4
= (int) 0 ;
32381 int arg5
= (int) 0 ;
32382 PyObject
* obj0
= 0 ;
32383 PyObject
* obj1
= 0 ;
32384 PyObject
* obj2
= 0 ;
32385 PyObject
* obj3
= 0 ;
32386 PyObject
* obj4
= 0 ;
32387 char *kwnames
[] = {
32388 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
32391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyPolygonShape_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32392 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPolygonShape
, SWIG_POINTER_EXCEPTION
| 0);
32393 if (SWIG_arg_fail(1)) SWIG_fail
;
32395 arg2
= (double)(SWIG_As_double(obj1
));
32396 if (SWIG_arg_fail(2)) SWIG_fail
;
32399 arg3
= (double)(SWIG_As_double(obj2
));
32400 if (SWIG_arg_fail(3)) SWIG_fail
;
32404 arg4
= (int)(SWIG_As_int(obj3
));
32405 if (SWIG_arg_fail(4)) SWIG_fail
;
32410 arg5
= (int)(SWIG_As_int(obj4
));
32411 if (SWIG_arg_fail(5)) SWIG_fail
;
32415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32416 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
32418 wxPyEndAllowThreads(__tstate
);
32419 if (PyErr_Occurred()) SWIG_fail
;
32421 Py_INCREF(Py_None
); resultobj
= Py_None
;
32428 static PyObject
*_wrap_PyPolygonShape_base_OnLeftDoubleClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32429 PyObject
*resultobj
;
32430 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
32433 int arg4
= (int) 0 ;
32434 int arg5
= (int) 0 ;
32435 PyObject
* obj0
= 0 ;
32436 PyObject
* obj1
= 0 ;
32437 PyObject
* obj2
= 0 ;
32438 PyObject
* obj3
= 0 ;
32439 PyObject
* obj4
= 0 ;
32440 char *kwnames
[] = {
32441 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
32444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyPolygonShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32445 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPolygonShape
, SWIG_POINTER_EXCEPTION
| 0);
32446 if (SWIG_arg_fail(1)) SWIG_fail
;
32448 arg2
= (double)(SWIG_As_double(obj1
));
32449 if (SWIG_arg_fail(2)) SWIG_fail
;
32452 arg3
= (double)(SWIG_As_double(obj2
));
32453 if (SWIG_arg_fail(3)) SWIG_fail
;
32457 arg4
= (int)(SWIG_As_int(obj3
));
32458 if (SWIG_arg_fail(4)) SWIG_fail
;
32463 arg5
= (int)(SWIG_As_int(obj4
));
32464 if (SWIG_arg_fail(5)) SWIG_fail
;
32468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32469 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
32471 wxPyEndAllowThreads(__tstate
);
32472 if (PyErr_Occurred()) SWIG_fail
;
32474 Py_INCREF(Py_None
); resultobj
= Py_None
;
32481 static PyObject
*_wrap_PyPolygonShape_base_OnRightClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32482 PyObject
*resultobj
;
32483 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
32486 int arg4
= (int) 0 ;
32487 int arg5
= (int) 0 ;
32488 PyObject
* obj0
= 0 ;
32489 PyObject
* obj1
= 0 ;
32490 PyObject
* obj2
= 0 ;
32491 PyObject
* obj3
= 0 ;
32492 PyObject
* obj4
= 0 ;
32493 char *kwnames
[] = {
32494 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
32497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyPolygonShape_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32498 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPolygonShape
, SWIG_POINTER_EXCEPTION
| 0);
32499 if (SWIG_arg_fail(1)) SWIG_fail
;
32501 arg2
= (double)(SWIG_As_double(obj1
));
32502 if (SWIG_arg_fail(2)) SWIG_fail
;
32505 arg3
= (double)(SWIG_As_double(obj2
));
32506 if (SWIG_arg_fail(3)) SWIG_fail
;
32510 arg4
= (int)(SWIG_As_int(obj3
));
32511 if (SWIG_arg_fail(4)) SWIG_fail
;
32516 arg5
= (int)(SWIG_As_int(obj4
));
32517 if (SWIG_arg_fail(5)) SWIG_fail
;
32521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32522 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
32524 wxPyEndAllowThreads(__tstate
);
32525 if (PyErr_Occurred()) SWIG_fail
;
32527 Py_INCREF(Py_None
); resultobj
= Py_None
;
32534 static PyObject
*_wrap_PyPolygonShape_base_OnSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32535 PyObject
*resultobj
;
32536 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
32539 PyObject
* obj0
= 0 ;
32540 PyObject
* obj1
= 0 ;
32541 PyObject
* obj2
= 0 ;
32542 char *kwnames
[] = {
32543 (char *) "self",(char *) "x",(char *) "y", NULL
32546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPolygonShape_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32547 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPolygonShape
, SWIG_POINTER_EXCEPTION
| 0);
32548 if (SWIG_arg_fail(1)) SWIG_fail
;
32550 arg2
= (double)(SWIG_As_double(obj1
));
32551 if (SWIG_arg_fail(2)) SWIG_fail
;
32554 arg3
= (double)(SWIG_As_double(obj2
));
32555 if (SWIG_arg_fail(3)) SWIG_fail
;
32558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32559 (arg1
)->base_OnSize(arg2
,arg3
);
32561 wxPyEndAllowThreads(__tstate
);
32562 if (PyErr_Occurred()) SWIG_fail
;
32564 Py_INCREF(Py_None
); resultobj
= Py_None
;
32571 static PyObject
*_wrap_PyPolygonShape_base_OnMovePre(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32572 PyObject
*resultobj
;
32573 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
32579 bool arg7
= (bool) true ;
32581 PyObject
* obj0
= 0 ;
32582 PyObject
* obj1
= 0 ;
32583 PyObject
* obj2
= 0 ;
32584 PyObject
* obj3
= 0 ;
32585 PyObject
* obj4
= 0 ;
32586 PyObject
* obj5
= 0 ;
32587 PyObject
* obj6
= 0 ;
32588 char *kwnames
[] = {
32589 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
32592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyPolygonShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
32593 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPolygonShape
, SWIG_POINTER_EXCEPTION
| 0);
32594 if (SWIG_arg_fail(1)) SWIG_fail
;
32596 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
32597 if (SWIG_arg_fail(2)) SWIG_fail
;
32598 if (arg2
== NULL
) {
32599 SWIG_null_ref("wxDC");
32601 if (SWIG_arg_fail(2)) SWIG_fail
;
32604 arg3
= (double)(SWIG_As_double(obj2
));
32605 if (SWIG_arg_fail(3)) SWIG_fail
;
32608 arg4
= (double)(SWIG_As_double(obj3
));
32609 if (SWIG_arg_fail(4)) SWIG_fail
;
32612 arg5
= (double)(SWIG_As_double(obj4
));
32613 if (SWIG_arg_fail(5)) SWIG_fail
;
32616 arg6
= (double)(SWIG_As_double(obj5
));
32617 if (SWIG_arg_fail(6)) SWIG_fail
;
32621 arg7
= (bool)(SWIG_As_bool(obj6
));
32622 if (SWIG_arg_fail(7)) SWIG_fail
;
32626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32627 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
32629 wxPyEndAllowThreads(__tstate
);
32630 if (PyErr_Occurred()) SWIG_fail
;
32633 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32641 static PyObject
*_wrap_PyPolygonShape_base_OnMovePost(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32642 PyObject
*resultobj
;
32643 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
32649 bool arg7
= (bool) true ;
32650 PyObject
* obj0
= 0 ;
32651 PyObject
* obj1
= 0 ;
32652 PyObject
* obj2
= 0 ;
32653 PyObject
* obj3
= 0 ;
32654 PyObject
* obj4
= 0 ;
32655 PyObject
* obj5
= 0 ;
32656 PyObject
* obj6
= 0 ;
32657 char *kwnames
[] = {
32658 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
32661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyPolygonShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
32662 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPolygonShape
, SWIG_POINTER_EXCEPTION
| 0);
32663 if (SWIG_arg_fail(1)) SWIG_fail
;
32665 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
32666 if (SWIG_arg_fail(2)) SWIG_fail
;
32667 if (arg2
== NULL
) {
32668 SWIG_null_ref("wxDC");
32670 if (SWIG_arg_fail(2)) SWIG_fail
;
32673 arg3
= (double)(SWIG_As_double(obj2
));
32674 if (SWIG_arg_fail(3)) SWIG_fail
;
32677 arg4
= (double)(SWIG_As_double(obj3
));
32678 if (SWIG_arg_fail(4)) SWIG_fail
;
32681 arg5
= (double)(SWIG_As_double(obj4
));
32682 if (SWIG_arg_fail(5)) SWIG_fail
;
32685 arg6
= (double)(SWIG_As_double(obj5
));
32686 if (SWIG_arg_fail(6)) SWIG_fail
;
32690 arg7
= (bool)(SWIG_As_bool(obj6
));
32691 if (SWIG_arg_fail(7)) SWIG_fail
;
32695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32696 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
32698 wxPyEndAllowThreads(__tstate
);
32699 if (PyErr_Occurred()) SWIG_fail
;
32701 Py_INCREF(Py_None
); resultobj
= Py_None
;
32708 static PyObject
*_wrap_PyPolygonShape_base_OnDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32709 PyObject
*resultobj
;
32710 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
32714 int arg5
= (int) 0 ;
32715 int arg6
= (int) 0 ;
32716 PyObject
* obj0
= 0 ;
32717 PyObject
* obj1
= 0 ;
32718 PyObject
* obj2
= 0 ;
32719 PyObject
* obj3
= 0 ;
32720 PyObject
* obj4
= 0 ;
32721 PyObject
* obj5
= 0 ;
32722 char *kwnames
[] = {
32723 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
32726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyPolygonShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
32727 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPolygonShape
, SWIG_POINTER_EXCEPTION
| 0);
32728 if (SWIG_arg_fail(1)) SWIG_fail
;
32730 arg2
= (bool)(SWIG_As_bool(obj1
));
32731 if (SWIG_arg_fail(2)) SWIG_fail
;
32734 arg3
= (double)(SWIG_As_double(obj2
));
32735 if (SWIG_arg_fail(3)) SWIG_fail
;
32738 arg4
= (double)(SWIG_As_double(obj3
));
32739 if (SWIG_arg_fail(4)) SWIG_fail
;
32743 arg5
= (int)(SWIG_As_int(obj4
));
32744 if (SWIG_arg_fail(5)) SWIG_fail
;
32749 arg6
= (int)(SWIG_As_int(obj5
));
32750 if (SWIG_arg_fail(6)) SWIG_fail
;
32754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32755 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
32757 wxPyEndAllowThreads(__tstate
);
32758 if (PyErr_Occurred()) SWIG_fail
;
32760 Py_INCREF(Py_None
); resultobj
= Py_None
;
32767 static PyObject
*_wrap_PyPolygonShape_base_OnBeginDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32768 PyObject
*resultobj
;
32769 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
32772 int arg4
= (int) 0 ;
32773 int arg5
= (int) 0 ;
32774 PyObject
* obj0
= 0 ;
32775 PyObject
* obj1
= 0 ;
32776 PyObject
* obj2
= 0 ;
32777 PyObject
* obj3
= 0 ;
32778 PyObject
* obj4
= 0 ;
32779 char *kwnames
[] = {
32780 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
32783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyPolygonShape_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32784 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPolygonShape
, SWIG_POINTER_EXCEPTION
| 0);
32785 if (SWIG_arg_fail(1)) SWIG_fail
;
32787 arg2
= (double)(SWIG_As_double(obj1
));
32788 if (SWIG_arg_fail(2)) SWIG_fail
;
32791 arg3
= (double)(SWIG_As_double(obj2
));
32792 if (SWIG_arg_fail(3)) SWIG_fail
;
32796 arg4
= (int)(SWIG_As_int(obj3
));
32797 if (SWIG_arg_fail(4)) SWIG_fail
;
32802 arg5
= (int)(SWIG_As_int(obj4
));
32803 if (SWIG_arg_fail(5)) SWIG_fail
;
32807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32808 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
32810 wxPyEndAllowThreads(__tstate
);
32811 if (PyErr_Occurred()) SWIG_fail
;
32813 Py_INCREF(Py_None
); resultobj
= Py_None
;
32820 static PyObject
*_wrap_PyPolygonShape_base_OnEndDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32821 PyObject
*resultobj
;
32822 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
32825 int arg4
= (int) 0 ;
32826 int arg5
= (int) 0 ;
32827 PyObject
* obj0
= 0 ;
32828 PyObject
* obj1
= 0 ;
32829 PyObject
* obj2
= 0 ;
32830 PyObject
* obj3
= 0 ;
32831 PyObject
* obj4
= 0 ;
32832 char *kwnames
[] = {
32833 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
32836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyPolygonShape_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32837 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPolygonShape
, SWIG_POINTER_EXCEPTION
| 0);
32838 if (SWIG_arg_fail(1)) SWIG_fail
;
32840 arg2
= (double)(SWIG_As_double(obj1
));
32841 if (SWIG_arg_fail(2)) SWIG_fail
;
32844 arg3
= (double)(SWIG_As_double(obj2
));
32845 if (SWIG_arg_fail(3)) SWIG_fail
;
32849 arg4
= (int)(SWIG_As_int(obj3
));
32850 if (SWIG_arg_fail(4)) SWIG_fail
;
32855 arg5
= (int)(SWIG_As_int(obj4
));
32856 if (SWIG_arg_fail(5)) SWIG_fail
;
32860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32861 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
32863 wxPyEndAllowThreads(__tstate
);
32864 if (PyErr_Occurred()) SWIG_fail
;
32866 Py_INCREF(Py_None
); resultobj
= Py_None
;
32873 static PyObject
*_wrap_PyPolygonShape_base_OnDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32874 PyObject
*resultobj
;
32875 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
32879 int arg5
= (int) 0 ;
32880 int arg6
= (int) 0 ;
32881 PyObject
* obj0
= 0 ;
32882 PyObject
* obj1
= 0 ;
32883 PyObject
* obj2
= 0 ;
32884 PyObject
* obj3
= 0 ;
32885 PyObject
* obj4
= 0 ;
32886 PyObject
* obj5
= 0 ;
32887 char *kwnames
[] = {
32888 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
32891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyPolygonShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
32892 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPolygonShape
, SWIG_POINTER_EXCEPTION
| 0);
32893 if (SWIG_arg_fail(1)) SWIG_fail
;
32895 arg2
= (bool)(SWIG_As_bool(obj1
));
32896 if (SWIG_arg_fail(2)) SWIG_fail
;
32899 arg3
= (double)(SWIG_As_double(obj2
));
32900 if (SWIG_arg_fail(3)) SWIG_fail
;
32903 arg4
= (double)(SWIG_As_double(obj3
));
32904 if (SWIG_arg_fail(4)) SWIG_fail
;
32908 arg5
= (int)(SWIG_As_int(obj4
));
32909 if (SWIG_arg_fail(5)) SWIG_fail
;
32914 arg6
= (int)(SWIG_As_int(obj5
));
32915 if (SWIG_arg_fail(6)) SWIG_fail
;
32919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32920 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
32922 wxPyEndAllowThreads(__tstate
);
32923 if (PyErr_Occurred()) SWIG_fail
;
32925 Py_INCREF(Py_None
); resultobj
= Py_None
;
32932 static PyObject
*_wrap_PyPolygonShape_base_OnBeginDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32933 PyObject
*resultobj
;
32934 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
32937 int arg4
= (int) 0 ;
32938 int arg5
= (int) 0 ;
32939 PyObject
* obj0
= 0 ;
32940 PyObject
* obj1
= 0 ;
32941 PyObject
* obj2
= 0 ;
32942 PyObject
* obj3
= 0 ;
32943 PyObject
* obj4
= 0 ;
32944 char *kwnames
[] = {
32945 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
32948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyPolygonShape_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32949 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPolygonShape
, SWIG_POINTER_EXCEPTION
| 0);
32950 if (SWIG_arg_fail(1)) SWIG_fail
;
32952 arg2
= (double)(SWIG_As_double(obj1
));
32953 if (SWIG_arg_fail(2)) SWIG_fail
;
32956 arg3
= (double)(SWIG_As_double(obj2
));
32957 if (SWIG_arg_fail(3)) SWIG_fail
;
32961 arg4
= (int)(SWIG_As_int(obj3
));
32962 if (SWIG_arg_fail(4)) SWIG_fail
;
32967 arg5
= (int)(SWIG_As_int(obj4
));
32968 if (SWIG_arg_fail(5)) SWIG_fail
;
32972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32973 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
32975 wxPyEndAllowThreads(__tstate
);
32976 if (PyErr_Occurred()) SWIG_fail
;
32978 Py_INCREF(Py_None
); resultobj
= Py_None
;
32985 static PyObject
*_wrap_PyPolygonShape_base_OnEndDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32986 PyObject
*resultobj
;
32987 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
32990 int arg4
= (int) 0 ;
32991 int arg5
= (int) 0 ;
32992 PyObject
* obj0
= 0 ;
32993 PyObject
* obj1
= 0 ;
32994 PyObject
* obj2
= 0 ;
32995 PyObject
* obj3
= 0 ;
32996 PyObject
* obj4
= 0 ;
32997 char *kwnames
[] = {
32998 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
33001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyPolygonShape_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33002 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPolygonShape
, SWIG_POINTER_EXCEPTION
| 0);
33003 if (SWIG_arg_fail(1)) SWIG_fail
;
33005 arg2
= (double)(SWIG_As_double(obj1
));
33006 if (SWIG_arg_fail(2)) SWIG_fail
;
33009 arg3
= (double)(SWIG_As_double(obj2
));
33010 if (SWIG_arg_fail(3)) SWIG_fail
;
33014 arg4
= (int)(SWIG_As_int(obj3
));
33015 if (SWIG_arg_fail(4)) SWIG_fail
;
33020 arg5
= (int)(SWIG_As_int(obj4
));
33021 if (SWIG_arg_fail(5)) SWIG_fail
;
33025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33026 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
33028 wxPyEndAllowThreads(__tstate
);
33029 if (PyErr_Occurred()) SWIG_fail
;
33031 Py_INCREF(Py_None
); resultobj
= Py_None
;
33038 static PyObject
*_wrap_PyPolygonShape_base_OnDrawOutline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33039 PyObject
*resultobj
;
33040 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
33046 PyObject
* obj0
= 0 ;
33047 PyObject
* obj1
= 0 ;
33048 PyObject
* obj2
= 0 ;
33049 PyObject
* obj3
= 0 ;
33050 PyObject
* obj4
= 0 ;
33051 PyObject
* obj5
= 0 ;
33052 char *kwnames
[] = {
33053 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
33056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyPolygonShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
33057 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPolygonShape
, SWIG_POINTER_EXCEPTION
| 0);
33058 if (SWIG_arg_fail(1)) SWIG_fail
;
33060 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
33061 if (SWIG_arg_fail(2)) SWIG_fail
;
33062 if (arg2
== NULL
) {
33063 SWIG_null_ref("wxDC");
33065 if (SWIG_arg_fail(2)) SWIG_fail
;
33068 arg3
= (double)(SWIG_As_double(obj2
));
33069 if (SWIG_arg_fail(3)) SWIG_fail
;
33072 arg4
= (double)(SWIG_As_double(obj3
));
33073 if (SWIG_arg_fail(4)) SWIG_fail
;
33076 arg5
= (double)(SWIG_As_double(obj4
));
33077 if (SWIG_arg_fail(5)) SWIG_fail
;
33080 arg6
= (double)(SWIG_As_double(obj5
));
33081 if (SWIG_arg_fail(6)) SWIG_fail
;
33084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33085 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
33087 wxPyEndAllowThreads(__tstate
);
33088 if (PyErr_Occurred()) SWIG_fail
;
33090 Py_INCREF(Py_None
); resultobj
= Py_None
;
33097 static PyObject
*_wrap_PyPolygonShape_base_OnDrawControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33098 PyObject
*resultobj
;
33099 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
33101 PyObject
* obj0
= 0 ;
33102 PyObject
* obj1
= 0 ;
33103 char *kwnames
[] = {
33104 (char *) "self",(char *) "dc", NULL
33107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
33108 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPolygonShape
, SWIG_POINTER_EXCEPTION
| 0);
33109 if (SWIG_arg_fail(1)) SWIG_fail
;
33111 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
33112 if (SWIG_arg_fail(2)) SWIG_fail
;
33113 if (arg2
== NULL
) {
33114 SWIG_null_ref("wxDC");
33116 if (SWIG_arg_fail(2)) SWIG_fail
;
33119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33120 (arg1
)->base_OnDrawControlPoints(*arg2
);
33122 wxPyEndAllowThreads(__tstate
);
33123 if (PyErr_Occurred()) SWIG_fail
;
33125 Py_INCREF(Py_None
); resultobj
= Py_None
;
33132 static PyObject
*_wrap_PyPolygonShape_base_OnEraseControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33133 PyObject
*resultobj
;
33134 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
33136 PyObject
* obj0
= 0 ;
33137 PyObject
* obj1
= 0 ;
33138 char *kwnames
[] = {
33139 (char *) "self",(char *) "dc", NULL
33142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPolygonShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
33143 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPolygonShape
, SWIG_POINTER_EXCEPTION
| 0);
33144 if (SWIG_arg_fail(1)) SWIG_fail
;
33146 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
33147 if (SWIG_arg_fail(2)) SWIG_fail
;
33148 if (arg2
== NULL
) {
33149 SWIG_null_ref("wxDC");
33151 if (SWIG_arg_fail(2)) SWIG_fail
;
33154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33155 (arg1
)->base_OnEraseControlPoints(*arg2
);
33157 wxPyEndAllowThreads(__tstate
);
33158 if (PyErr_Occurred()) SWIG_fail
;
33160 Py_INCREF(Py_None
); resultobj
= Py_None
;
33167 static PyObject
*_wrap_PyPolygonShape_base_OnMoveLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33168 PyObject
*resultobj
;
33169 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
33171 bool arg3
= (bool) true ;
33172 PyObject
* obj0
= 0 ;
33173 PyObject
* obj1
= 0 ;
33174 PyObject
* obj2
= 0 ;
33175 char *kwnames
[] = {
33176 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
33179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyPolygonShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33180 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPolygonShape
, SWIG_POINTER_EXCEPTION
| 0);
33181 if (SWIG_arg_fail(1)) SWIG_fail
;
33183 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
33184 if (SWIG_arg_fail(2)) SWIG_fail
;
33185 if (arg2
== NULL
) {
33186 SWIG_null_ref("wxDC");
33188 if (SWIG_arg_fail(2)) SWIG_fail
;
33192 arg3
= (bool)(SWIG_As_bool(obj2
));
33193 if (SWIG_arg_fail(3)) SWIG_fail
;
33197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33198 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
33200 wxPyEndAllowThreads(__tstate
);
33201 if (PyErr_Occurred()) SWIG_fail
;
33203 Py_INCREF(Py_None
); resultobj
= Py_None
;
33210 static PyObject
*_wrap_PyPolygonShape_base_OnSizingDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33211 PyObject
*resultobj
;
33212 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
33213 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
33217 int arg6
= (int) 0 ;
33218 int arg7
= (int) 0 ;
33219 PyObject
* obj0
= 0 ;
33220 PyObject
* obj1
= 0 ;
33221 PyObject
* obj2
= 0 ;
33222 PyObject
* obj3
= 0 ;
33223 PyObject
* obj4
= 0 ;
33224 PyObject
* obj5
= 0 ;
33225 PyObject
* obj6
= 0 ;
33226 char *kwnames
[] = {
33227 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
33230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyPolygonShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
33231 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPolygonShape
, SWIG_POINTER_EXCEPTION
| 0);
33232 if (SWIG_arg_fail(1)) SWIG_fail
;
33233 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyControlPoint
, SWIG_POINTER_EXCEPTION
| 0);
33234 if (SWIG_arg_fail(2)) SWIG_fail
;
33236 arg3
= (bool)(SWIG_As_bool(obj2
));
33237 if (SWIG_arg_fail(3)) SWIG_fail
;
33240 arg4
= (double)(SWIG_As_double(obj3
));
33241 if (SWIG_arg_fail(4)) SWIG_fail
;
33244 arg5
= (double)(SWIG_As_double(obj4
));
33245 if (SWIG_arg_fail(5)) SWIG_fail
;
33249 arg6
= (int)(SWIG_As_int(obj5
));
33250 if (SWIG_arg_fail(6)) SWIG_fail
;
33255 arg7
= (int)(SWIG_As_int(obj6
));
33256 if (SWIG_arg_fail(7)) SWIG_fail
;
33260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33261 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
33263 wxPyEndAllowThreads(__tstate
);
33264 if (PyErr_Occurred()) SWIG_fail
;
33266 Py_INCREF(Py_None
); resultobj
= Py_None
;
33273 static PyObject
*_wrap_PyPolygonShape_base_OnSizingBeginDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33274 PyObject
*resultobj
;
33275 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
33276 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
33279 int arg5
= (int) 0 ;
33280 int arg6
= (int) 0 ;
33281 PyObject
* obj0
= 0 ;
33282 PyObject
* obj1
= 0 ;
33283 PyObject
* obj2
= 0 ;
33284 PyObject
* obj3
= 0 ;
33285 PyObject
* obj4
= 0 ;
33286 PyObject
* obj5
= 0 ;
33287 char *kwnames
[] = {
33288 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
33291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyPolygonShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
33292 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPolygonShape
, SWIG_POINTER_EXCEPTION
| 0);
33293 if (SWIG_arg_fail(1)) SWIG_fail
;
33294 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyControlPoint
, SWIG_POINTER_EXCEPTION
| 0);
33295 if (SWIG_arg_fail(2)) SWIG_fail
;
33297 arg3
= (double)(SWIG_As_double(obj2
));
33298 if (SWIG_arg_fail(3)) SWIG_fail
;
33301 arg4
= (double)(SWIG_As_double(obj3
));
33302 if (SWIG_arg_fail(4)) SWIG_fail
;
33306 arg5
= (int)(SWIG_As_int(obj4
));
33307 if (SWIG_arg_fail(5)) SWIG_fail
;
33312 arg6
= (int)(SWIG_As_int(obj5
));
33313 if (SWIG_arg_fail(6)) SWIG_fail
;
33317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33318 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
33320 wxPyEndAllowThreads(__tstate
);
33321 if (PyErr_Occurred()) SWIG_fail
;
33323 Py_INCREF(Py_None
); resultobj
= Py_None
;
33330 static PyObject
*_wrap_PyPolygonShape_base_OnSizingEndDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33331 PyObject
*resultobj
;
33332 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
33333 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
33336 int arg5
= (int) 0 ;
33337 int arg6
= (int) 0 ;
33338 PyObject
* obj0
= 0 ;
33339 PyObject
* obj1
= 0 ;
33340 PyObject
* obj2
= 0 ;
33341 PyObject
* obj3
= 0 ;
33342 PyObject
* obj4
= 0 ;
33343 PyObject
* obj5
= 0 ;
33344 char *kwnames
[] = {
33345 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
33348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyPolygonShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
33349 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPolygonShape
, SWIG_POINTER_EXCEPTION
| 0);
33350 if (SWIG_arg_fail(1)) SWIG_fail
;
33351 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyControlPoint
, SWIG_POINTER_EXCEPTION
| 0);
33352 if (SWIG_arg_fail(2)) SWIG_fail
;
33354 arg3
= (double)(SWIG_As_double(obj2
));
33355 if (SWIG_arg_fail(3)) SWIG_fail
;
33358 arg4
= (double)(SWIG_As_double(obj3
));
33359 if (SWIG_arg_fail(4)) SWIG_fail
;
33363 arg5
= (int)(SWIG_As_int(obj4
));
33364 if (SWIG_arg_fail(5)) SWIG_fail
;
33369 arg6
= (int)(SWIG_As_int(obj5
));
33370 if (SWIG_arg_fail(6)) SWIG_fail
;
33374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33375 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
33377 wxPyEndAllowThreads(__tstate
);
33378 if (PyErr_Occurred()) SWIG_fail
;
33380 Py_INCREF(Py_None
); resultobj
= Py_None
;
33387 static PyObject
*_wrap_PyPolygonShape_base_OnBeginSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33388 PyObject
*resultobj
;
33389 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
33392 PyObject
* obj0
= 0 ;
33393 PyObject
* obj1
= 0 ;
33394 PyObject
* obj2
= 0 ;
33395 char *kwnames
[] = {
33396 (char *) "self",(char *) "w",(char *) "h", NULL
33399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPolygonShape_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33400 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPolygonShape
, SWIG_POINTER_EXCEPTION
| 0);
33401 if (SWIG_arg_fail(1)) SWIG_fail
;
33403 arg2
= (double)(SWIG_As_double(obj1
));
33404 if (SWIG_arg_fail(2)) SWIG_fail
;
33407 arg3
= (double)(SWIG_As_double(obj2
));
33408 if (SWIG_arg_fail(3)) SWIG_fail
;
33411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33412 (arg1
)->base_OnBeginSize(arg2
,arg3
);
33414 wxPyEndAllowThreads(__tstate
);
33415 if (PyErr_Occurred()) SWIG_fail
;
33417 Py_INCREF(Py_None
); resultobj
= Py_None
;
33424 static PyObject
*_wrap_PyPolygonShape_base_OnEndSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33425 PyObject
*resultobj
;
33426 wxPyPolygonShape
*arg1
= (wxPyPolygonShape
*) 0 ;
33429 PyObject
* obj0
= 0 ;
33430 PyObject
* obj1
= 0 ;
33431 PyObject
* obj2
= 0 ;
33432 char *kwnames
[] = {
33433 (char *) "self",(char *) "w",(char *) "h", NULL
33436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPolygonShape_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33437 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPolygonShape
, SWIG_POINTER_EXCEPTION
| 0);
33438 if (SWIG_arg_fail(1)) SWIG_fail
;
33440 arg2
= (double)(SWIG_As_double(obj1
));
33441 if (SWIG_arg_fail(2)) SWIG_fail
;
33444 arg3
= (double)(SWIG_As_double(obj2
));
33445 if (SWIG_arg_fail(3)) SWIG_fail
;
33448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33449 (arg1
)->base_OnEndSize(arg2
,arg3
);
33451 wxPyEndAllowThreads(__tstate
);
33452 if (PyErr_Occurred()) SWIG_fail
;
33454 Py_INCREF(Py_None
); resultobj
= Py_None
;
33461 static PyObject
* PyPolygonShape_swigregister(PyObject
*, PyObject
*args
) {
33463 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33464 SWIG_TypeClientData(SWIGTYPE_p_wxPyPolygonShape
, obj
);
33466 return Py_BuildValue((char *)"");
33468 static PyObject
*_wrap_new_PyTextShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33469 PyObject
*resultobj
;
33470 double arg1
= (double) 0.0 ;
33471 double arg2
= (double) 0.0 ;
33472 wxPyTextShape
*result
;
33473 PyObject
* obj0
= 0 ;
33474 PyObject
* obj1
= 0 ;
33475 char *kwnames
[] = {
33476 (char *) "width",(char *) "height", NULL
33479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyTextShape",kwnames
,&obj0
,&obj1
)) goto fail
;
33482 arg1
= (double)(SWIG_As_double(obj0
));
33483 if (SWIG_arg_fail(1)) SWIG_fail
;
33488 arg2
= (double)(SWIG_As_double(obj1
));
33489 if (SWIG_arg_fail(2)) SWIG_fail
;
33493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33494 result
= (wxPyTextShape
*)new wxPyTextShape(arg1
,arg2
);
33496 wxPyEndAllowThreads(__tstate
);
33497 if (PyErr_Occurred()) SWIG_fail
;
33499 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextShape
, 1);
33506 static PyObject
*_wrap_PyTextShape__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33507 PyObject
*resultobj
;
33508 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
33509 PyObject
*arg2
= (PyObject
*) 0 ;
33510 PyObject
*arg3
= (PyObject
*) 0 ;
33511 PyObject
* obj0
= 0 ;
33512 PyObject
* obj1
= 0 ;
33513 PyObject
* obj2
= 0 ;
33514 char *kwnames
[] = {
33515 (char *) "self",(char *) "self",(char *) "_class", NULL
33518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextShape__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33519 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextShape
, SWIG_POINTER_EXCEPTION
| 0);
33520 if (SWIG_arg_fail(1)) SWIG_fail
;
33524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33525 (arg1
)->_setCallbackInfo(arg2
,arg3
);
33527 wxPyEndAllowThreads(__tstate
);
33528 if (PyErr_Occurred()) SWIG_fail
;
33530 Py_INCREF(Py_None
); resultobj
= Py_None
;
33537 static PyObject
*_wrap_PyTextShape_base_OnDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33538 PyObject
*resultobj
;
33539 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
33540 PyObject
* obj0
= 0 ;
33541 char *kwnames
[] = {
33542 (char *) "self", NULL
33545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyTextShape_base_OnDelete",kwnames
,&obj0
)) goto fail
;
33546 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextShape
, SWIG_POINTER_EXCEPTION
| 0);
33547 if (SWIG_arg_fail(1)) SWIG_fail
;
33549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33550 (arg1
)->base_OnDelete();
33552 wxPyEndAllowThreads(__tstate
);
33553 if (PyErr_Occurred()) SWIG_fail
;
33555 Py_INCREF(Py_None
); resultobj
= Py_None
;
33562 static PyObject
*_wrap_PyTextShape_base_OnDraw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33563 PyObject
*resultobj
;
33564 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
33566 PyObject
* obj0
= 0 ;
33567 PyObject
* obj1
= 0 ;
33568 char *kwnames
[] = {
33569 (char *) "self",(char *) "dc", NULL
33572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyTextShape_base_OnDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
33573 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextShape
, SWIG_POINTER_EXCEPTION
| 0);
33574 if (SWIG_arg_fail(1)) SWIG_fail
;
33576 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
33577 if (SWIG_arg_fail(2)) SWIG_fail
;
33578 if (arg2
== NULL
) {
33579 SWIG_null_ref("wxDC");
33581 if (SWIG_arg_fail(2)) SWIG_fail
;
33584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33585 (arg1
)->base_OnDraw(*arg2
);
33587 wxPyEndAllowThreads(__tstate
);
33588 if (PyErr_Occurred()) SWIG_fail
;
33590 Py_INCREF(Py_None
); resultobj
= Py_None
;
33597 static PyObject
*_wrap_PyTextShape_base_OnDrawContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33598 PyObject
*resultobj
;
33599 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
33601 PyObject
* obj0
= 0 ;
33602 PyObject
* obj1
= 0 ;
33603 char *kwnames
[] = {
33604 (char *) "self",(char *) "dc", NULL
33607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyTextShape_base_OnDrawContents",kwnames
,&obj0
,&obj1
)) goto fail
;
33608 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextShape
, SWIG_POINTER_EXCEPTION
| 0);
33609 if (SWIG_arg_fail(1)) SWIG_fail
;
33611 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
33612 if (SWIG_arg_fail(2)) SWIG_fail
;
33613 if (arg2
== NULL
) {
33614 SWIG_null_ref("wxDC");
33616 if (SWIG_arg_fail(2)) SWIG_fail
;
33619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33620 (arg1
)->base_OnDrawContents(*arg2
);
33622 wxPyEndAllowThreads(__tstate
);
33623 if (PyErr_Occurred()) SWIG_fail
;
33625 Py_INCREF(Py_None
); resultobj
= Py_None
;
33632 static PyObject
*_wrap_PyTextShape_base_OnDrawBranches(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33633 PyObject
*resultobj
;
33634 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
33636 bool arg3
= (bool) FALSE
;
33637 PyObject
* obj0
= 0 ;
33638 PyObject
* obj1
= 0 ;
33639 PyObject
* obj2
= 0 ;
33640 char *kwnames
[] = {
33641 (char *) "self",(char *) "dc",(char *) "erase", NULL
33644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyTextShape_base_OnDrawBranches",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33645 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextShape
, SWIG_POINTER_EXCEPTION
| 0);
33646 if (SWIG_arg_fail(1)) SWIG_fail
;
33648 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
33649 if (SWIG_arg_fail(2)) SWIG_fail
;
33650 if (arg2
== NULL
) {
33651 SWIG_null_ref("wxDC");
33653 if (SWIG_arg_fail(2)) SWIG_fail
;
33657 arg3
= (bool)(SWIG_As_bool(obj2
));
33658 if (SWIG_arg_fail(3)) SWIG_fail
;
33662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33663 (arg1
)->base_OnDrawBranches(*arg2
,arg3
);
33665 wxPyEndAllowThreads(__tstate
);
33666 if (PyErr_Occurred()) SWIG_fail
;
33668 Py_INCREF(Py_None
); resultobj
= Py_None
;
33675 static PyObject
*_wrap_PyTextShape_base_OnMoveLinks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33676 PyObject
*resultobj
;
33677 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
33679 PyObject
* obj0
= 0 ;
33680 PyObject
* obj1
= 0 ;
33681 char *kwnames
[] = {
33682 (char *) "self",(char *) "dc", NULL
33685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyTextShape_base_OnMoveLinks",kwnames
,&obj0
,&obj1
)) goto fail
;
33686 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextShape
, SWIG_POINTER_EXCEPTION
| 0);
33687 if (SWIG_arg_fail(1)) SWIG_fail
;
33689 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
33690 if (SWIG_arg_fail(2)) SWIG_fail
;
33691 if (arg2
== NULL
) {
33692 SWIG_null_ref("wxDC");
33694 if (SWIG_arg_fail(2)) SWIG_fail
;
33697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33698 (arg1
)->base_OnMoveLinks(*arg2
);
33700 wxPyEndAllowThreads(__tstate
);
33701 if (PyErr_Occurred()) SWIG_fail
;
33703 Py_INCREF(Py_None
); resultobj
= Py_None
;
33710 static PyObject
*_wrap_PyTextShape_base_OnErase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33711 PyObject
*resultobj
;
33712 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
33714 PyObject
* obj0
= 0 ;
33715 PyObject
* obj1
= 0 ;
33716 char *kwnames
[] = {
33717 (char *) "self",(char *) "dc", NULL
33720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyTextShape_base_OnErase",kwnames
,&obj0
,&obj1
)) goto fail
;
33721 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextShape
, SWIG_POINTER_EXCEPTION
| 0);
33722 if (SWIG_arg_fail(1)) SWIG_fail
;
33724 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
33725 if (SWIG_arg_fail(2)) SWIG_fail
;
33726 if (arg2
== NULL
) {
33727 SWIG_null_ref("wxDC");
33729 if (SWIG_arg_fail(2)) SWIG_fail
;
33732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33733 (arg1
)->base_OnErase(*arg2
);
33735 wxPyEndAllowThreads(__tstate
);
33736 if (PyErr_Occurred()) SWIG_fail
;
33738 Py_INCREF(Py_None
); resultobj
= Py_None
;
33745 static PyObject
*_wrap_PyTextShape_base_OnEraseContents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33746 PyObject
*resultobj
;
33747 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
33749 PyObject
* obj0
= 0 ;
33750 PyObject
* obj1
= 0 ;
33751 char *kwnames
[] = {
33752 (char *) "self",(char *) "dc", NULL
33755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyTextShape_base_OnEraseContents",kwnames
,&obj0
,&obj1
)) goto fail
;
33756 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextShape
, SWIG_POINTER_EXCEPTION
| 0);
33757 if (SWIG_arg_fail(1)) SWIG_fail
;
33759 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
33760 if (SWIG_arg_fail(2)) SWIG_fail
;
33761 if (arg2
== NULL
) {
33762 SWIG_null_ref("wxDC");
33764 if (SWIG_arg_fail(2)) SWIG_fail
;
33767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33768 (arg1
)->base_OnEraseContents(*arg2
);
33770 wxPyEndAllowThreads(__tstate
);
33771 if (PyErr_Occurred()) SWIG_fail
;
33773 Py_INCREF(Py_None
); resultobj
= Py_None
;
33780 static PyObject
*_wrap_PyTextShape_base_OnHighlight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33781 PyObject
*resultobj
;
33782 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
33784 PyObject
* obj0
= 0 ;
33785 PyObject
* obj1
= 0 ;
33786 char *kwnames
[] = {
33787 (char *) "self",(char *) "dc", NULL
33790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyTextShape_base_OnHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
33791 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextShape
, SWIG_POINTER_EXCEPTION
| 0);
33792 if (SWIG_arg_fail(1)) SWIG_fail
;
33794 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
33795 if (SWIG_arg_fail(2)) SWIG_fail
;
33796 if (arg2
== NULL
) {
33797 SWIG_null_ref("wxDC");
33799 if (SWIG_arg_fail(2)) SWIG_fail
;
33802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33803 (arg1
)->base_OnHighlight(*arg2
);
33805 wxPyEndAllowThreads(__tstate
);
33806 if (PyErr_Occurred()) SWIG_fail
;
33808 Py_INCREF(Py_None
); resultobj
= Py_None
;
33815 static PyObject
*_wrap_PyTextShape_base_OnLeftClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33816 PyObject
*resultobj
;
33817 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
33820 int arg4
= (int) 0 ;
33821 int arg5
= (int) 0 ;
33822 PyObject
* obj0
= 0 ;
33823 PyObject
* obj1
= 0 ;
33824 PyObject
* obj2
= 0 ;
33825 PyObject
* obj3
= 0 ;
33826 PyObject
* obj4
= 0 ;
33827 char *kwnames
[] = {
33828 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
33831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyTextShape_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33832 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextShape
, SWIG_POINTER_EXCEPTION
| 0);
33833 if (SWIG_arg_fail(1)) SWIG_fail
;
33835 arg2
= (double)(SWIG_As_double(obj1
));
33836 if (SWIG_arg_fail(2)) SWIG_fail
;
33839 arg3
= (double)(SWIG_As_double(obj2
));
33840 if (SWIG_arg_fail(3)) SWIG_fail
;
33844 arg4
= (int)(SWIG_As_int(obj3
));
33845 if (SWIG_arg_fail(4)) SWIG_fail
;
33850 arg5
= (int)(SWIG_As_int(obj4
));
33851 if (SWIG_arg_fail(5)) SWIG_fail
;
33855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33856 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
,arg5
);
33858 wxPyEndAllowThreads(__tstate
);
33859 if (PyErr_Occurred()) SWIG_fail
;
33861 Py_INCREF(Py_None
); resultobj
= Py_None
;
33868 static PyObject
*_wrap_PyTextShape_base_OnLeftDoubleClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33869 PyObject
*resultobj
;
33870 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
33873 int arg4
= (int) 0 ;
33874 int arg5
= (int) 0 ;
33875 PyObject
* obj0
= 0 ;
33876 PyObject
* obj1
= 0 ;
33877 PyObject
* obj2
= 0 ;
33878 PyObject
* obj3
= 0 ;
33879 PyObject
* obj4
= 0 ;
33880 char *kwnames
[] = {
33881 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
33884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyTextShape_base_OnLeftDoubleClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33885 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextShape
, SWIG_POINTER_EXCEPTION
| 0);
33886 if (SWIG_arg_fail(1)) SWIG_fail
;
33888 arg2
= (double)(SWIG_As_double(obj1
));
33889 if (SWIG_arg_fail(2)) SWIG_fail
;
33892 arg3
= (double)(SWIG_As_double(obj2
));
33893 if (SWIG_arg_fail(3)) SWIG_fail
;
33897 arg4
= (int)(SWIG_As_int(obj3
));
33898 if (SWIG_arg_fail(4)) SWIG_fail
;
33903 arg5
= (int)(SWIG_As_int(obj4
));
33904 if (SWIG_arg_fail(5)) SWIG_fail
;
33908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33909 (arg1
)->base_OnLeftDoubleClick(arg2
,arg3
,arg4
,arg5
);
33911 wxPyEndAllowThreads(__tstate
);
33912 if (PyErr_Occurred()) SWIG_fail
;
33914 Py_INCREF(Py_None
); resultobj
= Py_None
;
33921 static PyObject
*_wrap_PyTextShape_base_OnRightClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33922 PyObject
*resultobj
;
33923 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
33926 int arg4
= (int) 0 ;
33927 int arg5
= (int) 0 ;
33928 PyObject
* obj0
= 0 ;
33929 PyObject
* obj1
= 0 ;
33930 PyObject
* obj2
= 0 ;
33931 PyObject
* obj3
= 0 ;
33932 PyObject
* obj4
= 0 ;
33933 char *kwnames
[] = {
33934 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
33937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyTextShape_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33938 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextShape
, SWIG_POINTER_EXCEPTION
| 0);
33939 if (SWIG_arg_fail(1)) SWIG_fail
;
33941 arg2
= (double)(SWIG_As_double(obj1
));
33942 if (SWIG_arg_fail(2)) SWIG_fail
;
33945 arg3
= (double)(SWIG_As_double(obj2
));
33946 if (SWIG_arg_fail(3)) SWIG_fail
;
33950 arg4
= (int)(SWIG_As_int(obj3
));
33951 if (SWIG_arg_fail(4)) SWIG_fail
;
33956 arg5
= (int)(SWIG_As_int(obj4
));
33957 if (SWIG_arg_fail(5)) SWIG_fail
;
33961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33962 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
,arg5
);
33964 wxPyEndAllowThreads(__tstate
);
33965 if (PyErr_Occurred()) SWIG_fail
;
33967 Py_INCREF(Py_None
); resultobj
= Py_None
;
33974 static PyObject
*_wrap_PyTextShape_base_OnSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33975 PyObject
*resultobj
;
33976 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
33979 PyObject
* obj0
= 0 ;
33980 PyObject
* obj1
= 0 ;
33981 PyObject
* obj2
= 0 ;
33982 char *kwnames
[] = {
33983 (char *) "self",(char *) "x",(char *) "y", NULL
33986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextShape_base_OnSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33987 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextShape
, SWIG_POINTER_EXCEPTION
| 0);
33988 if (SWIG_arg_fail(1)) SWIG_fail
;
33990 arg2
= (double)(SWIG_As_double(obj1
));
33991 if (SWIG_arg_fail(2)) SWIG_fail
;
33994 arg3
= (double)(SWIG_As_double(obj2
));
33995 if (SWIG_arg_fail(3)) SWIG_fail
;
33998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33999 (arg1
)->base_OnSize(arg2
,arg3
);
34001 wxPyEndAllowThreads(__tstate
);
34002 if (PyErr_Occurred()) SWIG_fail
;
34004 Py_INCREF(Py_None
); resultobj
= Py_None
;
34011 static PyObject
*_wrap_PyTextShape_base_OnMovePre(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34012 PyObject
*resultobj
;
34013 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
34019 bool arg7
= (bool) true ;
34021 PyObject
* obj0
= 0 ;
34022 PyObject
* obj1
= 0 ;
34023 PyObject
* obj2
= 0 ;
34024 PyObject
* obj3
= 0 ;
34025 PyObject
* obj4
= 0 ;
34026 PyObject
* obj5
= 0 ;
34027 PyObject
* obj6
= 0 ;
34028 char *kwnames
[] = {
34029 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
34032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyTextShape_base_OnMovePre",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
34033 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextShape
, SWIG_POINTER_EXCEPTION
| 0);
34034 if (SWIG_arg_fail(1)) SWIG_fail
;
34036 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
34037 if (SWIG_arg_fail(2)) SWIG_fail
;
34038 if (arg2
== NULL
) {
34039 SWIG_null_ref("wxDC");
34041 if (SWIG_arg_fail(2)) SWIG_fail
;
34044 arg3
= (double)(SWIG_As_double(obj2
));
34045 if (SWIG_arg_fail(3)) SWIG_fail
;
34048 arg4
= (double)(SWIG_As_double(obj3
));
34049 if (SWIG_arg_fail(4)) SWIG_fail
;
34052 arg5
= (double)(SWIG_As_double(obj4
));
34053 if (SWIG_arg_fail(5)) SWIG_fail
;
34056 arg6
= (double)(SWIG_As_double(obj5
));
34057 if (SWIG_arg_fail(6)) SWIG_fail
;
34061 arg7
= (bool)(SWIG_As_bool(obj6
));
34062 if (SWIG_arg_fail(7)) SWIG_fail
;
34066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34067 result
= (bool)(arg1
)->base_OnMovePre(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
34069 wxPyEndAllowThreads(__tstate
);
34070 if (PyErr_Occurred()) SWIG_fail
;
34073 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34081 static PyObject
*_wrap_PyTextShape_base_OnMovePost(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34082 PyObject
*resultobj
;
34083 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
34089 bool arg7
= (bool) true ;
34090 PyObject
* obj0
= 0 ;
34091 PyObject
* obj1
= 0 ;
34092 PyObject
* obj2
= 0 ;
34093 PyObject
* obj3
= 0 ;
34094 PyObject
* obj4
= 0 ;
34095 PyObject
* obj5
= 0 ;
34096 PyObject
* obj6
= 0 ;
34097 char *kwnames
[] = {
34098 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
34101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:PyTextShape_base_OnMovePost",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
34102 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextShape
, SWIG_POINTER_EXCEPTION
| 0);
34103 if (SWIG_arg_fail(1)) SWIG_fail
;
34105 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
34106 if (SWIG_arg_fail(2)) SWIG_fail
;
34107 if (arg2
== NULL
) {
34108 SWIG_null_ref("wxDC");
34110 if (SWIG_arg_fail(2)) SWIG_fail
;
34113 arg3
= (double)(SWIG_As_double(obj2
));
34114 if (SWIG_arg_fail(3)) SWIG_fail
;
34117 arg4
= (double)(SWIG_As_double(obj3
));
34118 if (SWIG_arg_fail(4)) SWIG_fail
;
34121 arg5
= (double)(SWIG_As_double(obj4
));
34122 if (SWIG_arg_fail(5)) SWIG_fail
;
34125 arg6
= (double)(SWIG_As_double(obj5
));
34126 if (SWIG_arg_fail(6)) SWIG_fail
;
34130 arg7
= (bool)(SWIG_As_bool(obj6
));
34131 if (SWIG_arg_fail(7)) SWIG_fail
;
34135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34136 (arg1
)->base_OnMovePost(*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
34138 wxPyEndAllowThreads(__tstate
);
34139 if (PyErr_Occurred()) SWIG_fail
;
34141 Py_INCREF(Py_None
); resultobj
= Py_None
;
34148 static PyObject
*_wrap_PyTextShape_base_OnDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34149 PyObject
*resultobj
;
34150 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
34154 int arg5
= (int) 0 ;
34155 int arg6
= (int) 0 ;
34156 PyObject
* obj0
= 0 ;
34157 PyObject
* obj1
= 0 ;
34158 PyObject
* obj2
= 0 ;
34159 PyObject
* obj3
= 0 ;
34160 PyObject
* obj4
= 0 ;
34161 PyObject
* obj5
= 0 ;
34162 char *kwnames
[] = {
34163 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
34166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyTextShape_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
34167 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextShape
, SWIG_POINTER_EXCEPTION
| 0);
34168 if (SWIG_arg_fail(1)) SWIG_fail
;
34170 arg2
= (bool)(SWIG_As_bool(obj1
));
34171 if (SWIG_arg_fail(2)) SWIG_fail
;
34174 arg3
= (double)(SWIG_As_double(obj2
));
34175 if (SWIG_arg_fail(3)) SWIG_fail
;
34178 arg4
= (double)(SWIG_As_double(obj3
));
34179 if (SWIG_arg_fail(4)) SWIG_fail
;
34183 arg5
= (int)(SWIG_As_int(obj4
));
34184 if (SWIG_arg_fail(5)) SWIG_fail
;
34189 arg6
= (int)(SWIG_As_int(obj5
));
34190 if (SWIG_arg_fail(6)) SWIG_fail
;
34194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34195 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
34197 wxPyEndAllowThreads(__tstate
);
34198 if (PyErr_Occurred()) SWIG_fail
;
34200 Py_INCREF(Py_None
); resultobj
= Py_None
;
34207 static PyObject
*_wrap_PyTextShape_base_OnBeginDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34208 PyObject
*resultobj
;
34209 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
34212 int arg4
= (int) 0 ;
34213 int arg5
= (int) 0 ;
34214 PyObject
* obj0
= 0 ;
34215 PyObject
* obj1
= 0 ;
34216 PyObject
* obj2
= 0 ;
34217 PyObject
* obj3
= 0 ;
34218 PyObject
* obj4
= 0 ;
34219 char *kwnames
[] = {
34220 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
34223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyTextShape_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34224 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextShape
, SWIG_POINTER_EXCEPTION
| 0);
34225 if (SWIG_arg_fail(1)) SWIG_fail
;
34227 arg2
= (double)(SWIG_As_double(obj1
));
34228 if (SWIG_arg_fail(2)) SWIG_fail
;
34231 arg3
= (double)(SWIG_As_double(obj2
));
34232 if (SWIG_arg_fail(3)) SWIG_fail
;
34236 arg4
= (int)(SWIG_As_int(obj3
));
34237 if (SWIG_arg_fail(4)) SWIG_fail
;
34242 arg5
= (int)(SWIG_As_int(obj4
));
34243 if (SWIG_arg_fail(5)) SWIG_fail
;
34247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34248 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
,arg5
);
34250 wxPyEndAllowThreads(__tstate
);
34251 if (PyErr_Occurred()) SWIG_fail
;
34253 Py_INCREF(Py_None
); resultobj
= Py_None
;
34260 static PyObject
*_wrap_PyTextShape_base_OnEndDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34261 PyObject
*resultobj
;
34262 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
34265 int arg4
= (int) 0 ;
34266 int arg5
= (int) 0 ;
34267 PyObject
* obj0
= 0 ;
34268 PyObject
* obj1
= 0 ;
34269 PyObject
* obj2
= 0 ;
34270 PyObject
* obj3
= 0 ;
34271 PyObject
* obj4
= 0 ;
34272 char *kwnames
[] = {
34273 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
34276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyTextShape_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34277 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextShape
, SWIG_POINTER_EXCEPTION
| 0);
34278 if (SWIG_arg_fail(1)) SWIG_fail
;
34280 arg2
= (double)(SWIG_As_double(obj1
));
34281 if (SWIG_arg_fail(2)) SWIG_fail
;
34284 arg3
= (double)(SWIG_As_double(obj2
));
34285 if (SWIG_arg_fail(3)) SWIG_fail
;
34289 arg4
= (int)(SWIG_As_int(obj3
));
34290 if (SWIG_arg_fail(4)) SWIG_fail
;
34295 arg5
= (int)(SWIG_As_int(obj4
));
34296 if (SWIG_arg_fail(5)) SWIG_fail
;
34300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34301 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
,arg5
);
34303 wxPyEndAllowThreads(__tstate
);
34304 if (PyErr_Occurred()) SWIG_fail
;
34306 Py_INCREF(Py_None
); resultobj
= Py_None
;
34313 static PyObject
*_wrap_PyTextShape_base_OnDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34314 PyObject
*resultobj
;
34315 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
34319 int arg5
= (int) 0 ;
34320 int arg6
= (int) 0 ;
34321 PyObject
* obj0
= 0 ;
34322 PyObject
* obj1
= 0 ;
34323 PyObject
* obj2
= 0 ;
34324 PyObject
* obj3
= 0 ;
34325 PyObject
* obj4
= 0 ;
34326 PyObject
* obj5
= 0 ;
34327 char *kwnames
[] = {
34328 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
34331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyTextShape_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
34332 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextShape
, SWIG_POINTER_EXCEPTION
| 0);
34333 if (SWIG_arg_fail(1)) SWIG_fail
;
34335 arg2
= (bool)(SWIG_As_bool(obj1
));
34336 if (SWIG_arg_fail(2)) SWIG_fail
;
34339 arg3
= (double)(SWIG_As_double(obj2
));
34340 if (SWIG_arg_fail(3)) SWIG_fail
;
34343 arg4
= (double)(SWIG_As_double(obj3
));
34344 if (SWIG_arg_fail(4)) SWIG_fail
;
34348 arg5
= (int)(SWIG_As_int(obj4
));
34349 if (SWIG_arg_fail(5)) SWIG_fail
;
34354 arg6
= (int)(SWIG_As_int(obj5
));
34355 if (SWIG_arg_fail(6)) SWIG_fail
;
34359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34360 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
,arg6
);
34362 wxPyEndAllowThreads(__tstate
);
34363 if (PyErr_Occurred()) SWIG_fail
;
34365 Py_INCREF(Py_None
); resultobj
= Py_None
;
34372 static PyObject
*_wrap_PyTextShape_base_OnBeginDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34373 PyObject
*resultobj
;
34374 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
34377 int arg4
= (int) 0 ;
34378 int arg5
= (int) 0 ;
34379 PyObject
* obj0
= 0 ;
34380 PyObject
* obj1
= 0 ;
34381 PyObject
* obj2
= 0 ;
34382 PyObject
* obj3
= 0 ;
34383 PyObject
* obj4
= 0 ;
34384 char *kwnames
[] = {
34385 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
34388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyTextShape_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34389 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextShape
, SWIG_POINTER_EXCEPTION
| 0);
34390 if (SWIG_arg_fail(1)) SWIG_fail
;
34392 arg2
= (double)(SWIG_As_double(obj1
));
34393 if (SWIG_arg_fail(2)) SWIG_fail
;
34396 arg3
= (double)(SWIG_As_double(obj2
));
34397 if (SWIG_arg_fail(3)) SWIG_fail
;
34401 arg4
= (int)(SWIG_As_int(obj3
));
34402 if (SWIG_arg_fail(4)) SWIG_fail
;
34407 arg5
= (int)(SWIG_As_int(obj4
));
34408 if (SWIG_arg_fail(5)) SWIG_fail
;
34412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34413 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
,arg5
);
34415 wxPyEndAllowThreads(__tstate
);
34416 if (PyErr_Occurred()) SWIG_fail
;
34418 Py_INCREF(Py_None
); resultobj
= Py_None
;
34425 static PyObject
*_wrap_PyTextShape_base_OnEndDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34426 PyObject
*resultobj
;
34427 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
34430 int arg4
= (int) 0 ;
34431 int arg5
= (int) 0 ;
34432 PyObject
* obj0
= 0 ;
34433 PyObject
* obj1
= 0 ;
34434 PyObject
* obj2
= 0 ;
34435 PyObject
* obj3
= 0 ;
34436 PyObject
* obj4
= 0 ;
34437 char *kwnames
[] = {
34438 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
34441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyTextShape_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34442 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextShape
, SWIG_POINTER_EXCEPTION
| 0);
34443 if (SWIG_arg_fail(1)) SWIG_fail
;
34445 arg2
= (double)(SWIG_As_double(obj1
));
34446 if (SWIG_arg_fail(2)) SWIG_fail
;
34449 arg3
= (double)(SWIG_As_double(obj2
));
34450 if (SWIG_arg_fail(3)) SWIG_fail
;
34454 arg4
= (int)(SWIG_As_int(obj3
));
34455 if (SWIG_arg_fail(4)) SWIG_fail
;
34460 arg5
= (int)(SWIG_As_int(obj4
));
34461 if (SWIG_arg_fail(5)) SWIG_fail
;
34465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34466 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
,arg5
);
34468 wxPyEndAllowThreads(__tstate
);
34469 if (PyErr_Occurred()) SWIG_fail
;
34471 Py_INCREF(Py_None
); resultobj
= Py_None
;
34478 static PyObject
*_wrap_PyTextShape_base_OnDrawOutline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34479 PyObject
*resultobj
;
34480 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
34486 PyObject
* obj0
= 0 ;
34487 PyObject
* obj1
= 0 ;
34488 PyObject
* obj2
= 0 ;
34489 PyObject
* obj3
= 0 ;
34490 PyObject
* obj4
= 0 ;
34491 PyObject
* obj5
= 0 ;
34492 char *kwnames
[] = {
34493 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
34496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PyTextShape_base_OnDrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
34497 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextShape
, SWIG_POINTER_EXCEPTION
| 0);
34498 if (SWIG_arg_fail(1)) SWIG_fail
;
34500 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
34501 if (SWIG_arg_fail(2)) SWIG_fail
;
34502 if (arg2
== NULL
) {
34503 SWIG_null_ref("wxDC");
34505 if (SWIG_arg_fail(2)) SWIG_fail
;
34508 arg3
= (double)(SWIG_As_double(obj2
));
34509 if (SWIG_arg_fail(3)) SWIG_fail
;
34512 arg4
= (double)(SWIG_As_double(obj3
));
34513 if (SWIG_arg_fail(4)) SWIG_fail
;
34516 arg5
= (double)(SWIG_As_double(obj4
));
34517 if (SWIG_arg_fail(5)) SWIG_fail
;
34520 arg6
= (double)(SWIG_As_double(obj5
));
34521 if (SWIG_arg_fail(6)) SWIG_fail
;
34524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34525 (arg1
)->base_OnDrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
34527 wxPyEndAllowThreads(__tstate
);
34528 if (PyErr_Occurred()) SWIG_fail
;
34530 Py_INCREF(Py_None
); resultobj
= Py_None
;
34537 static PyObject
*_wrap_PyTextShape_base_OnDrawControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34538 PyObject
*resultobj
;
34539 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
34541 PyObject
* obj0
= 0 ;
34542 PyObject
* obj1
= 0 ;
34543 char *kwnames
[] = {
34544 (char *) "self",(char *) "dc", NULL
34547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyTextShape_base_OnDrawControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
34548 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextShape
, SWIG_POINTER_EXCEPTION
| 0);
34549 if (SWIG_arg_fail(1)) SWIG_fail
;
34551 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
34552 if (SWIG_arg_fail(2)) SWIG_fail
;
34553 if (arg2
== NULL
) {
34554 SWIG_null_ref("wxDC");
34556 if (SWIG_arg_fail(2)) SWIG_fail
;
34559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34560 (arg1
)->base_OnDrawControlPoints(*arg2
);
34562 wxPyEndAllowThreads(__tstate
);
34563 if (PyErr_Occurred()) SWIG_fail
;
34565 Py_INCREF(Py_None
); resultobj
= Py_None
;
34572 static PyObject
*_wrap_PyTextShape_base_OnEraseControlPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34573 PyObject
*resultobj
;
34574 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
34576 PyObject
* obj0
= 0 ;
34577 PyObject
* obj1
= 0 ;
34578 char *kwnames
[] = {
34579 (char *) "self",(char *) "dc", NULL
34582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyTextShape_base_OnEraseControlPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
34583 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextShape
, SWIG_POINTER_EXCEPTION
| 0);
34584 if (SWIG_arg_fail(1)) SWIG_fail
;
34586 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
34587 if (SWIG_arg_fail(2)) SWIG_fail
;
34588 if (arg2
== NULL
) {
34589 SWIG_null_ref("wxDC");
34591 if (SWIG_arg_fail(2)) SWIG_fail
;
34594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34595 (arg1
)->base_OnEraseControlPoints(*arg2
);
34597 wxPyEndAllowThreads(__tstate
);
34598 if (PyErr_Occurred()) SWIG_fail
;
34600 Py_INCREF(Py_None
); resultobj
= Py_None
;
34607 static PyObject
*_wrap_PyTextShape_base_OnMoveLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34608 PyObject
*resultobj
;
34609 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
34611 bool arg3
= (bool) true ;
34612 PyObject
* obj0
= 0 ;
34613 PyObject
* obj1
= 0 ;
34614 PyObject
* obj2
= 0 ;
34615 char *kwnames
[] = {
34616 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
34619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyTextShape_base_OnMoveLink",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34620 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextShape
, SWIG_POINTER_EXCEPTION
| 0);
34621 if (SWIG_arg_fail(1)) SWIG_fail
;
34623 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
34624 if (SWIG_arg_fail(2)) SWIG_fail
;
34625 if (arg2
== NULL
) {
34626 SWIG_null_ref("wxDC");
34628 if (SWIG_arg_fail(2)) SWIG_fail
;
34632 arg3
= (bool)(SWIG_As_bool(obj2
));
34633 if (SWIG_arg_fail(3)) SWIG_fail
;
34637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34638 (arg1
)->base_OnMoveLink(*arg2
,arg3
);
34640 wxPyEndAllowThreads(__tstate
);
34641 if (PyErr_Occurred()) SWIG_fail
;
34643 Py_INCREF(Py_None
); resultobj
= Py_None
;
34650 static PyObject
*_wrap_PyTextShape_base_OnSizingDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34651 PyObject
*resultobj
;
34652 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
34653 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
34657 int arg6
= (int) 0 ;
34658 int arg7
= (int) 0 ;
34659 PyObject
* obj0
= 0 ;
34660 PyObject
* obj1
= 0 ;
34661 PyObject
* obj2
= 0 ;
34662 PyObject
* obj3
= 0 ;
34663 PyObject
* obj4
= 0 ;
34664 PyObject
* obj5
= 0 ;
34665 PyObject
* obj6
= 0 ;
34666 char *kwnames
[] = {
34667 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
34670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:PyTextShape_base_OnSizingDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
34671 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextShape
, SWIG_POINTER_EXCEPTION
| 0);
34672 if (SWIG_arg_fail(1)) SWIG_fail
;
34673 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyControlPoint
, SWIG_POINTER_EXCEPTION
| 0);
34674 if (SWIG_arg_fail(2)) SWIG_fail
;
34676 arg3
= (bool)(SWIG_As_bool(obj2
));
34677 if (SWIG_arg_fail(3)) SWIG_fail
;
34680 arg4
= (double)(SWIG_As_double(obj3
));
34681 if (SWIG_arg_fail(4)) SWIG_fail
;
34684 arg5
= (double)(SWIG_As_double(obj4
));
34685 if (SWIG_arg_fail(5)) SWIG_fail
;
34689 arg6
= (int)(SWIG_As_int(obj5
));
34690 if (SWIG_arg_fail(6)) SWIG_fail
;
34695 arg7
= (int)(SWIG_As_int(obj6
));
34696 if (SWIG_arg_fail(7)) SWIG_fail
;
34700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34701 (arg1
)->base_OnSizingDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
34703 wxPyEndAllowThreads(__tstate
);
34704 if (PyErr_Occurred()) SWIG_fail
;
34706 Py_INCREF(Py_None
); resultobj
= Py_None
;
34713 static PyObject
*_wrap_PyTextShape_base_OnSizingBeginDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34714 PyObject
*resultobj
;
34715 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
34716 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
34719 int arg5
= (int) 0 ;
34720 int arg6
= (int) 0 ;
34721 PyObject
* obj0
= 0 ;
34722 PyObject
* obj1
= 0 ;
34723 PyObject
* obj2
= 0 ;
34724 PyObject
* obj3
= 0 ;
34725 PyObject
* obj4
= 0 ;
34726 PyObject
* obj5
= 0 ;
34727 char *kwnames
[] = {
34728 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
34731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyTextShape_base_OnSizingBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
34732 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextShape
, SWIG_POINTER_EXCEPTION
| 0);
34733 if (SWIG_arg_fail(1)) SWIG_fail
;
34734 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyControlPoint
, SWIG_POINTER_EXCEPTION
| 0);
34735 if (SWIG_arg_fail(2)) SWIG_fail
;
34737 arg3
= (double)(SWIG_As_double(obj2
));
34738 if (SWIG_arg_fail(3)) SWIG_fail
;
34741 arg4
= (double)(SWIG_As_double(obj3
));
34742 if (SWIG_arg_fail(4)) SWIG_fail
;
34746 arg5
= (int)(SWIG_As_int(obj4
));
34747 if (SWIG_arg_fail(5)) SWIG_fail
;
34752 arg6
= (int)(SWIG_As_int(obj5
));
34753 if (SWIG_arg_fail(6)) SWIG_fail
;
34757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34758 (arg1
)->base_OnSizingBeginDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
34760 wxPyEndAllowThreads(__tstate
);
34761 if (PyErr_Occurred()) SWIG_fail
;
34763 Py_INCREF(Py_None
); resultobj
= Py_None
;
34770 static PyObject
*_wrap_PyTextShape_base_OnSizingEndDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34771 PyObject
*resultobj
;
34772 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
34773 wxPyControlPoint
*arg2
= (wxPyControlPoint
*) 0 ;
34776 int arg5
= (int) 0 ;
34777 int arg6
= (int) 0 ;
34778 PyObject
* obj0
= 0 ;
34779 PyObject
* obj1
= 0 ;
34780 PyObject
* obj2
= 0 ;
34781 PyObject
* obj3
= 0 ;
34782 PyObject
* obj4
= 0 ;
34783 PyObject
* obj5
= 0 ;
34784 char *kwnames
[] = {
34785 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
34788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PyTextShape_base_OnSizingEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
34789 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextShape
, SWIG_POINTER_EXCEPTION
| 0);
34790 if (SWIG_arg_fail(1)) SWIG_fail
;
34791 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyControlPoint
, SWIG_POINTER_EXCEPTION
| 0);
34792 if (SWIG_arg_fail(2)) SWIG_fail
;
34794 arg3
= (double)(SWIG_As_double(obj2
));
34795 if (SWIG_arg_fail(3)) SWIG_fail
;
34798 arg4
= (double)(SWIG_As_double(obj3
));
34799 if (SWIG_arg_fail(4)) SWIG_fail
;
34803 arg5
= (int)(SWIG_As_int(obj4
));
34804 if (SWIG_arg_fail(5)) SWIG_fail
;
34809 arg6
= (int)(SWIG_As_int(obj5
));
34810 if (SWIG_arg_fail(6)) SWIG_fail
;
34814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34815 (arg1
)->base_OnSizingEndDragLeft(arg2
,arg3
,arg4
,arg5
,arg6
);
34817 wxPyEndAllowThreads(__tstate
);
34818 if (PyErr_Occurred()) SWIG_fail
;
34820 Py_INCREF(Py_None
); resultobj
= Py_None
;
34827 static PyObject
*_wrap_PyTextShape_base_OnBeginSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34828 PyObject
*resultobj
;
34829 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
34832 PyObject
* obj0
= 0 ;
34833 PyObject
* obj1
= 0 ;
34834 PyObject
* obj2
= 0 ;
34835 char *kwnames
[] = {
34836 (char *) "self",(char *) "w",(char *) "h", NULL
34839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextShape_base_OnBeginSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34840 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextShape
, SWIG_POINTER_EXCEPTION
| 0);
34841 if (SWIG_arg_fail(1)) SWIG_fail
;
34843 arg2
= (double)(SWIG_As_double(obj1
));
34844 if (SWIG_arg_fail(2)) SWIG_fail
;
34847 arg3
= (double)(SWIG_As_double(obj2
));
34848 if (SWIG_arg_fail(3)) SWIG_fail
;
34851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34852 (arg1
)->base_OnBeginSize(arg2
,arg3
);
34854 wxPyEndAllowThreads(__tstate
);
34855 if (PyErr_Occurred()) SWIG_fail
;
34857 Py_INCREF(Py_None
); resultobj
= Py_None
;
34864 static PyObject
*_wrap_PyTextShape_base_OnEndSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34865 PyObject
*resultobj
;
34866 wxPyTextShape
*arg1
= (wxPyTextShape
*) 0 ;
34869 PyObject
* obj0
= 0 ;
34870 PyObject
* obj1
= 0 ;
34871 PyObject
* obj2
= 0 ;
34872 char *kwnames
[] = {
34873 (char *) "self",(char *) "w",(char *) "h", NULL
34876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextShape_base_OnEndSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34877 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTextShape
, SWIG_POINTER_EXCEPTION
| 0);
34878 if (SWIG_arg_fail(1)) SWIG_fail
;
34880 arg2
= (double)(SWIG_As_double(obj1
));
34881 if (SWIG_arg_fail(2)) SWIG_fail
;
34884 arg3
= (double)(SWIG_As_double(obj2
));
34885 if (SWIG_arg_fail(3)) SWIG_fail
;
34888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34889 (arg1
)->base_OnEndSize(arg2
,arg3
);
34891 wxPyEndAllowThreads(__tstate
);
34892 if (PyErr_Occurred()) SWIG_fail
;
34894 Py_INCREF(Py_None
); resultobj
= Py_None
;
34901 static PyObject
* PyTextShape_swigregister(PyObject
*, PyObject
*args
) {
34903 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34904 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextShape
, obj
);
34906 return Py_BuildValue((char *)"");
34908 static PyObject
*_wrap_new_Diagram(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34909 PyObject
*resultobj
;
34911 char *kwnames
[] = {
34915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Diagram",kwnames
)) goto fail
;
34917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34918 result
= (wxDiagram
*)new wxDiagram();
34920 wxPyEndAllowThreads(__tstate
);
34921 if (PyErr_Occurred()) SWIG_fail
;
34924 resultobj
= wxPyMake_wxObject(result
, 1);
34932 static PyObject
*_wrap_Diagram_AddShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34933 PyObject
*resultobj
;
34934 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
34935 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
34936 wxPyShape
*arg3
= (wxPyShape
*) NULL
;
34937 PyObject
* obj0
= 0 ;
34938 PyObject
* obj1
= 0 ;
34939 PyObject
* obj2
= 0 ;
34940 char *kwnames
[] = {
34941 (char *) "self",(char *) "shape",(char *) "addAfter", NULL
34944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Diagram_AddShape",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34945 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDiagram
, SWIG_POINTER_EXCEPTION
| 0);
34946 if (SWIG_arg_fail(1)) SWIG_fail
;
34947 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
34948 if (SWIG_arg_fail(2)) SWIG_fail
;
34950 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
34951 if (SWIG_arg_fail(3)) SWIG_fail
;
34954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34955 (arg1
)->AddShape(arg2
,arg3
);
34957 wxPyEndAllowThreads(__tstate
);
34958 if (PyErr_Occurred()) SWIG_fail
;
34960 Py_INCREF(Py_None
); resultobj
= Py_None
;
34967 static PyObject
*_wrap_Diagram_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34968 PyObject
*resultobj
;
34969 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
34971 PyObject
* obj0
= 0 ;
34972 PyObject
* obj1
= 0 ;
34973 char *kwnames
[] = {
34974 (char *) "self",(char *) "dc", NULL
34977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_Clear",kwnames
,&obj0
,&obj1
)) goto fail
;
34978 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDiagram
, SWIG_POINTER_EXCEPTION
| 0);
34979 if (SWIG_arg_fail(1)) SWIG_fail
;
34981 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
34982 if (SWIG_arg_fail(2)) SWIG_fail
;
34983 if (arg2
== NULL
) {
34984 SWIG_null_ref("wxDC");
34986 if (SWIG_arg_fail(2)) SWIG_fail
;
34989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34990 (arg1
)->Clear(*arg2
);
34992 wxPyEndAllowThreads(__tstate
);
34993 if (PyErr_Occurred()) SWIG_fail
;
34995 Py_INCREF(Py_None
); resultobj
= Py_None
;
35002 static PyObject
*_wrap_Diagram_DeleteAllShapes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35003 PyObject
*resultobj
;
35004 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
35005 PyObject
* obj0
= 0 ;
35006 char *kwnames
[] = {
35007 (char *) "self", NULL
35010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Diagram_DeleteAllShapes",kwnames
,&obj0
)) goto fail
;
35011 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDiagram
, SWIG_POINTER_EXCEPTION
| 0);
35012 if (SWIG_arg_fail(1)) SWIG_fail
;
35014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35015 (arg1
)->DeleteAllShapes();
35017 wxPyEndAllowThreads(__tstate
);
35018 if (PyErr_Occurred()) SWIG_fail
;
35020 Py_INCREF(Py_None
); resultobj
= Py_None
;
35027 static PyObject
*_wrap_Diagram_DrawOutline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35028 PyObject
*resultobj
;
35029 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
35035 PyObject
* obj0
= 0 ;
35036 PyObject
* obj1
= 0 ;
35037 PyObject
* obj2
= 0 ;
35038 PyObject
* obj3
= 0 ;
35039 PyObject
* obj4
= 0 ;
35040 PyObject
* obj5
= 0 ;
35041 char *kwnames
[] = {
35042 (char *) "self",(char *) "dc",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
35045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Diagram_DrawOutline",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
35046 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDiagram
, SWIG_POINTER_EXCEPTION
| 0);
35047 if (SWIG_arg_fail(1)) SWIG_fail
;
35049 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
35050 if (SWIG_arg_fail(2)) SWIG_fail
;
35051 if (arg2
== NULL
) {
35052 SWIG_null_ref("wxDC");
35054 if (SWIG_arg_fail(2)) SWIG_fail
;
35057 arg3
= (double)(SWIG_As_double(obj2
));
35058 if (SWIG_arg_fail(3)) SWIG_fail
;
35061 arg4
= (double)(SWIG_As_double(obj3
));
35062 if (SWIG_arg_fail(4)) SWIG_fail
;
35065 arg5
= (double)(SWIG_As_double(obj4
));
35066 if (SWIG_arg_fail(5)) SWIG_fail
;
35069 arg6
= (double)(SWIG_As_double(obj5
));
35070 if (SWIG_arg_fail(6)) SWIG_fail
;
35073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35074 (arg1
)->DrawOutline(*arg2
,arg3
,arg4
,arg5
,arg6
);
35076 wxPyEndAllowThreads(__tstate
);
35077 if (PyErr_Occurred()) SWIG_fail
;
35079 Py_INCREF(Py_None
); resultobj
= Py_None
;
35086 static PyObject
*_wrap_Diagram_FindShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35087 PyObject
*resultobj
;
35088 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
35091 PyObject
* obj0
= 0 ;
35092 PyObject
* obj1
= 0 ;
35093 char *kwnames
[] = {
35094 (char *) "self",(char *) "id", NULL
35097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_FindShape",kwnames
,&obj0
,&obj1
)) goto fail
;
35098 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDiagram
, SWIG_POINTER_EXCEPTION
| 0);
35099 if (SWIG_arg_fail(1)) SWIG_fail
;
35101 arg2
= (long)(SWIG_As_long(obj1
));
35102 if (SWIG_arg_fail(2)) SWIG_fail
;
35105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35106 result
= (wxPyShape
*)(arg1
)->FindShape(arg2
);
35108 wxPyEndAllowThreads(__tstate
);
35109 if (PyErr_Occurred()) SWIG_fail
;
35112 resultobj
= wxPyMake_wxShapeEvtHandler(result
, 0);
35120 static PyObject
*_wrap_Diagram_GetCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35121 PyObject
*resultobj
;
35122 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
35123 wxPyShapeCanvas
*result
;
35124 PyObject
* obj0
= 0 ;
35125 char *kwnames
[] = {
35126 (char *) "self", NULL
35129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Diagram_GetCanvas",kwnames
,&obj0
)) goto fail
;
35130 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDiagram
, SWIG_POINTER_EXCEPTION
| 0);
35131 if (SWIG_arg_fail(1)) SWIG_fail
;
35133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35134 result
= (wxPyShapeCanvas
*)(arg1
)->GetCanvas();
35136 wxPyEndAllowThreads(__tstate
);
35137 if (PyErr_Occurred()) SWIG_fail
;
35140 resultobj
= wxPyMake_wxObject(result
, 0);
35148 static PyObject
*_wrap_Diagram_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35149 PyObject
*resultobj
;
35150 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
35152 PyObject
* obj0
= 0 ;
35153 char *kwnames
[] = {
35154 (char *) "self", NULL
35157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Diagram_GetCount",kwnames
,&obj0
)) goto fail
;
35158 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDiagram
, SWIG_POINTER_EXCEPTION
| 0);
35159 if (SWIG_arg_fail(1)) SWIG_fail
;
35161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35162 result
= (int)(arg1
)->GetCount();
35164 wxPyEndAllowThreads(__tstate
);
35165 if (PyErr_Occurred()) SWIG_fail
;
35168 resultobj
= SWIG_From_int((int)(result
));
35176 static PyObject
*_wrap_Diagram_GetGridSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35177 PyObject
*resultobj
;
35178 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
35180 PyObject
* obj0
= 0 ;
35181 char *kwnames
[] = {
35182 (char *) "self", NULL
35185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Diagram_GetGridSpacing",kwnames
,&obj0
)) goto fail
;
35186 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDiagram
, SWIG_POINTER_EXCEPTION
| 0);
35187 if (SWIG_arg_fail(1)) SWIG_fail
;
35189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35190 result
= (double)(arg1
)->GetGridSpacing();
35192 wxPyEndAllowThreads(__tstate
);
35193 if (PyErr_Occurred()) SWIG_fail
;
35196 resultobj
= SWIG_From_double((double)(result
));
35204 static PyObject
*_wrap_Diagram_GetMouseTolerance(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35205 PyObject
*resultobj
;
35206 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
35208 PyObject
* obj0
= 0 ;
35209 char *kwnames
[] = {
35210 (char *) "self", NULL
35213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Diagram_GetMouseTolerance",kwnames
,&obj0
)) goto fail
;
35214 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDiagram
, SWIG_POINTER_EXCEPTION
| 0);
35215 if (SWIG_arg_fail(1)) SWIG_fail
;
35217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35218 result
= (int)(arg1
)->GetMouseTolerance();
35220 wxPyEndAllowThreads(__tstate
);
35221 if (PyErr_Occurred()) SWIG_fail
;
35224 resultobj
= SWIG_From_int((int)(result
));
35232 static PyObject
*_wrap_Diagram_GetShapeList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35233 PyObject
*resultobj
;
35234 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
35236 PyObject
* obj0
= 0 ;
35237 char *kwnames
[] = {
35238 (char *) "self", NULL
35241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Diagram_GetShapeList",kwnames
,&obj0
)) goto fail
;
35242 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDiagram
, SWIG_POINTER_EXCEPTION
| 0);
35243 if (SWIG_arg_fail(1)) SWIG_fail
;
35245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35246 result
= (PyObject
*)wxDiagram_GetShapeList(arg1
);
35248 wxPyEndAllowThreads(__tstate
);
35249 if (PyErr_Occurred()) SWIG_fail
;
35251 resultobj
= result
;
35258 static PyObject
*_wrap_Diagram_GetQuickEditMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35259 PyObject
*resultobj
;
35260 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
35262 PyObject
* obj0
= 0 ;
35263 char *kwnames
[] = {
35264 (char *) "self", NULL
35267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Diagram_GetQuickEditMode",kwnames
,&obj0
)) goto fail
;
35268 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDiagram
, SWIG_POINTER_EXCEPTION
| 0);
35269 if (SWIG_arg_fail(1)) SWIG_fail
;
35271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35272 result
= (bool)(arg1
)->GetQuickEditMode();
35274 wxPyEndAllowThreads(__tstate
);
35275 if (PyErr_Occurred()) SWIG_fail
;
35278 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35286 static PyObject
*_wrap_Diagram_GetSnapToGrid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35287 PyObject
*resultobj
;
35288 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
35290 PyObject
* obj0
= 0 ;
35291 char *kwnames
[] = {
35292 (char *) "self", NULL
35295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Diagram_GetSnapToGrid",kwnames
,&obj0
)) goto fail
;
35296 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDiagram
, SWIG_POINTER_EXCEPTION
| 0);
35297 if (SWIG_arg_fail(1)) SWIG_fail
;
35299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35300 result
= (bool)(arg1
)->GetSnapToGrid();
35302 wxPyEndAllowThreads(__tstate
);
35303 if (PyErr_Occurred()) SWIG_fail
;
35306 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35314 static PyObject
*_wrap_Diagram_InsertShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35315 PyObject
*resultobj
;
35316 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
35317 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
35318 PyObject
* obj0
= 0 ;
35319 PyObject
* obj1
= 0 ;
35320 char *kwnames
[] = {
35321 (char *) "self",(char *) "shape", NULL
35324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_InsertShape",kwnames
,&obj0
,&obj1
)) goto fail
;
35325 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDiagram
, SWIG_POINTER_EXCEPTION
| 0);
35326 if (SWIG_arg_fail(1)) SWIG_fail
;
35327 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
35328 if (SWIG_arg_fail(2)) SWIG_fail
;
35330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35331 (arg1
)->InsertShape(arg2
);
35333 wxPyEndAllowThreads(__tstate
);
35334 if (PyErr_Occurred()) SWIG_fail
;
35336 Py_INCREF(Py_None
); resultobj
= Py_None
;
35343 static PyObject
*_wrap_Diagram_RecentreAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35344 PyObject
*resultobj
;
35345 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
35347 PyObject
* obj0
= 0 ;
35348 PyObject
* obj1
= 0 ;
35349 char *kwnames
[] = {
35350 (char *) "self",(char *) "dc", NULL
35353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_RecentreAll",kwnames
,&obj0
,&obj1
)) goto fail
;
35354 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDiagram
, SWIG_POINTER_EXCEPTION
| 0);
35355 if (SWIG_arg_fail(1)) SWIG_fail
;
35357 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
35358 if (SWIG_arg_fail(2)) SWIG_fail
;
35359 if (arg2
== NULL
) {
35360 SWIG_null_ref("wxDC");
35362 if (SWIG_arg_fail(2)) SWIG_fail
;
35365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35366 (arg1
)->RecentreAll(*arg2
);
35368 wxPyEndAllowThreads(__tstate
);
35369 if (PyErr_Occurred()) SWIG_fail
;
35371 Py_INCREF(Py_None
); resultobj
= Py_None
;
35378 static PyObject
*_wrap_Diagram_Redraw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35379 PyObject
*resultobj
;
35380 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
35382 PyObject
* obj0
= 0 ;
35383 PyObject
* obj1
= 0 ;
35384 char *kwnames
[] = {
35385 (char *) "self",(char *) "dc", NULL
35388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_Redraw",kwnames
,&obj0
,&obj1
)) goto fail
;
35389 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDiagram
, SWIG_POINTER_EXCEPTION
| 0);
35390 if (SWIG_arg_fail(1)) SWIG_fail
;
35392 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
35393 if (SWIG_arg_fail(2)) SWIG_fail
;
35394 if (arg2
== NULL
) {
35395 SWIG_null_ref("wxDC");
35397 if (SWIG_arg_fail(2)) SWIG_fail
;
35400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35401 (arg1
)->Redraw(*arg2
);
35403 wxPyEndAllowThreads(__tstate
);
35404 if (PyErr_Occurred()) SWIG_fail
;
35406 Py_INCREF(Py_None
); resultobj
= Py_None
;
35413 static PyObject
*_wrap_Diagram_RemoveAllShapes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35414 PyObject
*resultobj
;
35415 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
35416 PyObject
* obj0
= 0 ;
35417 char *kwnames
[] = {
35418 (char *) "self", NULL
35421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Diagram_RemoveAllShapes",kwnames
,&obj0
)) goto fail
;
35422 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDiagram
, SWIG_POINTER_EXCEPTION
| 0);
35423 if (SWIG_arg_fail(1)) SWIG_fail
;
35425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35426 (arg1
)->RemoveAllShapes();
35428 wxPyEndAllowThreads(__tstate
);
35429 if (PyErr_Occurred()) SWIG_fail
;
35431 Py_INCREF(Py_None
); resultobj
= Py_None
;
35438 static PyObject
*_wrap_Diagram_RemoveShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35439 PyObject
*resultobj
;
35440 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
35441 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
35442 PyObject
* obj0
= 0 ;
35443 PyObject
* obj1
= 0 ;
35444 char *kwnames
[] = {
35445 (char *) "self",(char *) "shape", NULL
35448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_RemoveShape",kwnames
,&obj0
,&obj1
)) goto fail
;
35449 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDiagram
, SWIG_POINTER_EXCEPTION
| 0);
35450 if (SWIG_arg_fail(1)) SWIG_fail
;
35451 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
35452 if (SWIG_arg_fail(2)) SWIG_fail
;
35454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35455 (arg1
)->RemoveShape(arg2
);
35457 wxPyEndAllowThreads(__tstate
);
35458 if (PyErr_Occurred()) SWIG_fail
;
35460 Py_INCREF(Py_None
); resultobj
= Py_None
;
35467 static PyObject
*_wrap_Diagram_SetCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35468 PyObject
*resultobj
;
35469 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
35470 wxPyShapeCanvas
*arg2
= (wxPyShapeCanvas
*) 0 ;
35471 PyObject
* obj0
= 0 ;
35472 PyObject
* obj1
= 0 ;
35473 char *kwnames
[] = {
35474 (char *) "self",(char *) "canvas", NULL
35477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_SetCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
35478 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDiagram
, SWIG_POINTER_EXCEPTION
| 0);
35479 if (SWIG_arg_fail(1)) SWIG_fail
;
35480 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyShapeCanvas
, SWIG_POINTER_EXCEPTION
| 0);
35481 if (SWIG_arg_fail(2)) SWIG_fail
;
35483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35484 (arg1
)->SetCanvas(arg2
);
35486 wxPyEndAllowThreads(__tstate
);
35487 if (PyErr_Occurred()) SWIG_fail
;
35489 Py_INCREF(Py_None
); resultobj
= Py_None
;
35496 static PyObject
*_wrap_Diagram_SetGridSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35497 PyObject
*resultobj
;
35498 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
35500 PyObject
* obj0
= 0 ;
35501 PyObject
* obj1
= 0 ;
35502 char *kwnames
[] = {
35503 (char *) "self",(char *) "spacing", NULL
35506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_SetGridSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
35507 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDiagram
, SWIG_POINTER_EXCEPTION
| 0);
35508 if (SWIG_arg_fail(1)) SWIG_fail
;
35510 arg2
= (double)(SWIG_As_double(obj1
));
35511 if (SWIG_arg_fail(2)) SWIG_fail
;
35514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35515 (arg1
)->SetGridSpacing(arg2
);
35517 wxPyEndAllowThreads(__tstate
);
35518 if (PyErr_Occurred()) SWIG_fail
;
35520 Py_INCREF(Py_None
); resultobj
= Py_None
;
35527 static PyObject
*_wrap_Diagram_SetMouseTolerance(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35528 PyObject
*resultobj
;
35529 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
35531 PyObject
* obj0
= 0 ;
35532 PyObject
* obj1
= 0 ;
35533 char *kwnames
[] = {
35534 (char *) "self",(char *) "tolerance", NULL
35537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_SetMouseTolerance",kwnames
,&obj0
,&obj1
)) goto fail
;
35538 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDiagram
, SWIG_POINTER_EXCEPTION
| 0);
35539 if (SWIG_arg_fail(1)) SWIG_fail
;
35541 arg2
= (int)(SWIG_As_int(obj1
));
35542 if (SWIG_arg_fail(2)) SWIG_fail
;
35545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35546 (arg1
)->SetMouseTolerance(arg2
);
35548 wxPyEndAllowThreads(__tstate
);
35549 if (PyErr_Occurred()) SWIG_fail
;
35551 Py_INCREF(Py_None
); resultobj
= Py_None
;
35558 static PyObject
*_wrap_Diagram_SetQuickEditMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35559 PyObject
*resultobj
;
35560 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
35562 PyObject
* obj0
= 0 ;
35563 PyObject
* obj1
= 0 ;
35564 char *kwnames
[] = {
35565 (char *) "self",(char *) "mode", NULL
35568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_SetQuickEditMode",kwnames
,&obj0
,&obj1
)) goto fail
;
35569 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDiagram
, SWIG_POINTER_EXCEPTION
| 0);
35570 if (SWIG_arg_fail(1)) SWIG_fail
;
35572 arg2
= (bool)(SWIG_As_bool(obj1
));
35573 if (SWIG_arg_fail(2)) SWIG_fail
;
35576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35577 (arg1
)->SetQuickEditMode(arg2
);
35579 wxPyEndAllowThreads(__tstate
);
35580 if (PyErr_Occurred()) SWIG_fail
;
35582 Py_INCREF(Py_None
); resultobj
= Py_None
;
35589 static PyObject
*_wrap_Diagram_SetSnapToGrid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35590 PyObject
*resultobj
;
35591 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
35593 PyObject
* obj0
= 0 ;
35594 PyObject
* obj1
= 0 ;
35595 char *kwnames
[] = {
35596 (char *) "self",(char *) "snap", NULL
35599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_SetSnapToGrid",kwnames
,&obj0
,&obj1
)) goto fail
;
35600 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDiagram
, SWIG_POINTER_EXCEPTION
| 0);
35601 if (SWIG_arg_fail(1)) SWIG_fail
;
35603 arg2
= (bool)(SWIG_As_bool(obj1
));
35604 if (SWIG_arg_fail(2)) SWIG_fail
;
35607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35608 (arg1
)->SetSnapToGrid(arg2
);
35610 wxPyEndAllowThreads(__tstate
);
35611 if (PyErr_Occurred()) SWIG_fail
;
35613 Py_INCREF(Py_None
); resultobj
= Py_None
;
35620 static PyObject
*_wrap_Diagram_ShowAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35621 PyObject
*resultobj
;
35622 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
35624 PyObject
* obj0
= 0 ;
35625 PyObject
* obj1
= 0 ;
35626 char *kwnames
[] = {
35627 (char *) "self",(char *) "show", NULL
35630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Diagram_ShowAll",kwnames
,&obj0
,&obj1
)) goto fail
;
35631 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDiagram
, SWIG_POINTER_EXCEPTION
| 0);
35632 if (SWIG_arg_fail(1)) SWIG_fail
;
35634 arg2
= (bool)(SWIG_As_bool(obj1
));
35635 if (SWIG_arg_fail(2)) SWIG_fail
;
35638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35639 (arg1
)->ShowAll(arg2
);
35641 wxPyEndAllowThreads(__tstate
);
35642 if (PyErr_Occurred()) SWIG_fail
;
35644 Py_INCREF(Py_None
); resultobj
= Py_None
;
35651 static PyObject
*_wrap_Diagram_Snap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35652 PyObject
*resultobj
;
35653 wxDiagram
*arg1
= (wxDiagram
*) 0 ;
35654 double *arg2
= (double *) 0 ;
35655 double *arg3
= (double *) 0 ;
35660 PyObject
* obj0
= 0 ;
35661 PyObject
* obj1
= 0 ;
35662 PyObject
* obj2
= 0 ;
35663 char *kwnames
[] = {
35664 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
35667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Diagram_Snap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35668 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDiagram
, SWIG_POINTER_EXCEPTION
| 0);
35669 if (SWIG_arg_fail(1)) SWIG_fail
;
35671 if (!(SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_double
,0) != -1)) {
35672 temp2
= SWIG_As_double(obj1
);
35673 if (SWIG_arg_fail(2)) SWIG_fail
;
35675 res2
= SWIG_NEWOBJ
;
35679 if (!(SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_double
,0) != -1)) {
35680 temp3
= SWIG_As_double(obj2
);
35681 if (SWIG_arg_fail(3)) SWIG_fail
;
35683 res3
= SWIG_NEWOBJ
;
35687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35688 (arg1
)->Snap(arg2
,arg3
);
35690 wxPyEndAllowThreads(__tstate
);
35691 if (PyErr_Occurred()) SWIG_fail
;
35693 Py_INCREF(Py_None
); resultobj
= Py_None
;
35694 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
35695 SWIG_From_double((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, 0)));
35696 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
35697 SWIG_From_double((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, 0)));
35704 static PyObject
* Diagram_swigregister(PyObject
*, PyObject
*args
) {
35706 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35707 SWIG_TypeClientData(SWIGTYPE_p_wxDiagram
, obj
);
35709 return Py_BuildValue((char *)"");
35711 static PyObject
*_wrap_new_PyShapeCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35712 PyObject
*resultobj
;
35713 wxWindow
*arg1
= (wxWindow
*) NULL
;
35714 int arg2
= (int) -1 ;
35715 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
35716 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
35717 wxSize
const &arg4_defvalue
= wxDefaultSize
;
35718 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
35719 long arg5
= (long) wxBORDER
;
35720 wxString
const &arg6_defvalue
= wxPyShapeCanvasNameStr
;
35721 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
35722 wxPyShapeCanvas
*result
;
35725 bool temp6
= false ;
35726 PyObject
* obj0
= 0 ;
35727 PyObject
* obj1
= 0 ;
35728 PyObject
* obj2
= 0 ;
35729 PyObject
* obj3
= 0 ;
35730 PyObject
* obj4
= 0 ;
35731 PyObject
* obj5
= 0 ;
35732 char *kwnames
[] = {
35733 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
35736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOO:new_PyShapeCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
35738 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
35739 if (SWIG_arg_fail(1)) SWIG_fail
;
35743 arg2
= (int)(SWIG_As_int(obj1
));
35744 if (SWIG_arg_fail(2)) SWIG_fail
;
35750 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
35756 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
35761 arg5
= (long)(SWIG_As_long(obj4
));
35762 if (SWIG_arg_fail(5)) SWIG_fail
;
35767 arg6
= wxString_in_helper(obj5
);
35768 if (arg6
== NULL
) SWIG_fail
;
35773 if (!wxPyCheckForApp()) SWIG_fail
;
35774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35775 result
= (wxPyShapeCanvas
*)new wxPyShapeCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
35777 wxPyEndAllowThreads(__tstate
);
35778 if (PyErr_Occurred()) SWIG_fail
;
35780 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyShapeCanvas
, 1);
35795 static PyObject
*_wrap_PyShapeCanvas__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35796 PyObject
*resultobj
;
35797 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
35798 PyObject
*arg2
= (PyObject
*) 0 ;
35799 PyObject
*arg3
= (PyObject
*) 0 ;
35800 PyObject
* obj0
= 0 ;
35801 PyObject
* obj1
= 0 ;
35802 PyObject
* obj2
= 0 ;
35803 char *kwnames
[] = {
35804 (char *) "self",(char *) "self",(char *) "_class", NULL
35807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShapeCanvas__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35808 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShapeCanvas
, SWIG_POINTER_EXCEPTION
| 0);
35809 if (SWIG_arg_fail(1)) SWIG_fail
;
35813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35814 (arg1
)->_setCallbackInfo(arg2
,arg3
);
35816 wxPyEndAllowThreads(__tstate
);
35817 if (PyErr_Occurred()) SWIG_fail
;
35819 Py_INCREF(Py_None
); resultobj
= Py_None
;
35826 static PyObject
*_wrap_PyShapeCanvas_AddShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35827 PyObject
*resultobj
;
35828 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
35829 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
35830 wxPyShape
*arg3
= (wxPyShape
*) NULL
;
35831 PyObject
* obj0
= 0 ;
35832 PyObject
* obj1
= 0 ;
35833 PyObject
* obj2
= 0 ;
35834 char *kwnames
[] = {
35835 (char *) "self",(char *) "shape",(char *) "addAfter", NULL
35838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyShapeCanvas_AddShape",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35839 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShapeCanvas
, SWIG_POINTER_EXCEPTION
| 0);
35840 if (SWIG_arg_fail(1)) SWIG_fail
;
35841 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
35842 if (SWIG_arg_fail(2)) SWIG_fail
;
35844 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
35845 if (SWIG_arg_fail(3)) SWIG_fail
;
35848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35849 (arg1
)->AddShape(arg2
,arg3
);
35851 wxPyEndAllowThreads(__tstate
);
35852 if (PyErr_Occurred()) SWIG_fail
;
35854 Py_INCREF(Py_None
); resultobj
= Py_None
;
35861 static PyObject
*_wrap_PyShapeCanvas_FindShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35862 PyObject
*resultobj
;
35863 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
35866 int *arg4
= (int *) 0 ;
35867 wxClassInfo
*arg5
= (wxClassInfo
*) NULL
;
35868 wxPyShape
*arg6
= (wxPyShape
*) NULL
;
35872 PyObject
* obj0
= 0 ;
35873 PyObject
* obj1
= 0 ;
35874 PyObject
* obj2
= 0 ;
35875 PyObject
* obj3
= 0 ;
35876 PyObject
* obj4
= 0 ;
35877 char *kwnames
[] = {
35878 (char *) "self",(char *) "x1",(char *) "y",(char *) "info",(char *) "notImage", NULL
35881 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
35882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PyShapeCanvas_FindShape",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
35883 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShapeCanvas
, SWIG_POINTER_EXCEPTION
| 0);
35884 if (SWIG_arg_fail(1)) SWIG_fail
;
35886 arg2
= (double)(SWIG_As_double(obj1
));
35887 if (SWIG_arg_fail(2)) SWIG_fail
;
35890 arg3
= (double)(SWIG_As_double(obj2
));
35891 if (SWIG_arg_fail(3)) SWIG_fail
;
35894 SWIG_Python_ConvertPtr(obj3
, (void **)&arg5
, SWIGTYPE_p_wxClassInfo
, SWIG_POINTER_EXCEPTION
| 0);
35895 if (SWIG_arg_fail(5)) SWIG_fail
;
35898 SWIG_Python_ConvertPtr(obj4
, (void **)&arg6
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
35899 if (SWIG_arg_fail(6)) SWIG_fail
;
35902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35903 result
= (wxPyShape
*)(arg1
)->FindShape(arg2
,arg3
,arg4
,arg5
,arg6
);
35905 wxPyEndAllowThreads(__tstate
);
35906 if (PyErr_Occurred()) SWIG_fail
;
35909 resultobj
= wxPyMake_wxShapeEvtHandler(result
, 0);
35911 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
35912 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
35919 static PyObject
*_wrap_PyShapeCanvas_FindFirstSensitiveShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35920 PyObject
*resultobj
;
35921 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
35924 int *arg4
= (int *) 0 ;
35929 PyObject
* obj0
= 0 ;
35930 PyObject
* obj1
= 0 ;
35931 PyObject
* obj2
= 0 ;
35932 PyObject
* obj3
= 0 ;
35933 char *kwnames
[] = {
35934 (char *) "self",(char *) "x1",(char *) "y",(char *) "op", NULL
35937 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
35938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyShapeCanvas_FindFirstSensitiveShape",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
35939 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShapeCanvas
, SWIG_POINTER_EXCEPTION
| 0);
35940 if (SWIG_arg_fail(1)) SWIG_fail
;
35942 arg2
= (double)(SWIG_As_double(obj1
));
35943 if (SWIG_arg_fail(2)) SWIG_fail
;
35946 arg3
= (double)(SWIG_As_double(obj2
));
35947 if (SWIG_arg_fail(3)) SWIG_fail
;
35950 arg5
= (int)(SWIG_As_int(obj3
));
35951 if (SWIG_arg_fail(5)) SWIG_fail
;
35954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35955 result
= (wxPyShape
*)(arg1
)->FindFirstSensitiveShape(arg2
,arg3
,arg4
,arg5
);
35957 wxPyEndAllowThreads(__tstate
);
35958 if (PyErr_Occurred()) SWIG_fail
;
35961 resultobj
= wxPyMake_wxShapeEvtHandler(result
, 0);
35963 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
35964 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
35971 static PyObject
*_wrap_PyShapeCanvas_GetDiagram(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35972 PyObject
*resultobj
;
35973 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
35975 PyObject
* obj0
= 0 ;
35976 char *kwnames
[] = {
35977 (char *) "self", NULL
35980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShapeCanvas_GetDiagram",kwnames
,&obj0
)) goto fail
;
35981 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShapeCanvas
, SWIG_POINTER_EXCEPTION
| 0);
35982 if (SWIG_arg_fail(1)) SWIG_fail
;
35984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35985 result
= (wxDiagram
*)(arg1
)->GetDiagram();
35987 wxPyEndAllowThreads(__tstate
);
35988 if (PyErr_Occurred()) SWIG_fail
;
35991 resultobj
= wxPyMake_wxObject(result
, 0);
35999 static PyObject
*_wrap_PyShapeCanvas_GetQuickEditMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36000 PyObject
*resultobj
;
36001 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
36003 PyObject
* obj0
= 0 ;
36004 char *kwnames
[] = {
36005 (char *) "self", NULL
36008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyShapeCanvas_GetQuickEditMode",kwnames
,&obj0
)) goto fail
;
36009 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShapeCanvas
, SWIG_POINTER_EXCEPTION
| 0);
36010 if (SWIG_arg_fail(1)) SWIG_fail
;
36012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36013 result
= (bool)(arg1
)->GetQuickEditMode();
36015 wxPyEndAllowThreads(__tstate
);
36016 if (PyErr_Occurred()) SWIG_fail
;
36019 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36027 static PyObject
*_wrap_PyShapeCanvas_InsertShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36028 PyObject
*resultobj
;
36029 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
36030 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
36031 PyObject
* obj0
= 0 ;
36032 PyObject
* obj1
= 0 ;
36033 char *kwnames
[] = {
36034 (char *) "self",(char *) "shape", NULL
36037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeCanvas_InsertShape",kwnames
,&obj0
,&obj1
)) goto fail
;
36038 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShapeCanvas
, SWIG_POINTER_EXCEPTION
| 0);
36039 if (SWIG_arg_fail(1)) SWIG_fail
;
36040 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
36041 if (SWIG_arg_fail(2)) SWIG_fail
;
36043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36044 (arg1
)->InsertShape(arg2
);
36046 wxPyEndAllowThreads(__tstate
);
36047 if (PyErr_Occurred()) SWIG_fail
;
36049 Py_INCREF(Py_None
); resultobj
= Py_None
;
36056 static PyObject
*_wrap_PyShapeCanvas_base_OnBeginDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36057 PyObject
*resultobj
;
36058 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
36061 int arg4
= (int) 0 ;
36062 PyObject
* obj0
= 0 ;
36063 PyObject
* obj1
= 0 ;
36064 PyObject
* obj2
= 0 ;
36065 PyObject
* obj3
= 0 ;
36066 char *kwnames
[] = {
36067 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
36070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyShapeCanvas_base_OnBeginDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
36071 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShapeCanvas
, SWIG_POINTER_EXCEPTION
| 0);
36072 if (SWIG_arg_fail(1)) SWIG_fail
;
36074 arg2
= (double)(SWIG_As_double(obj1
));
36075 if (SWIG_arg_fail(2)) SWIG_fail
;
36078 arg3
= (double)(SWIG_As_double(obj2
));
36079 if (SWIG_arg_fail(3)) SWIG_fail
;
36083 arg4
= (int)(SWIG_As_int(obj3
));
36084 if (SWIG_arg_fail(4)) SWIG_fail
;
36088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36089 (arg1
)->base_OnBeginDragLeft(arg2
,arg3
,arg4
);
36091 wxPyEndAllowThreads(__tstate
);
36092 if (PyErr_Occurred()) SWIG_fail
;
36094 Py_INCREF(Py_None
); resultobj
= Py_None
;
36101 static PyObject
*_wrap_PyShapeCanvas_base_OnBeginDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36102 PyObject
*resultobj
;
36103 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
36106 int arg4
= (int) 0 ;
36107 PyObject
* obj0
= 0 ;
36108 PyObject
* obj1
= 0 ;
36109 PyObject
* obj2
= 0 ;
36110 PyObject
* obj3
= 0 ;
36111 char *kwnames
[] = {
36112 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
36115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyShapeCanvas_base_OnBeginDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
36116 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShapeCanvas
, SWIG_POINTER_EXCEPTION
| 0);
36117 if (SWIG_arg_fail(1)) SWIG_fail
;
36119 arg2
= (double)(SWIG_As_double(obj1
));
36120 if (SWIG_arg_fail(2)) SWIG_fail
;
36123 arg3
= (double)(SWIG_As_double(obj2
));
36124 if (SWIG_arg_fail(3)) SWIG_fail
;
36128 arg4
= (int)(SWIG_As_int(obj3
));
36129 if (SWIG_arg_fail(4)) SWIG_fail
;
36133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36134 (arg1
)->base_OnBeginDragRight(arg2
,arg3
,arg4
);
36136 wxPyEndAllowThreads(__tstate
);
36137 if (PyErr_Occurred()) SWIG_fail
;
36139 Py_INCREF(Py_None
); resultobj
= Py_None
;
36146 static PyObject
*_wrap_PyShapeCanvas_base_OnEndDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36147 PyObject
*resultobj
;
36148 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
36151 int arg4
= (int) 0 ;
36152 PyObject
* obj0
= 0 ;
36153 PyObject
* obj1
= 0 ;
36154 PyObject
* obj2
= 0 ;
36155 PyObject
* obj3
= 0 ;
36156 char *kwnames
[] = {
36157 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
36160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyShapeCanvas_base_OnEndDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
36161 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShapeCanvas
, SWIG_POINTER_EXCEPTION
| 0);
36162 if (SWIG_arg_fail(1)) SWIG_fail
;
36164 arg2
= (double)(SWIG_As_double(obj1
));
36165 if (SWIG_arg_fail(2)) SWIG_fail
;
36168 arg3
= (double)(SWIG_As_double(obj2
));
36169 if (SWIG_arg_fail(3)) SWIG_fail
;
36173 arg4
= (int)(SWIG_As_int(obj3
));
36174 if (SWIG_arg_fail(4)) SWIG_fail
;
36178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36179 (arg1
)->base_OnEndDragLeft(arg2
,arg3
,arg4
);
36181 wxPyEndAllowThreads(__tstate
);
36182 if (PyErr_Occurred()) SWIG_fail
;
36184 Py_INCREF(Py_None
); resultobj
= Py_None
;
36191 static PyObject
*_wrap_PyShapeCanvas_base_OnEndDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36192 PyObject
*resultobj
;
36193 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
36196 int arg4
= (int) 0 ;
36197 PyObject
* obj0
= 0 ;
36198 PyObject
* obj1
= 0 ;
36199 PyObject
* obj2
= 0 ;
36200 PyObject
* obj3
= 0 ;
36201 char *kwnames
[] = {
36202 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
36205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyShapeCanvas_base_OnEndDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
36206 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShapeCanvas
, SWIG_POINTER_EXCEPTION
| 0);
36207 if (SWIG_arg_fail(1)) SWIG_fail
;
36209 arg2
= (double)(SWIG_As_double(obj1
));
36210 if (SWIG_arg_fail(2)) SWIG_fail
;
36213 arg3
= (double)(SWIG_As_double(obj2
));
36214 if (SWIG_arg_fail(3)) SWIG_fail
;
36218 arg4
= (int)(SWIG_As_int(obj3
));
36219 if (SWIG_arg_fail(4)) SWIG_fail
;
36223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36224 (arg1
)->base_OnEndDragRight(arg2
,arg3
,arg4
);
36226 wxPyEndAllowThreads(__tstate
);
36227 if (PyErr_Occurred()) SWIG_fail
;
36229 Py_INCREF(Py_None
); resultobj
= Py_None
;
36236 static PyObject
*_wrap_PyShapeCanvas_base_OnDragLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36237 PyObject
*resultobj
;
36238 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
36242 int arg5
= (int) 0 ;
36243 PyObject
* obj0
= 0 ;
36244 PyObject
* obj1
= 0 ;
36245 PyObject
* obj2
= 0 ;
36246 PyObject
* obj3
= 0 ;
36247 PyObject
* obj4
= 0 ;
36248 char *kwnames
[] = {
36249 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys", NULL
36252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PyShapeCanvas_base_OnDragLeft",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
36253 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShapeCanvas
, SWIG_POINTER_EXCEPTION
| 0);
36254 if (SWIG_arg_fail(1)) SWIG_fail
;
36256 arg2
= (bool)(SWIG_As_bool(obj1
));
36257 if (SWIG_arg_fail(2)) SWIG_fail
;
36260 arg3
= (double)(SWIG_As_double(obj2
));
36261 if (SWIG_arg_fail(3)) SWIG_fail
;
36264 arg4
= (double)(SWIG_As_double(obj3
));
36265 if (SWIG_arg_fail(4)) SWIG_fail
;
36269 arg5
= (int)(SWIG_As_int(obj4
));
36270 if (SWIG_arg_fail(5)) SWIG_fail
;
36274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36275 (arg1
)->base_OnDragLeft(arg2
,arg3
,arg4
,arg5
);
36277 wxPyEndAllowThreads(__tstate
);
36278 if (PyErr_Occurred()) SWIG_fail
;
36280 Py_INCREF(Py_None
); resultobj
= Py_None
;
36287 static PyObject
*_wrap_PyShapeCanvas_base_OnDragRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36288 PyObject
*resultobj
;
36289 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
36293 int arg5
= (int) 0 ;
36294 PyObject
* obj0
= 0 ;
36295 PyObject
* obj1
= 0 ;
36296 PyObject
* obj2
= 0 ;
36297 PyObject
* obj3
= 0 ;
36298 PyObject
* obj4
= 0 ;
36299 char *kwnames
[] = {
36300 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys", NULL
36303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PyShapeCanvas_base_OnDragRight",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
36304 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShapeCanvas
, SWIG_POINTER_EXCEPTION
| 0);
36305 if (SWIG_arg_fail(1)) SWIG_fail
;
36307 arg2
= (bool)(SWIG_As_bool(obj1
));
36308 if (SWIG_arg_fail(2)) SWIG_fail
;
36311 arg3
= (double)(SWIG_As_double(obj2
));
36312 if (SWIG_arg_fail(3)) SWIG_fail
;
36315 arg4
= (double)(SWIG_As_double(obj3
));
36316 if (SWIG_arg_fail(4)) SWIG_fail
;
36320 arg5
= (int)(SWIG_As_int(obj4
));
36321 if (SWIG_arg_fail(5)) SWIG_fail
;
36325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36326 (arg1
)->base_OnDragRight(arg2
,arg3
,arg4
,arg5
);
36328 wxPyEndAllowThreads(__tstate
);
36329 if (PyErr_Occurred()) SWIG_fail
;
36331 Py_INCREF(Py_None
); resultobj
= Py_None
;
36338 static PyObject
*_wrap_PyShapeCanvas_base_OnLeftClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36339 PyObject
*resultobj
;
36340 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
36343 int arg4
= (int) 0 ;
36344 PyObject
* obj0
= 0 ;
36345 PyObject
* obj1
= 0 ;
36346 PyObject
* obj2
= 0 ;
36347 PyObject
* obj3
= 0 ;
36348 char *kwnames
[] = {
36349 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
36352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyShapeCanvas_base_OnLeftClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
36353 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShapeCanvas
, SWIG_POINTER_EXCEPTION
| 0);
36354 if (SWIG_arg_fail(1)) SWIG_fail
;
36356 arg2
= (double)(SWIG_As_double(obj1
));
36357 if (SWIG_arg_fail(2)) SWIG_fail
;
36360 arg3
= (double)(SWIG_As_double(obj2
));
36361 if (SWIG_arg_fail(3)) SWIG_fail
;
36365 arg4
= (int)(SWIG_As_int(obj3
));
36366 if (SWIG_arg_fail(4)) SWIG_fail
;
36370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36371 (arg1
)->base_OnLeftClick(arg2
,arg3
,arg4
);
36373 wxPyEndAllowThreads(__tstate
);
36374 if (PyErr_Occurred()) SWIG_fail
;
36376 Py_INCREF(Py_None
); resultobj
= Py_None
;
36383 static PyObject
*_wrap_PyShapeCanvas_base_OnRightClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36384 PyObject
*resultobj
;
36385 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
36388 int arg4
= (int) 0 ;
36389 PyObject
* obj0
= 0 ;
36390 PyObject
* obj1
= 0 ;
36391 PyObject
* obj2
= 0 ;
36392 PyObject
* obj3
= 0 ;
36393 char *kwnames
[] = {
36394 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
36397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyShapeCanvas_base_OnRightClick",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
36398 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShapeCanvas
, SWIG_POINTER_EXCEPTION
| 0);
36399 if (SWIG_arg_fail(1)) SWIG_fail
;
36401 arg2
= (double)(SWIG_As_double(obj1
));
36402 if (SWIG_arg_fail(2)) SWIG_fail
;
36405 arg3
= (double)(SWIG_As_double(obj2
));
36406 if (SWIG_arg_fail(3)) SWIG_fail
;
36410 arg4
= (int)(SWIG_As_int(obj3
));
36411 if (SWIG_arg_fail(4)) SWIG_fail
;
36415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36416 (arg1
)->base_OnRightClick(arg2
,arg3
,arg4
);
36418 wxPyEndAllowThreads(__tstate
);
36419 if (PyErr_Occurred()) SWIG_fail
;
36421 Py_INCREF(Py_None
); resultobj
= Py_None
;
36428 static PyObject
*_wrap_PyShapeCanvas_Redraw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36429 PyObject
*resultobj
;
36430 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
36432 PyObject
* obj0
= 0 ;
36433 PyObject
* obj1
= 0 ;
36434 char *kwnames
[] = {
36435 (char *) "self",(char *) "dc", NULL
36438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeCanvas_Redraw",kwnames
,&obj0
,&obj1
)) goto fail
;
36439 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShapeCanvas
, SWIG_POINTER_EXCEPTION
| 0);
36440 if (SWIG_arg_fail(1)) SWIG_fail
;
36442 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
36443 if (SWIG_arg_fail(2)) SWIG_fail
;
36444 if (arg2
== NULL
) {
36445 SWIG_null_ref("wxDC");
36447 if (SWIG_arg_fail(2)) SWIG_fail
;
36450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36451 (arg1
)->Redraw(*arg2
);
36453 wxPyEndAllowThreads(__tstate
);
36454 if (PyErr_Occurred()) SWIG_fail
;
36456 Py_INCREF(Py_None
); resultobj
= Py_None
;
36463 static PyObject
*_wrap_PyShapeCanvas_RemoveShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36464 PyObject
*resultobj
;
36465 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
36466 wxPyShape
*arg2
= (wxPyShape
*) 0 ;
36467 PyObject
* obj0
= 0 ;
36468 PyObject
* obj1
= 0 ;
36469 char *kwnames
[] = {
36470 (char *) "self",(char *) "shape", NULL
36473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeCanvas_RemoveShape",kwnames
,&obj0
,&obj1
)) goto fail
;
36474 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShapeCanvas
, SWIG_POINTER_EXCEPTION
| 0);
36475 if (SWIG_arg_fail(1)) SWIG_fail
;
36476 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyShape
, SWIG_POINTER_EXCEPTION
| 0);
36477 if (SWIG_arg_fail(2)) SWIG_fail
;
36479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36480 (arg1
)->RemoveShape(arg2
);
36482 wxPyEndAllowThreads(__tstate
);
36483 if (PyErr_Occurred()) SWIG_fail
;
36485 Py_INCREF(Py_None
); resultobj
= Py_None
;
36492 static PyObject
*_wrap_PyShapeCanvas_SetDiagram(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36493 PyObject
*resultobj
;
36494 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
36495 wxDiagram
*arg2
= (wxDiagram
*) 0 ;
36496 PyObject
* obj0
= 0 ;
36497 PyObject
* obj1
= 0 ;
36498 char *kwnames
[] = {
36499 (char *) "self",(char *) "diagram", NULL
36502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyShapeCanvas_SetDiagram",kwnames
,&obj0
,&obj1
)) goto fail
;
36503 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShapeCanvas
, SWIG_POINTER_EXCEPTION
| 0);
36504 if (SWIG_arg_fail(1)) SWIG_fail
;
36505 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDiagram
, SWIG_POINTER_EXCEPTION
| 0);
36506 if (SWIG_arg_fail(2)) SWIG_fail
;
36508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36509 (arg1
)->SetDiagram(arg2
);
36511 wxPyEndAllowThreads(__tstate
);
36512 if (PyErr_Occurred()) SWIG_fail
;
36514 Py_INCREF(Py_None
); resultobj
= Py_None
;
36521 static PyObject
*_wrap_PyShapeCanvas_Snap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36522 PyObject
*resultobj
;
36523 wxPyShapeCanvas
*arg1
= (wxPyShapeCanvas
*) 0 ;
36524 double *arg2
= (double *) 0 ;
36525 double *arg3
= (double *) 0 ;
36530 PyObject
* obj0
= 0 ;
36531 PyObject
* obj1
= 0 ;
36532 PyObject
* obj2
= 0 ;
36533 char *kwnames
[] = {
36534 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
36537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyShapeCanvas_Snap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36538 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyShapeCanvas
, SWIG_POINTER_EXCEPTION
| 0);
36539 if (SWIG_arg_fail(1)) SWIG_fail
;
36541 if (!(SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_double
,0) != -1)) {
36542 temp2
= SWIG_As_double(obj1
);
36543 if (SWIG_arg_fail(2)) SWIG_fail
;
36545 res2
= SWIG_NEWOBJ
;
36549 if (!(SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_double
,0) != -1)) {
36550 temp3
= SWIG_As_double(obj2
);
36551 if (SWIG_arg_fail(3)) SWIG_fail
;
36553 res3
= SWIG_NEWOBJ
;
36557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36558 (arg1
)->Snap(arg2
,arg3
);
36560 wxPyEndAllowThreads(__tstate
);
36561 if (PyErr_Occurred()) SWIG_fail
;
36563 Py_INCREF(Py_None
); resultobj
= Py_None
;
36564 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
36565 SWIG_From_double((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, 0)));
36566 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
36567 SWIG_From_double((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, 0)));
36574 static PyObject
* PyShapeCanvas_swigregister(PyObject
*, PyObject
*args
) {
36576 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36577 SWIG_TypeClientData(SWIGTYPE_p_wxPyShapeCanvas
, obj
);
36579 return Py_BuildValue((char *)"");
36581 static PyObject
*_wrap_OGLInitialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36582 PyObject
*resultobj
;
36583 char *kwnames
[] = {
36587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":OGLInitialize",kwnames
)) goto fail
;
36589 if (!wxPyCheckForApp()) SWIG_fail
;
36590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36593 wxPyEndAllowThreads(__tstate
);
36594 if (PyErr_Occurred()) SWIG_fail
;
36596 Py_INCREF(Py_None
); resultobj
= Py_None
;
36603 static PyObject
*_wrap_OGLCleanUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36604 PyObject
*resultobj
;
36605 char *kwnames
[] = {
36609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":OGLCleanUp",kwnames
)) goto fail
;
36611 if (!wxPyCheckForApp()) SWIG_fail
;
36612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36615 wxPyEndAllowThreads(__tstate
);
36616 if (PyErr_Occurred()) SWIG_fail
;
36618 Py_INCREF(Py_None
); resultobj
= Py_None
;
36625 static PyMethodDef SwigMethods
[] = {
36626 { (char *)"new_ShapeRegion", (PyCFunction
) _wrap_new_ShapeRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36627 { (char *)"ShapeRegion_SetText", (PyCFunction
) _wrap_ShapeRegion_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36628 { (char *)"ShapeRegion_SetFont", (PyCFunction
) _wrap_ShapeRegion_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36629 { (char *)"ShapeRegion_SetMinSize", (PyCFunction
) _wrap_ShapeRegion_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36630 { (char *)"ShapeRegion_SetSize", (PyCFunction
) _wrap_ShapeRegion_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36631 { (char *)"ShapeRegion_SetPosition", (PyCFunction
) _wrap_ShapeRegion_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36632 { (char *)"ShapeRegion_SetProportions", (PyCFunction
) _wrap_ShapeRegion_SetProportions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36633 { (char *)"ShapeRegion_SetFormatMode", (PyCFunction
) _wrap_ShapeRegion_SetFormatMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36634 { (char *)"ShapeRegion_SetName", (PyCFunction
) _wrap_ShapeRegion_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36635 { (char *)"ShapeRegion_SetColour", (PyCFunction
) _wrap_ShapeRegion_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36636 { (char *)"ShapeRegion_GetText", (PyCFunction
) _wrap_ShapeRegion_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36637 { (char *)"ShapeRegion_GetFont", (PyCFunction
) _wrap_ShapeRegion_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36638 { (char *)"ShapeRegion_GetMinSize", (PyCFunction
) _wrap_ShapeRegion_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36639 { (char *)"ShapeRegion_GetProportion", (PyCFunction
) _wrap_ShapeRegion_GetProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36640 { (char *)"ShapeRegion_GetSize", (PyCFunction
) _wrap_ShapeRegion_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36641 { (char *)"ShapeRegion_GetPosition", (PyCFunction
) _wrap_ShapeRegion_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36642 { (char *)"ShapeRegion_GetFormatMode", (PyCFunction
) _wrap_ShapeRegion_GetFormatMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36643 { (char *)"ShapeRegion_GetName", (PyCFunction
) _wrap_ShapeRegion_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36644 { (char *)"ShapeRegion_GetColour", (PyCFunction
) _wrap_ShapeRegion_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36645 { (char *)"ShapeRegion_GetActualColourObject", (PyCFunction
) _wrap_ShapeRegion_GetActualColourObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36646 { (char *)"ShapeRegion_GetFormattedText", (PyCFunction
) _wrap_ShapeRegion_GetFormattedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36647 { (char *)"ShapeRegion_GetPenColour", (PyCFunction
) _wrap_ShapeRegion_GetPenColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36648 { (char *)"ShapeRegion_GetPenStyle", (PyCFunction
) _wrap_ShapeRegion_GetPenStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36649 { (char *)"ShapeRegion_SetPenStyle", (PyCFunction
) _wrap_ShapeRegion_SetPenStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36650 { (char *)"ShapeRegion_SetPenColour", (PyCFunction
) _wrap_ShapeRegion_SetPenColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36651 { (char *)"ShapeRegion_GetActualPen", (PyCFunction
) _wrap_ShapeRegion_GetActualPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36652 { (char *)"ShapeRegion_GetWidth", (PyCFunction
) _wrap_ShapeRegion_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36653 { (char *)"ShapeRegion_GetHeight", (PyCFunction
) _wrap_ShapeRegion_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36654 { (char *)"ShapeRegion_ClearText", (PyCFunction
) _wrap_ShapeRegion_ClearText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36655 { (char *)"ShapeRegion_swigregister", ShapeRegion_swigregister
, METH_VARARGS
, NULL
},
36656 { (char *)"new_AttachmentPoint", (PyCFunction
) _wrap_new_AttachmentPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36657 { (char *)"AttachmentPoint_m_id_set", (PyCFunction
) _wrap_AttachmentPoint_m_id_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36658 { (char *)"AttachmentPoint_m_id_get", (PyCFunction
) _wrap_AttachmentPoint_m_id_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36659 { (char *)"AttachmentPoint_m_x_set", (PyCFunction
) _wrap_AttachmentPoint_m_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36660 { (char *)"AttachmentPoint_m_x_get", (PyCFunction
) _wrap_AttachmentPoint_m_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36661 { (char *)"AttachmentPoint_m_y_set", (PyCFunction
) _wrap_AttachmentPoint_m_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36662 { (char *)"AttachmentPoint_m_y_get", (PyCFunction
) _wrap_AttachmentPoint_m_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36663 { (char *)"AttachmentPoint_swigregister", AttachmentPoint_swigregister
, METH_VARARGS
, NULL
},
36664 { (char *)"new_PyShapeEvtHandler", (PyCFunction
) _wrap_new_PyShapeEvtHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36665 { (char *)"PyShapeEvtHandler__setCallbackInfo", (PyCFunction
) _wrap_PyShapeEvtHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36666 { (char *)"PyShapeEvtHandler__setOORInfo", (PyCFunction
) _wrap_PyShapeEvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36667 { (char *)"PyShapeEvtHandler_SetShape", (PyCFunction
) _wrap_PyShapeEvtHandler_SetShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36668 { (char *)"PyShapeEvtHandler_GetShape", (PyCFunction
) _wrap_PyShapeEvtHandler_GetShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36669 { (char *)"PyShapeEvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_PyShapeEvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36670 { (char *)"PyShapeEvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_PyShapeEvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36671 { (char *)"PyShapeEvtHandler_CreateNewCopy", (PyCFunction
) _wrap_PyShapeEvtHandler_CreateNewCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36672 { (char *)"PyShapeEvtHandler_base_OnDelete", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36673 { (char *)"PyShapeEvtHandler_base_OnDraw", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36674 { (char *)"PyShapeEvtHandler_base_OnDrawContents", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36675 { (char *)"PyShapeEvtHandler_base_OnDrawBranches", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36676 { (char *)"PyShapeEvtHandler_base_OnMoveLinks", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36677 { (char *)"PyShapeEvtHandler_base_OnErase", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36678 { (char *)"PyShapeEvtHandler_base_OnEraseContents", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36679 { (char *)"PyShapeEvtHandler_base_OnHighlight", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36680 { (char *)"PyShapeEvtHandler_base_OnLeftClick", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36681 { (char *)"PyShapeEvtHandler_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36682 { (char *)"PyShapeEvtHandler_base_OnRightClick", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36683 { (char *)"PyShapeEvtHandler_base_OnSize", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36684 { (char *)"PyShapeEvtHandler_base_OnMovePre", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36685 { (char *)"PyShapeEvtHandler_base_OnMovePost", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36686 { (char *)"PyShapeEvtHandler_base_OnDragLeft", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36687 { (char *)"PyShapeEvtHandler_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36688 { (char *)"PyShapeEvtHandler_base_OnEndDragLeft", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36689 { (char *)"PyShapeEvtHandler_base_OnDragRight", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36690 { (char *)"PyShapeEvtHandler_base_OnBeginDragRight", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36691 { (char *)"PyShapeEvtHandler_base_OnEndDragRight", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36692 { (char *)"PyShapeEvtHandler_base_OnDrawOutline", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36693 { (char *)"PyShapeEvtHandler_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36694 { (char *)"PyShapeEvtHandler_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36695 { (char *)"PyShapeEvtHandler_base_OnMoveLink", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36696 { (char *)"PyShapeEvtHandler_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36697 { (char *)"PyShapeEvtHandler_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36698 { (char *)"PyShapeEvtHandler_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36699 { (char *)"PyShapeEvtHandler_base_OnBeginSize", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36700 { (char *)"PyShapeEvtHandler_base_OnEndSize", (PyCFunction
) _wrap_PyShapeEvtHandler_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36701 { (char *)"PyShapeEvtHandler_swigregister", PyShapeEvtHandler_swigregister
, METH_VARARGS
, NULL
},
36702 { (char *)"new_PyShape", (PyCFunction
) _wrap_new_PyShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36703 { (char *)"PyShape__setCallbackInfo", (PyCFunction
) _wrap_PyShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36704 { (char *)"PyShape_GetBoundingBoxMax", (PyCFunction
) _wrap_PyShape_GetBoundingBoxMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36705 { (char *)"PyShape_GetBoundingBoxMin", (PyCFunction
) _wrap_PyShape_GetBoundingBoxMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36706 { (char *)"PyShape_GetPerimeterPoint", (PyCFunction
) _wrap_PyShape_GetPerimeterPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36707 { (char *)"PyShape_GetCanvas", (PyCFunction
) _wrap_PyShape_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36708 { (char *)"PyShape_SetCanvas", (PyCFunction
) _wrap_PyShape_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36709 { (char *)"PyShape_AddToCanvas", (PyCFunction
) _wrap_PyShape_AddToCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36710 { (char *)"PyShape_InsertInCanvas", (PyCFunction
) _wrap_PyShape_InsertInCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36711 { (char *)"PyShape_RemoveFromCanvas", (PyCFunction
) _wrap_PyShape_RemoveFromCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36712 { (char *)"PyShape_GetX", (PyCFunction
) _wrap_PyShape_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36713 { (char *)"PyShape_GetY", (PyCFunction
) _wrap_PyShape_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36714 { (char *)"PyShape_SetX", (PyCFunction
) _wrap_PyShape_SetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36715 { (char *)"PyShape_SetY", (PyCFunction
) _wrap_PyShape_SetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36716 { (char *)"PyShape_GetParent", (PyCFunction
) _wrap_PyShape_GetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36717 { (char *)"PyShape_SetParent", (PyCFunction
) _wrap_PyShape_SetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36718 { (char *)"PyShape_GetTopAncestor", (PyCFunction
) _wrap_PyShape_GetTopAncestor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36719 { (char *)"PyShape_GetChildren", (PyCFunction
) _wrap_PyShape_GetChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36720 { (char *)"PyShape_Unlink", (PyCFunction
) _wrap_PyShape_Unlink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36721 { (char *)"PyShape_SetDrawHandles", (PyCFunction
) _wrap_PyShape_SetDrawHandles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36722 { (char *)"PyShape_GetDrawHandles", (PyCFunction
) _wrap_PyShape_GetDrawHandles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36723 { (char *)"PyShape_MakeControlPoints", (PyCFunction
) _wrap_PyShape_MakeControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36724 { (char *)"PyShape_DeleteControlPoints", (PyCFunction
) _wrap_PyShape_DeleteControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36725 { (char *)"PyShape_ResetControlPoints", (PyCFunction
) _wrap_PyShape_ResetControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36726 { (char *)"PyShape_GetEventHandler", (PyCFunction
) _wrap_PyShape_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36727 { (char *)"PyShape_SetEventHandler", (PyCFunction
) _wrap_PyShape_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36728 { (char *)"PyShape_MakeMandatoryControlPoints", (PyCFunction
) _wrap_PyShape_MakeMandatoryControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36729 { (char *)"PyShape_ResetMandatoryControlPoints", (PyCFunction
) _wrap_PyShape_ResetMandatoryControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36730 { (char *)"PyShape_Recompute", (PyCFunction
) _wrap_PyShape_Recompute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36731 { (char *)"PyShape_CalculateSize", (PyCFunction
) _wrap_PyShape_CalculateSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36732 { (char *)"PyShape_Select", (PyCFunction
) _wrap_PyShape_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36733 { (char *)"PyShape_SetHighlight", (PyCFunction
) _wrap_PyShape_SetHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36734 { (char *)"PyShape_IsHighlighted", (PyCFunction
) _wrap_PyShape_IsHighlighted
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36735 { (char *)"PyShape_Selected", (PyCFunction
) _wrap_PyShape_Selected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36736 { (char *)"PyShape_AncestorSelected", (PyCFunction
) _wrap_PyShape_AncestorSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36737 { (char *)"PyShape_SetSensitivityFilter", (PyCFunction
) _wrap_PyShape_SetSensitivityFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36738 { (char *)"PyShape_GetSensitivityFilter", (PyCFunction
) _wrap_PyShape_GetSensitivityFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36739 { (char *)"PyShape_SetDraggable", (PyCFunction
) _wrap_PyShape_SetDraggable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36740 { (char *)"PyShape_SetFixedSize", (PyCFunction
) _wrap_PyShape_SetFixedSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36741 { (char *)"PyShape_GetFixedSize", (PyCFunction
) _wrap_PyShape_GetFixedSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36742 { (char *)"PyShape_GetFixedWidth", (PyCFunction
) _wrap_PyShape_GetFixedWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36743 { (char *)"PyShape_GetFixedHeight", (PyCFunction
) _wrap_PyShape_GetFixedHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36744 { (char *)"PyShape_SetSpaceAttachments", (PyCFunction
) _wrap_PyShape_SetSpaceAttachments
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36745 { (char *)"PyShape_GetSpaceAttachments", (PyCFunction
) _wrap_PyShape_GetSpaceAttachments
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36746 { (char *)"PyShape_SetShadowMode", (PyCFunction
) _wrap_PyShape_SetShadowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36747 { (char *)"PyShape_GetShadowMode", (PyCFunction
) _wrap_PyShape_GetShadowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36748 { (char *)"PyShape_HitTest", (PyCFunction
) _wrap_PyShape_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36749 { (char *)"PyShape_SetCentreResize", (PyCFunction
) _wrap_PyShape_SetCentreResize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36750 { (char *)"PyShape_GetCentreResize", (PyCFunction
) _wrap_PyShape_GetCentreResize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36751 { (char *)"PyShape_SetMaintainAspectRatio", (PyCFunction
) _wrap_PyShape_SetMaintainAspectRatio
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36752 { (char *)"PyShape_GetMaintainAspectRatio", (PyCFunction
) _wrap_PyShape_GetMaintainAspectRatio
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36753 { (char *)"PyShape_GetLines", (PyCFunction
) _wrap_PyShape_GetLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36754 { (char *)"PyShape_SetDisableLabel", (PyCFunction
) _wrap_PyShape_SetDisableLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36755 { (char *)"PyShape_GetDisableLabel", (PyCFunction
) _wrap_PyShape_GetDisableLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36756 { (char *)"PyShape_SetAttachmentMode", (PyCFunction
) _wrap_PyShape_SetAttachmentMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36757 { (char *)"PyShape_GetAttachmentMode", (PyCFunction
) _wrap_PyShape_GetAttachmentMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36758 { (char *)"PyShape_SetId", (PyCFunction
) _wrap_PyShape_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36759 { (char *)"PyShape_GetId", (PyCFunction
) _wrap_PyShape_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36760 { (char *)"PyShape_SetPen", (PyCFunction
) _wrap_PyShape_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36761 { (char *)"PyShape_SetBrush", (PyCFunction
) _wrap_PyShape_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36762 { (char *)"PyShape_Show", (PyCFunction
) _wrap_PyShape_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36763 { (char *)"PyShape_IsShown", (PyCFunction
) _wrap_PyShape_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36764 { (char *)"PyShape_Move", (PyCFunction
) _wrap_PyShape_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36765 { (char *)"PyShape_Erase", (PyCFunction
) _wrap_PyShape_Erase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36766 { (char *)"PyShape_EraseContents", (PyCFunction
) _wrap_PyShape_EraseContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36767 { (char *)"PyShape_Draw", (PyCFunction
) _wrap_PyShape_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36768 { (char *)"PyShape_Flash", (PyCFunction
) _wrap_PyShape_Flash
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36769 { (char *)"PyShape_MoveLinks", (PyCFunction
) _wrap_PyShape_MoveLinks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36770 { (char *)"PyShape_DrawContents", (PyCFunction
) _wrap_PyShape_DrawContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36771 { (char *)"PyShape_SetSize", (PyCFunction
) _wrap_PyShape_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36772 { (char *)"PyShape_SetAttachmentSize", (PyCFunction
) _wrap_PyShape_SetAttachmentSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36773 { (char *)"PyShape_Attach", (PyCFunction
) _wrap_PyShape_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36774 { (char *)"PyShape_Detach", (PyCFunction
) _wrap_PyShape_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36775 { (char *)"PyShape_Constrain", (PyCFunction
) _wrap_PyShape_Constrain
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36776 { (char *)"PyShape_AddLine", (PyCFunction
) _wrap_PyShape_AddLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36777 { (char *)"PyShape_GetLinePosition", (PyCFunction
) _wrap_PyShape_GetLinePosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36778 { (char *)"PyShape_AddText", (PyCFunction
) _wrap_PyShape_AddText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36779 { (char *)"PyShape_GetPen", (PyCFunction
) _wrap_PyShape_GetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36780 { (char *)"PyShape_GetBrush", (PyCFunction
) _wrap_PyShape_GetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36781 { (char *)"PyShape_SetDefaultRegionSize", (PyCFunction
) _wrap_PyShape_SetDefaultRegionSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36782 { (char *)"PyShape_FormatText", (PyCFunction
) _wrap_PyShape_FormatText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36783 { (char *)"PyShape_SetFormatMode", (PyCFunction
) _wrap_PyShape_SetFormatMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36784 { (char *)"PyShape_GetFormatMode", (PyCFunction
) _wrap_PyShape_GetFormatMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36785 { (char *)"PyShape_SetFont", (PyCFunction
) _wrap_PyShape_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36786 { (char *)"PyShape_GetFont", (PyCFunction
) _wrap_PyShape_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36787 { (char *)"PyShape_SetTextColour", (PyCFunction
) _wrap_PyShape_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36788 { (char *)"PyShape_GetTextColour", (PyCFunction
) _wrap_PyShape_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36789 { (char *)"PyShape_GetNumberOfTextRegions", (PyCFunction
) _wrap_PyShape_GetNumberOfTextRegions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36790 { (char *)"PyShape_SetRegionName", (PyCFunction
) _wrap_PyShape_SetRegionName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36791 { (char *)"PyShape_GetRegionName", (PyCFunction
) _wrap_PyShape_GetRegionName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36792 { (char *)"PyShape_GetRegionId", (PyCFunction
) _wrap_PyShape_GetRegionId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36793 { (char *)"PyShape_NameRegions", (PyCFunction
) _wrap_PyShape_NameRegions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36794 { (char *)"PyShape_GetRegions", (PyCFunction
) _wrap_PyShape_GetRegions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36795 { (char *)"PyShape_AddRegion", (PyCFunction
) _wrap_PyShape_AddRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36796 { (char *)"PyShape_ClearRegions", (PyCFunction
) _wrap_PyShape_ClearRegions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36797 { (char *)"PyShape_AssignNewIds", (PyCFunction
) _wrap_PyShape_AssignNewIds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36798 { (char *)"PyShape_FindRegion", (PyCFunction
) _wrap_PyShape_FindRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36799 { (char *)"PyShape_FindRegionNames", (PyCFunction
) _wrap_PyShape_FindRegionNames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36800 { (char *)"PyShape_ClearText", (PyCFunction
) _wrap_PyShape_ClearText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36801 { (char *)"PyShape_RemoveLine", (PyCFunction
) _wrap_PyShape_RemoveLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36802 { (char *)"PyShape_GetAttachmentPosition", (PyCFunction
) _wrap_PyShape_GetAttachmentPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36803 { (char *)"PyShape_GetNumberOfAttachments", (PyCFunction
) _wrap_PyShape_GetNumberOfAttachments
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36804 { (char *)"PyShape_AttachmentIsValid", (PyCFunction
) _wrap_PyShape_AttachmentIsValid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36805 { (char *)"PyShape_GetAttachments", (PyCFunction
) _wrap_PyShape_GetAttachments
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36806 { (char *)"PyShape_GetAttachmentPositionEdge", (PyCFunction
) _wrap_PyShape_GetAttachmentPositionEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36807 { (char *)"PyShape_CalcSimpleAttachment", (PyCFunction
) _wrap_PyShape_CalcSimpleAttachment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36808 { (char *)"PyShape_AttachmentSortTest", (PyCFunction
) _wrap_PyShape_AttachmentSortTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36809 { (char *)"PyShape_EraseLinks", (PyCFunction
) _wrap_PyShape_EraseLinks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36810 { (char *)"PyShape_DrawLinks", (PyCFunction
) _wrap_PyShape_DrawLinks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36811 { (char *)"PyShape_MoveLineToNewAttachment", (PyCFunction
) _wrap_PyShape_MoveLineToNewAttachment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36812 { (char *)"PyShape_ApplyAttachmentOrdering", (PyCFunction
) _wrap_PyShape_ApplyAttachmentOrdering
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36813 { (char *)"PyShape_GetBranchingAttachmentRoot", (PyCFunction
) _wrap_PyShape_GetBranchingAttachmentRoot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36814 { (char *)"PyShape_GetBranchingAttachmentInfo", (PyCFunction
) _wrap_PyShape_GetBranchingAttachmentInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36815 { (char *)"PyShape_GetBranchingAttachmentPoint", (PyCFunction
) _wrap_PyShape_GetBranchingAttachmentPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36816 { (char *)"PyShape_GetAttachmentLineCount", (PyCFunction
) _wrap_PyShape_GetAttachmentLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36817 { (char *)"PyShape_SetBranchNeckLength", (PyCFunction
) _wrap_PyShape_SetBranchNeckLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36818 { (char *)"PyShape_GetBranchNeckLength", (PyCFunction
) _wrap_PyShape_GetBranchNeckLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36819 { (char *)"PyShape_SetBranchStemLength", (PyCFunction
) _wrap_PyShape_SetBranchStemLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36820 { (char *)"PyShape_GetBranchStemLength", (PyCFunction
) _wrap_PyShape_GetBranchStemLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36821 { (char *)"PyShape_SetBranchSpacing", (PyCFunction
) _wrap_PyShape_SetBranchSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36822 { (char *)"PyShape_GetBranchSpacing", (PyCFunction
) _wrap_PyShape_GetBranchSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36823 { (char *)"PyShape_SetBranchStyle", (PyCFunction
) _wrap_PyShape_SetBranchStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36824 { (char *)"PyShape_GetBranchStyle", (PyCFunction
) _wrap_PyShape_GetBranchStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36825 { (char *)"PyShape_PhysicalToLogicalAttachment", (PyCFunction
) _wrap_PyShape_PhysicalToLogicalAttachment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36826 { (char *)"PyShape_LogicalToPhysicalAttachment", (PyCFunction
) _wrap_PyShape_LogicalToPhysicalAttachment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36827 { (char *)"PyShape_Draggable", (PyCFunction
) _wrap_PyShape_Draggable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36828 { (char *)"PyShape_HasDescendant", (PyCFunction
) _wrap_PyShape_HasDescendant
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36829 { (char *)"PyShape_CreateNewCopy", (PyCFunction
) _wrap_PyShape_CreateNewCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36830 { (char *)"PyShape_Copy", (PyCFunction
) _wrap_PyShape_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36831 { (char *)"PyShape_CopyWithHandler", (PyCFunction
) _wrap_PyShape_CopyWithHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36832 { (char *)"PyShape_Rotate", (PyCFunction
) _wrap_PyShape_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36833 { (char *)"PyShape_GetRotation", (PyCFunction
) _wrap_PyShape_GetRotation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36834 { (char *)"PyShape_SetRotation", (PyCFunction
) _wrap_PyShape_SetRotation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36835 { (char *)"PyShape_ClearAttachments", (PyCFunction
) _wrap_PyShape_ClearAttachments
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36836 { (char *)"PyShape_Recentre", (PyCFunction
) _wrap_PyShape_Recentre
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36837 { (char *)"PyShape_ClearPointList", (PyCFunction
) _wrap_PyShape_ClearPointList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36838 { (char *)"PyShape_GetBackgroundPen", (PyCFunction
) _wrap_PyShape_GetBackgroundPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36839 { (char *)"PyShape_GetBackgroundBrush", (PyCFunction
) _wrap_PyShape_GetBackgroundBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36840 { (char *)"PyShape_base_OnDelete", (PyCFunction
) _wrap_PyShape_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36841 { (char *)"PyShape_base_OnDraw", (PyCFunction
) _wrap_PyShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36842 { (char *)"PyShape_base_OnDrawContents", (PyCFunction
) _wrap_PyShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36843 { (char *)"PyShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36844 { (char *)"PyShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36845 { (char *)"PyShape_base_OnErase", (PyCFunction
) _wrap_PyShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36846 { (char *)"PyShape_base_OnEraseContents", (PyCFunction
) _wrap_PyShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36847 { (char *)"PyShape_base_OnHighlight", (PyCFunction
) _wrap_PyShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36848 { (char *)"PyShape_base_OnLeftClick", (PyCFunction
) _wrap_PyShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36849 { (char *)"PyShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36850 { (char *)"PyShape_base_OnRightClick", (PyCFunction
) _wrap_PyShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36851 { (char *)"PyShape_base_OnSize", (PyCFunction
) _wrap_PyShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36852 { (char *)"PyShape_base_OnMovePre", (PyCFunction
) _wrap_PyShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36853 { (char *)"PyShape_base_OnMovePost", (PyCFunction
) _wrap_PyShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36854 { (char *)"PyShape_base_OnDragLeft", (PyCFunction
) _wrap_PyShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36855 { (char *)"PyShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36856 { (char *)"PyShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36857 { (char *)"PyShape_base_OnDragRight", (PyCFunction
) _wrap_PyShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36858 { (char *)"PyShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36859 { (char *)"PyShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36860 { (char *)"PyShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36861 { (char *)"PyShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36862 { (char *)"PyShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36863 { (char *)"PyShape_base_OnMoveLink", (PyCFunction
) _wrap_PyShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36864 { (char *)"PyShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36865 { (char *)"PyShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36866 { (char *)"PyShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36867 { (char *)"PyShape_base_OnBeginSize", (PyCFunction
) _wrap_PyShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36868 { (char *)"PyShape_base_OnEndSize", (PyCFunction
) _wrap_PyShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36869 { (char *)"PyShape_swigregister", PyShape_swigregister
, METH_VARARGS
, NULL
},
36870 { (char *)"new_PseudoMetaFile", (PyCFunction
) _wrap_new_PseudoMetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36871 { (char *)"delete_PseudoMetaFile", (PyCFunction
) _wrap_delete_PseudoMetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36872 { (char *)"PseudoMetaFile_Draw", (PyCFunction
) _wrap_PseudoMetaFile_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36873 { (char *)"PseudoMetaFile_Clear", (PyCFunction
) _wrap_PseudoMetaFile_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36874 { (char *)"PseudoMetaFile_Copy", (PyCFunction
) _wrap_PseudoMetaFile_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36875 { (char *)"PseudoMetaFile_Scale", (PyCFunction
) _wrap_PseudoMetaFile_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36876 { (char *)"PseudoMetaFile_ScaleTo", (PyCFunction
) _wrap_PseudoMetaFile_ScaleTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36877 { (char *)"PseudoMetaFile_Translate", (PyCFunction
) _wrap_PseudoMetaFile_Translate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36878 { (char *)"PseudoMetaFile_Rotate", (PyCFunction
) _wrap_PseudoMetaFile_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36879 { (char *)"PseudoMetaFile_LoadFromMetaFile", (PyCFunction
) _wrap_PseudoMetaFile_LoadFromMetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36880 { (char *)"PseudoMetaFile_GetBounds", (PyCFunction
) _wrap_PseudoMetaFile_GetBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36881 { (char *)"PseudoMetaFile_CalculateSize", (PyCFunction
) _wrap_PseudoMetaFile_CalculateSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36882 { (char *)"PseudoMetaFile_SetRotateable", (PyCFunction
) _wrap_PseudoMetaFile_SetRotateable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36883 { (char *)"PseudoMetaFile_GetRotateable", (PyCFunction
) _wrap_PseudoMetaFile_GetRotateable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36884 { (char *)"PseudoMetaFile_SetSize", (PyCFunction
) _wrap_PseudoMetaFile_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36885 { (char *)"PseudoMetaFile_SetFillBrush", (PyCFunction
) _wrap_PseudoMetaFile_SetFillBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36886 { (char *)"PseudoMetaFile_GetFillBrush", (PyCFunction
) _wrap_PseudoMetaFile_GetFillBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36887 { (char *)"PseudoMetaFile_SetOutlinePen", (PyCFunction
) _wrap_PseudoMetaFile_SetOutlinePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36888 { (char *)"PseudoMetaFile_GetOutlinePen", (PyCFunction
) _wrap_PseudoMetaFile_GetOutlinePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36889 { (char *)"PseudoMetaFile_SetOutlineOp", (PyCFunction
) _wrap_PseudoMetaFile_SetOutlineOp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36890 { (char *)"PseudoMetaFile_GetOutlineOp", (PyCFunction
) _wrap_PseudoMetaFile_GetOutlineOp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36891 { (char *)"PseudoMetaFile_IsValid", (PyCFunction
) _wrap_PseudoMetaFile_IsValid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36892 { (char *)"PseudoMetaFile_DrawLine", (PyCFunction
) _wrap_PseudoMetaFile_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36893 { (char *)"PseudoMetaFile_DrawRectangle", (PyCFunction
) _wrap_PseudoMetaFile_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36894 { (char *)"PseudoMetaFile_DrawRoundedRectangle", (PyCFunction
) _wrap_PseudoMetaFile_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36895 { (char *)"PseudoMetaFile_DrawArc", (PyCFunction
) _wrap_PseudoMetaFile_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36896 { (char *)"PseudoMetaFile_DrawEllipticArc", (PyCFunction
) _wrap_PseudoMetaFile_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36897 { (char *)"PseudoMetaFile_DrawEllipse", (PyCFunction
) _wrap_PseudoMetaFile_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36898 { (char *)"PseudoMetaFile_DrawPoint", (PyCFunction
) _wrap_PseudoMetaFile_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36899 { (char *)"PseudoMetaFile_DrawText", (PyCFunction
) _wrap_PseudoMetaFile_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36900 { (char *)"PseudoMetaFile_DrawLines", (PyCFunction
) _wrap_PseudoMetaFile_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36901 { (char *)"PseudoMetaFile_DrawPolygon", (PyCFunction
) _wrap_PseudoMetaFile_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36902 { (char *)"PseudoMetaFile_DrawSpline", (PyCFunction
) _wrap_PseudoMetaFile_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36903 { (char *)"PseudoMetaFile_SetClippingRect", (PyCFunction
) _wrap_PseudoMetaFile_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36904 { (char *)"PseudoMetaFile_DestroyClippingRect", (PyCFunction
) _wrap_PseudoMetaFile_DestroyClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36905 { (char *)"PseudoMetaFile_SetPen", (PyCFunction
) _wrap_PseudoMetaFile_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36906 { (char *)"PseudoMetaFile_SetBrush", (PyCFunction
) _wrap_PseudoMetaFile_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36907 { (char *)"PseudoMetaFile_SetFont", (PyCFunction
) _wrap_PseudoMetaFile_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36908 { (char *)"PseudoMetaFile_SetTextColour", (PyCFunction
) _wrap_PseudoMetaFile_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36909 { (char *)"PseudoMetaFile_SetBackgroundColour", (PyCFunction
) _wrap_PseudoMetaFile_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36910 { (char *)"PseudoMetaFile_SetBackgroundMode", (PyCFunction
) _wrap_PseudoMetaFile_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36911 { (char *)"PseudoMetaFile_swigregister", PseudoMetaFile_swigregister
, METH_VARARGS
, NULL
},
36912 { (char *)"new_PyRectangleShape", (PyCFunction
) _wrap_new_PyRectangleShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36913 { (char *)"PyRectangleShape__setCallbackInfo", (PyCFunction
) _wrap_PyRectangleShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36914 { (char *)"PyRectangleShape_SetCornerRadius", (PyCFunction
) _wrap_PyRectangleShape_SetCornerRadius
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36915 { (char *)"PyRectangleShape_GetCornerRadius", (PyCFunction
) _wrap_PyRectangleShape_GetCornerRadius
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36916 { (char *)"PyRectangleShape_base_OnDelete", (PyCFunction
) _wrap_PyRectangleShape_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36917 { (char *)"PyRectangleShape_base_OnDraw", (PyCFunction
) _wrap_PyRectangleShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36918 { (char *)"PyRectangleShape_base_OnDrawContents", (PyCFunction
) _wrap_PyRectangleShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36919 { (char *)"PyRectangleShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyRectangleShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36920 { (char *)"PyRectangleShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyRectangleShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36921 { (char *)"PyRectangleShape_base_OnErase", (PyCFunction
) _wrap_PyRectangleShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36922 { (char *)"PyRectangleShape_base_OnEraseContents", (PyCFunction
) _wrap_PyRectangleShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36923 { (char *)"PyRectangleShape_base_OnHighlight", (PyCFunction
) _wrap_PyRectangleShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36924 { (char *)"PyRectangleShape_base_OnLeftClick", (PyCFunction
) _wrap_PyRectangleShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36925 { (char *)"PyRectangleShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyRectangleShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36926 { (char *)"PyRectangleShape_base_OnRightClick", (PyCFunction
) _wrap_PyRectangleShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36927 { (char *)"PyRectangleShape_base_OnSize", (PyCFunction
) _wrap_PyRectangleShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36928 { (char *)"PyRectangleShape_base_OnMovePre", (PyCFunction
) _wrap_PyRectangleShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36929 { (char *)"PyRectangleShape_base_OnMovePost", (PyCFunction
) _wrap_PyRectangleShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36930 { (char *)"PyRectangleShape_base_OnDragLeft", (PyCFunction
) _wrap_PyRectangleShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36931 { (char *)"PyRectangleShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyRectangleShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36932 { (char *)"PyRectangleShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyRectangleShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36933 { (char *)"PyRectangleShape_base_OnDragRight", (PyCFunction
) _wrap_PyRectangleShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36934 { (char *)"PyRectangleShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyRectangleShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36935 { (char *)"PyRectangleShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyRectangleShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36936 { (char *)"PyRectangleShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyRectangleShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36937 { (char *)"PyRectangleShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyRectangleShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36938 { (char *)"PyRectangleShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyRectangleShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36939 { (char *)"PyRectangleShape_base_OnMoveLink", (PyCFunction
) _wrap_PyRectangleShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36940 { (char *)"PyRectangleShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyRectangleShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36941 { (char *)"PyRectangleShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyRectangleShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36942 { (char *)"PyRectangleShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyRectangleShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36943 { (char *)"PyRectangleShape_base_OnBeginSize", (PyCFunction
) _wrap_PyRectangleShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36944 { (char *)"PyRectangleShape_base_OnEndSize", (PyCFunction
) _wrap_PyRectangleShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36945 { (char *)"PyRectangleShape_swigregister", PyRectangleShape_swigregister
, METH_VARARGS
, NULL
},
36946 { (char *)"new_PyControlPoint", (PyCFunction
) _wrap_new_PyControlPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36947 { (char *)"PyControlPoint__setCallbackInfo", (PyCFunction
) _wrap_PyControlPoint__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36948 { (char *)"PyControlPoint_SetCornerRadius", (PyCFunction
) _wrap_PyControlPoint_SetCornerRadius
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36949 { (char *)"PyControlPoint_base_OnDelete", (PyCFunction
) _wrap_PyControlPoint_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36950 { (char *)"PyControlPoint_base_OnDraw", (PyCFunction
) _wrap_PyControlPoint_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36951 { (char *)"PyControlPoint_base_OnDrawContents", (PyCFunction
) _wrap_PyControlPoint_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36952 { (char *)"PyControlPoint_base_OnDrawBranches", (PyCFunction
) _wrap_PyControlPoint_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36953 { (char *)"PyControlPoint_base_OnMoveLinks", (PyCFunction
) _wrap_PyControlPoint_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36954 { (char *)"PyControlPoint_base_OnErase", (PyCFunction
) _wrap_PyControlPoint_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36955 { (char *)"PyControlPoint_base_OnEraseContents", (PyCFunction
) _wrap_PyControlPoint_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36956 { (char *)"PyControlPoint_base_OnHighlight", (PyCFunction
) _wrap_PyControlPoint_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36957 { (char *)"PyControlPoint_base_OnLeftClick", (PyCFunction
) _wrap_PyControlPoint_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36958 { (char *)"PyControlPoint_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyControlPoint_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36959 { (char *)"PyControlPoint_base_OnRightClick", (PyCFunction
) _wrap_PyControlPoint_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36960 { (char *)"PyControlPoint_base_OnSize", (PyCFunction
) _wrap_PyControlPoint_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36961 { (char *)"PyControlPoint_base_OnMovePre", (PyCFunction
) _wrap_PyControlPoint_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36962 { (char *)"PyControlPoint_base_OnMovePost", (PyCFunction
) _wrap_PyControlPoint_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36963 { (char *)"PyControlPoint_base_OnDragLeft", (PyCFunction
) _wrap_PyControlPoint_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36964 { (char *)"PyControlPoint_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyControlPoint_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36965 { (char *)"PyControlPoint_base_OnEndDragLeft", (PyCFunction
) _wrap_PyControlPoint_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36966 { (char *)"PyControlPoint_base_OnDragRight", (PyCFunction
) _wrap_PyControlPoint_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36967 { (char *)"PyControlPoint_base_OnBeginDragRight", (PyCFunction
) _wrap_PyControlPoint_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36968 { (char *)"PyControlPoint_base_OnEndDragRight", (PyCFunction
) _wrap_PyControlPoint_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36969 { (char *)"PyControlPoint_base_OnDrawOutline", (PyCFunction
) _wrap_PyControlPoint_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36970 { (char *)"PyControlPoint_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyControlPoint_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36971 { (char *)"PyControlPoint_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyControlPoint_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36972 { (char *)"PyControlPoint_base_OnMoveLink", (PyCFunction
) _wrap_PyControlPoint_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36973 { (char *)"PyControlPoint_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyControlPoint_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36974 { (char *)"PyControlPoint_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyControlPoint_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36975 { (char *)"PyControlPoint_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyControlPoint_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36976 { (char *)"PyControlPoint_base_OnBeginSize", (PyCFunction
) _wrap_PyControlPoint_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36977 { (char *)"PyControlPoint_base_OnEndSize", (PyCFunction
) _wrap_PyControlPoint_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36978 { (char *)"PyControlPoint_swigregister", PyControlPoint_swigregister
, METH_VARARGS
, NULL
},
36979 { (char *)"new_PyBitmapShape", (PyCFunction
) _wrap_new_PyBitmapShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36980 { (char *)"PyBitmapShape__setCallbackInfo", (PyCFunction
) _wrap_PyBitmapShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36981 { (char *)"PyBitmapShape_GetBitmap", (PyCFunction
) _wrap_PyBitmapShape_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36982 { (char *)"PyBitmapShape_GetFilename", (PyCFunction
) _wrap_PyBitmapShape_GetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36983 { (char *)"PyBitmapShape_SetBitmap", (PyCFunction
) _wrap_PyBitmapShape_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36984 { (char *)"PyBitmapShape_SetFilename", (PyCFunction
) _wrap_PyBitmapShape_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36985 { (char *)"PyBitmapShape_base_OnDelete", (PyCFunction
) _wrap_PyBitmapShape_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36986 { (char *)"PyBitmapShape_base_OnDraw", (PyCFunction
) _wrap_PyBitmapShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36987 { (char *)"PyBitmapShape_base_OnDrawContents", (PyCFunction
) _wrap_PyBitmapShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36988 { (char *)"PyBitmapShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyBitmapShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36989 { (char *)"PyBitmapShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyBitmapShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36990 { (char *)"PyBitmapShape_base_OnErase", (PyCFunction
) _wrap_PyBitmapShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36991 { (char *)"PyBitmapShape_base_OnEraseContents", (PyCFunction
) _wrap_PyBitmapShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36992 { (char *)"PyBitmapShape_base_OnHighlight", (PyCFunction
) _wrap_PyBitmapShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36993 { (char *)"PyBitmapShape_base_OnLeftClick", (PyCFunction
) _wrap_PyBitmapShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36994 { (char *)"PyBitmapShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyBitmapShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36995 { (char *)"PyBitmapShape_base_OnRightClick", (PyCFunction
) _wrap_PyBitmapShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36996 { (char *)"PyBitmapShape_base_OnSize", (PyCFunction
) _wrap_PyBitmapShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36997 { (char *)"PyBitmapShape_base_OnMovePre", (PyCFunction
) _wrap_PyBitmapShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36998 { (char *)"PyBitmapShape_base_OnMovePost", (PyCFunction
) _wrap_PyBitmapShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36999 { (char *)"PyBitmapShape_base_OnDragLeft", (PyCFunction
) _wrap_PyBitmapShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37000 { (char *)"PyBitmapShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyBitmapShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37001 { (char *)"PyBitmapShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyBitmapShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37002 { (char *)"PyBitmapShape_base_OnDragRight", (PyCFunction
) _wrap_PyBitmapShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37003 { (char *)"PyBitmapShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyBitmapShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37004 { (char *)"PyBitmapShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyBitmapShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37005 { (char *)"PyBitmapShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyBitmapShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37006 { (char *)"PyBitmapShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyBitmapShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37007 { (char *)"PyBitmapShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyBitmapShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37008 { (char *)"PyBitmapShape_base_OnMoveLink", (PyCFunction
) _wrap_PyBitmapShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37009 { (char *)"PyBitmapShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyBitmapShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37010 { (char *)"PyBitmapShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyBitmapShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37011 { (char *)"PyBitmapShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyBitmapShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37012 { (char *)"PyBitmapShape_base_OnBeginSize", (PyCFunction
) _wrap_PyBitmapShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37013 { (char *)"PyBitmapShape_base_OnEndSize", (PyCFunction
) _wrap_PyBitmapShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37014 { (char *)"PyBitmapShape_swigregister", PyBitmapShape_swigregister
, METH_VARARGS
, NULL
},
37015 { (char *)"new_PyDrawnShape", (PyCFunction
) _wrap_new_PyDrawnShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37016 { (char *)"PyDrawnShape__setCallbackInfo", (PyCFunction
) _wrap_PyDrawnShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37017 { (char *)"PyDrawnShape_CalculateSize", (PyCFunction
) _wrap_PyDrawnShape_CalculateSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37018 { (char *)"PyDrawnShape_DestroyClippingRect", (PyCFunction
) _wrap_PyDrawnShape_DestroyClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37019 { (char *)"PyDrawnShape_DrawArc", (PyCFunction
) _wrap_PyDrawnShape_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37020 { (char *)"PyDrawnShape_DrawAtAngle", (PyCFunction
) _wrap_PyDrawnShape_DrawAtAngle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37021 { (char *)"PyDrawnShape_DrawEllipticArc", (PyCFunction
) _wrap_PyDrawnShape_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37022 { (char *)"PyDrawnShape_DrawLine", (PyCFunction
) _wrap_PyDrawnShape_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37023 { (char *)"PyDrawnShape_DrawLines", (PyCFunction
) _wrap_PyDrawnShape_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37024 { (char *)"PyDrawnShape_DrawPoint", (PyCFunction
) _wrap_PyDrawnShape_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37025 { (char *)"PyDrawnShape_DrawPolygon", (PyCFunction
) _wrap_PyDrawnShape_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37026 { (char *)"PyDrawnShape_DrawRectangle", (PyCFunction
) _wrap_PyDrawnShape_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37027 { (char *)"PyDrawnShape_DrawRoundedRectangle", (PyCFunction
) _wrap_PyDrawnShape_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37028 { (char *)"PyDrawnShape_DrawSpline", (PyCFunction
) _wrap_PyDrawnShape_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37029 { (char *)"PyDrawnShape_DrawText", (PyCFunction
) _wrap_PyDrawnShape_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37030 { (char *)"PyDrawnShape_GetAngle", (PyCFunction
) _wrap_PyDrawnShape_GetAngle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37031 { (char *)"PyDrawnShape_GetMetaFile", (PyCFunction
) _wrap_PyDrawnShape_GetMetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37032 { (char *)"PyDrawnShape_GetRotation", (PyCFunction
) _wrap_PyDrawnShape_GetRotation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37033 { (char *)"PyDrawnShape_LoadFromMetaFile", (PyCFunction
) _wrap_PyDrawnShape_LoadFromMetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37034 { (char *)"PyDrawnShape_Rotate", (PyCFunction
) _wrap_PyDrawnShape_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37035 { (char *)"PyDrawnShape_SetClippingRect", (PyCFunction
) _wrap_PyDrawnShape_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37036 { (char *)"PyDrawnShape_SetDrawnBackgroundColour", (PyCFunction
) _wrap_PyDrawnShape_SetDrawnBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37037 { (char *)"PyDrawnShape_SetDrawnBackgroundMode", (PyCFunction
) _wrap_PyDrawnShape_SetDrawnBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37038 { (char *)"PyDrawnShape_SetDrawnBrush", (PyCFunction
) _wrap_PyDrawnShape_SetDrawnBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37039 { (char *)"PyDrawnShape_SetDrawnFont", (PyCFunction
) _wrap_PyDrawnShape_SetDrawnFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37040 { (char *)"PyDrawnShape_SetDrawnPen", (PyCFunction
) _wrap_PyDrawnShape_SetDrawnPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37041 { (char *)"PyDrawnShape_SetDrawnTextColour", (PyCFunction
) _wrap_PyDrawnShape_SetDrawnTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37042 { (char *)"PyDrawnShape_Scale", (PyCFunction
) _wrap_PyDrawnShape_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37043 { (char *)"PyDrawnShape_SetSaveToFile", (PyCFunction
) _wrap_PyDrawnShape_SetSaveToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37044 { (char *)"PyDrawnShape_Translate", (PyCFunction
) _wrap_PyDrawnShape_Translate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37045 { (char *)"PyDrawnShape_base_OnDelete", (PyCFunction
) _wrap_PyDrawnShape_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37046 { (char *)"PyDrawnShape_base_OnDraw", (PyCFunction
) _wrap_PyDrawnShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37047 { (char *)"PyDrawnShape_base_OnDrawContents", (PyCFunction
) _wrap_PyDrawnShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37048 { (char *)"PyDrawnShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyDrawnShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37049 { (char *)"PyDrawnShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyDrawnShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37050 { (char *)"PyDrawnShape_base_OnErase", (PyCFunction
) _wrap_PyDrawnShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37051 { (char *)"PyDrawnShape_base_OnEraseContents", (PyCFunction
) _wrap_PyDrawnShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37052 { (char *)"PyDrawnShape_base_OnHighlight", (PyCFunction
) _wrap_PyDrawnShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37053 { (char *)"PyDrawnShape_base_OnLeftClick", (PyCFunction
) _wrap_PyDrawnShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37054 { (char *)"PyDrawnShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyDrawnShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37055 { (char *)"PyDrawnShape_base_OnRightClick", (PyCFunction
) _wrap_PyDrawnShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37056 { (char *)"PyDrawnShape_base_OnSize", (PyCFunction
) _wrap_PyDrawnShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37057 { (char *)"PyDrawnShape_base_OnMovePre", (PyCFunction
) _wrap_PyDrawnShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37058 { (char *)"PyDrawnShape_base_OnMovePost", (PyCFunction
) _wrap_PyDrawnShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37059 { (char *)"PyDrawnShape_base_OnDragLeft", (PyCFunction
) _wrap_PyDrawnShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37060 { (char *)"PyDrawnShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyDrawnShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37061 { (char *)"PyDrawnShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyDrawnShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37062 { (char *)"PyDrawnShape_base_OnDragRight", (PyCFunction
) _wrap_PyDrawnShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37063 { (char *)"PyDrawnShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyDrawnShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37064 { (char *)"PyDrawnShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyDrawnShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37065 { (char *)"PyDrawnShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyDrawnShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37066 { (char *)"PyDrawnShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyDrawnShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37067 { (char *)"PyDrawnShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyDrawnShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37068 { (char *)"PyDrawnShape_base_OnMoveLink", (PyCFunction
) _wrap_PyDrawnShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37069 { (char *)"PyDrawnShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyDrawnShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37070 { (char *)"PyDrawnShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyDrawnShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37071 { (char *)"PyDrawnShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyDrawnShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37072 { (char *)"PyDrawnShape_base_OnBeginSize", (PyCFunction
) _wrap_PyDrawnShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37073 { (char *)"PyDrawnShape_base_OnEndSize", (PyCFunction
) _wrap_PyDrawnShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37074 { (char *)"PyDrawnShape_swigregister", PyDrawnShape_swigregister
, METH_VARARGS
, NULL
},
37075 { (char *)"new_OGLConstraint", (PyCFunction
) _wrap_new_OGLConstraint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37076 { (char *)"OGLConstraint_Evaluate", (PyCFunction
) _wrap_OGLConstraint_Evaluate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37077 { (char *)"OGLConstraint_SetSpacing", (PyCFunction
) _wrap_OGLConstraint_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37078 { (char *)"OGLConstraint_Equals", (PyCFunction
) _wrap_OGLConstraint_Equals
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37079 { (char *)"OGLConstraint_swigregister", OGLConstraint_swigregister
, METH_VARARGS
, NULL
},
37080 { (char *)"new_PyCompositeShape", (PyCFunction
) _wrap_new_PyCompositeShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37081 { (char *)"PyCompositeShape__setCallbackInfo", (PyCFunction
) _wrap_PyCompositeShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37082 { (char *)"PyCompositeShape_AddChild", (PyCFunction
) _wrap_PyCompositeShape_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37083 { (char *)"PyCompositeShape_AddConstraint", (PyCFunction
) _wrap_PyCompositeShape_AddConstraint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37084 { (char *)"PyCompositeShape_AddConstrainedShapes", (PyCFunction
) _wrap_PyCompositeShape_AddConstrainedShapes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37085 { (char *)"PyCompositeShape_AddSimpleConstraint", (PyCFunction
) _wrap_PyCompositeShape_AddSimpleConstraint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37086 { (char *)"PyCompositeShape_CalculateSize", (PyCFunction
) _wrap_PyCompositeShape_CalculateSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37087 { (char *)"PyCompositeShape_ContainsDivision", (PyCFunction
) _wrap_PyCompositeShape_ContainsDivision
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37088 { (char *)"PyCompositeShape_DeleteConstraint", (PyCFunction
) _wrap_PyCompositeShape_DeleteConstraint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37089 { (char *)"PyCompositeShape_DeleteConstraintsInvolvingChild", (PyCFunction
) _wrap_PyCompositeShape_DeleteConstraintsInvolvingChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37090 { (char *)"PyCompositeShape_FindContainerImage", (PyCFunction
) _wrap_PyCompositeShape_FindContainerImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37091 { (char *)"PyCompositeShape_GetConstraints", (PyCFunction
) _wrap_PyCompositeShape_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37092 { (char *)"PyCompositeShape_GetDivisions", (PyCFunction
) _wrap_PyCompositeShape_GetDivisions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37093 { (char *)"PyCompositeShape_MakeContainer", (PyCFunction
) _wrap_PyCompositeShape_MakeContainer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37094 { (char *)"PyCompositeShape_Recompute", (PyCFunction
) _wrap_PyCompositeShape_Recompute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37095 { (char *)"PyCompositeShape_RemoveChild", (PyCFunction
) _wrap_PyCompositeShape_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37096 { (char *)"PyCompositeShape_base_OnDelete", (PyCFunction
) _wrap_PyCompositeShape_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37097 { (char *)"PyCompositeShape_base_OnDraw", (PyCFunction
) _wrap_PyCompositeShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37098 { (char *)"PyCompositeShape_base_OnDrawContents", (PyCFunction
) _wrap_PyCompositeShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37099 { (char *)"PyCompositeShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyCompositeShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37100 { (char *)"PyCompositeShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyCompositeShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37101 { (char *)"PyCompositeShape_base_OnErase", (PyCFunction
) _wrap_PyCompositeShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37102 { (char *)"PyCompositeShape_base_OnEraseContents", (PyCFunction
) _wrap_PyCompositeShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37103 { (char *)"PyCompositeShape_base_OnHighlight", (PyCFunction
) _wrap_PyCompositeShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37104 { (char *)"PyCompositeShape_base_OnLeftClick", (PyCFunction
) _wrap_PyCompositeShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37105 { (char *)"PyCompositeShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyCompositeShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37106 { (char *)"PyCompositeShape_base_OnRightClick", (PyCFunction
) _wrap_PyCompositeShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37107 { (char *)"PyCompositeShape_base_OnSize", (PyCFunction
) _wrap_PyCompositeShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37108 { (char *)"PyCompositeShape_base_OnMovePre", (PyCFunction
) _wrap_PyCompositeShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37109 { (char *)"PyCompositeShape_base_OnMovePost", (PyCFunction
) _wrap_PyCompositeShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37110 { (char *)"PyCompositeShape_base_OnDragLeft", (PyCFunction
) _wrap_PyCompositeShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37111 { (char *)"PyCompositeShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyCompositeShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37112 { (char *)"PyCompositeShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyCompositeShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37113 { (char *)"PyCompositeShape_base_OnDragRight", (PyCFunction
) _wrap_PyCompositeShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37114 { (char *)"PyCompositeShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyCompositeShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37115 { (char *)"PyCompositeShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyCompositeShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37116 { (char *)"PyCompositeShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyCompositeShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37117 { (char *)"PyCompositeShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyCompositeShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37118 { (char *)"PyCompositeShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyCompositeShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37119 { (char *)"PyCompositeShape_base_OnMoveLink", (PyCFunction
) _wrap_PyCompositeShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37120 { (char *)"PyCompositeShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyCompositeShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37121 { (char *)"PyCompositeShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyCompositeShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37122 { (char *)"PyCompositeShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyCompositeShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37123 { (char *)"PyCompositeShape_base_OnBeginSize", (PyCFunction
) _wrap_PyCompositeShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37124 { (char *)"PyCompositeShape_base_OnEndSize", (PyCFunction
) _wrap_PyCompositeShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37125 { (char *)"PyCompositeShape_swigregister", PyCompositeShape_swigregister
, METH_VARARGS
, NULL
},
37126 { (char *)"new_PyDividedShape", (PyCFunction
) _wrap_new_PyDividedShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37127 { (char *)"PyDividedShape__setCallbackInfo", (PyCFunction
) _wrap_PyDividedShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37128 { (char *)"PyDividedShape_EditRegions", (PyCFunction
) _wrap_PyDividedShape_EditRegions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37129 { (char *)"PyDividedShape_SetRegionSizes", (PyCFunction
) _wrap_PyDividedShape_SetRegionSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37130 { (char *)"PyDividedShape_base_OnDelete", (PyCFunction
) _wrap_PyDividedShape_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37131 { (char *)"PyDividedShape_base_OnDraw", (PyCFunction
) _wrap_PyDividedShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37132 { (char *)"PyDividedShape_base_OnDrawContents", (PyCFunction
) _wrap_PyDividedShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37133 { (char *)"PyDividedShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyDividedShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37134 { (char *)"PyDividedShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyDividedShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37135 { (char *)"PyDividedShape_base_OnErase", (PyCFunction
) _wrap_PyDividedShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37136 { (char *)"PyDividedShape_base_OnEraseContents", (PyCFunction
) _wrap_PyDividedShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37137 { (char *)"PyDividedShape_base_OnHighlight", (PyCFunction
) _wrap_PyDividedShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37138 { (char *)"PyDividedShape_base_OnLeftClick", (PyCFunction
) _wrap_PyDividedShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37139 { (char *)"PyDividedShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyDividedShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37140 { (char *)"PyDividedShape_base_OnRightClick", (PyCFunction
) _wrap_PyDividedShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37141 { (char *)"PyDividedShape_base_OnSize", (PyCFunction
) _wrap_PyDividedShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37142 { (char *)"PyDividedShape_base_OnMovePre", (PyCFunction
) _wrap_PyDividedShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37143 { (char *)"PyDividedShape_base_OnMovePost", (PyCFunction
) _wrap_PyDividedShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37144 { (char *)"PyDividedShape_base_OnDragLeft", (PyCFunction
) _wrap_PyDividedShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37145 { (char *)"PyDividedShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyDividedShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37146 { (char *)"PyDividedShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyDividedShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37147 { (char *)"PyDividedShape_base_OnDragRight", (PyCFunction
) _wrap_PyDividedShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37148 { (char *)"PyDividedShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyDividedShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37149 { (char *)"PyDividedShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyDividedShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37150 { (char *)"PyDividedShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyDividedShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37151 { (char *)"PyDividedShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyDividedShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37152 { (char *)"PyDividedShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyDividedShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37153 { (char *)"PyDividedShape_base_OnMoveLink", (PyCFunction
) _wrap_PyDividedShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37154 { (char *)"PyDividedShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyDividedShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37155 { (char *)"PyDividedShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyDividedShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37156 { (char *)"PyDividedShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyDividedShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37157 { (char *)"PyDividedShape_base_OnBeginSize", (PyCFunction
) _wrap_PyDividedShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37158 { (char *)"PyDividedShape_base_OnEndSize", (PyCFunction
) _wrap_PyDividedShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37159 { (char *)"PyDividedShape_swigregister", PyDividedShape_swigregister
, METH_VARARGS
, NULL
},
37160 { (char *)"new_PyDivisionShape", (PyCFunction
) _wrap_new_PyDivisionShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37161 { (char *)"PyDivisionShape__setCallbackInfo", (PyCFunction
) _wrap_PyDivisionShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37162 { (char *)"PyDivisionShape_AdjustBottom", (PyCFunction
) _wrap_PyDivisionShape_AdjustBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37163 { (char *)"PyDivisionShape_AdjustLeft", (PyCFunction
) _wrap_PyDivisionShape_AdjustLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37164 { (char *)"PyDivisionShape_AdjustRight", (PyCFunction
) _wrap_PyDivisionShape_AdjustRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37165 { (char *)"PyDivisionShape_AdjustTop", (PyCFunction
) _wrap_PyDivisionShape_AdjustTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37166 { (char *)"PyDivisionShape_Divide", (PyCFunction
) _wrap_PyDivisionShape_Divide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37167 { (char *)"PyDivisionShape_EditEdge", (PyCFunction
) _wrap_PyDivisionShape_EditEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37168 { (char *)"PyDivisionShape_GetBottomSide", (PyCFunction
) _wrap_PyDivisionShape_GetBottomSide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37169 { (char *)"PyDivisionShape_GetHandleSide", (PyCFunction
) _wrap_PyDivisionShape_GetHandleSide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37170 { (char *)"PyDivisionShape_GetLeftSide", (PyCFunction
) _wrap_PyDivisionShape_GetLeftSide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37171 { (char *)"PyDivisionShape_GetLeftSideColour", (PyCFunction
) _wrap_PyDivisionShape_GetLeftSideColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37172 { (char *)"PyDivisionShape_GetLeftSidePen", (PyCFunction
) _wrap_PyDivisionShape_GetLeftSidePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37173 { (char *)"PyDivisionShape_GetRightSide", (PyCFunction
) _wrap_PyDivisionShape_GetRightSide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37174 { (char *)"PyDivisionShape_GetTopSide", (PyCFunction
) _wrap_PyDivisionShape_GetTopSide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37175 { (char *)"PyDivisionShape_GetTopSidePen", (PyCFunction
) _wrap_PyDivisionShape_GetTopSidePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37176 { (char *)"PyDivisionShape_ResizeAdjoining", (PyCFunction
) _wrap_PyDivisionShape_ResizeAdjoining
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37177 { (char *)"PyDivisionShape_PopupMenu", (PyCFunction
) _wrap_PyDivisionShape_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37178 { (char *)"PyDivisionShape_SetBottomSide", (PyCFunction
) _wrap_PyDivisionShape_SetBottomSide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37179 { (char *)"PyDivisionShape_SetHandleSide", (PyCFunction
) _wrap_PyDivisionShape_SetHandleSide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37180 { (char *)"PyDivisionShape_SetLeftSide", (PyCFunction
) _wrap_PyDivisionShape_SetLeftSide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37181 { (char *)"PyDivisionShape_SetLeftSideColour", (PyCFunction
) _wrap_PyDivisionShape_SetLeftSideColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37182 { (char *)"PyDivisionShape_SetLeftSidePen", (PyCFunction
) _wrap_PyDivisionShape_SetLeftSidePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37183 { (char *)"PyDivisionShape_SetRightSide", (PyCFunction
) _wrap_PyDivisionShape_SetRightSide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37184 { (char *)"PyDivisionShape_SetTopSide", (PyCFunction
) _wrap_PyDivisionShape_SetTopSide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37185 { (char *)"PyDivisionShape_SetTopSideColour", (PyCFunction
) _wrap_PyDivisionShape_SetTopSideColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37186 { (char *)"PyDivisionShape_SetTopSidePen", (PyCFunction
) _wrap_PyDivisionShape_SetTopSidePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37187 { (char *)"PyDivisionShape_base_OnDelete", (PyCFunction
) _wrap_PyDivisionShape_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37188 { (char *)"PyDivisionShape_base_OnDraw", (PyCFunction
) _wrap_PyDivisionShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37189 { (char *)"PyDivisionShape_base_OnDrawContents", (PyCFunction
) _wrap_PyDivisionShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37190 { (char *)"PyDivisionShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyDivisionShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37191 { (char *)"PyDivisionShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyDivisionShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37192 { (char *)"PyDivisionShape_base_OnErase", (PyCFunction
) _wrap_PyDivisionShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37193 { (char *)"PyDivisionShape_base_OnEraseContents", (PyCFunction
) _wrap_PyDivisionShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37194 { (char *)"PyDivisionShape_base_OnHighlight", (PyCFunction
) _wrap_PyDivisionShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37195 { (char *)"PyDivisionShape_base_OnLeftClick", (PyCFunction
) _wrap_PyDivisionShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37196 { (char *)"PyDivisionShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyDivisionShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37197 { (char *)"PyDivisionShape_base_OnRightClick", (PyCFunction
) _wrap_PyDivisionShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37198 { (char *)"PyDivisionShape_base_OnSize", (PyCFunction
) _wrap_PyDivisionShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37199 { (char *)"PyDivisionShape_base_OnMovePre", (PyCFunction
) _wrap_PyDivisionShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37200 { (char *)"PyDivisionShape_base_OnMovePost", (PyCFunction
) _wrap_PyDivisionShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37201 { (char *)"PyDivisionShape_base_OnDragLeft", (PyCFunction
) _wrap_PyDivisionShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37202 { (char *)"PyDivisionShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyDivisionShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37203 { (char *)"PyDivisionShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyDivisionShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37204 { (char *)"PyDivisionShape_base_OnDragRight", (PyCFunction
) _wrap_PyDivisionShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37205 { (char *)"PyDivisionShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyDivisionShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37206 { (char *)"PyDivisionShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyDivisionShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37207 { (char *)"PyDivisionShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyDivisionShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37208 { (char *)"PyDivisionShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyDivisionShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37209 { (char *)"PyDivisionShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyDivisionShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37210 { (char *)"PyDivisionShape_base_OnMoveLink", (PyCFunction
) _wrap_PyDivisionShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37211 { (char *)"PyDivisionShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyDivisionShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37212 { (char *)"PyDivisionShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyDivisionShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37213 { (char *)"PyDivisionShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyDivisionShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37214 { (char *)"PyDivisionShape_base_OnBeginSize", (PyCFunction
) _wrap_PyDivisionShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37215 { (char *)"PyDivisionShape_base_OnEndSize", (PyCFunction
) _wrap_PyDivisionShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37216 { (char *)"PyDivisionShape_swigregister", PyDivisionShape_swigregister
, METH_VARARGS
, NULL
},
37217 { (char *)"new_PyEllipseShape", (PyCFunction
) _wrap_new_PyEllipseShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37218 { (char *)"PyEllipseShape__setCallbackInfo", (PyCFunction
) _wrap_PyEllipseShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37219 { (char *)"PyEllipseShape_base_OnDraw", (PyCFunction
) _wrap_PyEllipseShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37220 { (char *)"PyEllipseShape_base_OnDrawContents", (PyCFunction
) _wrap_PyEllipseShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37221 { (char *)"PyEllipseShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyEllipseShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37222 { (char *)"PyEllipseShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyEllipseShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37223 { (char *)"PyEllipseShape_base_OnErase", (PyCFunction
) _wrap_PyEllipseShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37224 { (char *)"PyEllipseShape_base_OnEraseContents", (PyCFunction
) _wrap_PyEllipseShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37225 { (char *)"PyEllipseShape_base_OnHighlight", (PyCFunction
) _wrap_PyEllipseShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37226 { (char *)"PyEllipseShape_base_OnLeftClick", (PyCFunction
) _wrap_PyEllipseShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37227 { (char *)"PyEllipseShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyEllipseShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37228 { (char *)"PyEllipseShape_base_OnRightClick", (PyCFunction
) _wrap_PyEllipseShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37229 { (char *)"PyEllipseShape_base_OnSize", (PyCFunction
) _wrap_PyEllipseShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37230 { (char *)"PyEllipseShape_base_OnMovePre", (PyCFunction
) _wrap_PyEllipseShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37231 { (char *)"PyEllipseShape_base_OnMovePost", (PyCFunction
) _wrap_PyEllipseShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37232 { (char *)"PyEllipseShape_base_OnDragLeft", (PyCFunction
) _wrap_PyEllipseShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37233 { (char *)"PyEllipseShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyEllipseShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37234 { (char *)"PyEllipseShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyEllipseShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37235 { (char *)"PyEllipseShape_base_OnDragRight", (PyCFunction
) _wrap_PyEllipseShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37236 { (char *)"PyEllipseShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyEllipseShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37237 { (char *)"PyEllipseShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyEllipseShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37238 { (char *)"PyEllipseShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyEllipseShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37239 { (char *)"PyEllipseShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyEllipseShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37240 { (char *)"PyEllipseShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyEllipseShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37241 { (char *)"PyEllipseShape_base_OnMoveLink", (PyCFunction
) _wrap_PyEllipseShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37242 { (char *)"PyEllipseShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyEllipseShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37243 { (char *)"PyEllipseShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyEllipseShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37244 { (char *)"PyEllipseShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyEllipseShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37245 { (char *)"PyEllipseShape_base_OnBeginSize", (PyCFunction
) _wrap_PyEllipseShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37246 { (char *)"PyEllipseShape_base_OnEndSize", (PyCFunction
) _wrap_PyEllipseShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37247 { (char *)"PyEllipseShape_swigregister", PyEllipseShape_swigregister
, METH_VARARGS
, NULL
},
37248 { (char *)"new_PyCircleShape", (PyCFunction
) _wrap_new_PyCircleShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37249 { (char *)"PyCircleShape__setCallbackInfo", (PyCFunction
) _wrap_PyCircleShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37250 { (char *)"PyCircleShape_base_OnDraw", (PyCFunction
) _wrap_PyCircleShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37251 { (char *)"PyCircleShape_base_OnDrawContents", (PyCFunction
) _wrap_PyCircleShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37252 { (char *)"PyCircleShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyCircleShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37253 { (char *)"PyCircleShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyCircleShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37254 { (char *)"PyCircleShape_base_OnErase", (PyCFunction
) _wrap_PyCircleShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37255 { (char *)"PyCircleShape_base_OnEraseContents", (PyCFunction
) _wrap_PyCircleShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37256 { (char *)"PyCircleShape_base_OnHighlight", (PyCFunction
) _wrap_PyCircleShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37257 { (char *)"PyCircleShape_base_OnLeftClick", (PyCFunction
) _wrap_PyCircleShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37258 { (char *)"PyCircleShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyCircleShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37259 { (char *)"PyCircleShape_base_OnRightClick", (PyCFunction
) _wrap_PyCircleShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37260 { (char *)"PyCircleShape_base_OnSize", (PyCFunction
) _wrap_PyCircleShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37261 { (char *)"PyCircleShape_base_OnMovePre", (PyCFunction
) _wrap_PyCircleShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37262 { (char *)"PyCircleShape_base_OnMovePost", (PyCFunction
) _wrap_PyCircleShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37263 { (char *)"PyCircleShape_base_OnDragLeft", (PyCFunction
) _wrap_PyCircleShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37264 { (char *)"PyCircleShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyCircleShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37265 { (char *)"PyCircleShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyCircleShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37266 { (char *)"PyCircleShape_base_OnDragRight", (PyCFunction
) _wrap_PyCircleShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37267 { (char *)"PyCircleShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyCircleShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37268 { (char *)"PyCircleShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyCircleShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37269 { (char *)"PyCircleShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyCircleShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37270 { (char *)"PyCircleShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyCircleShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37271 { (char *)"PyCircleShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyCircleShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37272 { (char *)"PyCircleShape_base_OnMoveLink", (PyCFunction
) _wrap_PyCircleShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37273 { (char *)"PyCircleShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyCircleShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37274 { (char *)"PyCircleShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyCircleShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37275 { (char *)"PyCircleShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyCircleShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37276 { (char *)"PyCircleShape_base_OnBeginSize", (PyCFunction
) _wrap_PyCircleShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37277 { (char *)"PyCircleShape_base_OnEndSize", (PyCFunction
) _wrap_PyCircleShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37278 { (char *)"PyCircleShape_swigregister", PyCircleShape_swigregister
, METH_VARARGS
, NULL
},
37279 { (char *)"new_ArrowHead", (PyCFunction
) _wrap_new_ArrowHead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37280 { (char *)"delete_ArrowHead", (PyCFunction
) _wrap_delete_ArrowHead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37281 { (char *)"ArrowHead__GetType", (PyCFunction
) _wrap_ArrowHead__GetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37282 { (char *)"ArrowHead_GetPosition", (PyCFunction
) _wrap_ArrowHead_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37283 { (char *)"ArrowHead_SetPosition", (PyCFunction
) _wrap_ArrowHead_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37284 { (char *)"ArrowHead_GetXOffset", (PyCFunction
) _wrap_ArrowHead_GetXOffset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37285 { (char *)"ArrowHead_GetYOffset", (PyCFunction
) _wrap_ArrowHead_GetYOffset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37286 { (char *)"ArrowHead_GetSpacing", (PyCFunction
) _wrap_ArrowHead_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37287 { (char *)"ArrowHead_GetSize", (PyCFunction
) _wrap_ArrowHead_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37288 { (char *)"ArrowHead_GetName", (PyCFunction
) _wrap_ArrowHead_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37289 { (char *)"ArrowHead_SetXOffset", (PyCFunction
) _wrap_ArrowHead_SetXOffset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37290 { (char *)"ArrowHead_SetYOffset", (PyCFunction
) _wrap_ArrowHead_SetYOffset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37291 { (char *)"ArrowHead_GetMetaFile", (PyCFunction
) _wrap_ArrowHead_GetMetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37292 { (char *)"ArrowHead_GetId", (PyCFunction
) _wrap_ArrowHead_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37293 { (char *)"ArrowHead_GetArrowEnd", (PyCFunction
) _wrap_ArrowHead_GetArrowEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37294 { (char *)"ArrowHead_GetArrowSize", (PyCFunction
) _wrap_ArrowHead_GetArrowSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37295 { (char *)"ArrowHead_SetSize", (PyCFunction
) _wrap_ArrowHead_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37296 { (char *)"ArrowHead_SetSpacing", (PyCFunction
) _wrap_ArrowHead_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37297 { (char *)"ArrowHead_swigregister", ArrowHead_swigregister
, METH_VARARGS
, NULL
},
37298 { (char *)"new_PyLineShape", (PyCFunction
) _wrap_new_PyLineShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37299 { (char *)"PyLineShape__setCallbackInfo", (PyCFunction
) _wrap_PyLineShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37300 { (char *)"PyLineShape_AddArrow", (PyCFunction
) _wrap_PyLineShape_AddArrow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37301 { (char *)"PyLineShape_AddArrowOrdered", (PyCFunction
) _wrap_PyLineShape_AddArrowOrdered
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37302 { (char *)"PyLineShape_ClearArrow", (PyCFunction
) _wrap_PyLineShape_ClearArrow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37303 { (char *)"PyLineShape_ClearArrowsAtPosition", (PyCFunction
) _wrap_PyLineShape_ClearArrowsAtPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37304 { (char *)"PyLineShape_DrawArrow", (PyCFunction
) _wrap_PyLineShape_DrawArrow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37305 { (char *)"PyLineShape_DeleteArrowHeadId", (PyCFunction
) _wrap_PyLineShape_DeleteArrowHeadId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37306 { (char *)"PyLineShape_DeleteArrowHead", (PyCFunction
) _wrap_PyLineShape_DeleteArrowHead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37307 { (char *)"PyLineShape_DeleteLineControlPoint", (PyCFunction
) _wrap_PyLineShape_DeleteLineControlPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37308 { (char *)"PyLineShape_DrawArrows", (PyCFunction
) _wrap_PyLineShape_DrawArrows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37309 { (char *)"PyLineShape_DrawRegion", (PyCFunction
) _wrap_PyLineShape_DrawRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37310 { (char *)"PyLineShape_EraseRegion", (PyCFunction
) _wrap_PyLineShape_EraseRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37311 { (char *)"PyLineShape_FindArrowHeadId", (PyCFunction
) _wrap_PyLineShape_FindArrowHeadId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37312 { (char *)"PyLineShape_FindArrowHead", (PyCFunction
) _wrap_PyLineShape_FindArrowHead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37313 { (char *)"PyLineShape_FindLineEndPoints", (PyCFunction
) _wrap_PyLineShape_FindLineEndPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37314 { (char *)"PyLineShape_FindLinePosition", (PyCFunction
) _wrap_PyLineShape_FindLinePosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37315 { (char *)"PyLineShape_FindMinimumWidth", (PyCFunction
) _wrap_PyLineShape_FindMinimumWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37316 { (char *)"PyLineShape_FindNth", (PyCFunction
) _wrap_PyLineShape_FindNth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37317 { (char *)"PyLineShape_GetAttachmentFrom", (PyCFunction
) _wrap_PyLineShape_GetAttachmentFrom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37318 { (char *)"PyLineShape_GetAttachmentTo", (PyCFunction
) _wrap_PyLineShape_GetAttachmentTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37319 { (char *)"PyLineShape_GetEnds", (PyCFunction
) _wrap_PyLineShape_GetEnds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37320 { (char *)"PyLineShape_GetFrom", (PyCFunction
) _wrap_PyLineShape_GetFrom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37321 { (char *)"PyLineShape_GetLabelPosition", (PyCFunction
) _wrap_PyLineShape_GetLabelPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37322 { (char *)"PyLineShape_GetNextControlPoint", (PyCFunction
) _wrap_PyLineShape_GetNextControlPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37323 { (char *)"PyLineShape_GetTo", (PyCFunction
) _wrap_PyLineShape_GetTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37324 { (char *)"PyLineShape_Initialise", (PyCFunction
) _wrap_PyLineShape_Initialise
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37325 { (char *)"PyLineShape_InsertLineControlPoint", (PyCFunction
) _wrap_PyLineShape_InsertLineControlPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37326 { (char *)"PyLineShape_IsEnd", (PyCFunction
) _wrap_PyLineShape_IsEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37327 { (char *)"PyLineShape_IsSpline", (PyCFunction
) _wrap_PyLineShape_IsSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37328 { (char *)"PyLineShape_MakeLineControlPoints", (PyCFunction
) _wrap_PyLineShape_MakeLineControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37329 { (char *)"PyLineShape_GetLineControlPoints", (PyCFunction
) _wrap_PyLineShape_GetLineControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37330 { (char *)"PyLineShape_SetLineControlPoints", (PyCFunction
) _wrap_PyLineShape_SetLineControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37331 { (char *)"PyLineShape_SetAttachmentFrom", (PyCFunction
) _wrap_PyLineShape_SetAttachmentFrom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37332 { (char *)"PyLineShape_SetAttachments", (PyCFunction
) _wrap_PyLineShape_SetAttachments
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37333 { (char *)"PyLineShape_SetAttachmentTo", (PyCFunction
) _wrap_PyLineShape_SetAttachmentTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37334 { (char *)"PyLineShape_SetEnds", (PyCFunction
) _wrap_PyLineShape_SetEnds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37335 { (char *)"PyLineShape_SetFrom", (PyCFunction
) _wrap_PyLineShape_SetFrom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37336 { (char *)"PyLineShape_SetIgnoreOffsets", (PyCFunction
) _wrap_PyLineShape_SetIgnoreOffsets
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37337 { (char *)"PyLineShape_SetSpline", (PyCFunction
) _wrap_PyLineShape_SetSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37338 { (char *)"PyLineShape_SetTo", (PyCFunction
) _wrap_PyLineShape_SetTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37339 { (char *)"PyLineShape_Straighten", (PyCFunction
) _wrap_PyLineShape_Straighten
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37340 { (char *)"PyLineShape_Unlink", (PyCFunction
) _wrap_PyLineShape_Unlink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37341 { (char *)"PyLineShape_SetAlignmentOrientation", (PyCFunction
) _wrap_PyLineShape_SetAlignmentOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37342 { (char *)"PyLineShape_SetAlignmentType", (PyCFunction
) _wrap_PyLineShape_SetAlignmentType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37343 { (char *)"PyLineShape_GetAlignmentOrientation", (PyCFunction
) _wrap_PyLineShape_GetAlignmentOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37344 { (char *)"PyLineShape_GetAlignmentType", (PyCFunction
) _wrap_PyLineShape_GetAlignmentType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37345 { (char *)"PyLineShape_GetAlignmentStart", (PyCFunction
) _wrap_PyLineShape_GetAlignmentStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37346 { (char *)"PyLineShape_GetAlignmentEnd", (PyCFunction
) _wrap_PyLineShape_GetAlignmentEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37347 { (char *)"PyLineShape_base_OnDraw", (PyCFunction
) _wrap_PyLineShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37348 { (char *)"PyLineShape_base_OnDrawContents", (PyCFunction
) _wrap_PyLineShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37349 { (char *)"PyLineShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyLineShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37350 { (char *)"PyLineShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyLineShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37351 { (char *)"PyLineShape_base_OnErase", (PyCFunction
) _wrap_PyLineShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37352 { (char *)"PyLineShape_base_OnEraseContents", (PyCFunction
) _wrap_PyLineShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37353 { (char *)"PyLineShape_base_OnHighlight", (PyCFunction
) _wrap_PyLineShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37354 { (char *)"PyLineShape_base_OnLeftClick", (PyCFunction
) _wrap_PyLineShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37355 { (char *)"PyLineShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyLineShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37356 { (char *)"PyLineShape_base_OnRightClick", (PyCFunction
) _wrap_PyLineShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37357 { (char *)"PyLineShape_base_OnSize", (PyCFunction
) _wrap_PyLineShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37358 { (char *)"PyLineShape_base_OnMovePre", (PyCFunction
) _wrap_PyLineShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37359 { (char *)"PyLineShape_base_OnMovePost", (PyCFunction
) _wrap_PyLineShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37360 { (char *)"PyLineShape_base_OnDragLeft", (PyCFunction
) _wrap_PyLineShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37361 { (char *)"PyLineShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyLineShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37362 { (char *)"PyLineShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyLineShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37363 { (char *)"PyLineShape_base_OnDragRight", (PyCFunction
) _wrap_PyLineShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37364 { (char *)"PyLineShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyLineShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37365 { (char *)"PyLineShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyLineShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37366 { (char *)"PyLineShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyLineShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37367 { (char *)"PyLineShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyLineShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37368 { (char *)"PyLineShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyLineShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37369 { (char *)"PyLineShape_base_OnMoveLink", (PyCFunction
) _wrap_PyLineShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37370 { (char *)"PyLineShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyLineShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37371 { (char *)"PyLineShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyLineShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37372 { (char *)"PyLineShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyLineShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37373 { (char *)"PyLineShape_base_OnBeginSize", (PyCFunction
) _wrap_PyLineShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37374 { (char *)"PyLineShape_base_OnEndSize", (PyCFunction
) _wrap_PyLineShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37375 { (char *)"PyLineShape_swigregister", PyLineShape_swigregister
, METH_VARARGS
, NULL
},
37376 { (char *)"new_PyPolygonShape", (PyCFunction
) _wrap_new_PyPolygonShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37377 { (char *)"PyPolygonShape__setCallbackInfo", (PyCFunction
) _wrap_PyPolygonShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37378 { (char *)"PyPolygonShape_Create", (PyCFunction
) _wrap_PyPolygonShape_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37379 { (char *)"PyPolygonShape_AddPolygonPoint", (PyCFunction
) _wrap_PyPolygonShape_AddPolygonPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37380 { (char *)"PyPolygonShape_CalculatePolygonCentre", (PyCFunction
) _wrap_PyPolygonShape_CalculatePolygonCentre
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37381 { (char *)"PyPolygonShape_DeletePolygonPoint", (PyCFunction
) _wrap_PyPolygonShape_DeletePolygonPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37382 { (char *)"PyPolygonShape_GetPoints", (PyCFunction
) _wrap_PyPolygonShape_GetPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37383 { (char *)"PyPolygonShape_GetOriginalPoints", (PyCFunction
) _wrap_PyPolygonShape_GetOriginalPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37384 { (char *)"PyPolygonShape_GetOriginalWidth", (PyCFunction
) _wrap_PyPolygonShape_GetOriginalWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37385 { (char *)"PyPolygonShape_GetOriginalHeight", (PyCFunction
) _wrap_PyPolygonShape_GetOriginalHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37386 { (char *)"PyPolygonShape_SetOriginalWidth", (PyCFunction
) _wrap_PyPolygonShape_SetOriginalWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37387 { (char *)"PyPolygonShape_SetOriginalHeight", (PyCFunction
) _wrap_PyPolygonShape_SetOriginalHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37388 { (char *)"PyPolygonShape_UpdateOriginalPoints", (PyCFunction
) _wrap_PyPolygonShape_UpdateOriginalPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37389 { (char *)"PyPolygonShape_base_OnDraw", (PyCFunction
) _wrap_PyPolygonShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37390 { (char *)"PyPolygonShape_base_OnDrawContents", (PyCFunction
) _wrap_PyPolygonShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37391 { (char *)"PyPolygonShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyPolygonShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37392 { (char *)"PyPolygonShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyPolygonShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37393 { (char *)"PyPolygonShape_base_OnErase", (PyCFunction
) _wrap_PyPolygonShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37394 { (char *)"PyPolygonShape_base_OnEraseContents", (PyCFunction
) _wrap_PyPolygonShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37395 { (char *)"PyPolygonShape_base_OnHighlight", (PyCFunction
) _wrap_PyPolygonShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37396 { (char *)"PyPolygonShape_base_OnLeftClick", (PyCFunction
) _wrap_PyPolygonShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37397 { (char *)"PyPolygonShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyPolygonShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37398 { (char *)"PyPolygonShape_base_OnRightClick", (PyCFunction
) _wrap_PyPolygonShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37399 { (char *)"PyPolygonShape_base_OnSize", (PyCFunction
) _wrap_PyPolygonShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37400 { (char *)"PyPolygonShape_base_OnMovePre", (PyCFunction
) _wrap_PyPolygonShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37401 { (char *)"PyPolygonShape_base_OnMovePost", (PyCFunction
) _wrap_PyPolygonShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37402 { (char *)"PyPolygonShape_base_OnDragLeft", (PyCFunction
) _wrap_PyPolygonShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37403 { (char *)"PyPolygonShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyPolygonShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37404 { (char *)"PyPolygonShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyPolygonShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37405 { (char *)"PyPolygonShape_base_OnDragRight", (PyCFunction
) _wrap_PyPolygonShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37406 { (char *)"PyPolygonShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyPolygonShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37407 { (char *)"PyPolygonShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyPolygonShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37408 { (char *)"PyPolygonShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyPolygonShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37409 { (char *)"PyPolygonShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyPolygonShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37410 { (char *)"PyPolygonShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyPolygonShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37411 { (char *)"PyPolygonShape_base_OnMoveLink", (PyCFunction
) _wrap_PyPolygonShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37412 { (char *)"PyPolygonShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyPolygonShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37413 { (char *)"PyPolygonShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyPolygonShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37414 { (char *)"PyPolygonShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyPolygonShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37415 { (char *)"PyPolygonShape_base_OnBeginSize", (PyCFunction
) _wrap_PyPolygonShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37416 { (char *)"PyPolygonShape_base_OnEndSize", (PyCFunction
) _wrap_PyPolygonShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37417 { (char *)"PyPolygonShape_swigregister", PyPolygonShape_swigregister
, METH_VARARGS
, NULL
},
37418 { (char *)"new_PyTextShape", (PyCFunction
) _wrap_new_PyTextShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37419 { (char *)"PyTextShape__setCallbackInfo", (PyCFunction
) _wrap_PyTextShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37420 { (char *)"PyTextShape_base_OnDelete", (PyCFunction
) _wrap_PyTextShape_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37421 { (char *)"PyTextShape_base_OnDraw", (PyCFunction
) _wrap_PyTextShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37422 { (char *)"PyTextShape_base_OnDrawContents", (PyCFunction
) _wrap_PyTextShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37423 { (char *)"PyTextShape_base_OnDrawBranches", (PyCFunction
) _wrap_PyTextShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37424 { (char *)"PyTextShape_base_OnMoveLinks", (PyCFunction
) _wrap_PyTextShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37425 { (char *)"PyTextShape_base_OnErase", (PyCFunction
) _wrap_PyTextShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37426 { (char *)"PyTextShape_base_OnEraseContents", (PyCFunction
) _wrap_PyTextShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37427 { (char *)"PyTextShape_base_OnHighlight", (PyCFunction
) _wrap_PyTextShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37428 { (char *)"PyTextShape_base_OnLeftClick", (PyCFunction
) _wrap_PyTextShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37429 { (char *)"PyTextShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_PyTextShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37430 { (char *)"PyTextShape_base_OnRightClick", (PyCFunction
) _wrap_PyTextShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37431 { (char *)"PyTextShape_base_OnSize", (PyCFunction
) _wrap_PyTextShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37432 { (char *)"PyTextShape_base_OnMovePre", (PyCFunction
) _wrap_PyTextShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37433 { (char *)"PyTextShape_base_OnMovePost", (PyCFunction
) _wrap_PyTextShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37434 { (char *)"PyTextShape_base_OnDragLeft", (PyCFunction
) _wrap_PyTextShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37435 { (char *)"PyTextShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyTextShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37436 { (char *)"PyTextShape_base_OnEndDragLeft", (PyCFunction
) _wrap_PyTextShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37437 { (char *)"PyTextShape_base_OnDragRight", (PyCFunction
) _wrap_PyTextShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37438 { (char *)"PyTextShape_base_OnBeginDragRight", (PyCFunction
) _wrap_PyTextShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37439 { (char *)"PyTextShape_base_OnEndDragRight", (PyCFunction
) _wrap_PyTextShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37440 { (char *)"PyTextShape_base_OnDrawOutline", (PyCFunction
) _wrap_PyTextShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37441 { (char *)"PyTextShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_PyTextShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37442 { (char *)"PyTextShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_PyTextShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37443 { (char *)"PyTextShape_base_OnMoveLink", (PyCFunction
) _wrap_PyTextShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37444 { (char *)"PyTextShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_PyTextShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37445 { (char *)"PyTextShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_PyTextShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37446 { (char *)"PyTextShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_PyTextShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37447 { (char *)"PyTextShape_base_OnBeginSize", (PyCFunction
) _wrap_PyTextShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37448 { (char *)"PyTextShape_base_OnEndSize", (PyCFunction
) _wrap_PyTextShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37449 { (char *)"PyTextShape_swigregister", PyTextShape_swigregister
, METH_VARARGS
, NULL
},
37450 { (char *)"new_Diagram", (PyCFunction
) _wrap_new_Diagram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37451 { (char *)"Diagram_AddShape", (PyCFunction
) _wrap_Diagram_AddShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37452 { (char *)"Diagram_Clear", (PyCFunction
) _wrap_Diagram_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37453 { (char *)"Diagram_DeleteAllShapes", (PyCFunction
) _wrap_Diagram_DeleteAllShapes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37454 { (char *)"Diagram_DrawOutline", (PyCFunction
) _wrap_Diagram_DrawOutline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37455 { (char *)"Diagram_FindShape", (PyCFunction
) _wrap_Diagram_FindShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37456 { (char *)"Diagram_GetCanvas", (PyCFunction
) _wrap_Diagram_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37457 { (char *)"Diagram_GetCount", (PyCFunction
) _wrap_Diagram_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37458 { (char *)"Diagram_GetGridSpacing", (PyCFunction
) _wrap_Diagram_GetGridSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37459 { (char *)"Diagram_GetMouseTolerance", (PyCFunction
) _wrap_Diagram_GetMouseTolerance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37460 { (char *)"Diagram_GetShapeList", (PyCFunction
) _wrap_Diagram_GetShapeList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37461 { (char *)"Diagram_GetQuickEditMode", (PyCFunction
) _wrap_Diagram_GetQuickEditMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37462 { (char *)"Diagram_GetSnapToGrid", (PyCFunction
) _wrap_Diagram_GetSnapToGrid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37463 { (char *)"Diagram_InsertShape", (PyCFunction
) _wrap_Diagram_InsertShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37464 { (char *)"Diagram_RecentreAll", (PyCFunction
) _wrap_Diagram_RecentreAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37465 { (char *)"Diagram_Redraw", (PyCFunction
) _wrap_Diagram_Redraw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37466 { (char *)"Diagram_RemoveAllShapes", (PyCFunction
) _wrap_Diagram_RemoveAllShapes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37467 { (char *)"Diagram_RemoveShape", (PyCFunction
) _wrap_Diagram_RemoveShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37468 { (char *)"Diagram_SetCanvas", (PyCFunction
) _wrap_Diagram_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37469 { (char *)"Diagram_SetGridSpacing", (PyCFunction
) _wrap_Diagram_SetGridSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37470 { (char *)"Diagram_SetMouseTolerance", (PyCFunction
) _wrap_Diagram_SetMouseTolerance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37471 { (char *)"Diagram_SetQuickEditMode", (PyCFunction
) _wrap_Diagram_SetQuickEditMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37472 { (char *)"Diagram_SetSnapToGrid", (PyCFunction
) _wrap_Diagram_SetSnapToGrid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37473 { (char *)"Diagram_ShowAll", (PyCFunction
) _wrap_Diagram_ShowAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37474 { (char *)"Diagram_Snap", (PyCFunction
) _wrap_Diagram_Snap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37475 { (char *)"Diagram_swigregister", Diagram_swigregister
, METH_VARARGS
, NULL
},
37476 { (char *)"new_PyShapeCanvas", (PyCFunction
) _wrap_new_PyShapeCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37477 { (char *)"PyShapeCanvas__setCallbackInfo", (PyCFunction
) _wrap_PyShapeCanvas__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37478 { (char *)"PyShapeCanvas_AddShape", (PyCFunction
) _wrap_PyShapeCanvas_AddShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37479 { (char *)"PyShapeCanvas_FindShape", (PyCFunction
) _wrap_PyShapeCanvas_FindShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37480 { (char *)"PyShapeCanvas_FindFirstSensitiveShape", (PyCFunction
) _wrap_PyShapeCanvas_FindFirstSensitiveShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37481 { (char *)"PyShapeCanvas_GetDiagram", (PyCFunction
) _wrap_PyShapeCanvas_GetDiagram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37482 { (char *)"PyShapeCanvas_GetQuickEditMode", (PyCFunction
) _wrap_PyShapeCanvas_GetQuickEditMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37483 { (char *)"PyShapeCanvas_InsertShape", (PyCFunction
) _wrap_PyShapeCanvas_InsertShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37484 { (char *)"PyShapeCanvas_base_OnBeginDragLeft", (PyCFunction
) _wrap_PyShapeCanvas_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37485 { (char *)"PyShapeCanvas_base_OnBeginDragRight", (PyCFunction
) _wrap_PyShapeCanvas_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37486 { (char *)"PyShapeCanvas_base_OnEndDragLeft", (PyCFunction
) _wrap_PyShapeCanvas_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37487 { (char *)"PyShapeCanvas_base_OnEndDragRight", (PyCFunction
) _wrap_PyShapeCanvas_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37488 { (char *)"PyShapeCanvas_base_OnDragLeft", (PyCFunction
) _wrap_PyShapeCanvas_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37489 { (char *)"PyShapeCanvas_base_OnDragRight", (PyCFunction
) _wrap_PyShapeCanvas_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37490 { (char *)"PyShapeCanvas_base_OnLeftClick", (PyCFunction
) _wrap_PyShapeCanvas_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37491 { (char *)"PyShapeCanvas_base_OnRightClick", (PyCFunction
) _wrap_PyShapeCanvas_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37492 { (char *)"PyShapeCanvas_Redraw", (PyCFunction
) _wrap_PyShapeCanvas_Redraw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37493 { (char *)"PyShapeCanvas_RemoveShape", (PyCFunction
) _wrap_PyShapeCanvas_RemoveShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37494 { (char *)"PyShapeCanvas_SetDiagram", (PyCFunction
) _wrap_PyShapeCanvas_SetDiagram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37495 { (char *)"PyShapeCanvas_Snap", (PyCFunction
) _wrap_PyShapeCanvas_Snap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37496 { (char *)"PyShapeCanvas_swigregister", PyShapeCanvas_swigregister
, METH_VARARGS
, NULL
},
37497 { (char *)"OGLInitialize", (PyCFunction
) _wrap_OGLInitialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37498 { (char *)"OGLCleanUp", (PyCFunction
) _wrap_OGLCleanUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37499 { NULL
, NULL
, 0, NULL
}
37503 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
37505 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
37506 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
37508 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
37509 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
37511 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
37512 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
37514 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
37515 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
37517 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
37518 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
37520 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
37521 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
37523 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
37524 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
37526 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
37527 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
37529 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
37530 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
37532 static void *_p_wxPyShapeCanvasTo_p_wxPanel(void *x
) {
37533 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyShapeCanvas
*) x
));
37535 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
37536 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
37538 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
37539 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
37541 static void *_p_wxPyShapeCanvasTo_p_wxScrolledWindow(void *x
) {
37542 return (void *)((wxScrolledWindow
*) ((wxPyShapeCanvas
*) x
));
37544 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
37545 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
37547 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
37548 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
37550 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
37551 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
37553 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
37554 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
37556 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
37557 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
37559 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
37560 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
37562 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
37563 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
37565 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x
) {
37566 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
37568 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
37569 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
37571 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
37572 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
37574 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
37575 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
37577 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
37578 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
37580 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
37581 return (void *)((wxWindow
*) ((wxPanel
*) x
));
37583 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
37584 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
37586 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
37587 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
37589 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
37590 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
37592 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
37593 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
37595 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
37596 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
37598 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
37599 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
37601 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
37602 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
37604 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
37605 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
37607 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
37608 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
37610 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
37611 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
37613 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
37614 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
37616 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
37617 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
37619 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
37620 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
37622 static void *_p_wxControlTo_p_wxWindow(void *x
) {
37623 return (void *)((wxWindow
*) ((wxControl
*) x
));
37625 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
37626 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
37628 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
37629 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
37631 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
37632 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
37634 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
37635 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
37637 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
37638 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
37640 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
37641 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
37643 static void *_p_wxPyShapeCanvasTo_p_wxWindow(void *x
) {
37644 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyShapeCanvas
*) x
));
37646 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
37647 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
37649 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
37650 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
37652 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
37653 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
37655 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
37656 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
37658 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
37659 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
37661 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
37662 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
37664 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
37665 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
37667 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
37668 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
37670 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
37671 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
37673 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
37674 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
37676 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
37677 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
37679 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
37680 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
37682 static void *_p_wxPyControlPointTo_p_wxObject(void *x
) {
37683 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*)(wxPyRectangleShape
*) ((wxPyControlPoint
*) x
));
37685 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
37686 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
37688 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
37689 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
37691 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
37692 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
37694 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
37695 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
37697 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
37698 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
37700 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
37701 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
37703 static void *_p_wxOGLConstraintTo_p_wxObject(void *x
) {
37704 return (void *)((wxObject
*) ((wxOGLConstraint
*) x
));
37706 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
37707 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
37709 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
37710 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
37712 static void *_p_wxSizerTo_p_wxObject(void *x
) {
37713 return (void *)((wxObject
*) ((wxSizer
*) x
));
37715 static void *_p_wxPyDrawnShapeTo_p_wxObject(void *x
) {
37716 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*)(wxPyRectangleShape
*) ((wxPyDrawnShape
*) x
));
37718 static void *_p_wxPyDivisionShapeTo_p_wxObject(void *x
) {
37719 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*)(wxPyRectangleShape
*)(wxPyCompositeShape
*) ((wxPyDivisionShape
*) x
));
37721 static void *_p_wxPyPolygonShapeTo_p_wxObject(void *x
) {
37722 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*) ((wxPyPolygonShape
*) x
));
37724 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
37725 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
37727 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
37728 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
37730 static void *_p_wxArrowHeadTo_p_wxObject(void *x
) {
37731 return (void *)((wxObject
*) ((wxArrowHead
*) x
));
37733 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
37734 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
37736 static void *_p_wxEventTo_p_wxObject(void *x
) {
37737 return (void *)((wxObject
*) ((wxEvent
*) x
));
37739 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
37740 return (void *)((wxObject
*) ((wxFontData
*) x
));
37742 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
37743 return (void *)((wxObject
*) ((wxPrintData
*) x
));
37745 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
37746 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
37748 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
37749 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
37751 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
37752 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
37754 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
37755 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
37757 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x
) {
37758 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
37760 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
37761 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
37763 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
37764 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
37766 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
37767 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
37769 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
37770 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
37772 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
37773 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
37775 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
37776 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
37778 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
37779 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
37781 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
37782 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
37784 static void *_p_wxPyShapeCanvasTo_p_wxObject(void *x
) {
37785 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyShapeCanvas
*) x
));
37787 static void *_p_wxControlTo_p_wxObject(void *x
) {
37788 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
37790 static void *_p_wxPyEllipseShapeTo_p_wxObject(void *x
) {
37791 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*) ((wxPyEllipseShape
*) x
));
37793 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
37794 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
37796 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
37797 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
37799 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
37800 return (void *)((wxObject
*) ((wxFSFile
*) x
));
37802 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
37803 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
37805 static void *_p_wxPyBitmapShapeTo_p_wxObject(void *x
) {
37806 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*)(wxPyRectangleShape
*) ((wxPyBitmapShape
*) x
));
37808 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
37809 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
37811 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
37812 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
37814 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
37815 return (void *)((wxObject
*) ((wxColourData
*) x
));
37817 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
37818 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
37820 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
37821 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
37823 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
37824 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
37826 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
37827 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
37829 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
37830 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
37832 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
37833 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
37835 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
37836 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
37838 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
37839 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
37841 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x
) {
37842 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
37844 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
37845 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
37847 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
37848 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
37850 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
37851 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
37853 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
37854 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
37856 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
37857 return (void *)((wxObject
*) ((wxPrinter
*) x
));
37859 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
37860 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
37862 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
37863 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
37865 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
37866 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
37868 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
37869 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
37871 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
37872 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
37874 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
37875 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
37877 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
37878 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
37880 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
37881 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
37883 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
37884 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
37886 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
37887 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
37889 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
37890 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
37892 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
37893 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
37895 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
37896 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
37898 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
37899 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
37901 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
37902 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
37904 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
37905 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
37907 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
37908 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
37910 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
37911 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
37913 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
37914 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
37916 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
37917 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
37919 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
37920 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
37922 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
37923 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
37925 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
37926 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
37928 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
37929 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
37931 static void *_p_wxPyShapeEvtHandlerTo_p_wxObject(void *x
) {
37932 return (void *)((wxObject
*) ((wxPyShapeEvtHandler
*) x
));
37934 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
37935 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
37937 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
37938 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
37940 static void *_p_wxPyTextShapeTo_p_wxObject(void *x
) {
37941 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*)(wxPyRectangleShape
*) ((wxPyTextShape
*) x
));
37943 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
37944 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
37946 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
37947 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
37949 static void *_p_wxPyDividedShapeTo_p_wxObject(void *x
) {
37950 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*)(wxPyRectangleShape
*) ((wxPyDividedShape
*) x
));
37952 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
37953 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
37955 static void *_p_wxImageTo_p_wxObject(void *x
) {
37956 return (void *)((wxObject
*) ((wxImage
*) x
));
37958 static void *_p_wxFrameTo_p_wxObject(void *x
) {
37959 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
37961 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
37962 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
37964 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
37965 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
37967 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
37968 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
37970 static void *_p_wxDiagramTo_p_wxObject(void *x
) {
37971 return (void *)((wxObject
*) ((wxDiagram
*) x
));
37973 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
37974 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
37976 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
37977 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
37979 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
37980 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
37982 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
37983 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
37985 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
37986 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
37988 static void *_p_wxWindowTo_p_wxObject(void *x
) {
37989 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
37991 static void *_p_wxMenuTo_p_wxObject(void *x
) {
37992 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
37994 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
37995 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
37997 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
37998 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
38000 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
38001 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
38003 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
38004 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
38006 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
38007 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
38009 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
38010 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
38012 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
38013 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
38015 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
38016 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
38018 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
38019 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
38021 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
38022 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
38024 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
38025 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
38027 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
38028 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
38030 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
38031 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
38033 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
38034 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
38036 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
38037 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
38039 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
38040 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
38042 static void *_p_wxPanelTo_p_wxObject(void *x
) {
38043 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
38045 static void *_p_wxDialogTo_p_wxObject(void *x
) {
38046 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
38048 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
38049 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
38051 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
38052 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
38054 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
38055 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
38057 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
38058 return (void *)((wxObject
*) ((wxPageSetupDialog
*) x
));
38060 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
38061 return (void *)((wxObject
*) ((wxPrintDialog
*) x
));
38063 static void *_p_wxAttachmentPointTo_p_wxObject(void *x
) {
38064 return (void *)((wxObject
*) ((wxAttachmentPoint
*) x
));
38066 static void *_p_wxPyShapeTo_p_wxObject(void *x
) {
38067 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*) ((wxPyShape
*) x
));
38069 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
38070 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
38072 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
38073 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
38075 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
38076 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
38078 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
38079 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
38081 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
38082 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
38084 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
38085 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
38087 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
38088 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
38090 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
38091 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
38093 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
38094 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
38096 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
38097 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
38099 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
38100 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
38102 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
38103 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
38105 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
38106 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
38108 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
38109 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
38111 static void *_p_wxPyRectangleShapeTo_p_wxObject(void *x
) {
38112 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*) ((wxPyRectangleShape
*) x
));
38114 static void *_p_wxPyCompositeShapeTo_p_wxObject(void *x
) {
38115 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*)(wxPyRectangleShape
*) ((wxPyCompositeShape
*) x
));
38117 static void *_p_wxPyCircleShapeTo_p_wxObject(void *x
) {
38118 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*)(wxPyEllipseShape
*) ((wxPyCircleShape
*) x
));
38120 static void *_p_wxPyLineShapeTo_p_wxObject(void *x
) {
38121 return (void *)((wxObject
*) (wxPyShapeEvtHandler
*)(wxPyShape
*) ((wxPyLineShape
*) x
));
38123 static void *_p_wxPseudoMetaFileTo_p_wxObject(void *x
) {
38124 return (void *)((wxObject
*) ((wxPseudoMetaFile
*) x
));
38126 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
38127 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
38129 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
38130 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
38132 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
38133 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
38135 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
38136 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
38138 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
38139 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
38141 static void *_p_wxShapeRegionTo_p_wxObject(void *x
) {
38142 return (void *)((wxObject
*) ((wxShapeRegion
*) x
));
38144 static void *_p_wxPyRectangleShapeTo_p_wxPyShapeEvtHandler(void *x
) {
38145 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*) ((wxPyRectangleShape
*) x
));
38147 static void *_p_wxPyBitmapShapeTo_p_wxPyShapeEvtHandler(void *x
) {
38148 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*)(wxPyRectangleShape
*) ((wxPyBitmapShape
*) x
));
38150 static void *_p_wxPyCompositeShapeTo_p_wxPyShapeEvtHandler(void *x
) {
38151 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*)(wxPyRectangleShape
*) ((wxPyCompositeShape
*) x
));
38153 static void *_p_wxPyCircleShapeTo_p_wxPyShapeEvtHandler(void *x
) {
38154 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*)(wxPyEllipseShape
*) ((wxPyCircleShape
*) x
));
38156 static void *_p_wxPyLineShapeTo_p_wxPyShapeEvtHandler(void *x
) {
38157 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*) ((wxPyLineShape
*) x
));
38159 static void *_p_wxPyTextShapeTo_p_wxPyShapeEvtHandler(void *x
) {
38160 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*)(wxPyRectangleShape
*) ((wxPyTextShape
*) x
));
38162 static void *_p_wxPyControlPointTo_p_wxPyShapeEvtHandler(void *x
) {
38163 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*)(wxPyRectangleShape
*) ((wxPyControlPoint
*) x
));
38165 static void *_p_wxPyDrawnShapeTo_p_wxPyShapeEvtHandler(void *x
) {
38166 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*)(wxPyRectangleShape
*) ((wxPyDrawnShape
*) x
));
38168 static void *_p_wxPyDivisionShapeTo_p_wxPyShapeEvtHandler(void *x
) {
38169 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*)(wxPyRectangleShape
*)(wxPyCompositeShape
*) ((wxPyDivisionShape
*) x
));
38171 static void *_p_wxPyPolygonShapeTo_p_wxPyShapeEvtHandler(void *x
) {
38172 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*) ((wxPyPolygonShape
*) x
));
38174 static void *_p_wxPyDividedShapeTo_p_wxPyShapeEvtHandler(void *x
) {
38175 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*)(wxPyRectangleShape
*) ((wxPyDividedShape
*) x
));
38177 static void *_p_wxPyShapeTo_p_wxPyShapeEvtHandler(void *x
) {
38178 return (void *)((wxPyShapeEvtHandler
*) ((wxPyShape
*) x
));
38180 static void *_p_wxPyEllipseShapeTo_p_wxPyShapeEvtHandler(void *x
) {
38181 return (void *)((wxPyShapeEvtHandler
*) (wxPyShape
*) ((wxPyEllipseShape
*) x
));
38183 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
38184 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
38186 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
38187 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
38189 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
38190 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
38192 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
38193 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
38195 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
38196 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
38198 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
38199 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
38201 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
38202 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
38204 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x
) {
38205 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
38207 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
38208 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
38210 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
38211 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
38213 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
38214 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
38216 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
38217 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
38219 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
38220 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
38222 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
38223 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
38225 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
38226 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
38228 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
38229 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
38231 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
38232 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
38234 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
38235 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
38237 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
38238 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
38240 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
38241 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
38243 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
38244 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
38246 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
38247 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
38249 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
38250 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
38252 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
38253 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
38255 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
38256 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
38258 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
38259 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
38261 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
38262 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
38264 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
38265 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
38267 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
38268 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
38270 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
38271 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
38273 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
38274 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
38276 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
38277 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
38279 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
38280 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
38282 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
38283 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
38285 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
38286 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
38288 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
38289 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
38291 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
38292 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
38294 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
38295 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
38297 static void *_p_wxPyShapeCanvasTo_p_wxEvtHandler(void *x
) {
38298 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyShapeCanvas
*) x
));
38300 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
38301 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
38303 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
38304 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
38306 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
38307 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
38309 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
38310 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
38312 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x
) {
38313 return (void *)((wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
38315 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
38316 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
38318 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
38319 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
38321 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
38322 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
38324 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
38325 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
38327 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
38328 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
38330 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
38331 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
38333 static void *_p_wxPyCircleShapeTo_p_wxPyEllipseShape(void *x
) {
38334 return (void *)((wxPyEllipseShape
*) ((wxPyCircleShape
*) x
));
38336 static void *_p_wxPyRectangleShapeTo_p_wxPyShape(void *x
) {
38337 return (void *)((wxPyShape
*) ((wxPyRectangleShape
*) x
));
38339 static void *_p_wxPyBitmapShapeTo_p_wxPyShape(void *x
) {
38340 return (void *)((wxPyShape
*) (wxPyRectangleShape
*) ((wxPyBitmapShape
*) x
));
38342 static void *_p_wxPyCompositeShapeTo_p_wxPyShape(void *x
) {
38343 return (void *)((wxPyShape
*) (wxPyRectangleShape
*) ((wxPyCompositeShape
*) x
));
38345 static void *_p_wxPyCircleShapeTo_p_wxPyShape(void *x
) {
38346 return (void *)((wxPyShape
*) (wxPyEllipseShape
*) ((wxPyCircleShape
*) x
));
38348 static void *_p_wxPyLineShapeTo_p_wxPyShape(void *x
) {
38349 return (void *)((wxPyShape
*) ((wxPyLineShape
*) x
));
38351 static void *_p_wxPyTextShapeTo_p_wxPyShape(void *x
) {
38352 return (void *)((wxPyShape
*) (wxPyRectangleShape
*) ((wxPyTextShape
*) x
));
38354 static void *_p_wxPyControlPointTo_p_wxPyShape(void *x
) {
38355 return (void *)((wxPyShape
*) (wxPyRectangleShape
*) ((wxPyControlPoint
*) x
));
38357 static void *_p_wxPyDrawnShapeTo_p_wxPyShape(void *x
) {
38358 return (void *)((wxPyShape
*) (wxPyRectangleShape
*) ((wxPyDrawnShape
*) x
));
38360 static void *_p_wxPyDivisionShapeTo_p_wxPyShape(void *x
) {
38361 return (void *)((wxPyShape
*) (wxPyRectangleShape
*)(wxPyCompositeShape
*) ((wxPyDivisionShape
*) x
));
38363 static void *_p_wxPyPolygonShapeTo_p_wxPyShape(void *x
) {
38364 return (void *)((wxPyShape
*) ((wxPyPolygonShape
*) x
));
38366 static void *_p_wxPyDividedShapeTo_p_wxPyShape(void *x
) {
38367 return (void *)((wxPyShape
*) (wxPyRectangleShape
*) ((wxPyDividedShape
*) x
));
38369 static void *_p_wxPyEllipseShapeTo_p_wxPyShape(void *x
) {
38370 return (void *)((wxPyShape
*) ((wxPyEllipseShape
*) x
));
38372 static void *_p_wxPyBitmapShapeTo_p_wxPyRectangleShape(void *x
) {
38373 return (void *)((wxPyRectangleShape
*) ((wxPyBitmapShape
*) x
));
38375 static void *_p_wxPyCompositeShapeTo_p_wxPyRectangleShape(void *x
) {
38376 return (void *)((wxPyRectangleShape
*) ((wxPyCompositeShape
*) x
));
38378 static void *_p_wxPyTextShapeTo_p_wxPyRectangleShape(void *x
) {
38379 return (void *)((wxPyRectangleShape
*) ((wxPyTextShape
*) x
));
38381 static void *_p_wxPyControlPointTo_p_wxPyRectangleShape(void *x
) {
38382 return (void *)((wxPyRectangleShape
*) ((wxPyControlPoint
*) x
));
38384 static void *_p_wxPyDrawnShapeTo_p_wxPyRectangleShape(void *x
) {
38385 return (void *)((wxPyRectangleShape
*) ((wxPyDrawnShape
*) x
));
38387 static void *_p_wxPyDivisionShapeTo_p_wxPyRectangleShape(void *x
) {
38388 return (void *)((wxPyRectangleShape
*) (wxPyCompositeShape
*) ((wxPyDivisionShape
*) x
));
38390 static void *_p_wxPyDividedShapeTo_p_wxPyRectangleShape(void *x
) {
38391 return (void *)((wxPyRectangleShape
*) ((wxPyDividedShape
*) x
));
38393 static void *_p_wxPyDivisionShapeTo_p_wxPyCompositeShape(void *x
) {
38394 return (void *)((wxPyCompositeShape
*) ((wxPyDivisionShape
*) x
));
38396 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}};
38397 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}};
38398 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}};
38399 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}};
38400 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}};
38401 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}};
38402 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}};
38403 static swig_type_info _swigt__p_form_ops_t
[] = {{"_p_form_ops_t", 0, "enum form_ops_t *|form_ops_t *", 0, 0, 0, 0},{"_p_form_ops_t", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
38404 static swig_type_info _swigt__p_wxDuplexMode
[] = {{"_p_wxDuplexMode", 0, "enum wxDuplexMode *|wxDuplexMode *", 0, 0, 0, 0},{"_p_wxDuplexMode", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
38405 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}};
38406 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}};
38407 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}};
38408 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}};
38409 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}};
38410 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}};
38411 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}};
38412 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}};
38413 static swig_type_info _swigt__p_wxWindow
[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyShapeCanvas", _p_wxPyShapeCanvasTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
38414 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}};
38415 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}};
38416 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}};
38417 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}};
38418 static swig_type_info _swigt__p_wxObject
[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyControlPoint", _p_wxPyControlPointTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxOGLConstraint", _p_wxOGLConstraintTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPolygonShape", _p_wxPyPolygonShapeTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyDivisionShape", _p_wxPyDivisionShapeTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyDrawnShape", _p_wxPyDrawnShapeTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxArrowHead", _p_wxArrowHeadTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFontData", _p_wxFontDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrintData", _p_wxPrintDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyTaskBarIcon", _p_wxPyTaskBarIconTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxLayoutAlgorithm", _p_wxLayoutAlgorithmTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyShapeCanvas", _p_wxPyShapeCanvasTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyEllipseShape", _p_wxPyEllipseShapeTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceData", _p_wxFindReplaceDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyBitmapShape", _p_wxPyBitmapShapeTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxColourData", _p_wxColourDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrinter", _p_wxPrinterTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_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_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_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_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_wxStdDialogButtonSizer", _p_wxStdDialogButtonSizerTo_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_wxPyShape", _p_wxPyShapeTo_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_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}};
38419 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}};
38420 static swig_type_info _swigt__p_wxPaperSize
[] = {{"_p_wxPaperSize", 0, "enum wxPaperSize *|wxPaperSize *", 0, 0, 0, 0},{"_p_wxPaperSize", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
38421 static swig_type_info _swigt__p_unsigned_int
[] = {{"_p_unsigned_int", 0, "unsigned int *|time_t *", 0, 0, 0, 0},{"_p_unsigned_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
38422 static swig_type_info _swigt__unsigned_int
[] = {{"_unsigned_int", 0, "unsigned int|std::size_t", 0, 0, 0, 0},{"_unsigned_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
38423 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}};
38424 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}};
38425 static swig_type_info _swigt__p_wxEvtHandler
[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPyShapeCanvas", _p_wxPyShapeCanvasTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyTaskBarIcon", _p_wxPyTaskBarIconTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_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}};
38426 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}};
38427 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}};
38428 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}};
38429 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}};
38430 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}};
38431 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}};
38432 static swig_type_info _swigt__p_unsigned_char
[] = {{"_p_unsigned_char", 0, "unsigned char *|byte *", 0, 0, 0, 0},{"_p_unsigned_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
38433 static swig_type_info _swigt__ptrdiff_t
[] = {{"_ptrdiff_t", 0, "ptrdiff_t", 0, 0, 0, 0},{"_ptrdiff_t", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
38434 static swig_type_info _swigt__std__ptrdiff_t
[] = {{"_std__ptrdiff_t", 0, "std::ptrdiff_t", 0, 0, 0, 0},{"_std__ptrdiff_t", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
38435 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}};
38436 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}};
38437 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}};
38438 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}};
38439 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}};
38440 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}};
38441 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}};
38442 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}};
38443 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}};
38444 static swig_type_info _swigt__p_unsigned_long
[] = {{"_p_unsigned_long", 0, "unsigned long *|wxUIntPtr *", 0, 0, 0, 0},{"_p_unsigned_long", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
38445 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}};
38447 static swig_type_info
*swig_types_initial
[] = {
38448 _swigt__p_wxOGLConstraint
,
38450 _swigt__p_wxColour
,
38451 _swigt__p_wxShapeRegion
,
38453 _swigt__p_wxPyControlPoint
,
38454 _swigt__p_wxRealPoint
,
38455 _swigt__p_form_ops_t
,
38456 _swigt__p_wxDuplexMode
,
38457 _swigt__p_wxArrowHead
,
38461 _swigt__p_wxStringList
,
38464 _swigt__p_wxScrolledWindow
,
38465 _swigt__p_wxWindow
,
38467 _swigt__p_wxPyDrawnShape
,
38468 _swigt__p_wxPyDivisionShape
,
38469 _swigt__p_wxPyPolygonShape
,
38470 _swigt__p_wxObject
,
38471 _swigt__p_wxBitmap
,
38472 _swigt__p_wxPaperSize
,
38473 _swigt__p_unsigned_int
,
38474 _swigt__unsigned_int
,
38475 _swigt__p_wxPyBitmapShape
,
38476 _swigt__p_wxPyShapeEvtHandler
,
38477 _swigt__p_wxEvtHandler
,
38478 _swigt__p_wxPyEllipseShape
,
38479 _swigt__p_wxPyShapeCanvas
,
38481 _swigt__p_wxDiagram
,
38482 _swigt__p_wxPyShape
,
38483 _swigt__p_wxAttachmentPoint
,
38484 _swigt__p_unsigned_char
,
38486 _swigt__std__ptrdiff_t
,
38487 _swigt__p_wxClassInfo
,
38488 _swigt__p_wxPyLineShape
,
38489 _swigt__p_wxPyRectangleShape
,
38490 _swigt__p_wxPyCompositeShape
,
38491 _swigt__p_wxPyCircleShape
,
38494 _swigt__p_wxPseudoMetaFile
,
38495 _swigt__p_wxPyTextShape
,
38496 _swigt__p_unsigned_long
,
38497 _swigt__p_wxPyDividedShape
,
38502 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
38504 static swig_const_info swig_const_table
[] = {
38505 {0, 0, 0, 0.0, 0, 0}};
38516 /* Python-specific SWIG API */
38517 #define SWIG_newvarlink() SWIG_Python_newvarlink()
38518 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
38519 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
38521 /* -----------------------------------------------------------------------------
38522 * global variable support code.
38523 * ----------------------------------------------------------------------------- */
38525 typedef struct swig_globalvar
{
38526 char *name
; /* Name of global variable */
38527 PyObject
*(*get_attr
)(); /* Return the current value */
38528 int (*set_attr
)(PyObject
*); /* Set the value */
38529 struct swig_globalvar
*next
;
38532 typedef struct swig_varlinkobject
{
38534 swig_globalvar
*vars
;
38535 } swig_varlinkobject
;
38538 swig_varlink_repr(swig_varlinkobject
*v
) {
38540 return PyString_FromString("<Swig global variables>");
38544 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
38545 swig_globalvar
*var
;
38547 fprintf(fp
,"Swig global variables { ");
38548 for (var
= v
->vars
; var
; var
=var
->next
) {
38549 fprintf(fp
,"%s", var
->name
);
38550 if (var
->next
) fprintf(fp
,", ");
38552 fprintf(fp
," }\n");
38557 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
38558 swig_globalvar
*var
= v
->vars
;
38560 if (strcmp(var
->name
,n
) == 0) {
38561 return (*var
->get_attr
)();
38565 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
38570 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
38571 swig_globalvar
*var
= v
->vars
;
38573 if (strcmp(var
->name
,n
) == 0) {
38574 return (*var
->set_attr
)(p
);
38578 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
38582 static PyTypeObject varlinktype
= {
38583 PyObject_HEAD_INIT(0)
38584 0, /* Number of items in variable part (ob_size) */
38585 (char *)"swigvarlink", /* Type name (tp_name) */
38586 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
38587 0, /* Itemsize (tp_itemsize) */
38588 0, /* Deallocator (tp_dealloc) */
38589 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
38590 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
38591 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
38592 0, /* tp_compare */
38593 (reprfunc
) swig_varlink_repr
, /* tp_repr */
38594 0, /* tp_as_number */
38595 0, /* tp_as_sequence */
38596 0, /* tp_as_mapping */
38600 0, /* tp_getattro */
38601 0, /* tp_setattro */
38602 0, /* tp_as_buffer */
38605 #if PY_VERSION_HEX >= 0x02000000
38606 0, /* tp_traverse */
38609 #if PY_VERSION_HEX >= 0x02010000
38610 0, /* tp_richcompare */
38611 0, /* tp_weaklistoffset */
38613 #if PY_VERSION_HEX >= 0x02020000
38614 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
38616 #if PY_VERSION_HEX >= 0x02030000
38619 #ifdef COUNT_ALLOCS
38620 0,0,0,0 /* tp_alloc -> tp_next */
38624 /* Create a variable linking object for use later */
38626 SWIG_Python_newvarlink(void) {
38627 swig_varlinkobject
*result
= 0;
38628 result
= PyMem_NEW(swig_varlinkobject
,1);
38629 varlinktype
.ob_type
= &PyType_Type
; /* Patch varlinktype into a PyType */
38630 result
->ob_type
= &varlinktype
;
38632 result
->ob_refcnt
= 0;
38633 Py_XINCREF((PyObject
*) result
);
38634 return ((PyObject
*) result
);
38638 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
38639 swig_varlinkobject
*v
;
38640 swig_globalvar
*gv
;
38641 v
= (swig_varlinkobject
*) p
;
38642 gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
38643 gv
->name
= (char *) malloc(strlen(name
)+1);
38644 strcpy(gv
->name
,name
);
38645 gv
->get_attr
= get_attr
;
38646 gv
->set_attr
= set_attr
;
38647 gv
->next
= v
->vars
;
38651 /* -----------------------------------------------------------------------------
38652 * constants/methods manipulation
38653 * ----------------------------------------------------------------------------- */
38655 /* Install Constants */
38657 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
38660 for (i
= 0; constants
[i
].type
; i
++) {
38661 switch(constants
[i
].type
) {
38663 obj
= PyInt_FromLong(constants
[i
].lvalue
);
38665 case SWIG_PY_FLOAT
:
38666 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
38668 case SWIG_PY_STRING
:
38669 if (constants
[i
].pvalue
) {
38670 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
38672 Py_INCREF(Py_None
);
38676 case SWIG_PY_POINTER
:
38677 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
38679 case SWIG_PY_BINARY
:
38680 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
38687 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
38693 /* -----------------------------------------------------------------------------*/
38694 /* Fix SwigMethods to carry the callback ptrs when needed */
38695 /* -----------------------------------------------------------------------------*/
38698 SWIG_Python_FixMethods(PyMethodDef
*methods
,
38699 swig_const_info
*const_table
,
38700 swig_type_info
**types
,
38701 swig_type_info
**types_initial
) {
38703 for (i
= 0; methods
[i
].ml_name
; ++i
) {
38704 char *c
= methods
[i
].ml_doc
;
38705 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
38707 swig_const_info
*ci
= 0;
38708 char *name
= c
+ 10;
38709 for (j
= 0; const_table
[j
].type
; j
++) {
38710 if (strncmp(const_table
[j
].name
, name
,
38711 strlen(const_table
[j
].name
)) == 0) {
38712 ci
= &(const_table
[j
]);
38717 size_t shift
= (ci
->ptype
) - types
;
38718 swig_type_info
*ty
= types_initial
[shift
];
38719 size_t ldoc
= (c
- methods
[i
].ml_doc
);
38720 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
38721 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
38723 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: (void *)(ci
->lvalue
);
38724 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
38726 strncpy(buff
, "swig_ptr: ", 10);
38728 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
38729 methods
[i
].ml_doc
= ndoc
;
38735 /* -----------------------------------------------------------------------------*
38736 * Initialize type list
38737 * -----------------------------------------------------------------------------*/
38739 #if PY_MAJOR_VERSION < 2
38740 /* PyModule_AddObject function was introduced in Python 2.0. The following function
38741 is copied out of Python/modsupport.c in python version 2.3.4 */
38743 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
38746 if (!PyModule_Check(m
)) {
38747 PyErr_SetString(PyExc_TypeError
,
38748 "PyModule_AddObject() needs module as first arg");
38752 PyErr_SetString(PyExc_TypeError
,
38753 "PyModule_AddObject() needs non-NULL value");
38757 dict
= PyModule_GetDict(m
);
38758 if (dict
== NULL
) {
38759 /* Internal error -- modules must have a dict! */
38760 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
38761 PyModule_GetName(m
));
38764 if (PyDict_SetItemString(dict
, name
, o
))
38771 static swig_type_info
**
38772 SWIG_Python_SetTypeListHandle(swig_type_info
**type_list_handle
) {
38773 static PyMethodDef swig_empty_runtime_method_table
[] = {
38775 NULL
, NULL
, 0, NULL
38779 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
38780 swig_empty_runtime_method_table
);
38781 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) type_list_handle
, NULL
);
38782 if (pointer
&& module) {
38783 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
38785 return type_list_handle
;
38788 static swig_type_info
**
38789 SWIG_Python_LookupTypePointer(swig_type_info
**type_list_handle
) {
38790 swig_type_info
**type_pointer
;
38792 /* first check if module already created */
38793 type_pointer
= SWIG_Python_GetTypeListHandle();
38794 if (type_pointer
) {
38795 return type_pointer
;
38797 /* create a new module and variable */
38798 return SWIG_Python_SetTypeListHandle(type_list_handle
);
38806 /* -----------------------------------------------------------------------------*
38807 * Partial Init method
38808 * -----------------------------------------------------------------------------*/
38810 #ifdef SWIG_LINK_RUNTIME
38814 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
38820 SWIGEXPORT(void) SWIG_init(void) {
38821 static PyObject
*SWIG_globals
= 0;
38822 static int typeinit
= 0;
38825 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
38827 /* Fix SwigMethods to carry the callback ptrs when needed */
38828 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_types_initial
);
38830 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
38831 d
= PyModule_GetDict(m
);
38834 #ifdef SWIG_LINK_RUNTIME
38835 swig_type_list_handle
= (swig_type_info
**) SWIG_ReturnGlobalTypeList(swig_type_list_handle
);
38837 # ifndef SWIG_STATIC_RUNTIME
38838 swig_type_list_handle
= SWIG_Python_LookupTypePointer(swig_type_list_handle
);
38841 for (i
= 0; swig_types_initial
[i
]; i
++) {
38842 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
38846 SWIG_InstallConstants(d
,swig_const_table
);
38849 PyDict_SetItemString(d
,"oglMETAFLAGS_OUTLINE", SWIG_From_int((int)(oglMETAFLAGS_OUTLINE
)));
38852 PyDict_SetItemString(d
,"oglMETAFLAGS_ATTACHMENTS", SWIG_From_int((int)(oglMETAFLAGS_ATTACHMENTS
)));
38855 PyDict_SetItemString(d
,"KEY_SHIFT", SWIG_From_int((int)(KEY_SHIFT
)));
38858 PyDict_SetItemString(d
,"KEY_CTRL", SWIG_From_int((int)(KEY_CTRL
)));
38861 PyDict_SetItemString(d
,"ARROW_NONE", SWIG_From_int((int)(ARROW_NONE
)));
38864 PyDict_SetItemString(d
,"ARROW_END", SWIG_From_int((int)(ARROW_END
)));
38867 PyDict_SetItemString(d
,"ARROW_BOTH", SWIG_From_int((int)(ARROW_BOTH
)));
38870 PyDict_SetItemString(d
,"ARROW_MIDDLE", SWIG_From_int((int)(ARROW_MIDDLE
)));
38873 PyDict_SetItemString(d
,"ARROW_START", SWIG_From_int((int)(ARROW_START
)));
38876 PyDict_SetItemString(d
,"ARROW_HOLLOW_CIRCLE", SWIG_From_int((int)(ARROW_HOLLOW_CIRCLE
)));
38879 PyDict_SetItemString(d
,"ARROW_FILLED_CIRCLE", SWIG_From_int((int)(ARROW_FILLED_CIRCLE
)));
38882 PyDict_SetItemString(d
,"ARROW_ARROW", SWIG_From_int((int)(ARROW_ARROW
)));
38885 PyDict_SetItemString(d
,"ARROW_SINGLE_OBLIQUE", SWIG_From_int((int)(ARROW_SINGLE_OBLIQUE
)));
38888 PyDict_SetItemString(d
,"ARROW_DOUBLE_OBLIQUE", SWIG_From_int((int)(ARROW_DOUBLE_OBLIQUE
)));
38891 PyDict_SetItemString(d
,"ARROW_METAFILE", SWIG_From_int((int)(ARROW_METAFILE
)));
38894 PyDict_SetItemString(d
,"ARROW_POSITION_END", SWIG_From_int((int)(ARROW_POSITION_END
)));
38897 PyDict_SetItemString(d
,"ARROW_POSITION_START", SWIG_From_int((int)(ARROW_POSITION_START
)));
38900 PyDict_SetItemString(d
,"CONTROL_POINT_VERTICAL", SWIG_From_int((int)(CONTROL_POINT_VERTICAL
)));
38903 PyDict_SetItemString(d
,"CONTROL_POINT_HORIZONTAL", SWIG_From_int((int)(CONTROL_POINT_HORIZONTAL
)));
38906 PyDict_SetItemString(d
,"CONTROL_POINT_DIAGONAL", SWIG_From_int((int)(CONTROL_POINT_DIAGONAL
)));
38909 PyDict_SetItemString(d
,"CONTROL_POINT_ENDPOINT_TO", SWIG_From_int((int)(CONTROL_POINT_ENDPOINT_TO
)));
38912 PyDict_SetItemString(d
,"CONTROL_POINT_ENDPOINT_FROM", SWIG_From_int((int)(CONTROL_POINT_ENDPOINT_FROM
)));
38915 PyDict_SetItemString(d
,"CONTROL_POINT_LINE", SWIG_From_int((int)(CONTROL_POINT_LINE
)));
38918 PyDict_SetItemString(d
,"FORMAT_NONE", SWIG_From_int((int)(FORMAT_NONE
)));
38921 PyDict_SetItemString(d
,"FORMAT_CENTRE_HORIZ", SWIG_From_int((int)(FORMAT_CENTRE_HORIZ
)));
38924 PyDict_SetItemString(d
,"FORMAT_CENTRE_VERT", SWIG_From_int((int)(FORMAT_CENTRE_VERT
)));
38927 PyDict_SetItemString(d
,"FORMAT_SIZE_TO_CONTENTS", SWIG_From_int((int)(FORMAT_SIZE_TO_CONTENTS
)));
38930 PyDict_SetItemString(d
,"LINE_ALIGNMENT_HORIZ", SWIG_From_int((int)(LINE_ALIGNMENT_HORIZ
)));
38933 PyDict_SetItemString(d
,"LINE_ALIGNMENT_VERT", SWIG_From_int((int)(LINE_ALIGNMENT_VERT
)));
38936 PyDict_SetItemString(d
,"LINE_ALIGNMENT_TO_NEXT_HANDLE", SWIG_From_int((int)(LINE_ALIGNMENT_TO_NEXT_HANDLE
)));
38939 PyDict_SetItemString(d
,"LINE_ALIGNMENT_NONE", SWIG_From_int((int)(LINE_ALIGNMENT_NONE
)));
38942 PyDict_SetItemString(d
,"SHADOW_NONE", SWIG_From_int((int)(SHADOW_NONE
)));
38945 PyDict_SetItemString(d
,"SHADOW_LEFT", SWIG_From_int((int)(SHADOW_LEFT
)));
38948 PyDict_SetItemString(d
,"SHADOW_RIGHT", SWIG_From_int((int)(SHADOW_RIGHT
)));
38951 PyDict_SetItemString(d
,"OP_CLICK_LEFT", SWIG_From_int((int)(OP_CLICK_LEFT
)));
38954 PyDict_SetItemString(d
,"OP_CLICK_RIGHT", SWIG_From_int((int)(OP_CLICK_RIGHT
)));
38957 PyDict_SetItemString(d
,"OP_DRAG_LEFT", SWIG_From_int((int)(OP_DRAG_LEFT
)));
38960 PyDict_SetItemString(d
,"OP_DRAG_RIGHT", SWIG_From_int((int)(OP_DRAG_RIGHT
)));
38963 PyDict_SetItemString(d
,"OP_ALL", SWIG_From_int((int)(OP_ALL
)));
38966 PyDict_SetItemString(d
,"ATTACHMENT_MODE_NONE", SWIG_From_int((int)(ATTACHMENT_MODE_NONE
)));
38969 PyDict_SetItemString(d
,"ATTACHMENT_MODE_EDGE", SWIG_From_int((int)(ATTACHMENT_MODE_EDGE
)));
38972 PyDict_SetItemString(d
,"ATTACHMENT_MODE_BRANCHING", SWIG_From_int((int)(ATTACHMENT_MODE_BRANCHING
)));
38975 PyDict_SetItemString(d
,"BRANCHING_ATTACHMENT_NORMAL", SWIG_From_int((int)(BRANCHING_ATTACHMENT_NORMAL
)));
38978 PyDict_SetItemString(d
,"BRANCHING_ATTACHMENT_BLOB", SWIG_From_int((int)(BRANCHING_ATTACHMENT_BLOB
)));
38981 PyDict_SetItemString(d
,"gyCONSTRAINT_CENTRED_VERTICALLY", SWIG_From_int((int)(gyCONSTRAINT_CENTRED_VERTICALLY
)));
38984 PyDict_SetItemString(d
,"gyCONSTRAINT_CENTRED_HORIZONTALLY", SWIG_From_int((int)(gyCONSTRAINT_CENTRED_HORIZONTALLY
)));
38987 PyDict_SetItemString(d
,"gyCONSTRAINT_CENTRED_BOTH", SWIG_From_int((int)(gyCONSTRAINT_CENTRED_BOTH
)));
38990 PyDict_SetItemString(d
,"gyCONSTRAINT_LEFT_OF", SWIG_From_int((int)(gyCONSTRAINT_LEFT_OF
)));
38993 PyDict_SetItemString(d
,"gyCONSTRAINT_RIGHT_OF", SWIG_From_int((int)(gyCONSTRAINT_RIGHT_OF
)));
38996 PyDict_SetItemString(d
,"gyCONSTRAINT_ABOVE", SWIG_From_int((int)(gyCONSTRAINT_ABOVE
)));
38999 PyDict_SetItemString(d
,"gyCONSTRAINT_BELOW", SWIG_From_int((int)(gyCONSTRAINT_BELOW
)));
39002 PyDict_SetItemString(d
,"gyCONSTRAINT_ALIGNED_TOP", SWIG_From_int((int)(gyCONSTRAINT_ALIGNED_TOP
)));
39005 PyDict_SetItemString(d
,"gyCONSTRAINT_ALIGNED_BOTTOM", SWIG_From_int((int)(gyCONSTRAINT_ALIGNED_BOTTOM
)));
39008 PyDict_SetItemString(d
,"gyCONSTRAINT_ALIGNED_LEFT", SWIG_From_int((int)(gyCONSTRAINT_ALIGNED_LEFT
)));
39011 PyDict_SetItemString(d
,"gyCONSTRAINT_ALIGNED_RIGHT", SWIG_From_int((int)(gyCONSTRAINT_ALIGNED_RIGHT
)));
39014 PyDict_SetItemString(d
,"gyCONSTRAINT_MIDALIGNED_TOP", SWIG_From_int((int)(gyCONSTRAINT_MIDALIGNED_TOP
)));
39017 PyDict_SetItemString(d
,"gyCONSTRAINT_MIDALIGNED_BOTTOM", SWIG_From_int((int)(gyCONSTRAINT_MIDALIGNED_BOTTOM
)));
39020 PyDict_SetItemString(d
,"gyCONSTRAINT_MIDALIGNED_LEFT", SWIG_From_int((int)(gyCONSTRAINT_MIDALIGNED_LEFT
)));
39023 PyDict_SetItemString(d
,"gyCONSTRAINT_MIDALIGNED_RIGHT", SWIG_From_int((int)(gyCONSTRAINT_MIDALIGNED_RIGHT
)));
39026 PyDict_SetItemString(d
,"DIVISION_SIDE_NONE", SWIG_From_int((int)(DIVISION_SIDE_NONE
)));
39029 PyDict_SetItemString(d
,"DIVISION_SIDE_LEFT", SWIG_From_int((int)(DIVISION_SIDE_LEFT
)));
39032 PyDict_SetItemString(d
,"DIVISION_SIDE_TOP", SWIG_From_int((int)(DIVISION_SIDE_TOP
)));
39035 PyDict_SetItemString(d
,"DIVISION_SIDE_RIGHT", SWIG_From_int((int)(DIVISION_SIDE_RIGHT
)));
39038 PyDict_SetItemString(d
,"DIVISION_SIDE_BOTTOM", SWIG_From_int((int)(DIVISION_SIDE_BOTTOM
)));
39042 // initoglbasicc();
39043 // initoglshapesc();
39044 // initoglshapes2c();
39045 // initoglcanvasc();
39048 wxPyPtrTypeMap_Add("wxControlPoint", "wxPyControlPoint");
39049 wxPyPtrTypeMap_Add("wxShapeCanvas", "wxPyShapeCanvas");
39050 wxPyPtrTypeMap_Add("wxShapeEvtHandler", "wxPyShapeEvtHandler");
39051 wxPyPtrTypeMap_Add("wxShape", "wxPyShape");
39052 wxPyPtrTypeMap_Add("wxRectangleShape", "wxPyRectangleShape");
39053 wxPyPtrTypeMap_Add("wxDrawnShape", "wxPyDrawnShape");
39054 wxPyPtrTypeMap_Add("wxCompositeShape", "wxPyCompositeShape");
39055 wxPyPtrTypeMap_Add("wxDividedShape", "wxPyDividedShape");
39056 wxPyPtrTypeMap_Add("wxDivisionShape", "wxPyDivisionShape");
39057 wxPyPtrTypeMap_Add("wxEllipseShape", "wxPyEllipseShape");
39058 wxPyPtrTypeMap_Add("wxCircleShape", "wxPyCircleShape");
39059 wxPyPtrTypeMap_Add("wxLineShape", "wxPyLineShape");
39060 wxPyPtrTypeMap_Add("wxPolygonShape", "wxPyPolygonShape");
39061 wxPyPtrTypeMap_Add("wxTextShape", "wxPyTextShape");